]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove IS_IN_libdl
[thirdparty/glibc.git] / ChangeLog
CommitLineData
279bc5b3
SP
12014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2
9b42a0b3
SP
3 * dlfcn/dladdr.c: Use IS_IN.
4 * dlfcn/dladdr1.c: Likewise.
5 * dlfcn/dlclose.c: Likewise.
6 * dlfcn/dlerror.c: Likewise.
7 * dlfcn/dlinfo.c: Likewise.
8 * dlfcn/dlmopen.c: Likewise.
9 * dlfcn/dlopen.c: Likewise.
10 * dlfcn/dlsym.c: Likewise.
11 * dlfcn/dlvsym.c: Likewise.
12
85f36372
SP
13 * include/ifaddrs.h: Use IS_IN.
14 * inet/check_pf.c: Likewise.
15 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
17
fb6784e3
SP
18 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
19 IS_IN_ldconfig.
20 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
21 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22
2886d2d1
SP
23 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
24 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
25 IS_IN (libc).
26
9a484857
SP
27 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28
a10178bd
SP
29 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32 * include/libc-symbols.h (IS_IN_LIB): New macro.
33 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
34 * include/netdb.h: Likewise.
35 * include/stap-probe.h: Remove all uses of IN_LIB.
36
279bc5b3
SP
37 * Makeconfig (module-cppflags-real): Define MODULE_NAME
38 instead of IN_MODULE.
39 * include/libc-symbols.h (IN_MODULE): Define using
40 MODULE_NAME.
41 (PASTE_NAME, PASTE_NAME1): New macros.
42 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43 of IN_LIB.
44 (STAP_PROBE_ASM): Likewise.
45
e0cfa510
ST
462014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
47
48 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
49 __mach_init in dlopened libc.
50
34d97d87
MF
512014-11-22 Mike Frysinger <vapier@gentoo.org>
52
53 * sysdeps/arm/preconfigure.ac: Delete EABI check.
54 * sysdeps/arm/preconfigure: Regenerate.
55
33cd1f74
RM
562014-11-21 Roland McGrath <roland@hack.frob.com>
57
58 * nptl/pthread_create.c (__pthread_create_2_1): Set
59 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
60 when copying values from IATTR into PD.
61
8c230039
WN
622014-11-21 Will Newton <will.newton@linaro.org>
63 Andrew Pinski <andrew.pinski@caviumnetworks.com>
64
6d3db89b
AP
65 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
66 Refactor inline-asm. Also add comment.
67
01194ba1
WN
68 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
69 ElfW macro instead of hardcoded Elf64 types.
70 (la_aarch64_gnu_pltenter): Likewise.
71 * sysdeps/aarch64/dl-machine.h
72 (elf_machine_runtime_setup): Use ElfW(Addr).
73
8c230039
WN
74 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
75 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
76 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
77 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
78 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
79 (R_AARCH64_TLS_DTPMOD64): Rename to ..
80 (R_AARCH64_TLS_DTPMOD): This.
81 (R_AARCH64_TLS_DTPREL64): Rename to ...
82 (R_AARCH64_TLS_DTPREL): This.
83 (R_AARCH64_TLS_TPREL64): Rename to ...
84 (R_AARCH64_TLS_TPREL): This.
85 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
86 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
87 R_AARCH64_TLS_TPREL64.
88 (elf_machine_rela): Likewise.
89
0d79fa53
TR
902014-11-21 Torvald Riegel <triegel@redhat.com>
91
92 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
93 by setting it to 0. 64b atomics are not supported currently.
94
b59d114b
AO
952014-11-21 Alexandre Oliva <aoliva@redhat.com>
96
97 [BZ #16469]
98 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
99 search domain names.
100
f3d945d5
AO
1012014-11-21 Alexandre Oliva <aoliva@redhat.com>
102
103 [BZ #16469]
104 * NEWS: Update.
105 * resolv/res_query.c (__libc_res_nquerydomain): Retain
106 trailing dot.
107 * posix/tst-getaddrinfo5.c: New.
108 * posix/Makefile (tests): Add it.
109
49698902
AO
1102014-11-21 Alexandre Oliva <aoliva@redhat.com>
111
112 [BZ #14498]
113 * NEWS: Fixed.
114 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
115 after parsing line but before break_if_match.
116 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
117 if there is a protocol mismatch.
118
81959214
MS
1192014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
120
121 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
122 because the potential race is on the user-supplied stream.
123
7729e0e9
AO
1242014-11-21 Alexandre Oliva <aoliva@redhat.com>
125
126 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
127 string literal if not passed a buffer.
128 * manual/job.texi (ctermid): Update reasoning, note deviation
129 from posix, suggest mtasurace when not passed a buffer, for
130 future non-preliminary safety notes.
131
a4ea5e28
AO
1322014-11-21 Alexandre Oliva <aoliva@redhat.com>
133
134 * manual/users.texi (cuserid): Fix MT-Safety note for the case
135 of not passing it a buffer.
136 Reported by Peng Haitao.
137
a2b581cb
AO
1382014-11-21 Alexandre Oliva <aoliva@redhat.com>
139
140 * manual/Makefile ($(objpfx)stamp-summary): Require
141 check-safety.sh to pass.
142 * manual/check-safety.sh: Wish for verification that every
143 @deftypefn and @deftypefun is followed by a @safety remark.
144
f214ff74
RM
1452014-11-20 Roland McGrath <roland@hack.frob.com>
146
7f0dfae0
RM
147 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
148
2f531bbb
RM
149 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
150 PTHREAD_CANCEL_ASYNCHRONOUS.
151 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
152 send SIGCANCEL.
153
f214ff74
RM
154 * nptl/default-sched.h: New file.
155 * sysdeps/unix/sysv/linux/default-sched.h: New file.
156 * nptl/pthread_create.c: Include it.
157 (__pthread_create_2_1): Use collect_default_sched instead of making
158 Linux syscalls here directly.
159
e37c91d4
TR
1602014-11-20 Torvald Riegel <triegel@redhat.com>
161
162 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
163 __pthread_once): Use C11 atomics.
164
1eccfecd
TR
1652014-11-20 Torvald Riegel <triegel@redhat.com>
166
167 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
168
ff871426
TR
1692014-11-20 Torvald Riegel <triegel@redhat.com>
170
171 * include/atomic.h (__atomic_link_error, __atomic_check_size,
172 atomic_thread_fence_acquire, atomic_thread_fence_release,
173 atomic_thread_fence_seq_cst, atomic_load_relaxed,
174 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
175 atomic_compare_exchange_weak_relaxed,
176 atomic_compare_exchange_weak_acquire,
177 atomic_compare_exchange_weak_release,
178 atomic_exchange_acquire, atomic_exchange_release,
179 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
180 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
181 atomic_fetch_and_acquire,
182 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
183
1ea339b6
TR
1842014-11-20 Torvald Riegel <triegel@redhat.com>
185
186 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
187 USE_ATOMIC_COMPILER_BUILTINS): Define.
188 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
189 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
190 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
191 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
192 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
193 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
194 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
195 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
196 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
197 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
198 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
199 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
200 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
201 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
202 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
203 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
204 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
205 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
206 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
207 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
208 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
209 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
210 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
211 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
212 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
213 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
214 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
215 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
216 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
217 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
218 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
219 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
220 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
221 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
222 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
223 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
224 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
225 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
226 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
227 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
228
cbd463e2
RM
2292014-11-19 Roland McGrath <roland@hack.frob.com>
230
d960211f
RM
231 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
232 the sched_priority value here. It was already checked when the user
233 called pthread_attr_setschedparam.
234
cbd463e2
RM
235 * nptl/tst-bad-schedattr.c: New file.
236 * nptl/Makefile (tests): Add it.
237
a39208bd
CD
2382014-11-19 Carlos O'Donell <carlos@redhat.com>
239 Florian Weimer <fweimer@redhat.com>
240 Joseph Myers <joseph@codesourcery.com>
241 Adam Conrad <adconrad@0c3.net>
242 Andreas Schwab <schwab@suse.de>
243 Brooks <bmoses@google.com>
244
245 [BZ #17625]
246 * wordexp-test.c (__dso_handle): Add prototype.
247 (__register_atfork): Likewise.
248 (__app_register_atfork): New function.
249 (registered_forks): New global.
250 (register_fork): New function.
251 (test_case): Add 3 new tests for WRDE_CMDSUB.
252 (main): Call __app_register_atfork.
253 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
254 fork count is non-zero fail the test.
255 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
256 is set.
257 (parse_dollars): Remove check for WRDE_NOCMD.
258 (parse_dquote): Likewise.
259
9cd47470
SP
2602014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
261
130ac68c
SP
262 * Makeconfig (built-modules): List non-library modules to be
263 built.
264 (module-cppflags): Include libc-modules.h for
265 everything except shlib-versions.v.i.
266 (CPPFLAGS): Use it.
267 (before-compile): Add libc-modules.h.
268 ($(common-objpfx)libc-modules.h,
269 $(common-objpfx)libc-modules.stmp): New targets.
270 (common-generated): Add libc-modules.h and libc-modules.stmp.
271 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
272 * include/libc-symbols.h: Don't include libc-modules.h.
273 * include/libc-modules.h: Remove file.
274 * scripts/gen-libc-modules.awk: New script to generate
275 libc-modules.h.
276 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
277 Depend on libc-modules.stmp.
278
286663c3
SP
279 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
280
9cd47470
SP
281 * Makeconfig (in-module): Get value of libof set for the
282 translation unit.
283 (CPPFLAGS): Use $(in-module).
284 * Makerules: Don't suffix routine names for nonlib.
285 * include/libc-modules.h: New file.
286 * include/libc-symbols.h: Include libc-modules.h
287 (IS_IN): New macro to replace IS_IN_* macros.
288 * elf/Makefile: Set libof-* for each routine.
289 * elf/rtld-Rules: Likewise.
290 * extra-modules.mk: Likewise.
291 * iconv/Makefile: Likewise.
292 * iconvdata/Makefile: Likewise.
293 * locale/Makefile: Likewise.
294 * malloc/Makefile: Likewise.
295 * nss/Makefile: Likewise.
296 * sysdeps/gnu/Makefile: Likewise.
297 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
298 * sysdeps/unix/sysv/linux/Makefile: Likewise.
299 * sysdeps/s390/s390-64/Makefile: Likewise.
300 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
301 CPPFLAGS for nscd instead of nonlib.
302
32fed10f
RM
3032014-11-18 Roland McGrath <roland@hack.frob.com>
304
d71035bd
RM
305 * nptl/createthread.c: New file.
306
6540b991
RM
307 * nptl/createthread.c: Moved ...
308 * sysdeps/unix/sysv/linux/createthread.c: ... here.
309
32fed10f
RM
310 * nptl/createthread.c: Add proper top-line comment.
311 (do_clone): Folded into ...
312 (create_thread): ... here. Take new arguments STOPPED_START and
313 THREAD_RAN. Always set PD->stopped_start to something here. Don't
314 increment __nptl_threads, do event-reporting logic, do
315 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
316 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
317 resource cleanup if sched_setaffinity or sched_setscheduler fails,
318 just send SIGCANCEL.
319 * nptl/pthread_create.c: Forward-declare create_thread before
320 including createthread.c.
321 (start_thread): Use new macro START_THREAD_DEFN to replace defining
322 declaration, and new macro START_THREAD_SELF to replace argument.
323 Remove return statement.
324 (report_thread_creation): New function.
325 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
326 synchronization logic, and __nptl_nthreads increment here, around
327 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
328 PD->parent_cancelhandling here, before create_thread. When
329 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
330 __deallocate_stack, and ENOMEM translation here.
331
107a5bf0
JM
3322014-11-18 Joseph Myers <joseph@codesourcery.com>
333
334 [BZ #17616]
335 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
336 (mptwo): Rename to __mptwo.
337 (__inv): Use __mptwo instead of mptwo.
338 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
339 (mptwo): Rename to __mptwo.
340 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
341 of mpone and __mptwo instead of mptwo.
342 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
343 instead of mpone.
344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
345 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
346 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
347 of mpone and __mptwo instead of mptwo.
348 (__mpranred): Use __mpone instead of mpone.
349 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
350 variable.
351 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
352 (test-xfail-ISO99/math.h/linknamespace): Likewise.
353 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
354 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
355 (test-xfail-ISO11/math.h/linknamespace): Likewise.
356 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
357 (test-xfail-XPG3/math.h/linknamespace): Likewise.
358 (test-xfail-XPG4/math.h/linknamespace): Likewise.
359 (test-xfail-POSIX/math.h/linknamespace): Likewise.
360 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
361 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
362 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
363 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
364 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
365 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
366 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
367 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
368 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
369 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
370
3b679ab3
TV
3712014-11-18 Tom de Vries <tom@codesoucery.com>
372
373 * manual/signal.texi (Primitives Interrupted by Signals): In section,
374 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
375
3762014-11-17 Richard Henderson <rth@redhat.com>
377
378 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
379 (_FP_PACK_RAW_2): Remove.
380 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
381 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
382 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
383 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
384 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
385 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
386 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
387 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
388 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
389 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
390 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
391 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
392 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
393 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
394 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
395 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
396
0781a777
RM
3972014-11-14 Roland McGrath <roland@hack.frob.com>
398
399 * signal/signal.h [__USE_MISC]
400 (struct sigvec): Remove type.
401 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
402 (sigvec): Remove declaration.
403 * sysdeps/posix/sigvec.c: Moved ...
404 * signal/sigvec.c: ... here, replacing old file.
405 (struct sigvec): New type, copied from old signal.h definition.
406 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
407 (__sigvec): Convert definition to prototype.
408 (sigvec): Replace weak_alias with compat_symbol.
409 * signal/Versions (libc: GLIBC_2.21): New version set.
410 * include/signal.h: Remove __sigvec declaration.
411 * sysdeps/unix/bsd/sigvec.c: Remove file.
412 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
413 * manual/signal.texi (BSD Handler): Remove subsection.
414 Move siginterrupt up to ...
415 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
416 (Blocking in BSD): Fold subsection into its parent.
417 * NEWS: Mention sigvec removal.
418
a4733812
JM
4192014-11-14 Joseph Myers <joseph@codesourcery.com>
420
5ae4fe60
JM
421 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
422 (DLA_FMS): Make definition conditional only on [__FMA4__].
423 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
424 definition.
425
6a0dd472
JM
426 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
427 Make definition conditional only on [PROF].
428 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
429 definition.
430 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
431 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
432
a4733812
JM
433 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
434 !__GNUC__].
435 * include/signal.h (__sigpause): Move declaration above call to
436 libc_hidden_proto.
437 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
438 variable.
439 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
440 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
441
cf7246dd
DM
4422014-11-14 David S. Miller <davem@davemloft.net>
443
444 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
445 Define before including <string/memcpy.c> and <string/mempcpy.c>.
446
c1b0aadc
JM
4472014-11-14 Joseph Myers <joseph@codesourcery.com>
448
4863355a
JM
449 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
450 * configure: Regenerated.
451 * manual/install.texi (Tools for Compilation): Document a
452 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
453 compiler verified to work.
454 * INSTALL: Regenerated.
455
c1b0aadc
JM
456 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
457 redeclare with asm name.
458 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
459 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
460 including <string.h>.
461 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
462 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
463 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
464 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
465 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
466 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
467 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
468
2a1cfd94
JM
4692014-11-13 Joseph Myers <joseph@codesourcery.com>
470
bf438382
JM
471 * stdlib/strtol.c (__strtol): Use prototype definition.
472
2a1cfd94
JM
473 [BZ #17594]
474 * stdlib/strtol.c (SYM__): New macro.
475 (SYM__1): Likewise.
476 (__strtol): Likewise.
477 (strtol): Rename to __strtol and define as weak alias of
478 __strtol. Use libc_hidden_weak.
479
20ed0d26
SL
4802014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
481
482 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
483 Use numbered labels in inline assembly.
484
53244a4e
SL
4852014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
486
487 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
488 Add setjmp LIBC_PROBE.
489 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
490 Likewise.
491 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
492 Add longjmp, longjmp_target LIBC_PROBE.
493 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
494 Likewise.
495
47df8251
SL
4962014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
497
498 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
499 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
500 to get rid of unused variable warning.
501
618cebef
SL
5022014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
503
504 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
505 Check for unwind_backtrace == NULL only in SHARED case.
506 (__backchain_backtrace): Compile only in SHARED case.
507 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
508 Likewise.
509 (__backchain_backtrace): Declare as static.
510
c6aab2cb
RM
5112014-11-12 Roland McGrath <roland@hack.frob.com>
512
513 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
514 (__libc_multiple_threads_ptr): Variable moved ...
515 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
516
5a6fa4d7
JM
5172014-11-12 Joseph Myers <joseph@codesourcery.com>
518
24f4f825
JM
519 * conform/GlibcConform.pm: New file.
520 * conform/conformtest.pl: Use GlibcConform module.
521 * conform/linknamespace.pl: New file.
522 * conform/list-header-symbols.pl: Likewise.
523 * conform/Makefile (linknamespace-symlists-base): New variable.
524 (linknamespace-symlists-tests): Likewise.
525 (linknamespace-header-base): Likewise.
526 (linknamespace-header-tests): Likewise.
527 (tests-special): Add new tests.
528 ($(linknamespace-symlists-tests)): New rule.
529 (linknamespace-libs): New variable.
530 ($(objpfx)symlist-stdlibs): New rule.
531 ($(linknamespace-header-tests)): Likewise.
532 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
533 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
534 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
535 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
536 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
537 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
538 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
539 (test-xfail-ISO/math.h/linknamespace): Likewise.
540 (test-xfail-ISO/signal.h/linknamespace): Likewise.
541 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
542 (test-xfail-ISO/time.h/linknamespace): Likewise.
543 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
544 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
545 (test-xfail-ISO99/math.h/linknamespace): Likewise.
546 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
547 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
548 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
549 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
550 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
551 (test-xfail-ISO11/math.h/linknamespace): Likewise.
552 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
553 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
554 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
555 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
556 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
557 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
558 (test-xfail-XPG3/math.h/linknamespace): Likewise.
559 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
560 (test-xfail-XPG3/search.h/linknamespace): Likewise.
561 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
562 (test-xfail-XPG3/time.h/linknamespace): Likewise.
563 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
564 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
565 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
566 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
567 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
568 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
569 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
570 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
571 (test-xfail-XPG4/math.h/linknamespace): Likewise.
572 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
573 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
574 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
575 (test-xfail-XPG4/search.h/linknamespace): Likewise.
576 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
577 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
578 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
579 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
580 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
581 (test-xfail-XPG4/time.h/linknamespace): Likewise.
582 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
583 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
584 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
585 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
586 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
587 (test-xfail-POSIX/math.h/linknamespace): Likewise.
588 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
589 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
590 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
591 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
592 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
593 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
594 (test-xfail-POSIX/time.h/linknamespace): Likewise.
595 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
596 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
597 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
598 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
599 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
600 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
601 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
602 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
603 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
604 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
605 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
606 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
607 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
608 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
609 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
610 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
611 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
612 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
613 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
614 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
615 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
616 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
617 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
618 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
619 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
620 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
621 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
622 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
623 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
624 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
625 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
626 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
627 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
628 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
629 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
630 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
631 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
632 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
633 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
634 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
635 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
636 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
637 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
638 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
639 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
640 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
641 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
642 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
643 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
644 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
645 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
646 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
647 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
648 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
649 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
650 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
651 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
652 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
653 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
654 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
655 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
656 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
657 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
658 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
659 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
660 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
661 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
662 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
663 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
664 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
665 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
666 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
667 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
668 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
669 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
670 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
671 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
672 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
673 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
674 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
675 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
676 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
677 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
678 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
679 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
680 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
681 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
682 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
683 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
684 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
685 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
686 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
687 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
688 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
689 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
690 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
691 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
692 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
693
cc67478e
JM
694 [BZ #17589]
695 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
696 of fgets_unlocked.
697
9975e3d3
JM
698 [BZ #17585]
699 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
700 (memmem): Rename to __memmem and define as weak alias of
701 __memmem. Use libc_hidden_weak.
702 (__memmem): Use libc_hidden_def.
703 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
704 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
705 memmem.
706
c4eae752
JM
707 [BZ #17582]
708 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
709 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
710 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
711 and define as weak alias of __fgets_unlocked. Use
712 libc_hidden_weak.
713 (__fgets_unlocked): Use libc_hidden_def.
714 * include/stdio.h (__fgets_unlocked): Declare. Use
715 libc_hidden_proto.
716 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
717 __fgets_unlocked instead of fgets_unlocked.
718 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
719 (GET_NPROCS_CONF_PARSER): Likewise.
720 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
721 (GET_NPROCS_CONF_PARSER): Likewise.
722
01cad84e
JM
723 [BZ #17574]
724 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
725 weak alias of __wmemset. Use libc_hidden_weak.
726 (__wmemset): Use libc_hidden_def.
727 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
728 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
729 of wmemset.
730
939da411
JM
731 [BZ #17573]
732 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
733 with asm name __mempcpy.
734 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
735
293d9a41
JM
736 [BZ #17572]
737 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
738 and define as weak alias of __rawmemchr.
739 (__rawmemchr): Do not define as strong alias of rawmemchr.
740
bef8fd60
JM
741 [BZ #17571]
742 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
743 alias of __qsort_r.
744 (qsort): Call __qsort_r instead of qsort_r.
745 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
746 (__qsort_r): Declare. Call libc_hidden_proto.
747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
748 instead of qsort_r.
749 * nscd/gai.c (__qsort_r): Define to qsort_r.
750 * posix/tst-rfc3484.c (__qsort_r): Likewise.
751 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
752 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
753
c52ff39e
JM
754 [BZ #17570]
755 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
756 define as weak alias of __malloc_info.
757
2f5c1b00
JM
758 [BZ #17584]
759 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
760 as weak alias of __rewinddir. Don't use libc_hidden_def.
761 (__rewinddir): Use libc_hidden_def.
762 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
763 as weak alias of __rewinddir. Don't use libc_hidden_def.
764 (__rewinddir): Use libc_hidden_def.
765 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
766 weak alias of __rewinddir. Don't use libc_hidden_def.
767 (__rewinddir): Use libc_hidden_def.
768 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
769 (__rewinddir): Use libc_hidden_proto.
770 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
771 rewinddir.
772 (__getcwd): Use __rewinddir instead of rewinddir.
773
5a6fa4d7
JM
774 [BZ #17583]
775 * libio/fileno.c (fileno): Rename to __fileno and define as weak
776 alias of __fileno. Use libc_hidden_weak.
777 (__fileno): Use libc_hidden_def.
778 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
779 * libio/ftello.c (ftello): Rename to __ftello and define as weak
780 alias of __ftello.
781 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
782 __ftello.
783 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
784 (__fread_unlocked): Define as strong alias of _IO_fread. Use
785 libc_hidden_def.
786 (fread_unlocked): Don't use libc_hidden_ver.
787 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
788 and define as weak alias of __fread_unlocked. Don't use
789 libc_hidden_def.
790 (__fread_unlocked): Use libc_hidden_def.
791 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
792 (ftello): Don't use libc_hidden_proto.
793 (__ftello): Declare. Use libc_hidden_proto.
794 (fread_unlocked): Don't use libc_hidden_proto.
795 (__fread_unlocked): Declare. Use libc_hidden_proto.
796 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
797 and __ftello instead of fileno, fread_unlocked and ftello.
798
2581b98e
SP
7992012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
800
801 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
802 GOT12.
803 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
804 Likewise.
805 (_dl_start_user): Likewise.
806 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
807
533bb7c2
SP
8082014-11-12 Carlos O'Donell <carlos@redhat.com>
809 Siddhesh Poyarekar <siddhesh@redhat.com>
810
811 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
812 Move argv and envp down instead of moving argc up.
813 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
814
fffa1cf8
LH
8152014-11-12 Leonhard Holz <leonhard.holz@web.de>
816
817 [BZ #17506]
818 * test-skeleton.c (main): Return successful if one of
819 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
820 * string/tst-strcoll-overflow.c: Define expected status.
821
fb89b46d
TU
8222014-11-12 Tatiana Udalova <t.udalova@samsung.com>
823
824 [BZ #17475]
825 * locale/iso-639.def: Define Bhili and Tulu language codes.
826
5c40c3ba
AH
8272014-11-11 Alan Hayward <alan.hayward@arm.com>
828
829 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
830
b17fe01b 8312014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
832
833 [BZ #17555]
834 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
835
bd805071
AS
8362014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
837
838 * configure.ac: Updated check of minimal required version to
839 2.22.
840 * manual/install.texi (Tools for Compilation): Updated version
841 number.
842 * configure: Regenerated.
843 * INSTALL: Likewise.
844
1400983e
AS
8452014-11-07 Andreas Schwab <schwab@linux-m68k.org>
846
847 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
848 __tls_get_addr.
849
2c46a66a
JM
8502014-11-07 Joseph Myers <joseph@codesourcery.com>
851
852 * include/sys/wait.h (__libc_waitpid): Remove declaration.
853 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
854 (__waitpid): Don't define as alias. Use libc_hidden_def not
855 libc_hidden_weak.
856 (waitpid): Define as alias of __waitpid.
857 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
858 __waitpid.
859 (__waitpid): Don't define as alias. Use libc_hidden_def not
860 libc_hidden_weak.
861 (waitpid): Define as alias of __waitpid.
862 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
863 __libc_waitpid alias.
864 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
865 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
866 Likewise.
867 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
868 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
869 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
870 alias.
871 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
872 __waitpid.
873 (__waitpid): Don't define as alias. Use libc_hidden_def not
874 libc_hidden_weak.
875 (waitpid): Define as alias of __waitpid.
876
da53d6db
CD
8772014-11-06 Carlos O'Donell <carlos@redhat.com>
878
a2887bdb
CD
879 * manual/llio.texi: Add comment that write safety has been
880 fixed in Linux.
881
da53d6db
CD
882 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
883 (localplt-build-dso): Add elf/ld.so.
884 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
885 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
886 and free for ld.so.
887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
888 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
890 Likewise.
891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
892 Likewise.
893 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
894 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
895 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
896 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
897 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
898 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
899 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
900 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
901 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
902 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
903 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
904
9cf27b8d
JM
9052014-11-05 Joseph Myers <joseph@codesourcery.com>
906
907 [BZ #14132]
908 * include/libc-symbols.h (INTUSE): Remove macro.
909 (INTDEF): Likewise.
910 (INTVARDEF): Likewise.
911 (_INTVARDEF): Likewise.
912 (INTDEF2): Likewise.
913 (INTVARDEF2): Likewise.
914 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
915 rtld_hidden_def instead of INTVARDEF.
916 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
917 (_dl_starting_up_internal): Remove declaration.
918 (_dl_starting_up): Use rtld_hidden_proto.
919 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
920 declaration.
921 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
922 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
923 _dl_starting_up.
924 * elf/dl-writev.h (_dl_writev): Likewise.
925 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
926 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
927 _dl_starting_up_internal.
928
af83568d
AZ
9292014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
930
931 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
932 test-skeleton.c.
933
b01ee67c
WN
9342014-11-05 Will Newton <will.newton@linaro.org>
935
936 * benchtests/Makefile: (bench-malloc): Add malloc thread
937 scalability benchmark.
938 * benchtests/bench-malloc-threads.c: New file.
939
be9d4ccc
RE
9402014-11-05 Richard Earnshaw <rearnsha@arm.com>
941
942 * sysdeps/aarch64/strchrnul.S: New file.
943
7110166d
AZ
9442014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
945
946 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
947 definition.
948 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
949 Likwise.
950 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
951 Likewise.
952 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
953 Likewise.
954 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
955 Likewise.
956 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
957 Likewise.
958
9592014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
960
961 * catgets/test-gencat.c: Use test-skeleton.c.
962 * catgets/tst-catgets.c: Likewise.
963 * csu/tst-empty.c: Likewise.
964 * elf/tst-audit2.c: Likewise.
965 * elf/tst-global1.c: Likewise.
966 * elf/tst-pathopt.c: Likewise.
967 * elf/tst-piemod1.c: Likewise.
968 * elf/tst-tls10.c: Likewise.
969 * elf/tst-tls11.c: Likewise.
970 * elf/tst-tls12.c: Likewise.
971 * gnulib/tst-gcc.c: Likewise.
972 * iconvdata/tst-e2big.c: Likewise.
973 * iconvdata/tst-loading.c: Likewise.
974 * iconv/tst-iconv1.c: Likewise.
975 * iconv/tst-iconv2.c: Likewise.
976 * inet/test-inet6_opt.c: Likewise.
977 * inet/tst-gethnm.c: Likewise.
978 * inet/tst-network.c: Likewise.
979 * inet/tst-ntoa.c: Likewise.
980 * intl/tst-codeset.c: Likewise.
981 * intl/tst-gettext2.c: Likewise.
982 * intl/tst-gettext3.c: Likewise.
983 * intl/tst-ngettext.c: Likewise.
984 * intl/tst-translit.c: Likewise.
985 * io/test-stat.c: Likewise.
986 * libio/test-fmemopen.c: Likewise.
987 * libio/tst-freopen.c: Likewise.
988 * libio/tst-sscanf.c: Likewise.
989 * libio/tst-ungetwc1.c: Likewise.
990 * libio/tst-ungetwc2.c: Likewise.
991 * libio/tst-widetext.c: Likewise.
992 * localedata/tst-ctype.c: Likewise.
993 * localedata/tst-digits.c: Likewise.
994 * localedata/tst-leaks.c: Likewise.
995 * localedata/tst-mbswcs1.c: Likewise.
996 * localedata/tst-mbswcs2.c: Likewise.
997 * localedata/tst-mbswcs3.c: Likewise.
998 * localedata/tst-mbswcs4.c: Likewise.
999 * localedata/tst-mbswcs5.c: Likewise.
1000 * localedata/tst-setlocale.c: Likewise.
1001 * localedata/tst-trans.c: Likewise.
1002 * localedata/tst-wctype.c: Likewise.
1003 * localedata/tst-xlocale1.c: Likewise.
1004 * login/tst-grantpt.c: Likewise.
1005 * malloc/tst-calloc.c: Likewise.
1006 * malloc/tst-malloc.c: Likewise.
1007 * malloc/tst-mallocstate.c: Likewise.
1008 * malloc/tst-mcheck.c: Likewise.
1009 * malloc/tst-mtrace.c: Likewise.
1010 * malloc/tst-obstack.c: Likewise.
1011 * math/atest-exp2.c: Likewise.
1012 * math/atest-exp.c: Likewise.
1013 * math/atest-sincos.c: Likewise.
1014 * math/test-matherr.c: Likewise.
1015 * math/test-misc.c: Likewise.
1016 * math/test-powl.c: Likewise.
1017 * math/tst-definitions.c: Likewise.
1018 * misc/tst-dirname.c: Likewise.
1019 * misc/tst-efgcvt.c: Likewise.
1020 * misc/tst-fdset.c: Likewise.
1021 * misc/tst-hsearch.c: Likewise.
1022 * misc/tst-mntent2.c: Likewise.
1023 * nptl/tst-sem7.c: Likewise.
1024 * nptl/tst-sem8.c: Likewise.
1025 * nptl/tst-sem9.c: Likewise.
1026 * nss/test-netdb.c: Likewise.
1027 * posix/tst-fnmatch.c: Likewise.
1028 * posix/tst-getlogin.c: Likewise.
1029 * posix/tst-gnuglob.c: Likewise.
1030 * posix/tst-mmap.c: Likewise.
1031 * pwd/tst-getpw.c: Likewise.
1032 * resolv/tst-inet_ntop.c: Likewise.
1033 * rt/tst-timer.c: Likewise.
1034 * stdio-common/test-fseek.c: Likewise.
1035 * stdio-common/test-popen.c: Likewise.
1036 * stdio-common/test-vfprintf.c: Likewise.
1037 * stdio-common/tst-cookie.c: Likewise.
1038 * stdio-common/tst-fileno.c: Likewise.
1039 * stdio-common/tst-gets.c: Likewise.
1040 * stdio-common/tst-obprintf.c: Likewise.
1041 * stdio-common/tst-perror.c: Likewise.
1042 * stdio-common/tst-sprintf2.c: Likewise.
1043 * stdio-common/tst-sprintf3.c: Likewise.
1044 * stdio-common/tst-sprintf.c: Likewise.
1045 * stdio-common/tst-swprintf.c: Likewise.
1046 * stdio-common/tst-tmpnam.c: Likewise.
1047 * stdio-common/tst-unbputc.c: Likewise.
1048 * stdio-common/tst-wc-printf.c: Likewise.
1049 * stdlib/tst-environ.c: Likewise.
1050 * stdlib/tst-fmtmsg.c: Likewise.
1051 * stdlib/tst-limits.c: Likewise.
1052 * stdlib/tst-rand48-2.c: Likewise.
1053 * stdlib/tst-rand48.c: Likewise.
1054 * stdlib/tst-random2.c: Likewise.
1055 * stdlib/tst-random.c: Likewise.
1056 * stdlib/tst-strtol.c: Likewise.
1057 * stdlib/tst-strtoll.c: Likewise.
1058 * stdlib/tst-tls-atexit.c: Likewise.
1059 * stdlib/tst-xpg-basename.c: Likewise.
1060 * string/test-ffs.c: Likewise.
1061 * string/tst-bswap.c: Likewise.
1062 * string/tst-inlcall.c: Likewise.
1063 * string/tst-strtok.c: Likewise.
1064 * string/tst-strxfrm.c: Likewise.
1065 * sysdeps/x86_64/tst-audit10.c: Likewise.
1066 * sysdeps/x86_64/tst-audit3.c: Likewise.
1067 * sysdeps/x86_64/tst-audit4.c: Likewise.
1068 * sysdeps/x86_64/tst-audit5.c: Likewise.
1069 * time/tst-ftime_l.c: Likewise.
1070 * time/tst-getdate.c: Likewise.
1071 * time/tst-mktime3.c: Likewise.
1072 * time/tst-mktime.c: Likewise.
1073 * time/tst-posixtz.c: Likewise.
1074 * time/tst-strptime2.c: Likewise.
1075 * time/tst-strptime3.c: Likewise.
1076 * wcsmbs/tst-btowc.c: Likewise.
1077 * wcsmbs/tst-mbrtowc.c: Likewise.
1078 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1079 * wcsmbs/tst-wchar-h.c: Likewise.
1080 * wcsmbs/tst-wcpncpy.c: Likewise.
1081 * wcsmbs/tst-wcrtomb.c: Likewise.
1082 * wcsmbs/tst-wcsnlen.c: Likewise.
1083 * wcsmbs/tst-wcstof.c: Likewise.
1084
2004e7fb
JM
10852014-11-04 Joseph Myers <joseph@codesourcery.com>
1086
ab97ee8f
JM
1087 [BZ #14132]
1088 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1089 INTDEF.
1090 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1091 declaration.
1092 (_dl_mcount): Use rtld_hidden_proto.
1093 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1094 _dl_mcount.
1095 * elf/rtld.c (_rtld_global_ro): Likewise.
1096
c5684fdb
JM
1097 [BZ #14132]
1098 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1099 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1100 of _dl_init_internal.
1101 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1102 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1103 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1104 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1105 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1106 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1107 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1108 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1109 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1110 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1111 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1112 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1113 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1114 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1115 * sysdeps/tile/dl-start.S (_start): Likewise.
1116 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1117 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1118
4243cbea
JM
1119 [BZ #14132]
1120 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1121 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1122 (rtld_progname): Make macro definition unconditional.
1123 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1124 INTDEF.
1125 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1126 (dl_main): Likewise.
1127 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1128 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1129 instead of _dl_argv_internal.
1130 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1131 __GI__dl_argv instead of INTUSE(_dl_argv).
1132 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1133 __GI__dl_argv instead of _dl_argv_internal.
1134
2004e7fb
JM
1135 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1136 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1137 macro.
1138 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1139 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1140 New macro.
1141 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1142 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1143 macro.
1144 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1145 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1146
97827bfc
AS
11472014-11-04 Andreas Schwab <schwab@suse.de>
1148
1149 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1150
5e4df284
AZ
11512014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1152
1153 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1154 mtvsrd instruction in binary form.
1155
04b76b5a
AS
11562014-11-03 Andreas Schwab <schwab@suse.de>
1157
1158 [BZ #17522]
1159 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1160 for less than MB_LEN_MAX use a local buffer of that size.
1161 * libio/tst-fputws.c: New file.
1162 * libio/Makefile (tests): Add tst-fputws.
1163
4c6da7da
JM
11642014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1165
1166 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1167 the size of the fpu_fr.fpu_dregs[] array.
1168
1679ba8e
JM
11692014-11-01 Joseph Myers <joseph@codesourcery.com>
1170
1171 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1172 (__nanosleep): Do not define as alias.
1173 (nanosleep): Define as alias of __nanosleep.
1174 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1175 __libc_nanosleep name.
1176
2626c183
JM
11772014-10-31 Joseph Myers <joseph@codesourcery.com>
1178
1179 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1180 install.texi in comment.
1181
7f981fc2
TR
11822014-10-31 Torvald Riegel <triegel@redhat.com>
1183
1184 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1185 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1186 ... add here and use lwsync or sync ...
1187 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1188 ... and add here using lwsync.
1189
d6f373d2
MF
11902014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1191
1192 * elf/dl-machine-reject-phdr.h: New file.
1193 * elf/dl-load.c: #include that.
1194 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1195 if that returned true.
1196
67c37987
RM
11972014-10-31 Roland McGrath <roland@hack.frob.com>
1198
1199 [BZ #17496]
1200 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1201 gen-as-const-headers chunk. Add a big scare comment after the last
1202 safe place to touch before-compile.
1203
94a42455 12042014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1205
f3f5d895
JM
1206 * manual/install.texi (Tools for Compilation): Update autoconf
1207 version requirements.
1208 * INSTALL: Regenerated.
1209
f62ff286
JM
1210 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1211 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1212 (__libc_pselect): Likewise.
94a42455
JM
1213
1214 [BZ #14138]
1215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1219
ff9dbdc0
TR
12202014-10-31 Torvald Riegel <triegel@redhat.com>
1221
1222 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1223 correct barrier instruction.
1224 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1225 Likewise.
1226 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1227 Likewise.
1228
b4f66884
RM
12292014-10-30 Roland McGrath <roland@hack.frob.com>
1230
1231 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1232 after defining inlines. Instead, just use parens to defeat macro
1233 expansion of __isctype in its declaration.
1234
e19c95fd
JM
12352014-10-30 Joseph Myers <joseph@codesourcery.com>
1236
1237 * include/sys/uio.h (__libc_readv): Remove declaration.
1238 (__libc_writev): Likewise.
1239 * misc/readv.c (__libc_readv): Rename to __readv.
1240 (__readv): Do not define as alias.
1241 (readv): Define as alias of __readv.
1242 * misc/writev.c (__libc_writev): Rename to __writev.
1243 (__writev): Do not define as alias.
1244 (writev): Define as alias of __writev.
1245 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1246 (__readv): Do not define as alias.
1247 (readv): Define unconditionally as alias of __readv.
1248 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1249 (__writev): Do not define as alias.
1250 (writev): Define unconditionally as alias of __writev.
1251 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1252 name.
1253 (writev): Do not define __libc_writev name.
1254
65b00b6c
RM
12552014-10-30 Roland McGrath <roland@hack.frob.com>
1256
1257 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1258 (convert_charseq): New function, broken out of ...
1259 (use_from_charmap): ... here. Call it.
1260 (use_to_charmap): Use convert_charseq and free instead of duplicating
1261 its code with a variable-length stack struct.
1262
d4e157aa
JM
12632014-10-30 Joseph Myers <joseph@codesourcery.com>
1264
1265 * include/fcntl.h (__libc_creat): Remove declaration.
1266 * io/creat.c (__libc_creat): Rename to creat.
1267 (creat): Do not define as alias.
1268 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1269 of creat instead of __libc_creat.
1270 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1271 to creat.
1272 (creat): Do not define as alias.
1273 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1274 __libc_creat.
1275 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1276 __libc_creat name.
1277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1278 Likewise.
1279
0c6891a0
CD
12802014-10-29 Carlos O'Donell <carlos@redhat.com>
1281
1282 * manual/llio.texi: Add comments discussing why write() may be
1283 considered MT-unsafe on Linux.
1284
cc00cece
CD
12852014-10-28 Carlos O'Donell <carlos@redhat.com>
1286
1287 * dl-load.c (local_strdup): Remove.
1288 (expand_dynamic_string_token): Use __strdup.
1289 (decompose_rpath): Likewise.
1290 (_dl_map_object): Likewise.
1291
51e623f2
JM
12922014-10-28 Joseph Myers <joseph@codesourcery.com>
1293
1294 [BZ #14132]
1295 * sysdeps/generic/unwind-dw2-fde.c
1296 (__register_frame_info_bases_internal): Do not declare.
1297 (__register_frame_info_table_bases_internal): Likewise.
1298 (__deregister_frame_info_bases_internal): Likewise.
1299 (__register_frame_info_bases): Declare and use hidden_proto before
1300 definition. Use hidden_def instead of INTDEF.
1301 (__register_frame_info_table_bases): Likewise.
1302 (__deregister_frame_info_bases): Likewise.
1303 (__register_frame_info): Do not use INTUSE.
1304 (__register_frame): Likewise.
1305 (__register_frame_info_table): Likewise.
1306 (__register_frame_table): Likewise.
1307 (__deregister_frame_info): Likewise.
1308 (__deregister_frame): Likewise.
1309
03d41216
GC
13102014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1311
1312 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1313 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1314 not undefine.
1315 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1316 Likewise.
1317 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1318 Likewise.
1319
a4b3624d
JM
13202014-10-27 Joseph Myers <joseph@codesourcery.com>
1321
1322 [BZ #14138]
1323 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1324 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1325 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1326 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1327 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1328 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1329 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1330 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1331 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1332 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1333 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1334 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1335 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1336 syscall.
1337 (setfsuid): Likewise.
1338 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1339 (setfsuid): Likewise.
1340 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1341 (setfsuid): Likewise.
1342 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1343 Likewise.
1344 (setfsuid): Likewise.
1345 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1346 (setfsuid): Likewise.
1347 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1348 Likewise.
1349 (setfsuid): Likewise.
1350
3574f2fd
AS
13512014-10-27 Andreas Schwab <schwab@suse.de>
1352
1353 [BZ #17501]
1354 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1355 check for Slow_SSE4_2 feature bit.
1356 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1357 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1358 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1359 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1360
70996a37
RM
13612014-10-24 Roland McGrath <roland@hack.frob.com>
1362
461a7b1e
RM
1363 * configure.ac: Validate compiler version with a empirical test of
1364 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1365 $CC -v output.
1366 * configure: Regenerated.
1367
70996a37
RM
1368 * inet/htons.c (htons): Prototypify.
1369 * inet/htonl.c (htonl): Likewise.
1370
e80514b5
WD
13712014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1372
1373 * string/strncat.c (strncat): Improve performance by using strlen.
1374
6e46de42
WD
13752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1376
1377 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1378
6a9ad2fa
WD
13792014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1380
1381 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1382 Call libc_fetestexcept_aarch64.
1383
1c8810ed
WD
13842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1385
1386 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1387 Call libc_feholdexcept_aarch64.
1388
8b1af712
WD
13892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1390
1391 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1392 Call get_rounding_mode.
1393
a7b00c11
WD
13942014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1395
1396 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1397 Simplify logic.
1398
3a84f1a6
WD
13992014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1400
1401 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1402 Simplify logic.
1403
48eb7a94
JM
14042014-10-24 Joseph Myers <joseph@codesourcery.com>
1405
c8bc4038
JM
1406 [BZ #14138]
1407 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1408 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1409 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1410 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1411 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1412 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1413 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1414 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1415 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1416 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1417 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1418 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1419 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1420 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1421 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1422 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1423 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1424 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1425 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1426 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1427 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1428 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1429 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1430 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1431 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1432 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1433 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1434 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1435 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1436 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1437 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1438 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1439 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1440 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1441 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1442 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1443 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1444 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1445 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1446 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1447 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1448 syscall.
1449 (geteuid): Likewise.
1450 (getgid): Likewise.
1451 (getuid): Likewise.
1452 (getresgid): Likewise.
1453 (getresuid): Likewise.
1454 (getgroups): Likewise.
1455 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1456 (geteuid): Likewise.
1457 (getgid): Likewise.
1458 (getuid): Likewise.
1459 (getresgid): Likewise.
1460 (getresuid): Likewise.
1461 (getgroups): Likewise.
1462 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1463 (geteuid): Likewise.
1464 (getgid): Likewise.
1465 (getuid): Likewise.
1466 (getresgid): Likewise.
1467 (getresuid): Likewise.
1468 (getgroups): Likewise.
1469 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1470 Likewise.
1471 (geteuid): Likewise.
1472 (getgid): Likewise.
1473 (getuid): Likewise.
1474 (getresgid): Likewise.
1475 (getresuid): Likewise.
1476 (getgroups): Likewise.
1477 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1478 (geteuid): Likewise.
1479 (getgid): Likewise.
1480 (getuid): Likewise.
1481 (getresgid): Likewise.
1482 (getresuid): Likewise.
1483 (getgroups): Likewise.
1484 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1485 Likewise.
1486 (geteuid): Likewise.
1487 (getgid): Likewise.
1488 (getuid): Likewise.
1489 (getgroups): Likewise.
1490
48eb7a94
JM
1491 [BZ #14138]
1492 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1493 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1494 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1495 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1497 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1498 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1499 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1500 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1501 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1502 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1503 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1504 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1505 __chown.
1506 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1507 (lchown): Likewise.
1508 (fchown): Likewise.
1509 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1510 Likewise.
1511 (lchown): Likewise.
1512 (fchown): Likewise.
1513 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1514 (lchown): Likewise.
1515 (fchown): Likewise.
1516 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1517 Likewise.
1518 (lchown): Likewise.
1519 (fchown): Likewise.
1520
ea9a7c8b
WD
15212014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1522
1523 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1524 Simplify logic.
1525
e226de33
WD
15262014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1527
1528 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1529 Cleanup logic.
1530
6e3d8ed3
WD
15312014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1532
1533 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1534 Remove unused include.
1535
eb04247d
WD
15362014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1537
1538 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1539 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1540 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1541 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1542
13d84554
CD
15432014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1544 Helge Deller <deller@gmx.de>
1545
1546 [BZ #17508]
1547 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1548 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1549 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1550
15f9c5df
JM
15512014-10-23 Joseph Myers <joseph@codesourcery.com>
1552
1553 [BZ #14132]
1554 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1555 Remove macro definition.
1556 (__ashrdi3_v_glibc20): Likewise.
1557 (__lshrdi3_v_glibc20): Likewise.
1558 (__cmpdi2_v_glibc20): Likewise.
1559 (__ucmpdi2_v_glibc20): Likewise.
1560 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1561 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1562 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1563 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1564 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1565 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1566
c6dfed24
RM
15672014-10-22 Roland McGrath <roland@hack.frob.com>
1568
1569 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1570 old GNU extension [0] syntax.
1571 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1572 alloca rather than an array member with variable length.
1573 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1574 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1575 (parse_opt): ... here. Likewise use alloca there.
1576 Validate the -i argument before checking for rootness.
1577 (send_shutdown): New function, broken out of ...
1578 (parse_opt): ... here.
1579
8c2b1ed8
RM
15802014-10-22 Roland McGrath <roland@hack.frob.com>
1581
1582 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1583 macro to get at the _rt_local_ro field.
1584 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1585 ([PIC] case) or _dl_hwcap ([!PIC] case).
1586 * sysdeps/arm/setjmp.S: Likewise.
1587
1588 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1589 * sysdeps/arm/configure.ac: New check to define it.
1590 * sysdeps/arm/configure: Regenerated.
1591 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1592 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1593 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1594 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1595 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1596 Use move/movt pair instead of a load.
1597 (LDST_GLOBAL): Macro removed.
1598 (LDR_GLOBAL): New macro replaces it.
1599 (LDR_HIDDEN): New macro.
1600 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1601 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1602
1603 * setjmp/tst-setjmp-static.c: New file.
1604 * setjmp/Makefile (tests): Add it.
1605 (tests-static): New variable.
1606
b5af9297
MR
16072014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1608
1609 [BZ #17485]
1610 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1611
a13d0d74
JM
16122014-10-21 Joseph Myers <joseph@codesourcery.com>
1613
1614 [BZ #14132]
1615 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1616
f05e73f6
RM
16172014-10-21 Roland McGrath <roland@hack.frob.com>
1618
1619 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1620
6ab1d1ea
RM
16212014-10-20 Roland McGrath <roland@hack.frob.com>
1622
1623 * io/fts.c (dirent_not_directory): New function.
1624 (fts_build): Call it.
1625
ab49e763
RM
16262014-10-20 Roland McGrath <roland@hack.frob.com>
1627
e436eb79
RM
1628 * nptl/version.c (__nptl_main): Use normal __write rather than
1629 INTERNAL_SYSCALL.
1630 (banner): Update copyright years.
1631
6af246cf
RM
1632 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1633 gettimeofday.
1634 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1635 * nptl/pthread_cond_timedwait.c: Likewise.
1636 * nptl/pthread_mutex_timedlock.c: Likewise.
1637 * nptl/sem_timedwait.c: Likewise.
1638
ab49e763
RM
1639 * sysdeps/nptl/bits/libc-lock.h
1640 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1641 (__libc_lock_init_recursive): Return void, not 0.
1642 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1643 (__libc_rwlock_init): Likewise.
1644 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1645
f50277c1
TR
16462014-10-20 Torvald Riegel <triegel@redhat.com>
1647
1648 [BZ #15215]
1649 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1650 (__pthread_once_slow): ... here.
1651 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1652 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1653
63668b70
TR
16542014-10-20 Torvald Riegel <triegel@redhat.com>
1655
1656 [BZ #15215]
1657 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1658 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1659 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1660 * nptl/pthread_once.c (__pthread_once): Likewise.
1661 Update comments.
1662
42b7f5d4
JM
16632014-10-20 Joseph Myers <joseph@codesourcery.com>
1664
1665 [BZ #14138]
1666 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1667 name.
1668 (writev): Use __libc_writev as strong name.
1669 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1670 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1671
b0643088
RM
16722014-10-17 Roland McGrath <roland@hack.frob.com>
1673
114c4e09
RM
1674 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1675
674b8978
RM
1676 * sysdeps/i386/nptl/tls.h
1677 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1678 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1679 New macros.
1680 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1681 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1682 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1683 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1684 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1685 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1686
184ee940
RM
1687 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1688 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1689 on [__NR_futex].
1690 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1691 broken out of ...
1692 (__pthread_mutex_init): ... here. Call it.
1693 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1694 Conditionalize PI cases on [__NR_futex].
1695 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1696 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1697 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1698
327ae257
RM
1699 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1700 conditional on [SIGSETXID].
1701 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1702 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1703 is defined. Likewise for SIGSETXID.
1704 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1705 Conditionalize definitions on [SIGSETXID].
1706 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1707 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1708 unblocking on [SIGCANCEL].
1709
b0643088
RM
1710 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1711 [__NR_set_robust_list].
1712
33cc770b
SP
17132014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1714
1715 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1716 (do_compare): Likewise.
1717
0742aef6
LH
17182014-10-17 Leonhard Holz <leonhard.holz@web.de>
1719
1720 [BZ #15884]
1721 * string/strcoll_l.c: Don't include stdio.h.
1722 (coll_seq): Remove members idxarr and rulearr.
1723 (get_next_seq_cached): Remove function.
1724 (get_next_seq): Likewise.
1725 (get_next_seq_nocache): Rename to get_next_seq.
1726 (do_compare): Remove function.
1727 (do_compare_nocache): Rename to do_compare.
1728 (STRCOLL): Remove weight and rules cache.
1729
ee54ce44
RM
17302014-10-16 Roland McGrath <roland@hack.frob.com>
1731
1732 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1733 * sysdeps/arm/sfp-machine.h: ... to here.
1734 * sysdeps/arm/Implies: Remove arm/soft-fp.
1735
a75d3b02
JM
17362014-10-14 Joseph Myers <joseph@codesourcery.com>
1737
1738 * conform/data/sys/utsname.h-data (*_t): Allow.
1739 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1740 [POSIX] (WEXITED): Do not expect constant.
1741 [POSIX] (WSTOPPED): Likewise.
1742 [POSIX] (WNOHANG): Likewise.
1743 [POSIX] (WNOWAIT): Likewise.
1744 [POSIX] (siginfo_t): Do not expect type or elements.
1745 [POSIX] (pid_t): Do not expect type.
1746 [POSIX] (signal.h): Do not allow header.
1747 [POSIX] (sys/resource.h): Likewise.
1748 [POSIX] (si_*): Do not allow pattern.
1749 [POSIX] (W*): Likewise.
1750 [POSIX] (P_*): Likewise.
1751 [POSIX] (BUS_*): Likewise.
1752 [POSIX] (CLD_*): Likewise.
1753 [POSIX] (FPE_*): Likewise.
1754 [POSIX] (ILL_*): Likewise.
1755 [POSIX] (POLL_*): Likewise.
1756 [POSIX] (SEGV_*): Likewise.
1757 [POSIX] (SI_*): Likewise.
1758 [POSIX] (TRAP_*): Likewise.
1759 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1760 variable.
1761
fda389c8
SP
17622014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1763
1764 [BZ #12926]
1765 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1766 infinite loop when __recvmsg returns 0.
1767
6bc6bd3b
JM
17682014-10-10 Joseph Myers <joseph@codesourcery.com>
1769
fcb32af1
JM
1770 * CANCEL-FCT-WAIVE: Remove file.
1771 * CANCEL-FILE-WAIVE: Likewise.
1772
6bc6bd3b
JM
1773 [BZ #14132]
1774 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1775 instead of INTVARDEF.
1776 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1777 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1778 rtld_hidden_data_def instead of INTVARDEF.
1779 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1780 * elf/dl-deps.c (expand_dst): Likewise.
1781 * elf/dl-load.c (_dl_dst_count): Likewise.
1782 (_dl_dst_substitute): Likewise.
1783 (decompose_rpath): Likewise.
1784 (_dl_init_paths): Likewise.
1785 (open_path): Likewise.
1786 (_dl_map_object): Likewise.
1787 * elf/rtld.c (dl_main): Likewise.
1788 (process_dl_audit): Likewise.
1789 (process_envvars): Likewise.
1790 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1791 Remove declaration.
1792 (__libc_enable_secure): Use rtld_hidden_proto.
1793
b8c80a7e
KS
17942014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1795
1796 * elf/dl-load.c
1797 (add_path): New function broken out of _dl_rtld_di_serinfo.
1798 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1799
ff12c11f
JM
18002014-10-09 Joseph Myers <joseph@codesourcery.com>
1801
5c0508a3
JM
1802 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1803 parentheses around macro arguments.
1804 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1805 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1806 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1807 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1808 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1809 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1810 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1812 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1813 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1814 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1815 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1816 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1817 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1818 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1819 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1820 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1821 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1822 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1823 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1825 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1826 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1827 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1828 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1829 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1830 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1831 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1832 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1833 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1834 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1835 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1836 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1837 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1838 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1839 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1840 Likewise.
1841 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1842 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1843 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1844 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1845 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1846 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1847 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1848 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1849 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1850 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1851 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1852 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1853 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1854 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1855 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1856 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1857 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1858 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1859 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1860 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1861 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1862 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1863 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1864 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1865 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1866 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1867 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1868 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1869 (_FP_FRAC_SRS_1): Likewise.
1870 (_FP_FRAC_CLZ_1): Likewise.
1871 (_FP_MUL_MEAT_1_imm): Likewise.
1872 (_FP_MUL_MEAT_1_wide): Likewise.
1873 (_FP_MUL_MEAT_1_hard): Likewise.
1874 (_FP_SQRT_MEAT_1): Likewise.
1875 (_FP_FRAC_ASSEMBLE_1): Likewise.
1876 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1877 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1878 (__FP_CLZ_2): Likewise.
1879 (_FP_MUL_MEAT_2_wide): Likewise.
1880 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1881 (_FP_MUL_MEAT_2_gmp): Likewise.
1882 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1883 (_FP_SQRT_MEAT_2): Likewise.
1884 (_FP_FRAC_ASSEMBLE_2): Likewise.
1885 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1886 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1887 (_FP_FRAC_CLZ_4): Likewise.
1888 (_FP_MUL_MEAT_4_wide): Likewise.
1889 (_FP_MUL_MEAT_4_gmp): Likewise.
1890 (_FP_SQRT_MEAT_4): Likewise.
1891 (_FP_FRAC_ASSEMBLE_4): Likewise.
1892 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1893 * soft-fp/op-common.h (_FP_CMP): Likewise.
1894 (_FP_CMP_EQ): Likewise.
1895 (_FP_CMP_UNORD): Likewise.
1896 (_FP_TO_INT): Likewise.
1897 (_FP_FROM_INT): Likewise.
1898 [!__FP_CLZ] (__FP_CLZ): Likewise.
1899 (_FP_DIV_HELP_imm): Likewise.
1900 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1901 Likewise.
1902 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1903 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1904 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1905 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1906 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1907 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1908 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1909 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1910 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1911 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1912 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1913 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1914 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1915 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1916 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1917 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1918 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1919 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1920 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1921 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1922 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1923 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1924 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1925 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1926 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1927 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1928 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1929 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1930 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1931 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1932 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1933 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1934 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1935 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1936 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1937 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1938 (FP_UNPACK_RAW_SP): Likewise.
1939 (FP_PACK_RAW_S): Likewise.
1940 (FP_PACK_RAW_SP): Likewise.
1941 (FP_UNPACK_S): Likewise.
1942 (FP_UNPACK_SP): Likewise.
1943 (FP_UNPACK_SEMIRAW_S): Likewise.
1944 (FP_UNPACK_SEMIRAW_SP): Likewise.
1945 (FP_PACK_S): Likewise.
1946 (FP_PACK_SP): Likewise.
1947 (FP_PACK_SEMIRAW_S): Likewise.
1948 (FP_PACK_SEMIRAW_SP): Likewise.
1949 (_FP_SQRT_MEAT_S): Likewise.
1950 (FP_CMP_S): Likewise.
1951 (FP_CMP_EQ_S): Likewise.
1952 (FP_CMP_UNORD_S): Likewise.
1953 (FP_TO_INT_S): Likewise.
1954 (FP_FROM_INT_S): Likewise.
1955
a736ec37
JM
1956 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1957
ff12c11f
JM
1958 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1959 (FP_EX_INVALID_IMZ): Likewise.
1960 (FP_EX_INVALID_IMZ_FMA): Likewise.
1961 (FP_EX_INVALID_ISI): Likewise.
1962 (FP_EX_INVALID_ZDZ): Likewise.
1963 (FP_EX_INVALID_IDI): Likewise.
1964 (FP_EX_INVALID_SQRT): Likewise.
1965 (FP_EX_INVALID_CVI): Likewise.
1966 (FP_EX_INVALID_VC): Likewise.
1967 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1968 "invalid" exceptions.
1969 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1970 (_FP_ADD_INTERNAL): Likewise.
1971 (_FP_MUL): Likewise.
1972 (_FP_FMA): Likewise.
1973 (_FP_DIV): Likewise.
1974 (_FP_CMP_CHECK_NAN): Likewise.
1975 (_FP_SQRT): Likewise.
1976 (_FP_TO_INT): Likewise.
1977 (FP_EXTEND): Likewise.
1978
b6dcfe8c
AM
19792014-10-09 Allan McRae <allan@archlinux.org>
1980
1981 * po/fr.po: Update French translation from translation project.
1982
2d6a47ba
JM
19832014-10-09 Joseph Myers <joseph@codesourcery.com>
1984
cb831245
JM
1985 [BZ #14132]
1986 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1987 of INTDEF.
1988 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1989 (__cxa_atexit): Use libc_hidden_proto.
1990 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1991
5deeb190
JM
1992 [BZ #14132]
1993 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1994 declaration.
1995 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1996 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1997 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1998 [!_ISOMAC] (__iswctype_internal): Likewise.
1999 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2000 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2001 alias.
2002 (fcntl): Remove __fcntl_internal alias.
2003 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2004 __connect_internal alias.
2005 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2006 Likewise.
2007
454ac701
JM
2008 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2009 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2010 FP_DENORM_ZERO.
2011 (_FP_CHECK_FLUSH_ZERO): New macro.
2012 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2013 (_FP_CMP): Likewise.
2014 (_FP_CMP_EQ): Likewise.
2015 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2016 FP_DENORM_ZERO.
2017 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2018 (FP_TRUNC): Likewise.
2019
0022e688
JM
2020 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2021 treated as invalid conversion, not as normal exponent.
2022
73e28d9c
JM
2023 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2024 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2025 (_FP_CMP_EQ): Likewise.
2026 (_FP_CMP_UNORD): Likewise.
2027 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2028 (FP_CMP_EQ_D): Likewise.
2029 (FP_CMP_UNORD_D): Likewise.
2030 * soft-fp/extended.h (FP_CMP_E): Likewise.
2031 (FP_CMP_EQ_E): Likewise.
2032 (FP_CMP_UNORD_E): Likewise.
2033 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2034 (FP_CMP_EQ_Q): Likewise.
2035 (FP_CMP_UNORD_Q): Likewise.
2036 * soft-fp/single.h (FP_CMP_S): Likewise.
2037 (FP_CMP_EQ_S): Likewise.
2038 (FP_CMP_UNORD_S): Likewise.
2039 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2040 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2041 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2042 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2043 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2044 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2045 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2046 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2047 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2048 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2049 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2050 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2051 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2052 to FP_CMP_Q.
2053 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2054 FP_CMP_Q.
2055 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2056 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2057 FP_CMP_EQ_Q.
2058 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2059 FP_CMP_Q.
2060 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2061 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2062 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2063 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2064 FP_CMP_EQ_Q.
2065 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2066 FP_CMP_Q.
2067 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2068 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2069 FP_CMP_EQ_Q.
2070 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2071 FP_CMP_Q.
2072 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2073 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2074 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2075 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2076 FP_CMP_EQ_Q.
2077
43059f42
JM
2078 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2079 a subnormal result, set the underflow exception if trapping on
2080 underflow is enabled.
2081 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2082 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2083 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2084 redefine to 0.
2085 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2086 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2087 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2088 * soft-fp/extendxftf2.c (__extendxftf2): Use
2089 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2090
2d6a47ba
JM
2091 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2092 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2093 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2094 FP_HANDLE_EXCEPTIONS.
2095 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2096 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2097 FP_HANDLE_EXCEPTIONS.
2098 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2099 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2100 FP_HANDLE_EXCEPTIONS.
2101 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2102 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2103 FP_HANDLE_EXCEPTIONS.
2104
620f462e
JM
21052014-10-08 Joseph Myers <joseph@codesourcery.com>
2106
2107 [BZ #14132]
2108 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2109 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2110 use INTUSE.
2111 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2112 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2113 Remove alias.
2114 (__adjtimex): Define using libc_hidden_ver.
2115 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2116 Remove declaration.
2117 (ntp_gettime): Call __adjtimex directly.
2118 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2119 Remove declaration.
2120 (ntp_gettimex): Call __adjtimex directly.
2121 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2122 __adjtimex_internal alias.
2123
c763c5d2
RM
21242014-10-08 Roland McGrath <roland@hack.frob.com>
2125
2126 [BZ #17460]
2127 * nscd/nscd.c (more_help): Rewrite list of tables collection
2128 using xstrdup and asprintf.
2129
2130 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2131
7b8fb2b8
RM
21322014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2133 Roland McGrath <roland@hack.frob.com>
2134
2135 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2136 (do_lookup_unique): ... local function 'enter' here; update callers.
2137
abb280f7
JM
21382014-10-06 Joseph Myers <joseph@codesourcery.com>
2139
f7b42517
JM
2140 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2141 compat_symbol calls on [SHARED].
2142 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2143 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2144 Remove.
2145 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2146 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2147 (oldsetrlimit): Remove.
2148 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2150 (lchown): New syscall entry.
2151 (oldsetrlimit): Remove.
2152 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2153 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2154 (oldsetrlimit): Remove.
2155 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2156
abb280f7
JM
2157 [BZ #14138]
2158 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2159 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2160 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2161 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2162 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2163 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2164 (fchown): Likewise.
2165 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2166 (fchown): Likewise.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2168 Likewise.
2169
47d46237
AZ
21702014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2171
2172 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2173 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2174 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2175 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2176 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2177 Likewise.
2178 (__old_sem_post): Likewise.
2179
21802014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2181
845a7343
CM
2182 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2183 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2184 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2185 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2186 Use INLINE_VSYSCALL macro.
2187 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2188 __vdso_clock_gettime.
2189 * sysdeps/unix/sysv/linux/tile/init-first.c
2190 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2191 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2192 __vdso_clock_gettime.
2193
83d641ef
CM
2194 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2195 to set up frame more cleanly.
2196
d9cd52e6
CM
2197 * sysdeps/tile/memcmp.c: New file.
2198
4b68ea11
CM
2199 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2200
c86f7b80
CM
2201 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2202 * sysdeps/tile/tilegx/strcasestr.c: New file.
2203 * sysdeps/tile/tilegx/strnlen.c: New file.
2204 * sysdeps/tile/tilegx/strstr.c: New file.
2205
1c4c1a6f
CM
2206 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2207
99d86ea3
AS
22082014-10-06 Arjun Shankar <arjun.is@lostca.se>
2209
2210 * nptl/tst-setuid3.c: Write errors to stdout.
2211
06210a44
KS
22122014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2213
2214 * elf/dl-deps.c
2215 (preload): New functions broken out of _dl_map_object_deps.
2216 (_dl_map_object_deps): Remove a nested function. Update call sites.
2217
6268f532
JM
22182014-10-01 Joseph Myers <joseph@codesourcery.com>
2219
2220 [BZ #14138]
2221 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2222 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2223
b925285f
SE
22242014-10-01 Steve Ellcey <sellcey@mips.com>
2225
2226 * sysdeps/mips/strcmp.S: New.
2227
754a15c6
JM
22282014-09-30 Joseph Myers <joseph@codesourcery.com>
2229
2230 [BZ #14138]
2231 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2232 (linkat): Likewise.
2233 (mkdirat): Likewise.
2234 (readlinkat): Likewise.
2235 (renameat): Likewise.
2236 (symlinkat): Likewise.
2237 (unlinkat): Likewise.
2238 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2239 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2240 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2241 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2242 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2243 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2244 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2245
85bb81c9
WN
22462014-09-30 Will Newton <will.newton@linaro.org>
2247
dc6fe23b
WN
2248 * math/math.h: Define long double math functions if
2249 _LIBC_TEST is defined.
2250 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2251
85bb81c9
WN
2252 * localedata/Makefile: Move assignment to tests-special
2253 into an ifdef testing run-built-tests.
2254 * timezone/Makefile: Likewise.
2255
b7e02da4
JM
22562014-09-29 Joseph Myers <joseph@codesourcery.com>
2257
2258 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2259 with $(BASH) not $(SHELL).
2260
62058ce6
CD
22612014-09-29 Carlos O'Donell <carlos@redhat.com>
2262 Matthew LeGendre <legendre1@llnl.gov>
2263
2264 [BZ #17411]
2265 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2266 l_reloc_result.
2267
8e257a29
KS
22682014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2269
2270 * stdio-common/printf_fp.c
2271 (hack_digit): New function, broken out of ...
2272 (__printf_fp): ... local function here. Update call sites.
2273 hack_digit now takes an additional parameter that is a pointer
2274 to a struct of the referenced locals. Those locals moved inside
2275 the struct and references updated.
2276
f4a58f0d
L
22772014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2278
2279 * aclocal.m4: Require autoconf 2.69.
2280 * configure: Regenerated.
2281 * sysdeps/aarch64/configure: Likewise.
2282 * sysdeps/alpha/configure: Likewise.
2283 * sysdeps/arm/armv7/configure: Likewise.
2284 * sysdeps/arm/configure: Likewise.
2285 * sysdeps/ia64/configure: Likewise.
2286 * sysdeps/mach/configure: Likewise.
2287 * sysdeps/mips/configure: Likewise.
2288 * sysdeps/s390/configure: Likewise.
2289 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2291
2292 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2293 file.
2294 * sysdeps/ia64/configure.ac: Likewise.
2295
93ae1eba
JM
22962014-09-26 Joseph Myers <joseph@codesourcery.com>
2297
1810d3ab
JM
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2299 specify symbol version for ld.so. Do not include entry for
2300 libpthread.
2301 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2302 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2303 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2304
93ae1eba
JM
2305 [BZ #14171]
2306 * Makeconfig [$(build-shared) = yes]
2307 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2308 makefiles.
2309 [$(build-shared) = yes && $(soversions.mk-done) = t]
2310 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2311 [$(build-shared) = yes && $(soversions.mk-done) = t]
2312 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2313 to Makerules.
2314 [$(build-shared) = yes && $(soversions.mk-done) = t]
2315 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2316 here.
2317 [$(build-shared) = yes && $(soversions.mk-done) = t]
2318 (common-generated): Don't append gnu/lib-names.h and
2319 gnu/lib-names.stmp here.
2320 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2321 (lib-names-h-abi): New variable.
2322 [$(build-shared) = yes && $(soversions.mk-done) = t]
2323 (lib-names-stmp-abi): Likewise.
2324 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2325 abi-variants] (before-compile): Append
2326 $(common-objpfx)$(lib-names-h-abi).
2327 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2328 abi-variants] (common-generated): Append gnu/lib-names.h.
2329 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2330 abi-variants] (install-others-nosubdir): Depend on
2331 $(inst_includedir)/$(lib-names-h-abi).
2332 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2333 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2334 [$(build-shared) = yes && $(soversions.mk-done) = t]
2335 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2336 [$(build-shared) = yes && $(soversions.mk-done) = t]
2337 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2338 [$(build-shared) = yes && $(soversions.mk-done) = t]
2339 (common-generated): Append $(lib-names-h-abi) and
2340 $(lib-names-stmp-abi).
2341 * scripts/lib-names.awk: Do not handle multi being set.
2342 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2343 Remove variable.
2344 (abi-lp64_be-ld-soname): Likewise.
2345 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2346 Likewise.
2347 (abi-hard-ld-soname): Likewise.
2348 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2349 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2350 Remove variable.
2351 (abi-o32_hard-ld-soname): Likewise.
2352 (abi-o32_soft_2008-ld-soname): Likewise.
2353 (abi-o32_hard_2008-ld-soname): Likewise.
2354 (abi-n32_soft-ld-soname): Likewise.
2355 (abi-n32_hard-ld-soname): Likewise.
2356 (abi-n32_soft_2008-ld-soname): Likewise.
2357 (abi-n32_hard_2008-ld-soname): Likewise.
2358 (abi-n64_soft-ld-soname): Likewise.
2359 (abi-n64_hard-ld-soname): Likewise.
2360 (abi-n64_soft_2008-ld-soname): Likewise.
2361 (abi-n64_hard_2008-ld-soname): Likewise.
2362 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2363 Likewise.
2364 (abi-64-v2-ld-soname): Likewise.
2365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2366 ld.so entries.
2367 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2368 variable.
2369 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2370 entry.
2371 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2372 variable.
2373 (abi-64-ld-soname): Likewise.
2374 (abi-x32-ld-soname): Likewise.
2375 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2376 entry.
2377 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2378
68870f12
JM
23792014-09-23 Joseph Myers <joseph@codesourcery.com>
2380
2381 [BZ #14138]
2382 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2383 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2384 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2385 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2386 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2387 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2388 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2389 syscall entry for GLIBC_2.2 symbol version.
2390 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2391 Likewise.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2393 (setrlimit): Likewise.
2394 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2395 Likewise.
2396
ea58f202
WN
23972014-09-23 Will Newton <will.newton@linaro.org>
2398
2399 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2400 _LINUX_ARM_SYSDEP_H include guard too.
2401 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2402 define.
2403
69eb9a18
RV
24042014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2405
2406 * sysdeps/unix/sysv/linux/eventfd.c:
2407 Make first argument unsigned.
2408 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2409 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2410
20e5a5f7
OB
24112014-09-20 Ondřej Bílka <neleai@seznam.cz>
2412
2413 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2414 * socket/sys/socket.h: Likewise
2415 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2416
d3c827e7
AK
24172014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2418
2419 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2420
fe1cc35a
AS
24212014-09-17 Arjun Shankar <arjun.is@lostca.se>
2422
2423 * time/tst-ftime.c: New test.
2424 * time/Makefile (tests): Add tst-ftime.
2425
4e8afe69
JM
24262014-09-17 Joseph Myers <joseph@codesourcery.com>
2427
c4fe3ea7
JM
2428 * soft-fp/extended.h: Fix comment formatting.
2429 * soft-fp/op-1.h: Likewise.
2430 * soft-fp/op-2.h: Likewise.
2431 * soft-fp/op-4.h: Likewise.
2432 * soft-fp/op-8.h: Likewise.
2433 * soft-fp/op-common.h: Likewise.
2434 * soft-fp/soft-fp.h: Likewise.
2435
4e8afe69
JM
2436 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2437
af296fcd
JM
24382014-09-16 Joseph Myers <joseph@codesourcery.com>
2439
2440 [BZ #6652]
2441 * Makeconfig (soversions-default-setname): Remove variable.
2442 ($(common-objpfx)soversions.i): Don't pass default_setname to
2443 soversions.awk.
2444 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2445 oldest_abi to abi-versions.awk.
2446 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2447 * config.make.in (oldest-abi): Remove variable.
2448 * configure.ac (--enable-oldest-abi): Remove configure option.
2449 * configure: Regenerated.
2450 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2451 text.
2452 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2453 * scripts/soversions.awk: Do not handle default_setname variable.
2454 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2455 variable.
2456 * sysdeps/mach/hurd/configure: Regenerated.
2457 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2458 variable.
2459 * sysdeps/unix/sysv/linux/configure: Regenerated.
2460
545583d6
SP
24612014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2462
d330b980
SP
2463 * elf/Makefile (CFLAGS-interp.c): Remove.
2464 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2465 path string.
2466 * elf/interp.c: Include generated runtime-linker.h
2467
02657da2
SP
2468 * Makerules (lib%.so): Don't include $(+interp) in
2469 prerequisites.
2470 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2471 * dlfcn/eval.c: Remove file.
2472
653b1080
SP
2473 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2474 macros.
2475
602f80ec
SP
2476 [BZ #17266]
2477 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2478 4.2 and newer.
2479
545583d6
SP
2480 [BZ #17370]
2481 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2482
884ddc50
SP
24832014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2484 Jakub Jelinek <jakub@redhat.com>
2485
2486 [BZ #17266]
2487 * libio/stdio.h: Check definition of __fortify_function
2488 instead of __extern_always_inline to include bits/stdio2.h.
2489 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2490 check if __extern_always_inline is defined.
2491 [__USE_MISC || __USE_XOPEN]: Likewise.
2492 [__USE_ISOC99] Likewise.
2493 * misc/sys/cdefs.h (__fortify_function): Define only if
2494 __extern_always_inline is defined.
2495 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2496 __extern_always_inline and __extern_inline only for g++-4.3
2497 and newer or a compatible gcc.
2498
a7b87268
AS
24992014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2500
2501 [BZ #17371]
2502 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2503 last change to handle zero prefix length.
2504
3f41521d
SP
25052014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2506
61fe374a
SP
2507 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2508 _SC_REGEX_VERSION.
2509
3f41521d
SP
2510 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2511 _POSIX_RAW_SOCKETS.
2512
d8f879ee
AM
25132014-09-13 Allan McRae <allan@archlinux.org>
2514
2515 * po/ru.po: Update Russian translation from translation project.
2516
c079afb7
RM
25172014-09-12 Roland McGrath <roland@hack.frob.com>
2518
a62b3c15
RM
2519 * locale/programs/locale.c (show_locale_vars): Inline local function
2520 into its sole call site. Clean up some style nits.
2521 (print_item): New function, broken out of ...
2522 (show_info): ... local function here. Clean up style nits.
2523
d7e49b19
RM
2524 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2525 out of ...
2526 (set_class_defaults): ... local function set_default here.
2527 Define set_default as a macro locally to pass constant parameters.
2528 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2529 rather than a shared local.
2530
c079afb7
RM
2531 * stdlib/rpmatch.c (try): New function, broken out of ...
2532 (rpmatch): ... local function here. Also, prototypify definition.
2533
0bd72468
JM
25342014-09-12 Joseph Myers <joseph@codesourcery.com>
2535
ba90e050
JM
2536 * scripts/soversions.awk: Do not handle configuration names.
2537 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2538 vendor and os variables to soversions.awk.
2539 * configure.ac: Do not modify gnu-* host_os.
2540 * configure: Regenerated
2541 * shlib-versions: Remove first column with configuration names.
2542 * nptl/shlib-versions: Likewise.
2543 * nptl_db/shlib-versions: Likewise.
2544 * sysdeps/hppa/shlib-versions: Likewise.
2545 * sysdeps/m68k/shlib-versions: Likewise.
2546 * sysdeps/mach/hurd/shlib-versions: Likewise.
2547 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2548 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2549 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2550 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2551 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2552 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2553 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2554 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2556 Likewise.
2557 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2558 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2559 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2560 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2561 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2562 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2563 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2564 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2565
73a39112
JM
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2567 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2569 Regenerated.
2570 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2572 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2573
c729e7c1
JM
2574 * shlib-versions: Remove OS-specific entries. Moved to files in
2575 sysdeps.
2576 * sysdeps/mach/hurd/shlib-versions: New file.
2577 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2578
dc932a24
JM
2579 * nptl/shlib-versions: Remove architecture-specific entries.
2580 Moved to files in sysdeps.
2581 * shlib-versions: Likewise.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2583 file.
2584 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2585 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2586 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2588
0bd72468
JM
2589 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2590 (UDP_NO_CHECK6_RX): Likewise.
2591
920238e0
SP
25922014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2593
2594 * sysdeps/posix/sysconf.c (__sysconf): Spell
2595 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2596
ba7b4d29
FW
25972014-08-12 Florian Weimer <fweimer@redhat.com>
2598
2599 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2600 loading.
2601 * iconv/Versions (__gconv_transliterate): Export for use from
2602 gconv modules.
2603 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2604 (struct __gconv_trans_data, __gconv_trans_fct,
2605 __gconv_trans_context_fct, __gconv_trans_query_fct,
2606 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2607 definitions.
2608 (struct __gconv_step_data): Remove __trans member.
2609 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2610 longer hidden. Remove unused trans_data argument.
2611 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2612 (__gconv_translit_find): Remove declaration.
2613 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2614 prototype.
2615 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2616 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2617 trans_data argument. Add hidden definition.
2618 (__gconv_translit_find): Remove.
2619 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2620 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2621 * iconv/skeleton.c: Remove transliteration initialization.
2622 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2623 __gconv_step_data initialization.
2624 * libio/iofwide.c (__libio_translit_): Remove.
2625 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2626 * wcsmbs/btowc.c (__btowc): Likewise.
2627 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2628 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2629 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2630 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2631 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2632 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2633 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2634 * wcsmbs/wctob.c (wctob): Likewise.
2635
5379aebd
SP
26362014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2637
2638 [BZ #16194]
2639 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2640 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2641 register usage.
2642 * sysdeps/x86/Makefile: Adjust.
2643
8c0ab919
RM
26442014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2645 Roland McGrath <roland@hack.frob.com>
2646
2647 * locale/weight.h: Add include guard.
2648 (findidx): Make static rather than auto; take new parameters
2649 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2650 * locale/weightwc.h: Likewise.
2651 * posix/fnmatch_loop.c
2652 (FCT): Change type of EXTRA from int32_t to wint_t.
2653 Don't include either header inside the function.
2654 Call FINDIDX rather than findidx, and pass new arguments.
2655 #undef FINDIDX at the end of the file.
2656 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2657 FINDIDX before including fnmatch_loop.c for the non-wide version.
2658 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2659 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2660 for the wide version.
2661 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2662 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2663 Pass new arguments to findidx.
2664 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2665 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2666 Don't #include it inside the function. Pass new arguments to findidx.
2667 * posix/regex_internal.h
2668 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2669 (re_string_elem_size_at): Don't #include it inside the function.
2670 Pass new arguments to findidx.
2671 * string/strcoll_l.c: #include WEIGHT_H at top level.
2672 (get_next_seq): Don't #include it inside the function.
2673 Pass new arguments to findidx.
2674 (get_next_seq_nocache): Likewise.
2675 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2676 (STRXFRM): Don't #include it inside the function.
2677 Pass new arguments to findidx.
2678
52ffbdf2
FW
26792014-09-11 Florian Weimer <fweimer@redhat.com>
2680
2681 [BZ #17344]
2682 * malloc/malloc.c (unlink): Turn asserts into a call to
2683 malloc_printerr.
2684
984c0ea9
TL
26852014-09-11 Tim Lammens <tim.lammens@gmail.com>
2686
2687 [BZ #17370]
2688 * libio/wfileops (do_ftell_wide): Free OUT.
2689
3daee107
CM
26902014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2691
2692 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2693
58b930ae
SP
26942014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2695
2696 [BZ #17363]
2697 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2698 group if the current group is empty.
2699
3b473fec
AZ
27002014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701
71ae8647
AZ
2702 * benchtests/bench-memset.c (test_main): Add more test from size
2703 from 32 to 512 bytes.
2704 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2705 Add POWER8 memset object.
2706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2707 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2708 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2709 implementation.
2710 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2711 Likewise.
2712 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2713 multiarch POWER8 memset optimization.
2714 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2715 POWER8 memset optimization.
2716
3b473fec
AZ
2717 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2718 Remove bzero multiarch objects.
2719 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2720 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2721 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2722 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2723 Remove define.
2724 [__bzero]: Redefine to specific name.
2725 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2726 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2727 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2728 define.
2729 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2730 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2731
e6fb9587
FW
27322014-09-10 Florian Weimer <fweimer@redhat.com>
2733
2734 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2735 warnings into errors.
2736
2737 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2738 __cxa_thread_atexit_impl prototype.
2739
9d3a350b
SE
27402014-09-09 Steve Ellcey <sellcey@mips.com>
2741
2742 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2743 Fix capitalization of error message.
2744
0febba23
SE
27452014-09-09 Steve Ellcey <sellcey@mips.com>
2746
2747 * sysdeps/mips/preconfigure: Modify ABI tests.
2748
645a0e9c
CD
27492014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2750
2751 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2752
d83f0734
CD
27532014-09-07 Roland McGrath <roland@hack.frob.com>
2754 Carlos O'Donell <carlos@systemhalted.org>
2755
2756 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2757 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2758 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2759 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2760 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2761 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2762 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2763 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2764 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2765 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2766 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2767 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2768 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2769 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2770 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2771 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2772 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2773 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2774 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2775 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2776 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2777 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2778 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2779 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2780 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2781 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2782 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2783 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2784 Deconditionalize the code that was previously under [RESET_PID].
2785 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2786 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2787 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2788 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2789 include sysdep.h.
2790
21c83793
AM
27912014-09-08 Allan McRae <allan@archlinux.org>
2792
2793 * version.h (RELEASE): Set to "development".
2794 (VERSION): Set to "2.20.90"
2795
1cd9b65c
AM
27962014-09-07 Allan McRae <allan@archlinux.org
2797
b8079dd0
AM
2798 * version.h (RELEASE): Set to "stable".
2799 (VERSION): Set to "2.20"
2800 * include/features.h (__GLIBC_MINOR__): Set to 20.
2801
c46303ef
AM
2802 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2803 Liebler.
2804
1cd9b65c
AM
2805 * po/ko.po: Update Korean translation from translation project.
2806
8622092d
CM
28072014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2808
2809 [BZ #17354]
2810 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2811 macro for handling signed relocations.
2812
41488498
FW
28132014-09-03 Florian Weimer <fweimer@redhat.com>
2814
2815 [BZ #17325]
2816 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2817 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2818 assert.
2819 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2820 * iconvdata/ibm935.c (BODY): Likewise.
2821 * iconvdata/ibm937.c (BODY): Likewise.
2822 * iconvdata/ibm939.c (BODY): Likewise.
2823 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2824 assert.
2825 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2826 script.
2827 * iconvdata/run-iconv-test.sh: New test loop for checking for
2828 decoder crashers.
2829
a78b712d
KR
28302014-09-02 Khem Raj <raj.khem@gmail.com>
2831
2832 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2833 libm_hidden_ver.
2834
cb08abc6
AM
28352014-09-01 Allan McRae <allan@archlinux.org>
2836
2c31e102
AM
2837 * po/eo.po: Update Esperanto translation from translation project.
2838
cb08abc6
AM
2839 * po/ca.po: Update Catalan translation from translation project.
2840
17a62de1
ST
28412014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2842
2843 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2844 __proc_dostop call.
2845
9570bc53
MW
28462014-08-27 Mark Wielaard <mjw@redhat.com>
2847
2848 [BZ #17319]
2849 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2850 to call set_thread_area instead of hand written asm.
2851 (__NR_set_thread_area): Removed define.
2852 (TLS_FLAG_WRITABLE): Likewise.
2853 (__ASSUME_SET_THREAD_AREA): Remove check.
2854 (TLS_EBX_ARG): Remove define.
2855 (TLS_LOAD_EBX): Likewise.
2856
b0f955c9
ST
28572014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2858
2859 Simplify atomicity of socket creation in bind.
2860
2861 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2862 looking up the name after linking the file.
2863
529bf515
AM
28642014-08-27 Allan McRae <allan@archlinux.org>
2865
2866 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2867
a1a6a401
FW
28682014-08-26 Florian Weimer <fweimer@redhat.com>
2869
2870 [BZ #17187]
2871 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2872 trans_compare, open_translit, __gconv_translit_find):
2873 Remove module loading code.
2874
686ab290
AM
28752014-08-26 Allan McRae <allan@archlinux.org>
2876
e4e7cfd2
AM
2877 * po/vi.po: Update Vietnamese translation from translation project.
2878
6aa09f71
AM
2879 * po/uk.po: Update Ukrainian translation from translation project.
2880
edc0660e
AM
2881 * po/fr.po: Update French translation from translation project.
2882
7eea72ac
AM
2883 * po/ru.po: Update Russian translation from translation project.
2884
93c49eff
AM
2885 * po/pl.po: Update Polish translation from translation project.
2886
46acaf63
AM
2887 * po/cs.po: Update Czech translation from translation project.
2888
a9f5ce98
AM
2889 * po/de.po: Update German translation from translation project.
2890
373f2b78
AM
2891 * po/bg.po: Update Bulgarian translation from translation project.
2892
e7548bd8
AM
2893 * po/sv.po: Update Sweedish translation from translation project.
2894
c526bf4d
AM
2895 * po/nl.po: Update Dutch translation from translation project.
2896
686ab290
AM
2897 * po/es.po: Update Spanish translation from translation project.
2898
eb72478a
SP
28992014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2900
dd763fdb
SP
2901 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2902
318c7a58
SP
2903 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2904 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2905 (CPPFLAGS-iconvconfig): Likewise.
2906 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2907
eb72478a
SP
2908 * include/libc-symbols.h: Remove unnecessary check for
2909 NOT_IN_libc.
2910 * nptl/pthreadP.h: Likewise.
2911 * sysdeps/aarch64/setjmp.S: Likewise.
2912 * sysdeps/alpha/setjmp.S: Likewise.
2913 * sysdeps/arm/sysdep.h: Likewise.
2914 * sysdeps/i386/setjmp.S: Likewise.
2915 * sysdeps/m68k/setjmp.c: Likewise.
2916 * sysdeps/posix/getcwd.c: Likewise.
2917 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2918 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2919 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2920 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2921 * sysdeps/sh/sh3/setjmp.S: Likewise.
2922 * sysdeps/sh/sh4/setjmp.S: Likewise.
2923 * sysdeps/unix/alpha/sysdep.h: Likewise.
2924 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2926 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2927 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2930 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2932 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2934 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2935 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2937 * sysdeps/x86_64/setjmp.S: Likewise.
2938
d44a052c
JM
29392014-08-13 Joseph Myers <joseph@codesourcery.com>
2940
2941 [BZ #17263]
2942 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2943 <stdint.h>.
2944 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2945 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2946
508ce3ac
SP
29472014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2948
e44c8b0e
SP
2949 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2950
508ce3ac
SP
2951 [BZ #17262]
2952 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2953 and __x86_64__ when disabling x87 inline functions.
2954
b4acef1f
L
29552014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2956
2957 [BZ #17259]
2958 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2959 asm statement with __cpuid_count.
2960
61b1ef6e
MF
29612014-08-12 Mike Frysinger <vapier@gentoo.org>
2962
2963 * configure.ac: Change __ehdr_start code to dereference the struct.
2964 Run readelf on the output to look for relocations.
2965 * configure: Regenerated.
2966
898c62f4
JM
29672014-08-12 Joseph Myers <joseph@codesourcery.com>
2968
2969 [BZ #17261]
2970 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2971 value to 0.
2972 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2973
9a8a5720
RM
29742014-08-12 Roland McGrath <roland@hack.frob.com>
2975
2976 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2977
4e75751c
BO
29782014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2979
2980 [BZ #16892]
2981 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2982 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2983
bb2ce416
SA
29842014-08-12 Sean Anderson <seanga2@gmail.com>
2985
2986 * malloc/malloc.c: Fix typo in comment.
2987
7950a4ee
AM
29882014-08-09 Allan McRae <allan@archlinux.org>
2989
2990 * Regenerate libc.po.
2991
f469c49f
MF
29922014-08-08 Mike Frysinger <vapier@gentoo.org>
2993
2994 * intl/tst-gettext2.sh: Check every lang file for creation.
2995
656b84c2
WD
29962014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2997
2998 * sysdeps/aarch64/fpu/math_private.h
2999 (libc_feholdsetround_noex_aarch64_ctx): New function.
3000
538e9e45
W
30012014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3002
3003 * sysdeps/arm/armv6/strcpy.S (strcpy):
3004 Fix performance issue in misaligned cases.
3005
d4795e4a
AZ
30062014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3007
3008 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3009 Move definition from termios.h.
3010 (struct termio): Likewise.
3011 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3012 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3013 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3014 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3015 Likewise.
3016 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3017 Move definition to ioctl-types.h
3018 (struct termio): Likewise.
3019 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3020 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3021 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3022 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3023 Likewise.
3024
64accb62
RH
30252014-08-05 Richard Henderson <rth@redhat.com>
3026
27bb6dc0
RH
3027 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3028 exceptions.
3029 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3030 Add fraiseexcpt.
3031 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3032 Use __feraiseexcept.
3033 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3034 Protect libm symbols with IS_IN_libm.
3035
64accb62
RH
3036 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3037
e5292691
BO
30382014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3039
3040 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3041
5b4bd2d4
WN
30422014-08-04 Will Newton <will.newton@linaro.org>
3043
3044 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3045 file.
3046
fcadaeef
MF
30472014-08-04 Mike Frysinger <vapier@gentoo.org>
3048
3049 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3050 variants for each function.
3051
43a94c64
RM
30522014-08-04 Roland McGrath <roland@hack.frob.com>
3053
3054 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3055 appended ...
3056 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3057 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3058 appended ...
3059 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3060 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3061 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3062 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3063 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3064 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3065 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3066 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3067 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3068 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3069 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3070 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3071 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3072 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3073 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3074 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3075 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3076 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3077 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3078 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3079 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3080 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3081 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3082 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3083 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3084 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3085 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3086 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3087 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3088 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3089 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3090 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3091 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3092 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3093 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3094 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3095 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3096 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3097 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3098 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3099 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3100 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3101 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3102 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3103 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3104 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3105 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3106 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3107 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3108 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3109 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3110 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3111 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3112 Update #include.
3113 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3114 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3115
8f3c1fa4
RM
31162014-08-04 Roland McGrath <roland@hack.frob.com>
3117
3118 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3119 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3120 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3121 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3122 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3123 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3124
ca08746f
RM
31252014-08-04 Roland McGrath <roland@hack.frob.com>
3126
3127 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3128 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3129 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3130 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3131
9c925ff9
RM
31322014-08-04 Roland McGrath <roland@hack.frob.com>
3133
3134 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3135 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3136 (__libc_vfork): Define function under this name.
3137 (__vfork): Define as an alias.
3138 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3139 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3140
e641054c
RM
31412014-08-04 Roland McGrath <roland@hack.frob.com>
3142
3143 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3144 that was previously under [RESET_PID].
3145 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3146
dacdc867
AS
31472014-08-04 Andreas Schwab <schwab@suse.de>
3148
3149 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3150
41f725ff
MF
31512014-08-03 Mike Frysinger <vapier@gentoo.org>
3152
3153 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3154 (main): Likewise.
3155
277cfb31
RM
31562014-08-01 Roland McGrath <roland@hack.frob.com>
3157
3158 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3159
4896f049
RH
31602014-08-01 Richard Henderon <rth@redhat.com>
3161
3162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3163 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3164 typo in exact zero test.
3165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3166 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3168
6f64e7d7
RM
31692014-08-01 Roland McGrath <roland@hack.frob.com>
3170
3171 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3172 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3173 * sysdeps/arm/sysdep.h: ... here.
3174 [!__ASSEMBLER__]: Include <stdint.h>.
3175
3f3dd810
SP
31762014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3177
a476ac4b
SP
3178 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3179 (HAVE_WCTYPE_H): Likewise.
3180 (HAVE_ISWCTYPE): Likewise.
3181 (ENABLE_NLS): Likewise.
3182 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3183 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3184
78dd658a
SP
3185 * posix/regex_internal.c: Check if DEBUG is defined and is
3186 set.
3187
3f3dd810
SP
3188 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3189 (HAVE_MBSRTOWCS): Likewise.
3190 * posix/fnmatch.c: Include string.h unconditionally.
3191
95ee7fb1
SL
31922014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3193
3194 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3195 reversal.
3196
23fe486b
RM
31972014-07-31 Roland McGrath <roland@hack.frob.com>
3198
f61a113f
RM
3199 * sysdeps/generic/safe-fatal.h: New file.
3200 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3201 * nptl/forward.c: Include it.
3202 (__pthread_unwind): Use __safe_fatal as default action, rather
3203 than a bogus use of INTERNAL_SYSCALL that could never work.
3204
9fe7e787
RM
3205 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3206 * configure.ac (libc_cv_builtin_trap): New test.
3207 * configure: Regenerated.
3208 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3209 (ABORT_INSTRUCTION): Define using __builtin_trap.
3210
23fe486b
RM
3211 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3212 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3213 * sysdeps/nptl/nptl-signals.h: New file.
3214 * nptl/pthreadP.h: Include <nptl-signals.h>.
3215
f349489e
SL
32162014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3217
3218 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3219 (ONE_DIRECTION): Define.
3220 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3221 (ONE_DIRECTION): Define.
3222 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3223 (ONE_DIRECTION): Define.
3224
2f438e20
SL
32252014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3226
3227 * sysdeps/s390/Makefile: Delete file.
3228 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3229 * sysdeps/s390/__longjmp.c: Delete file.
3230 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3231 Remove fields __flags and __reserved.
3232 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3233 and add versioning.
3234 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3235 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3236 * sysdeps/s390/rtld-setjmp.S: Likewise.
3237 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3238 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3239 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3240 * sysdeps/s390/s390-32/setjmp.S: ... here.
3241 Add versioning.
3242 (__sigsetjmp): Remove setting __flags field.
3243 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3244 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3245 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3246 * sysdeps/s390/s390-64/setjmp.S: ... here.
3247 Add versioning.
3248 (__sigsetjmp): Remove setting __flags field.
3249 * sysdeps/s390/setjmp.S: Delete file.
3250 * sysdeps/s390/sigjmp.c: Likewise.
3251 * sysdeps/s390/v1-longjmp.c: Likewise.
3252 * sysdeps/s390/v1-setjmp.h: Likewise.
3253 * sysdeps/s390/v1-sigjmp.c: Likewise.
3254 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3255 Remove v1-longjmp_chk.
3256 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3257 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3258 Include debug/longjmp_chk.c and add versioning.
3259 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3260 Include nptl/pt-longjmp.c and add versioning.
3261 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3262 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3263 Include __longjmp.c.
3264 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3265 Move to ...
3266 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3267 (__getcontext): Remove setting __flags field.
3268 Add versioning.
3269 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3270 Don't restore upper high grps.
3271 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3272 Likewise.
3273 (__swapcontext): Remove setting uc_flags field.
3274 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3275 Delete file.
3276 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3277 Include __longjmp.c.
3278 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3279 Move to ...
3280 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3281 (__getcontext): Remove setting __flags field.
3282 Add versioning.
3283 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3284 (__swapcontext): Remove setting uc_flags field.
3285 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3286 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3287 Remove fields uc_high_gprs and __reserved.
3288 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3289 New file with reverted content.
3290 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3291 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3292 Regenerated.
3293 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3294 Regenerated.
3295
6c9578a2
AS
32962014-07-31 Andreas Schwab <schwab@suse.de>
3297
3298 * config.h.in (HAVE_IFUNC): Define to 0.
3299 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3300 definedness.
3301
05f3633d
LM
33022014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3303
3304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3305 memmove-avx-unaligned, memcpy-avx-unaligned and
3306 mempcpy-avx-unaligned.
3307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3308 Add tests for AVX memcpy functions.
3309 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3310 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3311 memcpy_chk.
3312 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3313 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3314 memmove_chk.
3315 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3316 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3317 mempcpy_chk.
3318 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3319 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3320 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3321
a53fbd8e
AZ
33222013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3323
3324 [BZ #17213]
3325 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3326 powerpc64le.
3327
0961f7e1
JL
33282014-07-29 Jeff Layton <jlayton@poochiereds.net>
3329
3330 [BZ #16839]
3331 * manual/llio.texi: Add section about open file description locks.
3332 * manual/examples/ofdlocks.c: Example of open file description
3333 lock usage.
3334 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3335 F_OFD_SETLK, and F_OFD_SETLKW.
3336
cc5fb300
AM
33372014-07-23 Allan McRae <allan@archlinux.org>
3338
3339 * po/es.po: Update Spanish translation from translation project.
3340
23329dca
AS
33412014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3342
3343 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3344
9c82da17
MR
33452014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3346
3347 [BZ #17078]
3348 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3349 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3350 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3351
29c4f53e
JM
33522014-07-17 Joseph Myers <joseph@codesourcery.com>
3353
831b9896
JM
3354 [BZ #17088]
3355 * math/fesetenv.c (__fesetenv)
3356 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3357 * math/feupdateenv.c (__feupdateenv)
3358 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3359
b21c2d50
JM
3360 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3361 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3362 (__ASSUME_SOCKETCALL): Do not define.
3363
067764ef
JM
3364 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3365 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3366 (__ASSUME_SOCKETCALL): Do not define.
3367 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3368 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3369 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3370 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3371 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3372 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3373 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3374 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3375
642530c1
JM
3376 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3377 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3378 (__ASSUME_SOCKETCALL): Do not define.
3379 (__ASSUME_IPC64): Define unconditionally.
3380 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3381 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3382 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3383 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3384 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3385 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3386 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3387 Likewise.
3388
03f77315
JM
3389 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3390 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3391 (__ASSUME_SOCKETCALL): Do not define.
3392 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3393 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3394 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3395 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3396 (__ASSUME_REQUEUE_PI): Define unconditionally.
3397 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3398 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3399 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3400 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3401 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3402 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3403
083b1f7c
JM
3404 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3405 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3406 (__ASSUME_SOCKETCALL): Do not define.
3407 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3408 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3409 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3410 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3411 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3412 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3413
5be44ea6
JM
3414 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3415 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3416 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3417 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3418 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3419 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3420 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3421 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3422 (__ASSUME_GETCPU_SYSCALL): Likewise.
3423
d95ffd4c
JM
3424 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3425 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3426 cases for individual architectures.
3427 * sysdeps/gnu/configure: Regenerated.
3428 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3429 LIBC_SLIBDIR_RTLDDIR.
3430 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3431 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3432 LIBC_SLIBDIR_RTLDDIR.
3433 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3435 LIBC_SLIBDIR_RTLDDIR.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3437 Regenerated.
3438 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3439 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3440 file.
3441 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3442 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3443 file.
3444 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3445 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3446 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3447 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3448
29c4f53e
JM
3449 * sysdeps/aarch64/shlib-versions: Move to ...
3450 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3451 * sysdeps/alpha/shlib-versions: Move to ...
3452 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3453 * sysdeps/arm/shlib-versions: Move to ...
3454 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3455 * sysdeps/hppa/shlib-versions: Move all contents except for
3456 libgcc_s entry to ...
3457 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3458 entry from ...
3459 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3460 * sysdeps/ia64/shlib-versions: Move to ...
3461 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3462 entry from ...
3463 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3464 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3465 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3466 * sysdeps/microblaze/shlib-versions: Move to ...
3467 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3468 * sysdeps/mips/shlib-versions: Move to ...
3469 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3470 entry from ...
3471 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3472 * sysdeps/tile/shlib-versions: Move to ...
3473 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3474 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3475 from ...
3476 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3477 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3478 entry from ...
3479 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3480
32bead5b
WN
34812014-07-17 Will Newton <will.newton@linaro.org>
3482
57977c4b
WN
3483 * sysdeps/arm/bits/atomic.h
3484 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3485 (__arch_compare_and_exchange_bool_16_int): Likewise.
3486 (__arch_compare_and_exchange_bool_64_int): Likewise.
3487
32bead5b
WN
3488 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3489 into an #else block.
3490
37fccd41
RM
34912014-07-16 Roland McGrath <roland@hack.frob.com>
3492
3493 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3494 just Linux configurations. Test empirically that the compiler sets
3495 __ARM_EABI__, rather than using the tuple to decide.
3496 * sysdeps/arm/preconfigure: Regenerated.
3497 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3498 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3499 contents appended ...
3500 * sysdeps/arm/configure.ac: ... here.
3501 * sysdeps/arm/configure: Regenerated.
3502
b365f3ec
RM
35032014-07-15 Roland McGrath <roland@hack.frob.com>
3504
8badf496
RM
3505 * nptl/pthread_kill.c: New file.
3506 * nptl/pthread_sigmask.c: New file.
3507 * nptl/pthread_sigqueue.c: New file.
3508
3df6f22e
RM
3509 * sysdeps/nptl/lowlevellock.h: New file.
3510 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3511 * sysdeps/nptl/lowlevellock-futex.h: New file.
3512
b365f3ec
RM
3513 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3514 Remove dead declarations.
3515
f2fef657
L
35162014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3517
3518 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3519 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3520 config-cflags-avx2.
3521 * sysdeps/x86_64/configure.ac: Likewise.
3522 * sysdeps/i386/configure: Regenerated.
3523 * sysdeps/x86_64/configure: Likewise.
3524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3525 memset-avx2 only if config-cflags-avx2 is yes.
3526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3527 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3528 defined.
3529 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3530 only if HAVE_AVX2_SUPPORT is defined.
3531 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3532
f6c44d47
AM
35332014-07-14 Alan Modra <amodra@gmail.com>
3534
3535 [BZ #17153]
3536 * elf/elf.h (DT_PPC64_NUM): Correct value.
3537 * NEWS: Add to fixed bug list.
3538
7ee03f00
JM
35392014-07-13 Jim Meyering <meyering@fb.com>
3540
3541 [BZ 17150]
3542 regex: don't deref NULL upon heap allocation failure
3543 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3544 failure in one more place.
3545 To trigger the segfault, configure grep -with-included-regex,
3546 build it, and run these commands:
3547 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3548
9d39d517
AS
35492014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3550
3551 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3552
a75b89b7
RH
35532014-07-11 Richard Henderson <rth@redhat.com>
3554
3555 * sysdeps/aarch64/libm-test-ulps: Update.
3556
771eb141
FW
35572014-07-10 Florian Weimer <fweimer@redhat.com>
3558
3559 [BZ #17135]
3560 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3561 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3562 (__nptl_setxid): Initialize error member. Call
3563 __nptl_setxid_error.
3564 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3565 * nptl/descr.h (struct xid_command): Add error member.
3566 * nptl/tst-setuid3.c: New file.
3567 * nptl/Makefile (tests): Add it.
3568
bc1da176
AZ
35692014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3570
3571 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3572 New define.
3573 (__lll_trylock): Use __lll_base_trylock.
3574 (__lll_cond_trylock): Likewise.
3575
887865fc
RM
35762014-07-10 Roland McGrath <roland@hack.frob.com>
3577
c0c6bac9
RM
3578 * nptl/pthread_create.c (start_thread): Use atomic_or and
3579 lll_futex_wake directly rather than lll_robust_dead.
3580 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3581 (lll_robust_dead): Macro removed.
6a42be57 3582 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3583 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3584 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3585 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3586 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3587 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3588 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3589 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3590 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3591 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3592 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3593 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3594 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3595 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3596 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3597
887865fc
RM
3598 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3599 Use atomic_compare_and_exchange_val_acq directly rather than
3600 lll_robust_trylock.
3601 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3602 (__lll_robust_trylock, lll_robust_trylock): Removed.
3603 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3604 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3605 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3606 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3607 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3608 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3609 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3610 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3611 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3612 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3613 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3614 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3615 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3616 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3617
58536726
FW
36182014-07-02 Florian Weimer <fweimer@redhat.com>
3619
3620 * manual/locale.texi (Locale Names): New section documenting
3621 locale name syntax. Adjust menu and node chaining accordingly.
3622 (Choosing Locale): Reference Locale Names, Locale Categories.
3623 Mention setting LC_ALL=C. Reflect that name syntax is now
3624 documented.
3625 (Locale Categories): New section title. Reference Locale Names.
3626 LC_ALL is an environment variable, but not a category.
3627 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3628 description, now in Locale Name. Reference that section. Locale
3629 name syntax is now documented.
3630
4e8f95a0
FW
36312014-07-02 Florian Weimer <fweimer@redhat.com>
3632
3633 [BZ #17137]
3634 * locale/findlocale.c (name_present, valid_locale_name): New
3635 functions.
3636 (_nl_find_locale): Use the loc_name variable to store name
3637 candidates. Call name_present and valid_locale_name to check and
3638 validate locale names. Return an error if the locale is invalid.
3639
d1836456
FW
36402014-07-02 Florian Weimer <fweimer@redhat.com>
3641
3642 * locale/setlocale.c (setlocale): Use strdup for allocating
3643 composite name copy.
3644
d69b7f5a
SP
36452014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3646
888c679b
SP
3647 Sync up with gnulib.
3648 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3649 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3650 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3651 and _GL_ARG_NONNULL.
3652 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3653 [!_LIBC]: Include code for Windows and Cygwin.
3654 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3655 Include prototype for int strerror_r.
3656 [!_LIBC] (is_open): New function.
3657 (flush_stdout): New function.
3658 (print_errno_message): Use it.
3659 (error): Likewise.
3660 (error_at_line): Likewise.
3661 (error_tail) Add function attribute macros. Use
3662 __builtin_expect.
3663
180e0e4b
SP
3664 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3665
d22f1fe2
SP
3666 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3667
12f2254b
SP
3668 * io/ftw.c: Include sys/param.h unconditionally.
3669
c3c7c360
SP
3670 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3671
d62aa75a
SP
3672 [BZ #17125]
3673 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3674 libc_freeres_ptr.
3675 (freecache): New function to free CACHE on exit.
3676
d69b7f5a
SP
3677 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3678 initialization.
3679
5efe06a1
DM
36802014-07-09 David S. Miller <davem@davemloft.net>
3681
3682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3683
7000d82e
DM
3684 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3685 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3686 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3687 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3688 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3689 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3690 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3691 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3692 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3693 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3694 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3695 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3696 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3697
c213442d
AS
36982014-07-09 Andreas Schwab <schwab@suse.de>
3699
4a2552c3
AS
3700 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3701 output.
3702 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3703 (do_test): Likewise.
3704
c213442d
AS
3705 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3706
82374e65
WN
37072014-07-09 Will Newton <will.newton@linaro.org>
3708
3709 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3710 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3711 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3712 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3713 * sysdeps/hppa/start.S (_start): Likewise.
3714
6680738a
SP
37152014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3716
6ee3eab4
SP
3717 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3718
6680738a
SP
3719 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3720 defined.
3721
80b5c505
SP
37222014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3723
e35c53e3
SP
3724 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3725 after checking that it is non-NULL.
3726
80b5c505
SP
3727 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3728
91f4b564
AZ
37292014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3730
27b75f56
AZ
3731 * sysdeps/powerpc/memmove.c: Remove file.
3732 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3733 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3734 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3735 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3736 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3737 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3738 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3739 string memmove instead of removed powerpc one.
3740
e7f95bb5
AZ
3741 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3742 [weak_alias]: Fix compiler warning due trailing data.
3743 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3744 [weak_alias]: Likewise.
3745 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3746 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3747
91f4b564
AZ
3748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3749 (__libc_ifunc_impl_list): Add memmove functions.
3750
7c33f1e5
SP
37512014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3752
3753 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3754 Remove code.
3755 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3756 Likewise
3757 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3758 Likewise
3759 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3760 Likewise
3761 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3762 Likewise
3763 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3764 Likewise
3765 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3766 Likewise
3767 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3768 Likewise
3769 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3770 Likewise
3771 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3772 Likewise
3773 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3774 Likewise
3775 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3776 Likewise
3777 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3778 Likewise
3779 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3780 Likewise
3781 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3782 Likewise
3783 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3784 Likewise
3785 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3786 Likewise
3787
3f17b03b
AZ
37882014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3789
87868c24
AZ
3790 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3791 to avoid alignment traps in non-cacheable memory.
3792 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3793
07aedd78
AZ
3794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3795 multiarch objects.
3796 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3797 file: multiarch power7 memmove.
3798 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3799 multiarch default memmove.
3800 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3801 multiarch memove for powerpc32/power4.
3802
17762f66
AZ
3803 * string/bcopy.c: Use full path to include memmove.c.
3804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3805 multiarch objects.
3806 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3807 bcopy for powerpc64.
3808 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3809 bcopy for powerpc64.
3810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3811 and memmove implementations.
3812 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3813 optimized multiarch memmove for POWER7/powerpc64.
3814 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3815 default multiarch memmove for powerpc64.
3816 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3817 multiarch for powerpc64.
3818 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3819 for POWER7/powerpc64.
3820 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3821 memmove for POWER7/powerpc64.
3822
d6f68bbe
AZ
3823 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3824 glibc default one.
3825
3f17b03b
AZ
3826 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3827 __ELF_NATIVE_CLASS equal to 64.
3828
08192659
RM
38292014-07-07 Roland McGrath <roland@hack.frob.com>
3830
f4c4021b
RM
3831 * sysdeps/nptl/lowlevellock.h: File removed.
3832
f083450f
RM
3833 * NEWS: NPTL is no longer an add-on!
3834 * nptl/internaltypes.h: Moved ...
3835 * sysdeps/nptl/internaltypes.h: ... here.
3836 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3837 * sysdeps/nptl/fork.c: Likewise.
3838 * sysdeps/nptl/gai_misc.h: Likewise.
3839 * sysdeps/nptl/librt-cancellation.c: Likewise.
3840 * sysdeps/nptl/jmp-unwind.c: Likewise.
3841 * sysdeps/nptl/setxid.h: Likewise.
3842 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3843 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3844 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3845 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3846 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3847 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3848 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3849 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3850 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3851 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3852 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3853 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3854 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3855 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3856 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3857 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3858 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3859 * nptl/Makeconfig: Moved ...
3860 * sysdeps/nptl/Makeconfig: ... here.
3861 * nptl/configure: File removed.
3862 * nptl/ANNOUNCE: File removed.
3863 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3864 * sysdeps/unix/sysv/linux/configure: Regenerated.
3865
08192659
RM
3866 * nptl/Makefile (routines): Add libc_pthread_init,
3867 libc_multiple_threads, register-atfork and unregister-atfork.
3868 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3869 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3870 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3871 pthread-pi-defines.sym, structsem.sym.
3872 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3873 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3874 [$(subdir) = nptl] (tests): Add tst-setgetname.
3875 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3876 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3877 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3878 [!LIBC_SIGACTION]: Remove aliases.
3879 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3880 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3881 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3882 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3883 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3884 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3886 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3887 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3888 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3889 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3890 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3891 __libc_allocate_rtsig_private.
3892 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3893 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3894 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3895 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3896 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3897 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3898 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3899 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3900 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3901 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3902 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3903 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3904 * nptl/internaltypes.h: ... here.
3905 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3906 * sysdeps/nptl/jmp-unwind.c: ... here.
3907 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3908 * nptl/libc-lowlevellock.c: ... here.
3909 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3910 * nptl/libc_multiple_threads.c: ... here.
3911 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3912 * nptl/libc_pthread_init.c: ... here.
3913 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3914 * nptl/lowlevelbarrier.sym: ... here.
3915 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3916 * nptl/lowlevelcond.sym: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3918 * nptl/lowlevellock.c: ... here.
3919 * nptl/lowlevellock.h: Moved ...
3920 * sysdeps/nptl/lowlevellock.h: ... here.
3921 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3922 * nptl/lowlevelrobustlock.c: ... here.
3923 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3924 * nptl/lowlevelrobustlock.sym: ... here.
3925 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3926 * nptl/lowlevelrwlock.sym: ... here.
3927 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3928 * nptl/pt-fork.c: ... here.
3929 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3930 * nptl/pthread-pi-defines.sym: ... here.
3931 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3932 * nptl/pthread_attr_getaffinity.c: ... here.
3933 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3934 * nptl/pthread_attr_setaffinity.c: ... here.
3935 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3936 * nptl/pthread_mutex_cond_lock.c: ... here.
3937 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3938 Update #include.
3939 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3940 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3941 * nptl/pthread_once.c: ... here, replacing old file.
3942 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3943 * nptl/pthread_yield.c: ... here.
3944 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3945 * nptl/register-atfork.c: ... here.
3946 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3947 * nptl/sem_post.c: ... here.
3948 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3949 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3950 * nptl/sem_timedwait.c: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3952 * nptl/sem_trywait.c: ... here.
3953 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3954 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3955 * nptl/sem_wait.c: ... here.
3956 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3957 * nptl/structsem.sym: ... here.
3958 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3959 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3960 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3961 * nptl/unregister-atfork.c: ... here.
3962 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3963 * nptl/unwindbuf.sym: ... here.
3964 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3965 * sysdeps/nptl/fork.c: ... here.
3966 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3967 * sysdeps/nptl/fork.h: ... here.
3968 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3969 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3970 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3971 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3972 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3973 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3974 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3975 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3976 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3977 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3978 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3979 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3980 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3981 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3982 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3983 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3984 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3985 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3986 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3987 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3988 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3989 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3990 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3992 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3993 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3994 * sysdeps/unix/sysv/linux/raise.c: ... here.
3995 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3996 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3997 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3998 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3999 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4000 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4001 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4002 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4003 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4004 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4005 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4006 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4007 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4008 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4009 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4010
96baf6ff
SP
40112014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4012
4013 * sysdeps/generic/memcopy.h: Add comment for
4014 MEMCPY_OK_FOR_FWD_MEMMOVE.
4015
6b7b14b2
WN
40162014-07-04 Will Newton <will.newton@linaro.org>
4017
1570a72b
WN
4018 * string/memchr.c: Merge from gnulib.
4019 [_LIBC]: Remove conditionals.
4020 (__ptr_t): Remove define.
4021 (LONG_MAX_32_BITS): Likewise.
4022 (LONG_MAX): Likewise.
4023 (MEMCHR): Use ANSI prototype and optimize algorithm.
4024
6b7b14b2
WN
4025 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4026
38851324
SP
40272014-07-03 Roland McGrath <roland@hack.frob.com>
4028
3d9eb57c
RM
4029 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4030 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4031
78b984ae
RM
4032 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4033 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4034 in a bare environment with no <stdlib.h> installed.
4035 * sysdeps/nptl/configure: Regenerated.
4036
2d5976a5
RM
4037 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4038
c1f5acd4
RM
4039 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4040 AC_EGREP_CPP for kernel header checks, so they only succeed if
4041 including <linux/version.h> actually works right.
4042 * sysdeps/unix/sysv/linux/configure: Regenerated.
4043
4d614fe5
RM
4044 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4045 value so it's not diagnosed as unused.
4046
38851324
SP
4047 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4048 thing) with "ifeq ($(subdir),rt)".
4049
b3ec00e5
RH
40502014-07-03 Richard Henderson <rth@redhat.com>
4051
69862e25
RH
4052 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4053 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4054 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4055
d5e16ade
RH
4056 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4057 (math_force_eval): New.
4058
ca7b945c
RH
4059 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4060 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4061
cd1175a3
RH
4062 * sysdeps/alpha/fpu/s_round.c: Remove file.
4063 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4064
b3ec00e5
RH
4065 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4066 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4067 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4068 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4069 (_dl_start, print_statistics): Likewise.
4070 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4071 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4072
4073 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4074 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4075 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4076 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4077 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4078 (HP_SMALL_TIMING_AVAIL): Define.
4079 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4080 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4081 (HP_SMALL_TIMING_AVAIL): Define.
4082 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4083 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4084
4085 * sysdeps/aarch64/hp-timing.h: New file.
4086
4087 * sysdeps/generic/hp-timing.h: Remove dead comment.
4088 * sysdeps/generic/hp-timing-common.h: New file.
4089 * sysdeps/alpha/hp-timing.h: Include it.
4090 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4091 * sysdeps/i386/i686/hp-timing.h: Likewise.
4092 * sysdeps/ia64/hp-timing.h: Likewise.
4093 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4094 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4095 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4096 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4097 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4098 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4099 (hp_timing_t): New.
4100
4101 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4102 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4103 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4104 * elf/rtld.c (_dl_start_final): Likewise.
4105 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4106 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4107 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4108 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4109 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4110 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4111 (HP_TIMING_DIFF_INIT): Remove.
4112 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4113 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4114 (HP_TIMING_DIFF_INIT): Remove.
4115 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4116 * sysdeps/i386/i686/hp-timing.c: Remove file.
4117 * sysdeps/x86_64/hp-timing.c: Remove file.
4118 * sysdeps/ia64/hp-timing.c: Remove file.
4119 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4120 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4121 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4122 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4123
4124 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4125 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4126 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4127 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4128 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4129 (HP_TIMING_ACCUM): Remove.
4130 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4131 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4132 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4133
4134 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4135 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4136 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4137 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4138 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4139 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4140 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4141 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4142
4143 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4144
225f410f
MR
41452014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4146
4147 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4148
3247f285
SP
41492014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4150
4151 Sync up with gettext.
4152 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4153 [_MSC_VER]: Include malloc.h
4154 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4155 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4156 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4157 TEMP_FAILURE_RETRY. Cast return of alloca.
4158 [!_LIBC] Call gl_rwlock_init.
4159 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4160
d12704c7
SP
41612014-07-02 Roland McGrath <roland@hack.frob.com>
4162
4163 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4164 before checking its value.
4165
99f8dc92
SP
41662014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4167
05fdac77
SP
4168 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4169
99f8dc92
SP
4170 * debug/memcpy_chk.c: Don't include pagecopy.h.
4171 * debug/mempcpy_chk.c: Likewise.
4172 * string/memcpy.c: Likewise.
4173 * string/memmove.c: Likewise.
4174 * sysdeps/powerpc/memmove.c: Likewise.
4175 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4176 definition of PAGE_COPY_FWD_MAYBE here...
4177 * sysdeps/generic/pagecopy.h: ... from here.
4178 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4179
bc8ea385
VR
41802014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4181 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4182
4183 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4185 optimizations.
4186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4187 (__libc_ifunc_impl_list): Likewise.
4188 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4189 multiarch strcat for PPC64.
4190 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4191 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4192
fe5f34e4
RM
41932014-07-02 Roland McGrath <roland@hack.frob.com>
4194
4195 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4196
256aa665
SP
41972014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4198
d4eb8195
SP
4199 * intl/loadmsgcat.c: Remove declaration of
4200 get_sysdep_segment_value.
4201 (get_sysdep_segment_value): Use ISO C style.
4202 (_nl_load_domain): Use ISO C style. Get rid of redundant
4203 semicolon. Fix typo and formatting in comment.
4204 (_nl_unload_domain): Use ISO C style.
4205
256aa665
SP
4206 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4207
b100f9aa
WN
42082014-07-02 Will Newton <will.newton@linaro.org>
4209
4210 * malloc/obstack.c: Merge from gnulib master.
4211 [HAVE_CONFIG_H]: Remove conditional code.
4212 [!_LIBC]: Include config.h.
4213 [!ELIDE_CODE]: Don't include inttypes.h, include
4214 stdint.h unconditionally.
4215 (print_and_abort): Mark as _Noreturn.
4216 (_obstack_allocated_p): Mark as __attribute_pure__.
4217 (obstack_free): Rename to __obstack_free.
4218 [!__attribute__]: Remove conditional code.
4219 * malloc/obstack.h: Merge from gnulib master.
4220 [__cplusplus]: Move conditional down.
4221 [!__attribute_pure__]: Define __attribute_pure__ here
4222 if it is not already defined.
4223 (_obstack_memory_used): Mark as __attribute_pure__.
4224 [!__obstack_free]: Define as obstack_free.
4225 [__GNUC__]: Remove check for ancient NeXT gcc.
4226
c4c41244
PE
42272014-07-02 Will Newton <will.newton@linaro.org>
4228 Paul Eggert <eggert@cs.ucla.edu>
4229
4230 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4231
e1e041c4
SP
42322014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4233
4234 * resolv/gethnamaddr.c: Add comment warning that the file is
4235 not maintained.
4236
ccf431ff
CD
42372014-07-01 Carlos O'Donell <carlos@redhat.com>
4238
d34570a6
CD
4239 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4240 entries.
4241
ccf431ff
CD
4242 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4243 entry for aio_cancel and aio_cancel64.
4244 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4245 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4246 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4247 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4248 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4249 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4250 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4251 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4252 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4253 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4254 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4255 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4256 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4257
ca06321d
RM
42582014-07-01 Roland McGrath <roland@hack.frob.com>
4259
4260 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4261 * nptl/pthread_mutex_lock.c: Likewise.
4262 * nptl/pthread_mutex_timedlock.c: Likewise.
4263 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4264
a1ac3184
RH
42652014-07-01 Richard henderson <rth@redhat.com>
4266
631021e0
RH
4267 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4268 (__isnan, __isnanl): Remove.
4269 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4270
a1ac3184
RH
4271 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4272
0c1d731f
SL
42732014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4274
4275 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4276
76985d3e
SP
42772014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4278
4279 * resolv/nss_dns/dns-host.c (getanswer_r)
4280 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4281
b0cb3096
JM
42822014-07-01 Joseph Myers <joseph@codesourcery.com>
4283
4284 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4285 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4286 undefine.
4287 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4288 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4289
4d76cb39
RM
42902014-07-01 Roland McGrath <roland@hack.frob.com>
4291
4292 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4293 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4294
4295 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4296 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4297
4298 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4299 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4300 ... here.
4301 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4302 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4303
4304 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4305 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4306 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4307 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4308
4309 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4310 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4311 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4312 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4313 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4314 Moved ...
4315 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4316 ... here.
4317 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4318 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4319 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4320 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4321 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4322 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4323 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4324 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4325 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4326 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4327 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4328 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4329 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4330 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4331 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4332 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4333 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4334 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4335 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4336 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4337 ... here.
4338 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4339 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4340 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4341 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4342 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4343 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4344 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4345 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4346
0cdcad17
DH
43472014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4348
4349 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4350 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4351 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4352 Add sysdep.
4353
9b71d0e3
AZ
43542014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4355
4356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4357
665390c2
JM
43582014-06-30 Joseph Myers <joseph@codesourcery.com>
4359
ae05a9d7
JM
4360 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4361 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4362
a7672a2f
JM
4363 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4364
665390c2
JM
4365 * sysdeps/arm/libm-test-ulps: Regenerated.
4366
d7a05d07
MR
43672014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4368 Roland McGrath <roland@hack.frob.com>
4369
4370 * test-skeleton.c (signal_handler): Kill the whole process group
4371 before killing the child individually.
4372 (main): Report any failure on `setpgid'.
4373
46f1d8a6
RM
43742014-06-30 Roland McGrath <roland@hack.frob.com>
4375
4376 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4377 from _TLS_H to _ARM_NPTL_TLS_H.
4378 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4379 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4380
9c37ec0b
JM
43812014-06-30 Joseph Myers <joseph@codesourcery.com>
4382
ce9c5b3e
JM
4383 [BZ #16539]
4384 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4385 (__expm1l): Return argument unchanged when small but not
4386 subnormal.
4387
3a6e9887
JM
4388 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4389 include macro name.
4390 (_FP_UNPACK_RAW_1_P): Likewise.
4391 (_FP_PACK_RAW_1): Likewise.
4392 (_FP_PACK_RAW_1_P): Likewise.
4393 (_FP_MUL_MEAT_1_wide): Likewise.
4394 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4395 (_FP_MUL_MEAT_1_hard): Likewise.
4396 (_FP_DIV_MEAT_1_imm): Likewise.
4397 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4398 (_FP_DIV_MEAT_1_udiv): Likewise.
4399 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4400 (_FP_UNPACK_RAW_2): Likewise.
4401 (_FP_UNPACK_RAW_2_P): Likewise.
4402 (_FP_PACK_RAW_2): Likewise.
4403 (_FP_PACK_RAW_2_P): Likewise.
4404 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4405 (_FP_MUL_MEAT_2_wide): Likewise.
4406 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4407 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4408 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4409 (_FP_MUL_MEAT_2_gmp): Likewise.
4410 (_FP_DIV_MEAT_2_udiv): Likewise.
4411 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4412 (_FP_FRAC_SRL_4): Likewise.
4413 (_FP_FRAC_SRST_4): Likewise.
4414 (_FP_FRAC_SRS_4): Likewise.
4415 (_FP_UNPACK_RAW_4): Likewise.
4416 (_FP_UNPACK_RAW_4_P): Likewise.
4417 (_FP_PACK_RAW_4): Likewise.
4418 (_FP_PACK_RAW_4_P): Likewise.
4419 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4420 (_FP_MUL_MEAT_4_wide): Likewise.
4421 (_FP_MUL_MEAT_4_gmp): Likewise.
4422 (umul_ppppmnnn): Likewise.
4423 (_FP_DIV_MEAT_4_udiv): Likewise.
4424 (__FP_FRAC_ADD_4): Likewise.
4425 (__FP_FRAC_SUB_3): Likewise.
4426 (__FP_FRAC_SUB_4): Likewise.
4427 (__FP_FRAC_DEC_3): Likewise.
4428 (__FP_FRAC_DEC_4): Likewise.
4429 (__FP_FRAC_ADDI_4): Likewise.
4430 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4431 (_FP_FRAC_SRL_8): Likewise.
4432 (_FP_FRAC_SRS_8): Likewise.
4433
9c37ec0b
JM
4434 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4435 include macro name.
4436 (FP_UNPACK_RAW_EP): Likewise.
4437 (FP_PACK_RAW_E): Likewise.
4438 (FP_PACK_RAW_EP): Likewise.
4439 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4440 (_FP_ISSIGNAN): Likewise.
4441 (_FP_ADD_INTERNAL): Likewise.
4442 (_FP_FMA): Likewise.
4443 (_FP_CMP): Likewise.
4444 (_FP_SQRT): Likewise.
4445 (_FP_TO_INT): Likewise.
4446 (_FP_FROM_INT): Likewise.
4447 (FP_EXTEND): Likewise.
4448 (_FP_DIV_MEAT_N_loop): Likewise.
4449
2125f674
MR
44502014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4451
4452 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4453 throughout.
4454
edea4028
JM
44552014-06-29 Joseph Myers <joseph@codesourcery.com>
4456
4457 [BZ #17097]
4458 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4459 result with correct sign in case of exponents that produce
4460 overflow except for X very close to 1.
4461
dd0ba018
PE
44622014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4463
4464 mktime: merge #if/#ifdef usage from glibc
4465 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4466 as that works with both Glibc's and Gnulib's style.
4467 See thread starting at Siddhesh Poyarekar's bug report at:
4468 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4469
64df73c2
SP
44702014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4471
4472 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4473 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4474 * sysdeps/tile/tilegx/memmove.c: Remove file.
4475
f1eafb41
JM
44762014-06-27 Joseph Myers <joseph@codesourcery.com>
4477
4478 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4479 abi-name definition.
4480 * scripts/soversions.awk: Do not handle or generate ABI lines.
4481 * shlib-versions: Remove ABI entries.
4482 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4483 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4484
58eb0862
RM
44852014-06-27 Roland McGrath <roland@hack.frob.com>
4486
37caf178
RM
4487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4488 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4489 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4490 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4491 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4492 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4494 Moved ...
4495 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4496 ... here.
4497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4500 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4502 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4504 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4506 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4508 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4510 Moved ...
4511 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4513 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4515 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4516 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4517 Moved ...
4518 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4520 Moved ...
4521 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4523 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4525 Moved ...
4526 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4527 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4528 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4529 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4530 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4532 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4533 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4534 Moved ...
4535 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4537 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4538 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4539 Moved ...
4540 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4541 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4542 Moved ...
4543 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4545 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4546 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4547 Moved ...
4548 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4549 ... here.
4550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4551 Identical file removed.
4552 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4553 Moved ...
4554 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4556 Identical file removed.
4557 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4558 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4559 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4560 Moved ...
4561 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4563 Identical file removed.
4564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4565 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4566 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4567 Identical file removed.
4568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4569 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4571 Identical file removed.
4572 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4573 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4574 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4575 Identical file removed.
4576 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4577 Moved ...
4578 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4579 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4580 Identical file removed.
4581 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4582 Moved ...
4583 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4584 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4585 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4586 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4587 Identical file removed.
4588 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4589 Moved ...
4590 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4591 ... here.
4592 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4593 Identical file removed.
4594 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4595 Moved ...
4596 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4598 Identical file removed.
4599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4600 Moved ...
4601 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4602 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4603 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4604 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4605 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4607 Moved ...
4608 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4609 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4610 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4611
58eb0862
RM
4612 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4613 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4614 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4615 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4616 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4617
6f12d062
AS
46182014-06-27 Arjun Shankar <arjun.is@lostca.se>
4619
4620 [BZ #17092]
4621 * nscd/nscd.c (monitor_child): Return exit status of child
4622 instead of return value from wait syscall.
4623
be254932
JM
46242014-06-27 Joseph Myers <joseph@codesourcery.com>
4625
cb403c34
JM
4626 * configure.ac (libc_commonpagesize): Remove variable.
4627 (libc_relro_required): Likewise.
4628 (libc_cv_z_relro): Remove configure test.
4629 * configure: Regenerated.
4630 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4631 variable.
4632 (libc_relro_required): Likewise.
4633 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4634 (libc_relro_required): Likewise.
4635 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4636 (libc_relro_required): Likewise.
4637 * sysdeps/arm/preconfigure: Regenerated.
4638 * sysdeps/ia64/preconfigure: Remove file.
4639 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4640 variable.
4641 (libc_relro_required): Likewise.
4642
be254932
JM
4643 [BZ #16561]
4644 [BZ #16562]
4645 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4646 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4647 recompute overflowing results in original rounding mode.
4648 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4649 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4650 recompute overflowing results in original rounding mode.
4651 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4652 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4653 recompute overflowing results in original rounding mode.
4654 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4655 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4656 recompute overflowing results in original rounding mode.
4657 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4658 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4659 recompute overflowing results in original rounding mode.
4660 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4661 (libc_feholdsetround_ctx): New macro.
4662 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4663 * sysdeps/i386/fpu/libm-test-ulps: Update.
4664 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4665
b351d85a
JM
46662014-06-26 Joseph Myers <joseph@codesourcery.com>
4667
4668 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4669 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4670 corresponding .cpsetup call.
4671
3cb4de47
RM
46722014-06-26 Roland McGrath <roland@hack.frob.com>
4673
4674 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4675 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4676 * sysdeps/arm/Makefile [$(subdir) = csu]
4677 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4678 (static-only-routines): Add aeabi_read_tp here.
4679 (shared-only-routines): Add libc-aeabi_read_tp here.
4680 (CFLAGS-libc-start.c): Add -fexceptions here.
4681 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4682 (sysdep_routines, static-only-routines, shared-only-routines):
4683 Don't add to these here.
4684 (CFLAGS-libc-start.c): Likewise.
4685
4686 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4687 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4688 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4689 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4690 * sysdeps/arm/Makefile [$(subdir) = rt]
4691 (librt-sysdep_routines, librt-shared-only-routines):
4692 Append rt-aeabi_unwind_cpp_pr1 here.
4693 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4694 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4695 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4696 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4697 Append nptl-aeabi_unwind_cpp_pr1 here.
4698 (tests): Filter out tst-cleanupx4 here.
4699 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4700 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4701 Don't do those here.
4702
354426bb
JM
47032014-06-26 Joseph Myers <joseph@codesourcery.com>
4704
4705 * scripts/list-sources.sh: Do not handle ports specially.
4706
28b0a8c9
RM
47072014-06-26 Roland McGrath <roland@hack.frob.com>
4708
a3dd035d
RM
4709 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4710 * sysdeps/arm/feupdateenv.c: Likewise.
4711
28b0a8c9
RM
4712 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4713
e66a8203
JM
47142014-06-26 Joseph Myers <joseph@codesourcery.com>
4715
4716 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4717 trailing whitespace removed.
4718 * scripts/config.guess: Update to version 2014-03-23.
4719 * scripts/config.sub: Update to version 2014-05-01
4720 * scripts/install-sh: Update to version 2013-12-25.23.
4721 * scripts/move-if-change: Update from gnulib.
4722
74171115
SP
47232014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4724
b97c9ce5
SP
4725 * debug/memmove_chk.c: Remove pagecopy.h include.
4726
4000f892
SP
47272014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4728
74171115
SP
4729 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4730 identical to gnulib mktime.
4731
a8779c28
JM
47322014-06-26 Joseph Myers <joseph@codesourcery.com>
4733
e64708de
JM
4734 * configure.ac: Do not test for machine being rs6000. Do not test
4735 for powerpc*-*soft.
4736 * configure: Regenerated.
4737
a8779c28
JM
4738 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4739 test.
4740 * configure: Regenerated.
4741 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4742 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4743 Remove configure test.
4744 * sysdeps/arm/configure: Regenerated.
4745 * sysdeps/nptl/configure.ac: Do not check
4746 libc_cv_asm_cfi_directives.
4747 * sysdeps/nptl/configure: Regenerated.
4748 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4749 * sysdeps/x86_64/nptl/configure: Remove generated file.
4750 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4751 unconditional.
4752 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4753
2aac0a86
SP
47542014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4755
059bf913
SP
4756 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4757 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4758 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4759 it is defined.
4760
4cf5b6d0
SP
4761 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4762 instead of whether it is defined.
4763 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4764 * sysdeps/hppa/dl-machine.h: Likewise.
4765 * sysdeps/ia64/dl-machine.h: Likewise.
4766 * sysdeps/m68k/dl-machine.h: Likewise.
4767 * sysdeps/microblaze/dl-machine.h: Likewise.
4768 * sysdeps/mips/dl-machine.: Likewise.
4769 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4770 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4771 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4772 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4773 * sysdeps/sh/dl-machine.h: Likewise.
4774 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4775 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4776 * sysdeps/tile/dl-machine.h: Likewise.
4777 * sysdeps/x86_64/dl-machine.h: Likewise.
4778
2aac0a86
SP
4779 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4780 code.
4781 (verify_persistent_db): Likewise.
4782
6ad2df0b
RM
47832014-06-26 Roland McGrath <roland@hack.frob.com>
4784
d8a483f3
RM
4785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4786 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4788 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4790 Moved ...
4791 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4792 ... here.
4793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4794 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4796 Identical file removed.
4797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4798 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4800 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4802 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4804 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4806 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4808 Moved ...
4809 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4811 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4813 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4815 Moved ...
4816 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4818 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4820 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4822 Identical file removed.
4823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4824 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4826 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4828 Moved ...
4829 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4830 ... here.
4831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4832 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4834 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4836 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4838 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4840 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4842 Moved ...
4843 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4845 Moved ...
4846 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4848 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4850 Moved ...
4851 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4853 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4854
52ae23b4
RM
4855 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4856 folded into ...
4857 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4858 * sysdeps/unix/sysv/linux/s390/Versions
4859 (libpthread: GLIBC_2.19): New version set.
4860 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4861 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4862 (librt: GLIBC_2.3.3): New version set.
4863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4864 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4865 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4867 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4869 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4871 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4873 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4874 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4875 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4877 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4879 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4880 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4881 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4882 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4883 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4884 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4885 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4887 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4888 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4889 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4891 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4893 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4898 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4899 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4900 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4901 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4902 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4903 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4904 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4905 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4906 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4907 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4908
39507e4a
RM
4909 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4910 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4911 (__libc_vfork): Define the function under this name.
4912 [!NOT_IN_libc] (__vfork): Make this an alias.
4913 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4914 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4915 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4916 (__libc_vfork): Define the function under this name.
4917 [!NOT_IN_libc] (__vfork): Make this an alias.
4918 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4919 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4920 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4922 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4923 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4924
e549ee56
RM
4925 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4926 code that was previously under [RESET_PID].
4927 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4928 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4929 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4930
6ad2df0b
RM
4931 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4932 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4933 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4934 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4935 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4936 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4937 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4938 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4939 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4940 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4941 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4942 Moved ...
4943 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4944 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4945 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4946 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4947 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4948 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4949 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4950 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4951 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4952 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4953 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4954 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4955 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4956 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4957 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4958 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4959 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4960 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4961 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4962 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4963 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4964 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4965 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4966 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4967 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4968 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4969 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4970 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4971 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4972
7c1c1d8e
RM
49732014-06-25 Roland McGrath <roland@hack.frob.com>
4974
4975 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4976 that was previously under [RESET_PID].
4977 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4978
3e239be6
JM
49792014-06-25 Joseph Myers <joseph@codesourcery.com>
4980
74385da5
JM
4981 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4982 not undefine and redefine.
4983 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4984 [O_CLOEXEC]: Make code unconditional.
4985 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4986 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4987 <kernel-features.h>.
4988 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4989 conditional variable definition.
4990 (shm_open) [O_CLOEXEC]: Make code unconditional.
4991 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4992 code.
4993
c2570a0b
JM
4994 * configure.ac (USE_REGPARMS): Don't define here.
4995 * configure: Regenerated.
4996 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4997 * sysdeps/i386/configure: Regenerated.
4998
11b076bb
JM
4999 * nptl/createthread.c: Don't include kernel-features.h.
5000 * nptl/pthread_cancel.c: Likewise.
5001 * nptl/pthread_condattr_setclock.c: Likewise.
5002 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5003 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5004 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5005 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5006 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5007 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5008 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5009 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5010 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5011 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5012 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5013 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5014 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5015 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5016 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5017 * nscd/gai.c: Likewise.
5018 * nss/nss_db/db-open.c: Likewise.
5019 * sysdeps/generic/ldsodefs.h: Likewise.
5020 * sysdeps/sh/nptl/tls.h: Likewise.
5021 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5022 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5023 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5024 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5025 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5026 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5027 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5028 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5029 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5030 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5031 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5032 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5033 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5034 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5035 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5036 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5037 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5038 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5039 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5040 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5041 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5042 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5043 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5044 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5045 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5046 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5047 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5048 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5049 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5050 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5051 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5052 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5053 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5054 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5055 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5056 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5057 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5058 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5059 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5060 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5061 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5062 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5063 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5064 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5065 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5066 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5067 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5068 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5069 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5070 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5071 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5072 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5073 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5074 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5075 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5076 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5077 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5078 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5101 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5102 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5103 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5104 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5105 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5106 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5107 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5108 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5109 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5110 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5111 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5112 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5113 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5114 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5115 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5116 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5117 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5118 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5119 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5120 * sysdeps/unix/sysv/linux/system.c: Likewise.
5121 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5122 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5123 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5124 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5125 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5126 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5127 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5128
92072d57
JM
5129 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5130 * configure: Regenerated.
5131 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5132
3e239be6
JM
5133 * configure.ac (base_machine): Do not set specially for particular
5134 machines here.
5135 * configure: Regenerated.
5136 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5137 settings from configure.ac.
5138 * sysdeps/i386/preconfigure: New file.
5139 * sysdeps/s390/preconfigure: Likewise.
5140 * sysdeps/sh/preconfigure: Likewise.
5141 * sysdeps/sparc/preconfigure: Likewise.
5142
06d50baa
RM
51432014-06-25 Roland McGrath <roland@hack.frob.com>
5144
74836003
RM
5145 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5146 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5147 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5148 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5149 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5150 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5151 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5152 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5153 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5154 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5155 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5156 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5157 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5158 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5159 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5160 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5162 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5163 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5164
5165 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5166 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5167 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5168 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5169 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5170 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5171 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5172 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5173 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5174 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5175 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5176 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5177 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5178 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5179 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5180 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5181 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5182 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5183 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5184 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5185 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5186 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5187 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5188 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5189 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5190 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5191 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5192 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5193 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5194 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5195 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5196 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5197 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5198 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5199 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5200 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5201 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5202 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5203
06d50baa
RM
5204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5205 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5207 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5209 Moved ...
5210 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5211 ... here.
5212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5213 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5215 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5217 Moved ...
5218 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5220 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5222 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5224 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5226 Moved ...
5227 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5229 Moved ...
5230 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5232 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5234 Moved ...
5235 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5237 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5239 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5241 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5243 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5245 Moved ...
5246 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5247 ... here.
5248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5249 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5251 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5253 Moved ...
5254 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5256 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5260 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5262 Moved ...
5263 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5265 Moved ...
5266 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5268 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5270 Moved ...
5271 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5273 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5275 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5276
a4ccbc9b
JM
52772014-06-25 Joseph Myers <joseph@codesourcery.com>
5278
0828edbf
JM
5279 * timezone/checktab.awk: Update from tzcode 2014e.
5280 * timezone/private.h: Likewise.
5281 * timezone/tzfile.h: Likewise.
5282 * timezone/zdump.c: Likewise.
5283 * timezone/zic.c: Likewise.
5284
a4ccbc9b
JM
5285 * sysdeps/unix/sysv/linux/kernel-features.h
5286 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5287 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5288 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5289 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5290 Remove conditional code.
5291
9aea0cb8
WN
52922014-06-25 Will Newton <will.newton@linaro.org>
5293
5294 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5295 (_dl_arm_cap_flags): Add HWCAP2 values.
5296 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5297 (_DL_HWCAP_COUNT): Increase to 37.
5298 (_DL_HWCAP_LAST): New define.
5299 (_DL_HWCAP2_LAST): New define.
5300 (_dl_procinfo): Add support for printing
5301 AT_HWCAP2 entries.
5302 (_dl_string_hwcap): Use _dl_hwcap_string.
5303
6eaa65ce
AZ
53042014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5305
5306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5307
0f5b7185
JM
53082014-06-25 Joseph Myers <joseph@codesourcery.com>
5309
cfd2ea50
JM
5310 * README: Do not mention ports directory.
5311
cecf2ed4
JM
5312 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5313 Remove macro.
5314 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5315 <kernel-features.h>.
5316 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5317 conditional variable definition.
5318 (__futimes): Update comment.
5319 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5320 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5321
a638de82
JM
5322 [BZ #16560]
5323 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5324 arguments close to 0.
5325 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5326 Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5328 Likewise.
5329 * math/auto-libm-test-in: Add more tests of exp10.
5330 * math/auto-libm-test-out: Regenerated.
5331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5332
0f5b7185
JM
5333 * sysdeps/unix/sysv/linux/kernel-features.h
5334 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5335 * sysdeps/unix/sysv/linux/readv.c: Do not include
5336 <kernel-features.h>.
5337 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5338 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5339 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5340 unconditional.
5341 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5342 conditional code.
5343 * sysdeps/unix/sysv/linux/writev.c: Do not include
5344 <kernel-features.h>.
5345 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5346 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5347 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5348 unconditional.
5349 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5350 conditional code.
5351
c7aec4be
WN
53522014-06-25 Will Newton <will.newton@linaro.org>
5353
5354 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5355 comment changes throughout the file. Remove checks
5356 for HAVE_*_H definitions that are not required.
5357 (__gen_tempname): Call abort if an unknown kind value is
5358 passed.
5359
c5241f95
AS
53602014-06-25 Andreas Schwab <schwab@suse.de>
5361
5362 [BZ #17086]
5363 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5364 scalbln, scalblnf, scalblnl in libc.
5365
911422da
SP
53662014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5367
5368 [BZ #17086]
5369 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5370 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5371 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5372
0d749bbe
RM
53732014-06-24 Roland McGrath <roland@hack.frob.com>
5374
5375 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5376 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5377 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5378 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5379 Update #include.
5380 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5381 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5382 Update #include.
5383 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5384 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5385 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5386 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5387 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5388 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5389 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5390 * sysdeps/x86/bits/semaphore.h: ... here.
5391 * sysdeps/x86/nptl/elide.h: Moved ...
5392 * sysdeps/x86/elide.h: ... here.
5393 * sysdeps/x86_64/nptl/Implies: File removed.
5394 * sysdeps/i386/nptl/Implies: File removed.
5395
0ea5d373
JM
53962014-06-24 Joseph Myers <joseph@codesourcery.com>
5397
4060283d
JM
5398 [BZ #16539]
5399 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5400 return the argument for normal arguments with exponent below -64.
5401 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5402 Likewise.
5403 * math/auto-libm-test-in: Add another test of expm1.
5404 * math/auto-libm-test-out: Regenerated.
5405
e7dd3c8c
JM
5406 [BZ #16287]
5407 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5408 calling __erfcl for arguments at least 16.
5409 * math/auto-libm-test-in: Add more tests of erf.
5410 * math/auto-libm-test-out: Regenerated.
5411
0ea5d373
JM
5412 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5413 individual architectures.
5414 * sysdeps/unix/sysv/linux/configure: Regenerated.
5415 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5416 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5417 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5418 (ldd_rewrite_script): Define variable.
5419 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5421 file.
5422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5423 generated file.
5424 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5425 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5426 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5427 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5428 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5429 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5430 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5431 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5432
2307e126
SP
54332014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5434
5435 [BZ #17084]
5436 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5437 Rename member __data.d to __data.__elision_data.
5438
c0a4ed77
W
54392014-06-24 Wilco <wdijkstr@arm.com>
5440
5441 * NEWS: Add 16918 to fixed bug list.
5442
b8c00573
W
54432014-06-24 Wilco <wdijkstr@arm.com>
5444
5445 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5446
b5570d92
W
54472014-06-24 Wilco <wdijkstr@arm.com>
5448
5449 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5450 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5451 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5452 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5453 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5454 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5455 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5456 Use _FPU_MASK_RM.
5457
947bdca2
W
54582014-06-24 Wilco <wdijkstr@arm.com>
5459
5460 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5461
00f669ed
W
54622014-06-24 Wilco <wdijkstr@arm.com>
5463
5464 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5465 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5466 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5467 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5468
db59bad3
W
54692014-06-24 Wilco <wdijkstr@arm.com>
5470
5471 [BZ #16918]
5472 * sysdeps/arm/feupdateenv.c (feupdateenv):
5473 Rewrite to reduce FPSCR accesses and fix return value.
5474
001f7b77
W
54752014-06-24 Wilco <wdijkstr@arm.com>
5476
5477 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5478 Optimize to avoid unnecessary FPSCR writes.
5479 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5480 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5481 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5482 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5483
4841e6a6
W
54842014-06-24 Wilco <wdijkstr@arm.com>
5485
5486 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5487 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5488 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5489 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5490 Call libc_fetestexcept_vfp.
5491 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5492 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5493 __SOFTFP__ ifdef so that they can be built for softfp.
5494
0813022c
SP
54952014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5496
08e5862f
SP
5497 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5498 argument type signed char.
5499
0813022c
SP
5500 * Makerules (check-abi): Dump diff of symlist if the test
5501 fails.
5502
3fc7236a
RM
55032014-06-23 Roland McGrath <roland@hack.frob.com>
5504
aba8ef95
RM
5505 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5506 using abort.
5507
3fc7236a
RM
5508 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5509 Remove unused variable ST.
5510
4da6db51
JM
55112014-06-23 Joseph Myers <joseph@codesourcery.com>
5512
4648909d
JM
5513 [BZ #16354]
5514 [BZ #17061]
5515 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5516 small arguments before calling __expm1.
5517 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5518 small arguments before calling __expm1f.
5519 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5520 small arguments before calling __expm1l.
5521 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5522 Likewise.
5523 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5524 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5525 spurious underflow for some cosh tests.
5526 * math/auto-libm-test-out: Regenerated.
5527 * sysdeps/i386/fpu/libm-test-ulps: Update.
5528
46a3d3c7
JM
5529 [BZ #17050]
5530 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5531 (__ieee754_y1): Set errno if return value overflows.
5532 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5533 (__ieee754_y1f): Set errno if return value overflows.
5534 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5535 (__ieee754_y1l): Set errno if return value overflows.
5536 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5537 (__ieee754_y1l): Set errno if return value overflows.
5538 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5539 * math/auto-libm-test-out: Regenerated.
5540
863893ec
JM
5541 * math/gen-auto-libm-tests.c: Document use of
5542 ignore-zero-inf-sign.
5543 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5544 (input_flags): Add ignore-zero-inf-sign.
5545 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5546 * math/gen-libm-test.pl (generate_testfile): Handle
5547 ignore-zero-inf-sign.
5548 * math/auto-libm-test-in: Mark some cpow tests with
5549 ignore-zero-inf-sign and some with xfail-rounding.
5550 * math/auto-libm-test-out: Regenerated.
5551 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5552 * sysdeps/i386/fpu/libm-test-ulps: Update.
5553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5554
4da6db51
JM
5555 [BZ #16315]
5556 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5557 overflowing or underflowing operations take place with sign of
5558 result.
5559 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5560 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5561 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5562 (__ieee754_pow): Recompute overflowing and underflowing results in
5563 original rounding mode.
5564 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5565 (__powl_helper): Allow negative argument X and scale negated value
5566 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5567 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5568 overflowing or underflowing operations take place with sign of
5569 result.
5570 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5571 Include <math.h>.
5572 * math/auto-libm-test-in: Add more tests of pow.
5573 * math/auto-libm-test-out: Regenerated.
5574 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5575 (pow_tonearest_test_data): Remove.
5576 (pow_test_tonearest): Likewise.
5577 (pow_towardzero_test_data): Likewise.
5578 (pow_test_towardzero): Likewise.
5579 (pow_downward_test_data): Likewise.
5580 (pow_test_downward): Likewise.
5581 (pow_upward_test_data): Likewise.
5582 (pow_test_upward): Likewise.
5583 (main): Don't call removed functions.
5584 * sysdeps/i386/fpu/libm-test-ulps: Update.
5585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5586
5686b236
RM
55872014-06-23 Roland McGrath <roland@hack.frob.com>
5588
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5590 Moved ...
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5593 Moved ...
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5596 Moved ...
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5599 Moved ...
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5602 File removed.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5604 File removed.
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5606 File removed.
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5608 File removed.
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5610 File removed.
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5612 File removed.
5613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5614 File removed.
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5616 File removed.
5617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5618 File removed.
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5620 File removed.
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5622 File removed.
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5624 File removed.
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5626 Moved ...
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5629 Moved ...
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5631 ... here.
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5633 Moved ...
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5636 Moved ...
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5639 Moved ...
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5642 Moved ...
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5645 Moved ...
5646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5648 Moved ...
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5651 Moved ...
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5655 ... here.
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5657 Moved ...
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5660 Moved ...
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5662 ... here.
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5664 Moved ...
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5666 ... here.
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5668 Moved ...
5669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5670 ... here.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5672 Moved ...
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5675 Moved ...
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5680 Moved ...
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5682 ... here.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5684 Moved ...
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5686 ... here.
5687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5688 Moved ...
5689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5691 Moved ...
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5694 Moved ...
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5697 Moved ...
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5700 Moved ...
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5702 ... here.
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5704 Moved ...
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5707 Moved ...
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5710 Moved ...
5711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5713 Moved ...
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5718 Moved ...
5719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5721 Moved ...
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5724 Moved ...
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5726 ... here.
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5728 Moved ...
5729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5730 ... here.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5732 Moved ...
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5734 ... here.
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5736 Moved ...
5737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5739 Moved ...
5740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5742 Moved ...
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5745 Moved ...
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5747 ... here.
5748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5749 Moved ...
5750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5751 ... here.
5752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5753 Moved ...
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5755 ... here.
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5757 Moved ...
5758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5760 Moved ...
5761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5762
e6d90d67
WD
57632014-06-23 Will Newton <will.newton@linaro.org>
5764 Wilco <wdijkstr@arm.com>
5765
5766 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5767 implementation. Include get-rounding-mode.h.
5768 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5769 [!libc_feholdsetround_noex_ctx]: Define
5770 libc_feholdsetround_noex_ctx.
5771 [!libc_feholdsetround_noexf_ctx]: Define
5772 libc_feholdsetround_noexf_ctx.
5773 [!libc_feholdsetround_noexl_ctx]: Define
5774 libc_feholdsetround_noexl_ctx.
5775 (libc_feholdsetround_ctx): New function.
5776 (libc_feresetround_ctx): New function.
5777 (libc_feholdsetround_noex_ctx): New function.
5778 (libc_feresetround_noex_ctx): New function.
5779
d42df555
RM
57802014-06-23 Roland McGrath <roland@hack.frob.com>
5781
88a46474
RM
5782 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5783 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5784 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5785 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5786 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5787 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5788
15bed472
RM
5789 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5790 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5791 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5792 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5793 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5794 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5795 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5796 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5797 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5798 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5800 Moved ...
5801 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5802 ... here.
5803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5804 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5806 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5807 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5808 Moved ...
5809 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5810 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5811 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5813 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5815 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5817 Moved ...
5818 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5820 Moved ...
5821 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5823 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5825 Moved ...
5826 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5827 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5828 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5829 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5830 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5831 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5832 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5833 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5834 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5835 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5836 Moved ...
5837 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5838 ... here.
5839 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5844 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5845 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5846 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5848 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5850 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5852 Moved ...
5853 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5855 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5857 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5858 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5859 Moved ...
5860 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5861 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5862 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5863 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5864 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5865
d42df555
RM
5866 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5867 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5868 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5869 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5870 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5871 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5872 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5873 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5877 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5879 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5880 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5881 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5882 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5883 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5884 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5885 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5886 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5887 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5888 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5889 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5890 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5891 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5892 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5893 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5894
76e5216e
JM
58952014-06-23 Joseph Myers <joseph@codesourcery.com>
5896
5897 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5898 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5899 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5900 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5901 (IPV6_PMTUDISC_INTERFACE): Likewise.
5902 (IPV6_PMTUDISC_OMIT): Likewise.
5903
7a81cbcc
AS
59042014-06-23 Andreas Schwab <schwab@suse.de>
5905
5906 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5907 Remove unused errout label.
5908
db224009
AZ
59092014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5910
5911 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5912 macro: hardware supports Vector Crypto instructions.
5913
f393b4aa
WN
59142014-06-23 Will Newton <will.newton@linaro.org>
5915
cc7d0447
WN
5916 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5917 rather than __builtin_expect.
5918
d6d06225
WN
5919 * elf/dl-lookup.c (undefined_msg): Remove variable.
5920 (_dl_lookup_symbol_x): Replace undefined_msg with string
5921 literal.
5922
f393b4aa
WN
5923 * elf/dl-lookup.c (do_lookup_unique): New function.
5924 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5925 to a separate function.
5926
ac60763e
AS
59272014-06-23 Andreas Schwab <schwab@suse.de>
5928
5929 [BZ #17079]
5930 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5931 before reading the next line.
5932
c5c13355
WN
59332014-06-23 Will Newton <will.newton@linaro.org>
5934
5935 * test-skeleton.c (signal_handler): Use printf and %m
5936 rather than perror. Use printf rather than fprintf to
5937 stderr. Use puts rather than fputs to stderr.
5938 (main): Likewise.
5939
bd3675f9
LC
59402014-06-22 Ludovic Courtès <ludo@gnu.org>
5941
5942 * nscd/nscd.c (thread_info_t): Remove typedef.
5943 (thread_info): Remove variable.
5944
d03efb2f
AM
59452014-06-21 Allan McRae <allan@archlinux.org>
5946
5947 * NEWS: Mention CVE-2014-4043.
5948
bc4a86fa
RM
59492014-06-20 Roland McGrath <roland@hack.frob.com>
5950
dc9a54f8
RM
5951 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5952 * nptl/smp.h: ... here.
5953
bd7022c4
RM
5954 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5955
26ffd5e6
RM
5956 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5957 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5958 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5959 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5960
93a6d082
RM
5961 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5962 * nptl/stack-aliasing.h: New file.
5963 * sysdeps/i386/i686/stack-aliasing.h: New file.
5964 * sysdeps/i386/i686/nptl/Makefile: File removed.
5965 * sysdeps/x86_64/stack-aliasing.h: New file.
5966 * sysdeps/x86_64/nptl/Makefile
5967 (CFLAGS-pthread_create.c): Variable removed.
5968
bc4a86fa
RM
5969 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5970 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5971 old file.
5972 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5973 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5974 old file.
5975
2272ffc1
JM
59762014-06-21 Joseph Myers <joseph@codesourcery.com>
5977
5978 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5979 (__ASSUME_SIGFRAME_V2): Remove macro.
5980 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5981 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5982 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5983 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5984 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5985 Declare as function. Remove conditional macro definitions.
5986 (__default_rt_sa_restorer): Likewise.
5987 (__default_sa_restorer_v1): Remove declaration.
5988 (__default_sa_restorer_v2): Likewise.
5989 (__default_rt_sa_restorer_v1): Likewise.
5990 (__default_rt_sa_restorer_v2): Likewise.
5991 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5992 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5993 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5994
4b88139b
RM
59952014-06-20 Roland McGrath <roland@hack.frob.com>
5996
5997 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5998 (libpthread-routines): Add sysdep.
5999 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6000 * sysdeps/unix/sysv/linux/sparc/Versions
6001 (libpthread: GLIBC_2.3.3): New version set.
6002 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6003 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6004 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6005 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6006 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6007 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6008 Moved ...
6009 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6010 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6011 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6012 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6013 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6014 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6015 * sysdeps/sparc/nptl/sem_init.c: ... here.
6016 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6017 * sysdeps/sparc/nptl/sem_post.c: ... here.
6018 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6019 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6020 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6021 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6022 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6023 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6024 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6025 (libpthread-routines): Add cpu_relax.
6026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6027 File removed.
6028 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6029 (librt: GLIBC_2.3.3): New version set.
6030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6031 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6032 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6033 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6036 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6038 Moved ...
6039 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6041 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6043 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6045 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6047 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6049 Moved ...
6050 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6051 Update #include.
6052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6053 Moved ...
6054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6055 Update #include.
6056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6057 Moved ...
6058 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6059 Update #include.
6060 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6061 Moved ...
6062 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6063 Update #include.
6064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6065 Moved ...
6066 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6067 Update #include.
6068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6069 Moved ...
6070 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6071 Update #include.
6072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6073 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6079 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6081 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6083 Moved ...
6084 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6086 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6088 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6089
d7109027
JM
60902014-06-20 Joseph Myers <joseph@codesourcery.com>
6091
9bc6103d
JM
6092 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6093 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6094 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6095 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6096 * nscd/nscd.c: Likewise.
6097 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6098 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6099 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6100 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6101
d7109027
JM
6102 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6103 <kernel-features.h>.
6104 (init_mq_netlink): Remove conditional have_sock_cloexec
6105 definitions. Remove code conditional on have_sock_cloexec < 0.
6106 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6107 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6108 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6109 <kernel-features.h>.
6110 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6111 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6112
d92d8f8a
L
61132014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6114
6115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6116 Add tests for memset_chk and memset.
6117
6118 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6119 with AVX2_Usable.
6120
4e6d2347
MR
61212014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6122
257ce712
MR
6123 [BZ #16046]
6124 * elf/tst-dl-iter-static.c: New file.
6125 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6126
4e6d2347
MR
6127 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6128 error.
6129
a2a76afe
JM
61302014-06-20 Joseph Myers <joseph@codesourcery.com>
6131
7fd00f99
JM
6132 * sysdeps/unix/sysv/linux/kernel-features.h
6133 (__ASSUME_F_GETOWN_EX): Remove macro.
6134 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6135 <kernel-features.h>.
6136 (miss_F_GETOWN_EX): Remove variable or macro.
6137 (do_fcntl): Do not check miss_F_GETOWN_EX.
6138 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6139
4a103975
JM
6140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6141 Remove macro.
6142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6143 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6144 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6145
a2a76afe
JM
6146 * sysdeps/unix/sysv/linux/kernel-features.h
6147 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6148 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6149 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6150 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6151
90e5dd48
MR
61522014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6153
6154 [BZ #17075]
6155 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6156 Fix calculation of the symbol's value.
6157 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6158 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6159 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6160 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6161 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6162 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6163 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6164 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6165 (modules-names): Add `tst-armtlsdescmod',
6166 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6167 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6168 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6169 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6170 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6171 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6172 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6173 ($(objpfx)tst-armtlsdescloc): New dependency.
6174 ($(objpfx)tst-armtlsdescextnow): Likewise.
6175 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6176 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6177 TLS scheme support.
6178 * sysdeps/arm/configure: Regenerate.
6179
809fdf0d
JM
61802014-06-20 Joseph Myers <joseph@codesourcery.com>
6181
6182 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6183 (__atfct_seterrno_2): Likewise.
6184 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6185 <kernel-features.h>.
6186 (__ASSUME_ATFCTS): Do not undefine and redefine.
6187 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6188 (__have_atfcts): Remove conditional definition.
6189 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6190 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6191 unreachable if [__ASSUME_ATFCTS].
6192 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6193 not undefine and redefine.
6194 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6195 <kernel-features.h>.
6196 (faccessat) [__NR_faccessat]: Make code unconditional.
6197 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6198 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6199 <kernel-features.h>.
6200 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6201 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6202 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6203 <kernel-features.h>.
6204 (fchownat) [__NR_fchownat]: Make code unconditional.
6205 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6206 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6207 <kernel-features.h>.
6208 (futimesat) [__NR_futimesat]: Make code unconditional.
6209 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6210 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6211 <kernel-features.h>.
6212 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6213 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6214 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6215 <kernel-features.h>.
6216 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6217 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6218 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6219 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6220 <kernel-features.h>.
6221 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6222 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6223 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6224 <kernel-features.h>.
6225 (linkat) [__NR_linkat]: Make code unconditional.
6226 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6227 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6228 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6229 <kernel-features.h>.
6230 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6231 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6232 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6233 <kernel-features.h>.
6234 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6235 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6236 * sysdeps/unix/sysv/linux/openat.c: Do not include
6237 <kernel-features.h>.
6238 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6239 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6240 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6241 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6242 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6243 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6244 <kernel-features.h>.
6245 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6246 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6247 result of INLINE_SYSCALL directly, not via int variable.
6248 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6249 <kernel-features.h>.
6250 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6251 (renameat) [__NR_renameat]: Make code unconditional.
6252 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6253 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6254 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6255 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6256 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6257 (__ASSUME_ATFCTS): Do not undefine and redefine.
6258 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6259 <kernel-features.h>.
6260 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6261 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6262 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6263 <kernel-features.h>.
6264 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6265 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6266 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6267 (__ASSUME_ATFCTS): Do not undefine and redefine.
6268 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6269 <kernel-features.h>.
6270 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6271 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6272 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6273 <kernel-features.h>.
6274 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6275 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6276
224c6c51
L
62772014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6278
6279 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6280
aa6ec754
AS
62812014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6282
6283 [BZ #17069]
6284 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6285 constructed tree before returning error.
6286 * posix/bug-regexp36.c: Expand test case.
6287
d8c2869d
SL
62882014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6289
3ef6b850
SL
6290 [BZ #6803]
6291 * math/libm-test.inc (scalbln_test_date):
6292 Add errno expectations.
6293 * math/w_scalblnf.c: New File.
6294 Add wrapper which checks for setting errno to ERANGE.
6295 Add weak_alias for corresponding scalbln function.
6296 * math/w_scalbln.c: Likewise.
6297 * math/w_scalblnl.c: Likewise.
6298 * math/Makefile (libm-calls): Add w_scalbln.
6299 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6300 Remove weak_alias for corresponding scalbln function.
6301 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6303 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6305 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6306 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6307 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6308 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6309 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6310 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6311 Remove long_double_symbol for scalblnl function in libm, libc.
6312 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6313 Add wrapper which checks for setting errno to ERANGE.
6314 Add long_double_symbol for scalblnl function in libm, libc.
6315 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6316 Remove long_double_symbol for scalblnl in libm.
6317 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6318 Add wrapper which checks for setting errno to ERANGE.
6319 Add long_double_symbol for scalblnl function in libm.
6320 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6321 Do not use wrapper because of own implementation.
6322
c8daec5c
L
63232014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6324
6325 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6326 3 bytes for __pad1 for x32.
6327 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6328
5c74e47c
LM
63292014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6330 H.J. Lu <hongjiu.lu@intel.com>
6331
6332 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6333 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6334 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6335 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6336 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6337
4d43ef1e
AS
63382014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6339
6340 [BZ #17069]
6341 * posix/regcomp.c (parse_expression): Deallocate partially
6342 constructed tree before returning error.
6343 * posix/Makefile.c (tests): Add bug-regex36.
6344 (generated): Add bug-regex36.mtrace.
6345 (tests-special): Add $(objpfx)bug-regex36-mem.out
6346 (bug-regex36-ENV): New variable.
6347 ($(objpfx)bug-regex36-mem.out): New rule.
6348 * posix/bug-regex36.c: New file.
6349
51a7380b
WN
63502014-06-19 Will Newton <will.newton@linaro.org>
6351
6352 * malloc/malloc.c (systrim): If extra is zero then return
6353 early.
6354
91b84fe5
SP
63552014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6356
6357 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6358
f940b965
RE
63592014-06-19 Richard Earnshaw <rearnsha@arm.com>
6360
6361 * sysdeps/aarch64/strchr.S: New file.
6362
4ba7a00f
JM
63632014-06-18 Joseph Myers <joseph@codesourcery.com>
6364
6365 [BZ #17022]
6366 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6367 from arguments -2 or below.
6368 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6369 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6370
b3a9f56b
AS
63712014-06-18 Andreas Schwab <schwab@suse.de>
6372
6373 [BZ #17062]
6374 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6375 of a bracket expr not to run off the end of the string.
6376 * posix/Makefile (tests): Add tst-fnmatch3.
6377 * posix/tst-fnmatch3.c: New file.
6378
85d89278
JM
63792014-06-18 Joseph Myers <joseph@codesourcery.com>
6380
6381 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6382 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6383 [$(cross-compiling) = no]: Likewise.
6384 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6385 [$(cross-compiling) = no]: Likewise.
6386
754c5a08
RS
63872014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6388
6389 [BZ #17031]
6390 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6391 double, adjusted for any remainder from the high double.
6392 * math/libm-test.inc (nearbyint): Add tests.
6393 (rint): Likewise.
6394
556f529d
AZ
63952014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6396
6397 * nptl/sysdeps/powerpc/Makefile: Moved ...
6398 * sysdeps/powerpc/nptl/Makefile: ... here.
6399 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6400 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6401 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6402 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6403 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6404 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6405 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6406 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6407 * nptl/sysdeps/powerpc/tls.h: Moved ...
6408 * sysdeps/powerpc/nptl/tls.h: ... here.
6409
91c03c53
JM
64102014-06-16 Joseph Myers <joseph@codesourcery.com>
6411
6412 [BZ #16681]
6413 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6414 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6415 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6416 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6417 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6418 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6419 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6420 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6421 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6422
a76e63c5
AS
64232014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6424
6425 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6426
f2f6d82f
AS
64272014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6428
ea8a15f6
AS
6429 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6430 defined operator.
6431
f2f6d82f
AS
6432 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6433 $TIMEOUTFACTOR.
6434
a7291117
FW
64352014-06-16 Florian Weimer <fweimer@redhat.com>
6436
6437 [BZ #17058]
6438 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6439 non-executed part of the test.
6440
3d7c00e3
AS
64412014-06-16 Andreas Schwab <schwab@suse.de>
6442
6443 * string/bits/string2.h (strdup, strndup): Update feature guard.
6444
6957fb31
DM
64452014-06-14 David S. Miller <davem@davemloft.net>
6446
6447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6448
11b9e55b
AS
64492014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6450
1d2a0492
AS
6451 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6452 that was previously under [RESET_PID].
6453 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6454
11b9e55b
AS
6455 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6456 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6457 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6458 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6459 (__libc_vfork): New strong alias.
6460 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6461
0f6901d0
AK
64622014-06-14 Andi Kleen <ak@linux.intel.com>
6463
6464 * sysdeps/generic/elide.h: New file.
6465
38bbbb9f
SL
64662014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6467
6468 * Makefile (installed-headers): Adjust path of pthread.h header.
6469
45193bb8
RM
64702014-06-13 Roland McGrath <roland@hack.frob.com>
6471
9a25fd1e
RM
6472 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6473 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6474 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6475 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6476
4004f7e4
RM
6477 * nptl/sysdeps/s390/Makefile: Moved ...
6478 * sysdeps/s390/nptl/Makefile: ... here.
6479 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6480 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6481 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6482 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6483 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6484 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6485 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6486 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6487 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6488 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6489 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6490 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6491 * nptl/sysdeps/s390/tls.h: Moved ...
6492 * sysdeps/s390/nptl/tls.h: ... here.
6493
45193bb8
RM
6494 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6495 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6496
f6fdf533
DM
64972014-06-13 David S. Miller <davem@davemloft.net>
6498
6499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6502 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6506 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6507 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6508 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6509 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6510 Remove RESET_PID cpp guards.
6511 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6512 Remove RESET_PID cpp guards.
6513 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6514
f5d71e14
AS
65152014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6516
6517 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6518 __sp to uintptr_t.
6519
b7aa8caa
AK
65202014-06-13 Andi Kleen <ak@linux.intel.com>
6521
4b266200
AZ
6522 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6523 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6524 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6525 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6526 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6527 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6528 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6529 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6530 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6531 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6532 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6533 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6534 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6535 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6536 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6537 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6538 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6539 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6540 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6542
6543 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6544 (pthread_rwlock_rdlock): Add elision.
6545 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6546 (pthread_rwlock_wrlock): Add elision.
6547 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6548 (pthread_rwlock_trywrlock): Add elision.
6549 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6550 (pthread_rwlock_tryrdlock): Add elision.
6551 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6552 (pthread_rwlock_tryrdlock): Add elision unlock.
6553 * nptl/sysdeps/pthread/pthread.h:
6554 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6555 (PTHREAD_RWLOCK_INITIALIZER,
6556 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6557 Handle new elision field.
6558 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6559 * sysdeps/arm/nptl/bits/pthreadtypes.h
6560 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6561 * sysdeps/sh/nptl/bits/pthreadtypes.h
6562 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6563 * sysdeps/tile/nptl/bits/pthreadtypes.h
6564 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6565 * sysdeps/a/nptl/bits/pthreadtypes.h
6566 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6567 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6568 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6569 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6570 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6571 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6572 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6573 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6574 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6575 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6577 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6578 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6579 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6580 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6581 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6582 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6583 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6584 (elision_init): Set try_xbegin to zero when no RTM.
6585 * sysdeps/x86/nptl/bits/pthreadtypes.h
6586 (pthread_rwlock_t): Change __pad1 to __rwelision.
6587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6588
a832bdd3
AK
65892014-06-13 Andi Kleen <ak@linux.intel.com>
6590
6591 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6592 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6593 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6594 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6595
995a46bb
MI
65962014-06-13 Meador Inge <meadori@codesourcery.com>
6597
6598 [BZ #16996]
03ed7738 6599 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6600 that the cached result has been set before returning it.
6601
45262aee
RM
66022014-06-12 Roland McGrath <roland@hack.frob.com>
6603
febf6cc5
RM
6604 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6605 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6606 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6607 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6608 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6609 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6610
e2682246
RM
6611 * nptl/sysdeps/sparc/Makefile: Moved ...
6612 * sysdeps/sparc/nptl/Makefile: ... here.
6613 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6614 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6615 * nptl/sysdeps/sparc/tls.h: Moved ...
6616 * sysdeps/sparc/nptl/tls.h: ... here.
6617 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6618 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6619 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6620 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6621 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6622 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6623 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6624 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6625 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6626 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6627 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6628 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6629 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6630 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6631 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6632 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6633 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6634 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6635 Update #include.
6636 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6637 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6638 Update #include.
6639 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6640 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6641 Update #include.
6642 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6643 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6644 Update #include.
6645
b0725f43
RM
6646 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6647
b14368b8
RM
6648 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6649 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6650
c5620eb3
RM
6651 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6652 (struct list_links): Type removed.
6653 (struct thread_node, struct timer_node): Replace struct list_links
6654 with struct list_head.
6655 (list_unlink_ip): Likewise.
6656 * sysdeps/pthread/timer_routines.c
6657 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6658 (list_append, list_insbefore): Likewise.
6659 (list_init): Function removed.
6660 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6661 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6662 * sysdeps/pthread/Makefile: ... here, new file.
6663
6664 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6665 * sysdeps/nptl/Implies: ... here.
6666 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6667 * nptl/sysdeps/pthread/list.h: Moved ...
6668 * include/list.h: ... here.
6669 * nptl/sysdeps/pthread/createthread.c: Moved ...
6670 * nptl/createthread.c: ... here.
6671 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6672 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6673 * nptl/pt-longjmp.c: ... here.
6674 * nptl/sysdeps/pthread/Makefile: Moved ...
6675 * sysdeps/nptl/Makefile: ... here.
6676 * nptl/sysdeps/pthread/Subdirs: Moved ...
6677 * sysdeps/nptl/Subdirs: ... here.
6678 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6679 * sysdeps/nptl/aio_misc.h: ... here.
6680 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6681 * sysdeps/nptl/bits/libc-lock.h: ... here.
6682 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6683 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6684 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6685 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6686 * nptl/sysdeps/pthread/configure: Moved ...
6687 * sysdeps/nptl/configure: ... here.
6688 * nptl/sysdeps/pthread/configure.ac: Moved ...
6689 * sysdeps/nptl/configure.ac: ... here.
6690 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6691 * sysdeps/nptl/gai_misc.h: ... here.
6692 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6693 * sysdeps/nptl/librt-cancellation.c: ... here.
6694 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6695 * sysdeps/nptl/malloc-machine.h: ... here.
6696 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6697 * sysdeps/nptl/pthread-functions.h: ... here.
6698 * nptl/sysdeps/pthread/pthread.h: Moved ...
6699 * sysdeps/nptl/pthread.h: ... here.
6700 * nptl/sysdeps/pthread/setxid.h: Moved ...
6701 * sysdeps/nptl/setxid.h: ... here.
6702 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6703 * sysdeps/nptl/sigfillset.c: ... here.
6704 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6705 * sysdeps/nptl/tcb-offsets.h: ... here.
6706 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6707 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6708 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6709 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6710 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6711 * sysdeps/pthread/allocalim.h: ... here.
6712 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6713 * sysdeps/pthread/bits/sigthread.h: ... here.
6714 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6715 * sysdeps/pthread/flockfile.c: ... here.
6716 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6717 * sysdeps/pthread/ftrylockfile.c: ... here.
6718 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6719 * sysdeps/pthread/funlockfile.c: ... here.
6720 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6721 * sysdeps/pthread/posix-timer.h: ... here.
6722 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6723 * sysdeps/pthread/timer_create.c: ... here.
6724 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6725 * sysdeps/pthread/timer_delete.c: ... here.
6726 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6727 * sysdeps/pthread/timer_getoverr.c: ... here.
6728 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6729 * sysdeps/pthread/timer_gettime.c: ... here.
6730 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6731 * sysdeps/pthread/timer_routines.c: ... here.
6732 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6733 * sysdeps/pthread/timer_settime.c: ... here.
6734 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6735 * sysdeps/pthread/tst-timer.c: ... here.
6736 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6737 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6738
e876b090
RM
6739 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6740 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6741
f6b07b3d
RM
6742 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6743 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6744 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6745 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6746 Update #include target.
6747 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6748 * sysdeps/i386/i686/nptl/Makefile: ... here.
6749 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6750 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6751 Update #include target.
6752 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6753 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6754 * nptl/sysdeps/i386/Makefile: Moved ...
6755 * sysdeps/i386/nptl/Makefile: ... here.
6756 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6757 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6758 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6759 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6760 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6761 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6762 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6763 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6764 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6765 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6766 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6767 * nptl/sysdeps/i386/tls.h: Moved ...
6768 * sysdeps/i386/nptl/tls.h: ... here.
6769
45262aee
RM
6770 * sysdeps/sh/Makefile [$(subdir) = csu]
6771 (gen-as-const-headers): Add tcb-offsets.sym.
6772 * nptl/sysdeps/sh/Makefile: File removed.
6773 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6774 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6775 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6776 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6777 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6778 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6779 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6780 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6781 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6782 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6783 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6784 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6785 * nptl/sysdeps/sh/tls.h: Moved ...
6786 * sysdeps/sh/nptl/tls.h: ... here.
6787 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6788 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6789 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6790 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6791 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6792 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6793 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6794 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6795 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6796 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6797 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6798 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6799 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6800 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6801 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6802 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6804 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6805 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6806 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6807 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6808 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6809 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6810 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6811 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6812 Moved ...
6813 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6815 Moved ...
6816 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6817 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6818 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6819 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6820 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6821 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6822 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6823 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6824 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6825 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6826 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6827 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6828 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6829 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6830 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6831 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6832 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6833 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6834 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6835
35a5e3e3
SL
68362014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6837
6838 * posix/spawn_faction_addopen.c: Include string.h.
6839
14642b85
RM
68402014-06-11 Roland McGrath <roland@hack.frob.com>
6841
6842 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6843 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6844 * nptl/sysdeps/x86_64/Makefile: Moved ...
6845 * sysdeps/x86_64/nptl/Makefile: ... here.
6846 * nptl/sysdeps/x86_64/configure: Moved ...
6847 * sysdeps/x86_64/nptl/configure: ... here.
6848 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6849 * sysdeps/x86_64/nptl/configure.ac: ... here.
6850 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6851 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6852 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6853 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6854 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6855 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6856 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6857 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6858 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6859 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6860 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6861 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6862 * nptl/sysdeps/x86_64/tls.h: Moved ...
6863 * sysdeps/x86_64/nptl/tls.h: ... here.
6864 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6865 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6866 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6867 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6868
6869 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6870
31c44fea
AZ
68712014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6872
6873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6874
e81a4f9a
JM
68752014-06-11 Joseph Myers <joseph@codesourcery.com>
6876
6877 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6878 type.
6879 [POSIX] (off_t): Likewise.
6880 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6881 [POSIX] (S_ISBLK): Require macro.
6882 [POSIX] (S_ISCHR): Likewise.
6883 [POSIX] (S_ISDIR): Likewise.
6884 [POSIX] (S_ISFIFO): Likewise.
6885 [POSIX] (S_ISREG): Likewise.
6886 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6887 optional-macro.
6888 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6889 type.
6890 [POSIX] (time_t): Likewise.
6891 [POSIX] (timer_t): Likewise.
6892
89e435f3
FW
68932014-06-11 Florian Weimer <fweimer@redhat.com>
6894
6895 [BZ #17048]
6896 * posix/spawn_int.h (struct __spawn_action): Make the path string
6897 non-const to support deallocation.
6898 * posix/spawn_faction_addopen.c
6899 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6900 * posix/spawn_faction_destroy.c
6901 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6902 path in all spawn_do_open actions.
6903 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6904 posix_spawn_file_actions_addopen.
6905
c3a2ebe1
CM
69062014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6907
6908 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6909 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6910 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6911 conditional code always true.
6912 (__libc_vfork): New alias.
6913
9503784a
RM
69142014-06-11 Roland McGrath <roland@hack.frob.com>
6915
c9cab3d2
RM
6916 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6917 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6918
d3996c79
RM
6919 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6920
ba5ec611
RM
6921 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6922 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6923
f12b4814
RM
6924 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6925 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6926
9503784a
RM
6927 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6928 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6929
e23d3d26
VR
69302014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6931
6932 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6933 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6934 multiarch strcmp for PPC64.
6935 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6936 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6938 multiarch optimizations.
6939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6940 (__libc_ifunc_impl_list): Likewise.
6941
42b1161e
SP
69422014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6943
6944 * benchtests/scripts/validate_benchout.py: New script.
6945 * benchtests/Makefile (bench-func): Call it.
6946 * benchtests/scripts/benchout.schema.json: New file.
6947
2d0fc4dc
CM
69482014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6949
4a594c34
AZ
6950 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6951 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6952 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6953 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6954 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6955 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6956 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6957 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6958 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6959 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6960 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6961 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6962 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6963 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6964 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6965 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6967 Moved ...
4a594c34 6968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6969 ... here.
4a594c34 6970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6971 Moved ...
4a594c34
AZ
6972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6974 Moved ...
4a594c34 6975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6976 ... here.
4a594c34 6977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6978 Moved ...
4a594c34 6979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6980 ... here.
4a594c34 6981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6982 Moved ...
4a594c34
AZ
6983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6985 Moved ...
4a594c34 6986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6987 ... here.
4a594c34 6988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6989 Moved ...
4a594c34 6990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6991 ... here.
4a594c34 6992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6993 Moved ...
4a594c34
AZ
6994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6996 Moved ...
4a594c34 6997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6998 ... here.
4a594c34 6999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 7000 Moved ...
4a594c34 7001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 7002 ... here.
4a594c34 7003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 7004 Moved ...
4a594c34 7005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 7006 ... here.
4a594c34 7007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 7008 Moved ...
4a594c34
AZ
7009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 7011 Moved ...
4a594c34 7012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 7013 ... here.
4a594c34 7014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 7015 Moved ...
4a594c34 7016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 7017 ... here.
4a594c34 7018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 7019 Moved ...
4a594c34 7020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 7021 ... here.
4a594c34 7022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 7023 Moved ...
4a594c34
AZ
7024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 7026 Moved ...
4a594c34 7027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 7028 ... here.
4a594c34 7029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 7030 Moved ...
4a594c34 7031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 7032 ... here.
4a594c34 7033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 7034 Moved ...
4a594c34
AZ
7035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 7037 Moved ...
4a594c34 7038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 7039 ... here.
4a594c34 7040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 7041 Moved ...
4a594c34
AZ
7042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 7044 Moved ...
4a594c34
AZ
7045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 7047 Moved ...
4a594c34 7048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 7049 ... here.
4a594c34 7050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 7051 Moved ...
4a594c34 7052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 7053 ... here.
4a594c34 7054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 7055 Moved ...
4a594c34 7056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 7057 ... here.
4a594c34 7058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 7059 Moved ...
4a594c34
AZ
7060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 7062 Moved ...
4a594c34 7063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 7064 ... here.
4a594c34 7065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 7066 Moved ...
4a594c34 7067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 7068 ... here.
4a594c34
AZ
7069 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7070 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7071 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7072 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 7074 Moved ...
4a594c34 7075 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 7076 ... here.
4a594c34
AZ
7077 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7078 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7079 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7080 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7082 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7083 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7084 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7085 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7086 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7087 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7088 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 7090 Moved ...
4a594c34
AZ
7091 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7092 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 7093 Moved ...
4a594c34
AZ
7094 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7095 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7096 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7097 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 7098 Moved ...
4a594c34
AZ
7099 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7101 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7102 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7103 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7104 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7105 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 7106
0570cfed
W
71072014-06-10 Wilco <wdijkstr@arm.com>
7108
7109 * math/test-fenv-return.c: New file.
7110 * math/Makefile: Add new test test-fenv-return.
7111
f8ba1b56
JM
71122014-06-10 Joseph Myers <joseph@codesourcery.com>
7113
7114 [BZ #17042]
7115 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7116 when x - 1 is zero.
7117 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7118 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7119 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7120 0.0L for an argument of 1.0L.
7121 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7122 Likewise.
7123 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7124 value when x - 1 is zero.
7125 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7126 * sysdeps/i386/fpu/libm-test-ulps: Update.
7127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7128
2c3520d9
BO
71292014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7130
7131 [BZ #15119]
7132 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7133
acaa4d24
RM
71342014-06-09 Roland McGrath <roland@hack.frob.com>
7135
7136 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7137 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7138
962b744d
RM
71392014-06-09 Roland McGrath <roland@hack.frob.com>
7140
d752f0cc
RM
7141 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7142 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7143
34eda6d1
RM
7144 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7145 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7146
50f0a637
RM
7147 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7148 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7149
08f41f04
RM
7150 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7151 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7152
962b744d
RM
7153 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7154 if not already defined.
7155 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7156 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7157 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7158 (TLS_INIT_TP): Use it.
7159 (TLS_DEFINE_INIT_TP): New macro.
7160 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7161
09f19b05
JM
71622014-06-09 Joseph Myers <joseph@codesourcery.com>
7163
7164 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7165 constant.
7166 [POSIX] (IXANY): Likewise.
7167 [POSIX] (OLCUC): Likewise.
7168 [POSIX || POSIX2008] (CBAUD): Do not allow.
7169 [POSIX || POSIX2008] (DEFECHO): Likewise.
7170 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7171 [POSIX || POSIX2008] (ECHOKE): Likewise.
7172 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7173 [POSIX || POSIX2008] (EXTA): Likewise.
7174 [POSIX || POSIX2008] (EXTB): Likewise.
7175 [POSIX || POSIX2008] (FLUSHO): Likewise.
7176 [POSIX || POSIX2008] (LOBLK): Likewise.
7177 [POSIX || POSIX2008] (PENDIN): Likewise.
7178 [POSIX || POSIX2008] (SWTCH): Likewise.
7179 [POSIX || POSIX2008] (VDISCARD): Likewise.
7180 [POSIX || POSIX2008] (VDSUSP): Likewise.
7181 [POSIX || POSIX2008] (VLNEXT): Likewise.
7182 [POSIX || POSIX2008] (VREPRINT): Likewise.
7183 [POSIX || POSIX2008] (VSTATUS): Likewise.
7184 [POSIX || POSIX2008] (VWERASE): Likewise.
7185 (B*): Change to B[0123456789]*.
7186 * conform/data/time.h-data [POSIX || UNIX98]
7187 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7188 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7189 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7190 [POSIX] (tm_*): Do not allow.
7191
686554bf
JM
71922014-06-07 Joseph Myers <joseph@codesourcery.com>
7193
7194 * Makefile (install): Don't set LANGUAGE.
7195 * Makefile.in (install): Likewise.
7196 * assert/Makefile (test-assert-ENV): Remove variable.
7197 (test-assert-perr-ENV): Likewise.
7198 * elf/Makefile (neededtest4-ENV): Likewise.
7199 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7200 [$(cross-compiling) = no]: Don't set LANGUAGE.
7201 * io/ftwtest-sh (LANG): Remove variable.
7202 * libio/Makefile (tst-widetext-ENV): Likewise.
7203 * manual/install.texi (Running make install): Don't refer to
7204 environment settings for make install.
7205 * INSTALL: Regenerated.
7206 * nptl/tst-tls6.sh: Don't set LANG.
7207 * posix/globtest.sh (LANG): Remove variable.
7208 * string/Makefile (tester-ENV): Likewise.
7209 (inl-tester-ENV): Likewise.
7210 (noinl-tester-ENV): Likewise.
7211 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7212 [$(cross-compiling) = no]: Don't set LANGUAGE.
7213 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7214 without explicit environment settings.
7215
68e6b6b1
RM
72162014-06-06 Roland McGrath <roland@hack.frob.com>
7217
7218 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7219 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7220 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7221 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7222
4d3ae034
CM
72232014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7224
7225 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7226 other files in the crypt directory.
7227 * crypt/crypt.c: Remove duplicate includes.
7228 * crypt/crypt-entry.c: Likewise.
7229 * crypt/crypt_util.c: Likewise.
7230
8540f6d2
JM
72312014-06-06 Joseph Myers <joseph@codesourcery.com>
7232
7233 * Makeconfig (run-program-env): New variable.
7234 (run-program-prefix-before-env): Likewise.
7235 (run-program-prefix-after-env): Likewise.
7236 (run-program-prefix): Define in terms of new variables.
7237 (built-program-cmd-before-env): New variable.
7238 (built-program-cmd-after-env): Likewise.
7239 (built-program-cmd): Define in terms of new variables.
7240 (test-program-prefix-before-env): New variable.
7241 (test-program-prefix-after-env): Likewise.
7242 (test-program-prefix): Define in terms of new variables.
7243 (test-program-cmd-before-env): New variable.
7244 (test-program-cmd-after-env): Likewise.
7245 (test-program-cmd): Define in terms of new variables.
7246 * Rules (make-test-out): Use $(run-program-env).
7247 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7248 (help): Do not mention environment variables. Mention
7249 --timeoutfactor option.
7250 (timeoutfactor): New variable.
7251 (blacklist_exports): Remove function.
7252 (exports): Remove variable.
7253 (command): Do not include ${exports}.
7254 * manual/install.texi (Configuring and compiling): Do not mention
7255 test wrappers preserving environment variables. Mention that last
7256 assignment to a variable must take precedence.
7257 * INSTALL: Regenerated.
7258 * benchtests/Makefile (run-bench): Use $(run-program-env).
7259 * catgets/Makefile ($(objpfx)test1.cat): Use
7260 $(built-program-cmd-before-env), $(run-program-env) and
7261 $(built-program-cmd-after-env).
7262 ($(objpfx)test2.cat): Do not specify environment variables
7263 explicitly.
7264 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7265 $(run-program-env) and $(built-program-cmd-after-env).
7266 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7267 $(run-program-env) and $(test-program-cmd-after-env).
7268 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7269 explicitly.
7270 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7271 run_program_env and test_program_cmd_after_env arguments.
7272 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7273 * elf/tst-pathopt.sh: Use run_program_env argument.
7274 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7275 $(test-wrapper-env) and $(run-program-env).
7276 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7277 run_program_env arguments.
7278 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7279 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7280 $(test-program-prefix-before-env), $(run-program-env) and
7281 $(test-program-prefix-after-env).
7282 ($(objpfx)tst-gettext2.out): Likewise.
7283 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7284 run_program_env and test_program_prefix_after_env arguments.
7285 * intl/tst-gettext2.sh: Likewise.
7286 * intl/tst-gettext4.sh: Do not set environment variables
7287 explicitly.
7288 * intl/tst-gettext6.sh: Likewise.
7289 * intl/tst-translit.sh: Likewise.
7290 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7291 $(test-program-prefix-before-env), $(run-program-env) and
7292 $(test-program-prefix-after-env).
7293 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7294 run_program_env and test_program_prefix_after_env arguments.
7295 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7296 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7297 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7298 explicitly with each use of ${test_wrapper_env}.
7299 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7300 $(test-program-prefix-before-env), $(run-program-env) and
7301 $(test-program-prefix-after-env).
7302 * posix/tst-getconf.sh: Do not set environment variables
7303 explicitly.
7304 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7305 run_program_env and test_program_prefix_after_env arguments.
7306 * stdio-common/tst-printf.sh: Do not set environment variables
7307 explicitly.
7308 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7309 $(test-program-prefix-before-env), $(run-program-env) and
7310 $(test-program-prefix-after-env).
7311 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7312 run_program_env and test_program_prefix_after_env arguments.
7313 Split $test calls into $test_pre and $test.
7314 * timezone/Makefile (build-testdata): Use
7315 $(built-program-cmd-before-env), $(run-program-env) and
7316 $(built-program-cmd-after-env).
7317
ed36bfa1
AZ
73182014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7319
7320 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7321 strlen for non SHARED builds.
7322
fc75bf46
SP
73232014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7324
7325 * nptl/allocatestack.c (check_list): Inlined function...
7326 (__reclaim_stacks): ... here.
7327
d89b3d80
OB
73282014-06-05 Ondřej Bílka <neleai@seznam.cz>
7329
7330 [BZ #15698]
7331 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7332 memory overrun.
7333
2bf18041
JM
73342014-06-05 Joseph Myers <joseph@codesourcery.com>
7335
7336 * Rules (make-test-out): Include
7337 LOCPATH=$(common-objpfx)localedata in default environment.
7338 * debug/Makefile (tst-chk1-ENV): Remove variable.
7339 (tst-chk2-ENV): Likewise.
7340 (tst-chk3-ENV): Likewise.
7341 (tst-chk4-ENV): Likewise.
7342 (tst-chk5-ENV): Likewise.
7343 (tst-chk6-ENV): Likewise.
7344 (tst-lfschk1-ENV): Likewise.
7345 (tst-lfschk2-ENV): Likewise.
7346 (tst-lfschk3-ENV): Likewise.
7347 (tst-lfschk4-ENV): Likewise.
7348 (tst-lfschk5-ENV): Likewise.
7349 (tst-lfschk6-ENV): Likewise.
7350 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7351 (tst-iconv7-ENV): Likewise.
7352 * intl/Makefile (LOCPATH-ENV): Likewise.
7353 (tst-codeset-ENV): Likewise.
7354 (tst-gettext3-ENV): Likewise.
7355 (tst-gettext5-ENV): Likewise.
7356 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7357 (tst-fopenloc-ENV): Likewise.
7358 (tst-fgetws-ENV): Remove variable.
7359 (tst-ungetwc1-ENV): Likewise.
7360 (tst-ungetwc2-ENV): Likewise.
7361 (bug-ungetwc2-ENV): Likewise.
7362 (tst-swscanf-ENV): Likewise.
7363 (bug-ftell-ENV): Likewise.
7364 (tst-fgetwc-ENV): Likewise.
7365 (tst-fseek-ENV): Likewise.
7366 (tst-ftell-partial-wide-ENV): Likewise.
7367 (tst-ftell-active-handler-ENV): Likewise.
7368 (tst-ftell-append-ENV): Likewise.
7369 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7370 (tst-regexloc-ENV): Likewise.
7371 (bug-regex1-ENV): Likewise.
7372 (tst-regex-ENV): Likewise.
7373 (tst-regex2-ENV): Likewise.
7374 (bug-regex5-ENV): Likewise.
7375 (bug-regex6-ENV): Likewise.
7376 (bug-regex17-ENV): Likewise.
7377 (bug-regex18-ENV): Likewise.
7378 (bug-regex19-ENV): Likewise.
7379 (bug-regex20-ENV): Likewise.
7380 (bug-regex22-ENV): Likewise.
7381 (bug-regex23-ENV): Likewise.
7382 (bug-regex25-ENV): Likewise.
7383 (bug-regex26-ENV): Likewise.
7384 (bug-regex30-ENV): Likewise.
7385 (bug-regex32-ENV): Likewise.
7386 (bug-regex33-ENV): Likewise.
7387 (bug-regex34-ENV): Likewise.
7388 (bug-regex35-ENV): Likewise.
7389 (tst-rxspencer-ENV): Likewise.
7390 (tst-rxspencer-no-utf8-ENV): Likewise.
7391 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7392 (tst-sscanf-ENV): Likewise.
7393 (tst-swprintf-ENV): Likewise.
7394 (tst-swscanf-ENV): Likewise.
7395 (test-vfprintf-ENV): Likewise.
7396 (scanf13-ENV): Likewise.
7397 (bug14-ENV): Likewise.
7398 (tst-grouping-ENV): Likewise.
7399 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7400 (tst-strtod3-ENV): Likewise.
7401 (tst-strtod4-ENV): Likewise.
7402 (tst-strtod5-ENV): Likewise.
7403 (testmb2-ENV): Likewise./
7404 * string/Makefile (tst-strxfrm-ENV): Likewise.
7405 (tst-strxfrm2-ENV): Likewise.
7406 (bug-strcoll1-ENV): Likewise.
7407 (test-strcasecmp-ENV): Likewise.
7408 (test-strncasecmp-ENV): Likewise.
7409 * time/Makefile (tst-strptime-ENV): Likewise.
7410 (tst-ftime_l-ENV): Likewise.
7411 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7412 (tst-mbrtowc-ENV): Likewise.
7413 (tst-wcrtomb-ENV): Likewise.
7414 (tst-mbrtowc2-ENV): Likewise.
7415 (tst-c16c32-1-ENV): Likewise.
7416 (tst-mbsnrtowcs-ENV): Likewise.
7417
cd1fb604
OB
74182014-06-05 Ondřej Bílka <neleai@seznam.cz>
7419
7420 * manual/resource.texi (How to get information about the memory
7421 subsystem?): Fix typo.
7422 Reported by Peon de la Parra Ivan <peon@keba.com>
7423
b42eca7d
GY
74242014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7425
7426 [BZ #16882]
7427 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7428 (pthread_spin_lock): Branch out of spin loop to proper location.
7429 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7430 (pthread_spin_lock): Likewise.
7431
902b71f9
DM
7432 * nptl/tst-spin4.c: New test.
7433 * nptl/Makefile (tests): Add tst-spin4.
7434
f9d2d032
AS
74352014-06-03 Andreas Schwab <schwab@suse.de>
7436
7437 [BZ #15946]
7438 * resolv/res_send.c (send_dg): Reload file descriptor after
7439 calling reopen.
7440
cf7bfd28
SL
74412014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7442
7443 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7444
111cc714
RH
74452014-06-03 Richard Henderson <rth@redhat.com>
7446
89b4bd6b
RH
7447 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7448 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7449 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7450 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7451 in the SAVE_PID block.
7452 (__libc_vfork): New alias.
71840409 7453 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7454
111cc714
RH
7455 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7456 child in registers, not on the stack. Remove RESET_PID conditionals.
7457 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7458
ccc39911
MS
74592014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7460
7461 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7462
693096cc
W
74632014-06-03 Wilco <wdijkstr@arm.com>
7464
7465 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7466 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7467 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7468 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7469 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7470 Likewise.
7471
0b4366bc
W
74722014-06-03 Wilco <wdijkstr@arm.com>
7473
7474 * sysdeps/aarch64/fpu/math_private.h
7475 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7476 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7477 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7478 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7479 Fix declarations.
7480
8747cd03
KS
74812014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7482
7483 * crypt/crypt-private.h: Include ufc-crypt.h.
7484 (__b64_from_24bit): Declare extern.
7485 * crypt/crypt_util.c(__b64_from_24bit): New function.
7486 (b64t): New static const variable.
7487 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7488 (b64t): Remove variable.
7489 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7490 * crypt/sha256-crypt.c: Include crypt-private.h.
7491 (b64t): Remove variable.
7492 (__sha256_crypt_r): Remove b64_from_24bit and replace
7493 with __b64_from_24bit.
7494 * crypt/sha512-crypt.c: Likewise.
7495
d936d379
RM
74962014-06-02 Roland McGrath <roland@hack.frob.com>
7497
7498 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7499 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7500 Label the code __libc_vfork rather than __vfork.
7501 [!NOT_IN_libc] (vfork): Define as weak alias.
7502 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7503 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7504 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7505
9fa76613
SP
75062014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7507
7508 * malloc/malloc.c (malloc_info): Fix format specifier for
7509 n_mmaps.
7510
a88dadbe
W
75112014-06-02 Wilco <wdijkstr@arm.com>
7512
7513 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7514 FPCR write.
7515
c95b3011
W
75162014-06-02 Wilco <wdijkstr@arm.com>
7517
7518 [BZ #17009]
7519 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7520 Rewrite to reduce FPCR/FPSR accesses.
7521
6b4d7a90
DM
75222014-06-01 David S. Miller <davem@davemloft.net>
7523
7524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7525
30f3d07c
DM
75262014-05-31 David S. Miller <davem@davemloft.net>
7527
7528 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7529 to occur in round to nearest mode when |x| >= 2.0
7530
74f31c18
RH
75312014-05-30 Richard Henderson <rth@twiddle.net>
7532
f0712b54
RH
7533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7534 (PSEUDO_RET_NOERRNO): Remove.
7535 (ret): Don't redefine.
7536 (ret_NOERRNO): Define in terms of ret.
7537 (ret_ERRVAL): Likewise.
7538
74f31c18
RH
7539 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7540 use of PSEUDO_RET; perform the error check directly.
7541
30477995
MM
75422014-05-30 Marko Myllynen <myllynen@redhat.com>
7543
7544 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7545 with __int128_t.
7546
62a58816
SP
75472014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7548
7549 * malloc/malloc (malloc_info): Fix formatting.
7550
4d653a59
SP
75512014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7552 Roland McGrath <roland@hack.frob.com>
7553
7554 * malloc/malloc (malloc_info): Also print mmapped statistics.
7555
5190c17f
RM
75562014-05-30 Roland McGrath <roland@hack.frob.com>
7557
7558 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7559 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7560
987c0269
OB
75612014-05-30 Ondřej Bílka <neleai@seznam.cz>
7562
7563 * malloc/malloc.c (malloc_info): Inline mi_arena.
7564
af4e8ef9
RH
75652014-05-29 Richard Henderson <rth@twiddle.net>
7566
1670e207
RH
7567 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7568 Remove comma before expanding ASM_ARGS_##nr.
7569 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7570 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7571 of ASM_ARGS_##nr.
7572 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7573 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7574 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7575 (ASM_ARGS_1): Add leading comma.
7576
11a28aee
RH
7577 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7578 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7579 to __errno_location.
7580 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7581 Remove the expected plt for __errno_location.
7582
a17e5ffb 7583 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7584 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7585 call to __read_tp.
7586
b5be4597
RH
7587 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7588 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7589 it and break it down.
7590 (DOCARGS_0, DOCARGS_1): Do nothing.
7591 (DOCARGS_2): Update to store into the new stack frame.
7592 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7593 (UNDOCARGS_1): Update to restore from the new stack frame.
7594 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7595 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7596
645d44ab
RH
7597 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7598 (SINGLE_THREAD_P): New parameter for result regno.
7599 (PSEUDO): Update to match; use cbz instead of beq.
7600
a8b4f04a
RH
7601 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7602 Use ENTRY to define the _nocancel entry point. Share the syscall
7603 and syscall error check paths with the cancel path.
7604 (PSEUDO_END): New.
7605
af4e8ef9
RH
7606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7607 whitespace; tabs before and after asm mnemonics.
7608
26b0d2e1
EW
76092014-05-29 Eric Wong <normalperson@yhbt.net>
7610
7611 [BZ #15132]
7612 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7613 Call fstat64 or stat64 internally, depending on arguments passed.
7614 Replace stat buffer argument with file descriptor argument.
7615 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7616 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7617 Pass fd to __internal_statvfs instead of calling fstat64.
7618 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7619 Pass fd to __internal_statvfs64 instead of calling fstat64.
7620 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7621 Pass -1 to __internal_statvfs instead of calling stat64.
7622 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7623 Pass -1 to __internal_statvfs64 instead of calling stat64.
7624
1efe2bd9
RM
76252014-05-28 Roland McGrath <roland@hack.frob.com>
7626
0d3b7a19
RM
7627 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7628 that was previously under [RESET_PID].
7629 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7630
1efe2bd9
RM
7631 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7632 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7633
a6bea3ca
RM
76342014-05-27 Roland McGrath <roland@hack.frob.com>
7635
30b6629e
RM
7636 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7637
a6bea3ca
RM
7638 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7639 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7640
3dfb9a5c
OB
76412014-05-27 Ondřej Bílka <neleai@seznam.cz>
7642
7643 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7644
774f9285
AS
76452014-05-27 Andreas Schwab <schwab@suse.de>
7646
7647 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7648 TLS_INIT_TP macro.
7649 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7650 * elf/rtld.c (init_tls, dl_main): Likewise.
7651 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7652 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7653 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7654 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7655 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7656 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7657 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7658 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7659 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7660 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7661 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7662 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7663 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7664 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7665 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7666 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7667 * sysdeps/generic/tls.h: Update description.
7668
36ffe739
WN
76692014-05-27 Will Newton <will.newton@linaro.org>
7670
7671 [BZ #16990]
7672 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7673 and restore r2 rather than just restoring.
7674
2482ae43
SP
76752014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7676
7677 [BZ #16724]
7678 * libio/tst-ftell-append.c: New test case.
7679 * libio/Makefile (tests): Add test case.
7680 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7681 append mode.
7682 * libio/wfileops.c (do_ftell_wide): Likewise.
7683
3d1024e8
AZ
76842014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7685
bab90016
AZ
7686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7687
c7a8d667
AZ
7688 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7689 ...
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7692 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7693 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7694 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7695 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7696 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7697 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7699 Moved ...
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7702 Moved ...
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7704 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7705 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7706 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7707 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7708 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7709 ...
7710 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7711 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7712 Moved ...
7713 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7714 here.
7715 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7716 ...
7717 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7718 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7719 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7720
daee7851
AZ
7721 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7722 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7723 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7724 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7725
50a40819
AZ
7726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7727 merge into ...
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7729 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7730 ...
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7733 ...
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7736 Moved ...
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7738 here.
7739 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7740 Moved ...
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7742 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7743 Moved ...
7744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7745
8464c2a1
AZ
7746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7747 conditional [RESET_PID].
7748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7750 removed.
7751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7752 removed.
7753
3d1024e8
AZ
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7755 <tcb-offsets.h>.
7756 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7757 (__libc_vfork): New strong alias.
7758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7759 removed.
7760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7761 Removed.
7762
7763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7764 <tcb-offsets.h>.
7765 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7766 (__libc_vfork): New strong alias.
7767 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7768 removed.
7769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7770 removed.
7771
fdfd175d
CD
77722014-05-26 Carlos O'Donell <carlos@redhat.com>
7773
7774 * malloc/malloc.c (mi_arena): New function.
7775 (malloc_info): Remove nested function mi_arena. Call non-nosted
7776 function mi_arena.
7777
d298c416
AZ
77782014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7779
7780 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7781 by insrwi.
7782 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7783 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7784 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7785 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7786 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7787 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7788 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7789
b60ea6ff
AS
77902014-05-26 Andreas Schwab <schwab@suse.de>
7791
7792 [BZ #16984]
7793 * locale/programs/repertoire.c (repertoire_read): Add slash
7794 between I18NPATH element and file name.
7795 * locale/programs/locfile.c (locfile_read): Likewise.
7796
67365926
SL
77972014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7798
7799 * nptl/pthread_mutexattr_settype.c
7800 (__pthread_mutexattr_settype):
7801 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7802
f8bdf1f0
SL
78032014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7804
7805 * nptl/tst-mutex5 (do_test):
7806 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7807
15eaf6ff
SP
78082014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7809
7810 * benchtests/README: Document 'init' directive.
7811 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7812 BENCH_INIT.
7813 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7814 (parse_file): Recognize 'init' directive.
7815
75f11331
KM
78162014-05-26 Kyle McMartin <kyle@redhat.com>
7817
7818 [BZ #16796]
7819 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7820 alignment of struct pthread.
7821
c3ec475c
SP
78222014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7823
7824 [BZ #16878]
7825 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7826 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7827 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7828 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7829
82aab97c
RH
78302014-05-25 Richard Henderson <rth@twiddle.net>
7831
aa2f176d
RH
7832 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7833 (SINGLE_THREAD_P_PIC): Remove.
7834 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7835 (SINGLE_THREAD_P_PIC): Remove.
7836
ca3cfa40
RH
7837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7838 branch to syscall error ...
7839 (PSEUDO): ... here.
7840 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7841 from __local_syscall_error to .Lsyscall_error.
7842 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7843 (SYSCALL_ERROR): Update label name.
7844
6e6c2d01
RH
7845 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7846 Do not use DOARGS/UNDOARGS.
7847 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7848 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7849 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7850 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7851 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7852
c69abcee
RH
7853 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7854 block comment.
7855
82aab97c
RH
7856 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7857 define if !NOT_IN_libc.
7858 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7859 define with non-default symbol versions.
7860
8820e3ac
RH
78612014-05-23 Richard Henderson <rth@twiddle.net>
7862
900e445f
RH
7863 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7864 (vfork, __vfork): Define via compat_symbol.
7865
8820e3ac
RH
7866 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7867 [!HAVE_IFUNC] (vfork_compat): Remove.
7868 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7869
e59252a5
JM
78702014-05-23 Joseph Myers <joseph@codesourcery.com>
7871
7872 [BZ #16978]
7873 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7874 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7875 variable.
7876
132c7f5f
RH
78772014-05-23 Richard Henderson <rth@twiddle.net>
7878
bc89e962
RH
7879 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7880 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7881 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7882 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7883
7884 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7885 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7886 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7887 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7888 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7889 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7890 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7891 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7892 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7893 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7894 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7895 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7896 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7897 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7898 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7899 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7900 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7901 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7903 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7904 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7905 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7906 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7907 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7908 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7909 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7910 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7911 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7912 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7913 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7914 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7915 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7916 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7917 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7918 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7919 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7920 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7921 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7923 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7924 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7925 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7926 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7927 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7928 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7929 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7930 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7931 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7932 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7933 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7934 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7935 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7936 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7937 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7938 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7939 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7940
e2fa4bc2
RH
7941 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7942 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7943 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7944 before exiting on error.
7945 (__libc_vfork): New strong alias.
7946 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7947 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7948
279b24e2
RH
7949 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7950 that was previously under [RESET_PID].
7951 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7952
132c7f5f
RH
7953 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7954
b72592e7
JM
79552014-05-23 Joseph Myers <joseph@codesourcery.com>
7956
7957 [BZ #16977]
7958 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7959 value when x - 1 is zero.
7960 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7961 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7962 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7963 0.0L for an argument of 1.0L.
7964 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7965 Likewise.
7966 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7967 value when x - 1 is zero.
7968 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7969 * sysdeps/i386/fpu/libm-test-ulps: Update.
7970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7971
2302d679
RV
79722014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7973
7974 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7975 alphasort and versionsort.
7976
32999d63
AZ
79772014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7978
7979 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7980 macro.
7981 [copysignf]: Likewise.
7982
019324d0
SP
79832014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7984
7985 * crypt/md5-crypt.c: Fix formatting.
7986
34fff5c2
KS
79872014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7988
7989 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7990 (b64_from_24bit): New function.
7991
3d2badac
AZ
79922014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7993
7994 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7995 libc_hidden_builtin_def to ifunc.
7996 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7997 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7998
f7bb179f 79992014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
8000
8001 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8002 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8003
4134b50d
JM
80042014-05-21 Joseph Myers <joseph@codesourcery.com>
8005
bb7d0337
JM
8006 * nscd/Depend (linuxthreads): Remove.
8007 (nptl): Add.
8008 * resolv/Depend (linuxthreads): Remove.
8009 * rt/Depend (linuxthreads): Remove.
8010
4134b50d
JM
8011 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8012 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8013 $(common-objpfx)elf/.
8014 (link-libc-before-gnulib): Likewise.
8015 (elfobjdir): Remove variable.
8016 * Makefile (install): Use $(elf-objpfx) instead of
8017 $(common-objpfx)elf/.
8018 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8019 $(elfobjdir)/.
8020 (link-libc-deps): Likewise.
8021 ($(common-objpfx)libc.so): Likewise.
8022 ($(common-objpfx)linkobj/libc.so): Likewise.
8023 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8024 instead of $(common-objpfx)elf/.
8025 (symbolic-link-list): Likewise.
8026 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8027 [$(cross-compiling) = no]: Likewise.
8028 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8029 $(elfobjdir)/.
8030 (static-gnulib-arch): Likewise.
8031 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8032 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8033 $(common-objpfx)elf/.
8034
3612eb8f
RH
80352014-05-21 Richard Henderson <rth@redhat.com>
8036
a6b3657b
RH
8037 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8038 (SINGLE_THREAD_P): Use the correct width load. Fold
8039 into the ldr offset.
8040
3612eb8f
RH
8041 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8042 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8043
175cef41
JM
80442014-05-20 Joseph Myers <joseph@codesourcery.com>
8045
8046 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8047 (libgcc_s_resume): Use __attribute_used__.
8048 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8049 Likewise.
8050
e13bccd3
AZ
80512014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8052
8053 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8054 optimization when used with float constants.
8055
7c112a38
AZ
8056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8057
ae75a883
AJ
80582014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8059
8060 [BZ #16915]
8061 * locale/nl_langinfo_l.c: Make direct reference to every
8062 _nl_current_CATEGORY symbol.
8063 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8064 (tests-static): Add tst-langinfo-static.
8065 (tests-special): Add tst-langinfo-static.out.
8066 ($(objpfx)tst-langinfo.out): Redirect output.
8067 ($(objpfx)tst-langinfo-static.out): New.
8068 * localedata/tst-langinfo.sh: Send output to stdout.
8069 * localedata/tst-langinfo-static.c: New file.
8070
4406c41c
AJ
8071 [BZ #16965]
8072 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8073 when the shift amount is modulo the limb size.
8074
4c0a1e63
RH
80752014-05-20 Richard Henderson <rth@redhat.com>
8076
de9d8f20
RH
8077 [BZ #16967]
8078 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8079 Change type of sa_flags from unsigned int to int.
8080
4c0a1e63
RH
8081 [BZ #16966]
8082 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
8083
8084 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8085
a60339aa
WN
80862014-05-20 Will Newton <will.newton@linaro.org>
8087
8088 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8089 Test the return value of the system call in the nocancel case.
8090
7d05a816
YR
80912014-05-20 Will Newton <will.newton@linaro.org>
8092 Yvan Roux <yvan.roux@linaro.org>
8093
8094 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8095 #include of asm/ptrace.h.
8096 (PTRACE_GET_THREAD_AREA): Remove #undef.
8097 (PTRACE_GETHBPREGS): Likewise.
8098 (PTRACE_SETHBPREGS): Likewise.
8099 (struct user_regs_struct): New structure.
8100 (struct user_fpsimd_struct): New structure.
8101 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8102 #include of asm/ptrace.h and second #include of sys/user.h.
8103 (PTRACE_GET_THREAD_AREA): Remove #undef.
8104 (PTRACE_GETHBPREGS): Likewise.
8105 (PTRACE_SETHBPREGS): Likewise.
8106 (ELF_NGREG): Use new struct user_regs_struct.
8107 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8108
af121e37
AZ
81092014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8110
8111 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8112 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8113
834caf06
JM
81142014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8115
8116 [BZ #16958]
8117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8118 membar to avoid block loads/stores to overlap previous stores.
8119
e184a918
RH
81202014-05-17 Richard Henderson <rth@redhat.com>
8121
8122 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8123 Create the __##syscall_name##_nocancel entry point.
8124 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8125 Remove; let the sysdep-cancel.h code create it.
8126
f56c7a6a
DM
81272014-05-17 David S. Miller <davem@davemloft.net>
8128
8129 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8130 Protect with __USE_GNU.
8131 (TIOCSET_TEMPT): Likewise.
8132 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8133 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8134 these are already provided in bits/ioctl-types.h
8135
f75616b2
RM
81362014-05-16 Roland McGrath <roland@hack.frob.com>
8137
3edeca86
RM
8138 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8139 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8140
f75616b2
RM
8141 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8142 Use wait4 regardless of [__NR_waitpid].
8143
deb0f7f6
MR
81442014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8145
8146 PR libgcc/60166
8147 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8148 (_FP_NANSIGN_Q): Set the quiet bit.
8149
79520f4b
JM
81502014-05-16 Joseph Myers <joseph@codesourcery.com>
8151
8152 * benchtests/Makefile
8153 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8154 not $(common-objpfx)math/libm.so.
8155 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8156 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8157 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8158 $(common-objpfx)dlfcn/libdl.so.
8159 ($(objpfx)tst-audit8): Depend on $(libm), not
8160 $(common-objpfx)math/libm.so.
8161 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8162 not $(common-objpfx)dlfcn/libdl.so.
8163 * math/Makefile
8164 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8165 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8166 [$(build-shared) = yes].
8167 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8168 $(common-objpfx)nptl/libpthread.so.
8169 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8170 $(common-objpfx)math/libm.so$(libm.so-version) or
8171 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8172 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8173 $(common-objpfx)dlfcn/libdl.so.
8174 * setjmp/Makefile (link-libm): Remove variable.
8175 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8176 * stdio-common/Makefile (link-libm): Remove variable.
8177 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8178 * stdlib/Makefile (link-libm): Remove variable.
8179 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8180 ($(objpfx)tst-strtod-round): Likewise.
8181 ($(objpfx)tst-tininess): Likewise.
8182 ($(objpfx)tst-strtod-underflow): Likewise.
8183 ($(objpfx)tst-strtod6): Likewise.
8184 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8185 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8186 $(common-objpfx)dlfcn/libdl.so.
8187
026b0fe4
AZ
81882014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8189
8190 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8191 BSD terminal modes definitions.
8192
def4bcb2
RM
81932014-05-16 Roland McGrath <roland@hack.frob.com>
8194
fe39b021
RM
8195 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8196 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8197
1d1fc46e 8198 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8199 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8200 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8201 Don't do #include_next.
8202 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8203 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8204 Don't do #include_next.
8205 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8206 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8207 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8208 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8209
c72399fb
AM
82102014-05-16 Allan McRae <allan@archlinux.org>
8211
d51d659d
AM
8212 * po/sv.po: Update Swedish translation from translation project.
8213
c72399fb
AM
8214 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8215 in sed expression.
8216
d0583c40
AJ
82172014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8218
8219 [BZ #16917]
8220 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8221 errno if the TIOCGPTN ioctl fails with an error different than
8222 EINVAL.
8223 * login/tst-ptsname.c: New file.
8224 * login/Makefile (tests): Add tst-ptsname.
8225
d16e6ec7
AJ
8226 [BZ #16943]
8227 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8228 and prlimit64.
8229
cf26a0cb
SP
82302014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8231
8232 [BZ #16849]
8233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8234 herrno to return EAI_AGAIN.
8235
5675da1e
RM
82362014-05-14 Roland McGrath <roland@hack.frob.com>
8237
a5d87b3d
RM
8238 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8239 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8240 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8241 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8242 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8243 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8244 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8245 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8246 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8247 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8248 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8249 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8250 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8251 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8252 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8253 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8254 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8255 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8256 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8257 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8258 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8259 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8260 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8261 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8262 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8263 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8264 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8265 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8266 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8267 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8269 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8271 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8273 Moved ...
8274 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8276 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8278 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8280 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8282 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8284 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8286 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8288 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8290 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8292 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8294 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8296 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8298 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8300 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8302 Moved ...
8303 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8305 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8307 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8309 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8311 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8313 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8315 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8319 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8321 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8323 Moved ...
8324 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8326 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8327
039890a6
RM
8328 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8329 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8330 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8331 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8332 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8333 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8334 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8335 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8336 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8337 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8338 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8339 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8340 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8341 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8342 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8343 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8344 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8345 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8346 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8347 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8348 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8349 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8350 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8351 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8352 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8353 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8354 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8355 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8356 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8357 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8358 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8359
65c89320
RM
8360 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8361 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8362
348f8e8c
RM
8363 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8364 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8365 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8366 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8367 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8369 Moved ...
8370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8371 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8372 Moved ...
8373 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8375 Moved ...
8376 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8378 Moved ...
8379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8381 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8383 Moved ...
8384 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8385 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8386 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8387 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8388 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8389 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8390 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8392 Moved ...
8393 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8394 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8395 Moved ...
8396 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8397 ... here.
8398 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8399 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8400 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8401 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8402 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8403 Moved ...
8404 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8405 ... here.
8406 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8407 Moved ...
8408 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8409 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8410 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8411 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8412 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8414 Moved ...
8415 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8416 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8417 Moved ...
8418 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8419 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8420 Moved ...
8421 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8423 Moved ...
8424 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8425 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8426 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8427 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8428 Moved ...
8429 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8430 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8431 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8432 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8433 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8434 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8435 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8437 Moved ...
8438 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8439 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8440 Moved ...
8441 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8442 ... here.
8443 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8444 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8445 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8446 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8447 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8448 Moved ...
8449 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8450 ... here.
8451 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8452 Moved ...
8453 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8455 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8456 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8457 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8458 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8459 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8460 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8461 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8462 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8463 Moved ...
8464 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8465 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8466 Moved ...
8467 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8469 Moved ...
8470 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8472 Moved ...
8473 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8474 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8475 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8476 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8477 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8478 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8479 Moved ...
8480 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8481 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8482 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8484 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8485 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8486 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8488 Moved ...
8489 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8490 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8491 Moved ...
8492 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8493 ... here.
8494 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8495 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8496 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8497 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8498 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8499 Moved ...
8500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8501 ... here.
8502 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8503 Moved ...
8504 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8505 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8506 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8507 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8508 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8509 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8510 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8511 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8512 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8513 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8514 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8515
5085af05
RM
8516 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8517 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8518
708f0813
RM
8519 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8520 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8521
c96067bc
RM
8522 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8523 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8524 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8525 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8526 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8527 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8528 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8529 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8530 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8531 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8532 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8533 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8534 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8535 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8536 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8538 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8539 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8540 Moved ...
8541 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8543 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8545 Moved ...
8546 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8547 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8548 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8550 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8551 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8552 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8554 Moved ...
8555 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8557 Moved ...
8558 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8560 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8561 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8562 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8563 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8564 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8565 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8566 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8567 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8568 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8569 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8570 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8571 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8572 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8573 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8574 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8575
ec136444
RM
8576 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8577 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8578 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8579 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8580 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8581
2fbdf533
RM
8582 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8583 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8584 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8585 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8586 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8587 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8588 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8589 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8590 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8591 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8592
4c68138b
RM
8593 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8594 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8595
4eaae765
RM
8596 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8597 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8598 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8599 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8600 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8601 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8602 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8603 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8604 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8605 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8606 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8607 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8608 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8609 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8611 Update #include.
8612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8613 Likewise.
8614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8615 Likewise.
8616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8617 Likewise.
8618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8619 Likewise.
8620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8621 Likewise.
8622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8623 Likewise.
8624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8625 Likewise.
8626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8627 Likewise.
8628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8629 Likewise.
4ef6befa
RM
8630 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8631 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8632 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8633 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8635 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8636 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8637 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8638 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8639 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8640 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8641 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8642 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8643 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8644 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8645
941d7dfd
RM
8646 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8647 that was previously under [RESET_PID].
8648 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8649 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8650 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8651
1b731c35
RM
8652 * sysdeps/i386/nptl/Implies: New file.
8653 * sysdeps/x86_64/nptl/Implies: New file.
8654 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8655 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8656 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8657 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8658
e2787137
RM
8659 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8660 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8661 (__libc_vfork): New strong alias.
8662 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8663 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8664
8665 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8666 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8667 (__libc_vfork): New strong alias.
8668 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8669 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8670
5675da1e
RM
8671 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8672 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8673 (__libc_vfork): New strong alias.
8674 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8675 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8676 * nptl/pt-vfork.c: New file.
8677 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8678 (libpthread: GLIBC_2.20): New version set (empty).
8679
4f02e2b8
WN
86802014-05-14 Will Newton <will.newton@linaro.org>
8681
8682 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8683 rather than #if.
8684
0bf061d3
JM
86852014-05-14 Joseph Myers <joseph@codesourcery.com>
8686
1a84c3d6
JM
8687 [BZ #16564]
8688 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8689 arguments with exponent 65 or above.
8690 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8691 arguments 0x1p113L or above.
8692 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8693 to arguments 0x1p107L or above.
8694 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8695 positive arguments with exponent 65 or above.
8696 * math/auto-libm-test-in: Add more tests of log1p.
8697 * math/auto-libm-test-out: Regenerated.
8698
01dbacd2
JM
8699 [BZ #16928]
8700 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8701 non-finite arguments is +0.
8702 * math/s_cacosf.c (__cacosf): Likewise.
8703 * math/s_cacosl.c (__cacosl): Likewise.
8704 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8705 * sysdeps/i386/fpu/libm-test-ulps: Update.
8706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8707
913d03c8
JM
8708 [BZ #16927]
8709 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8710 value.
8711 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8712 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8713 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8714 for explicit high bit of mantissa when testing for argument equal
8715 to 1.
8716 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8717 * sysdeps/i386/fpu/libm-test-ulps: Update.
8718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8719
0bf061d3
JM
8720 [BZ #16516]
8721 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8722 (__erf): Scale by 16 instead of 8 in potentially underflowing
8723 case. Ensure exception if result actually underflows.
8724 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8725 (__erff): Scale by 16 instead of 8 in potentially underflowing
8726 case. Ensure exception if result actually underflows.
8727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8728 (efx8): Remove variable.
8729 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8730 case. Ensure exception if result actually underflows.
8731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8732 (efx8): Remove variable.
8733 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8734 case. Ensure exception if result actually underflows.
8735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8736 (efx8): Remove variable.
8737 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8738 case. Ensure exception if result actually underflows.
8739 * math/auto-libm-test-in: Add more tests of erf.
8740 * math/auto-libm-test-out: Regenerated.
8741
73ba67cb
AS
87422014-05-14 Andreas Schwab <schwab@suse.de>
8743
3d8c8bff
AS
8744 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8745 Remove code conditionalized on USE___THREAD.
8746
73ba67cb
AS
8747 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8748 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8749 not definedness.
8750
5c521ecd
JM
87512014-05-14 Joseph Myers <joseph@codesourcery.com>
8752
5e7698c6
JM
8753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8754 Define unconditionally.
8755 (__ASSUME_O_CLOEXEC): Likewise.
8756 (__ASSUME_SOCK_CLOEXEC): Likewise.
8757 (__ASSUME_IN_NONBLOCK): Likewise.
8758 (__ASSUME_PIPE2): Likewise.
8759 (__ASSUME_EVENTFD2): Likewise.
8760 (__ASSUME_SIGNALFD4): Likewise.
8761 (__ASSUME_DUP3): Likewise.
8762 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8763 (__ASSUME_DUP3): Do not define.
8764 (__ASSUME_EVENTFD2): Likewise.
8765 (__ASSUME_IN_NONBLOCK): Likewise.
8766 (__ASSUME_O_CLOEXEC): Likewise.
8767 (__ASSUME_PIPE2): Likewise.
8768 (__ASSUME_SIGNALFD4): Likewise.
8769 (__ASSUME_SOCK_CLOEXEC): Likewise.
8770 (__ASSUME_UTIMES): Undefine.
8771 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8772 (__ASSUME_UTIMES): Do not define.
8773 (__ASSUME_O_CLOEXEC): Likewise.
8774 (__ASSUME_SOCK_CLOEXEC): Likewise.
8775 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8776 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8777 0x020621].
8778 (__ASSUME_PIPE2): Likewise.
8779 (__ASSUME_EVENTFD2): Likewise.
8780 (__ASSUME_SIGNALFD4): Likewise.
8781 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8782 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8783 Do not define.
8784 (__ASSUME_EVENTFD2): Likewise.
8785 (__ASSUME_SIGNALFD4): Likewise.
8786 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8787 (__ASSUME_32BITUIDS): Likewise.
8788 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8789 (__ASSUME_IPC64): Likewise.
8790 (__ASSUME_ST_INO_64_BIT): Likewise.
8791 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8792 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8793 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8794 (__ASSUME_UTIMES): Do not define.
8795 (__ASSUME_PSELECT): Likewise.
8796 (__ASSUME_PPOLL): Likewise.
8797 (__ASSUME_O_CLOEXEC): Likewise.
8798 (__ASSUME_SOCK_CLOEXEC): Likewise.
8799 (__ASSUME_IN_NONBLOCK): Likewise.
8800 (__ASSUME_PIPE2): Likewise.
8801 (__ASSUME_EVENTFD2): Likewise.
8802 (__ASSUME_SIGNALFD4): Likewise.
8803 (__ASSUME_DUP3): Likewise.
8804 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8805 (__ASSUME_UTIMES): Likewise.
8806 (__ASSUME_O_CLOEXEC): Likewise.
8807 (__ASSUME_SOCK_CLOEXEC): Likewise.
8808 (__ASSUME_IN_NONBLOCK): Likewise.
8809 (__ASSUME_PIPE2): Likewise.
8810 (__ASSUME_EVENTFD2): Likewise.
8811 (__ASSUME_SIGNALFD4): Likewise.
8812 (__ASSUME_DUP3): Likewise.
8813 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8814 (__ASSUME_UTIMES): Likewise.
8815 (__ASSUME_O_CLOEXEC): Likewise.
8816 (__ASSUME_SOCK_CLOEXEC): Likewise.
8817 (__ASSUME_IN_NONBLOCK): Likewise.
8818 (__ASSUME_PIPE2): Likewise.
8819 (__ASSUME_EVENTFD2): Likewise.
8820 (__ASSUME_SIGNALFD4): Likewise.
8821 (__ASSUME_DUP3): Likewise.
8822 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8823 Likewise.
8824 (__ASSUME_UTIMES): Likewise.
8825 (__ASSUME_EVENTFD2): Likewise.
8826 (__ASSUME_SIGNALFD4): Likewise.
8827 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8828 (__ASSUME_O_CLOEXEC): Likewise.
8829 (__ASSUME_SOCK_CLOEXEC): Likewise.
8830 (__ASSUME_IN_NONBLOCK): Likewise.
8831 (__ASSUME_PIPE2): Likewise.
8832 (__ASSUME_EVENTFD2): Likewise.
8833 (__ASSUME_SIGNALFD4): Likewise.
8834 (__ASSUME_DUP3): Likewise.
8835 (__ASSUME_UTIMES): Undefine.
8836
5c521ecd
JM
8837 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8838 feclearexcept. Remove symbol versioning code.
8839 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8840 symbol versioning code.
8841 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8842 symbol versioning code.
8843 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8844 feupdateenv. Remove symbol versioning code.
8845 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8846 fegetexceptflag. Remove symbol versioning code.
8847 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8848 fesetexceptflag. Remove symbol versioning code.
8849 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8850 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8851 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8852 (__posix_fadvise64_l32): Remove prototype.
8853 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8854 code.
8855
5da9dfad
RM
88562014-05-13 Roland McGrath <roland@hack.frob.com>
8857
8858 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8859 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8860 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8861 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8862
893b4f37
SK
88632014-05-13 Sami Kerola <kerolasa@iki.fi>
8864
8865 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8866 current working directory
8867
e0db6517
RM
88682014-05-13 Roland McGrath <roland@hack.frob.com>
8869
58aa195d
RM
8870 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8871 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8872 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8873 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8874 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8875 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8876 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8877 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8878 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8879 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8880 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8881 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8882 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8883 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8884 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8885 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8886 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8887 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8888 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8889 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8890 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8891 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8892 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8893 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8894 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8895 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8896 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8897 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8898 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8899 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8900 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8901 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8902 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8903 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8904 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8905 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8906 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8907 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8908 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8909 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8910 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8911 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8912
8c6d01f0
RM
8913 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8914 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8915
8916 * sysdeps/unix/sysv/linux/arm/Makefile
8917 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8918 Add rt-aeabi_unwind_cpp_pr1.
8919 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8920 Add nptl-aeabi_unwind_cpp_pr1.
8921 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8922 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8923 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8924 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8925 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8926 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8927
8928 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8929 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8930 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8931 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8932
bba6da4e
RM
8933 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8934 Deconditionalize the code that was previously under [RESET_PID].
8935 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8936
e0db6517
RM
8937 * sysdeps/generic/exit-thread.h: New file.
8938 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8939 * include/unistd.h (__exit_thread): Remove declaration.
8940 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8941 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8942 * csu/libc-start.c: Include <exit-thread.h>.
8943 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8944 * nptl/pthread_create.c: Include <exit-thread.h>.
8945 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8946 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8947 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8948 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8949 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8950 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8951 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8952 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8953 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8954 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8955 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8956 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8957 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8958 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8959 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8960 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8961 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8962
01eb16fd
AS
89632014-05-13 Andreas Schwab <schwab@suse.de>
8964
8965 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8966
637461d9
JM
89672014-05-12 Joseph Myers <joseph@codesourcery.com>
8968
8969 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8970 (__ASSUME_UTIMES): Do not condition on kernel version.
8971 (__ASSUME_PSELECT): Define unconditionally.
8972 (__ASSUME_PPOLL): Likewise.
8973 (__ASSUME_ATFCTS): Likewise.
8974 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8975 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8976 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8977 (__ASSUME_UTIMENSAT): Define unconditionally.
8978 (__ASSUME_PRIVATE_FUTEX): Likewise.
8979 (__ASSUME_FALLOCATE): Likewise.
8980 (__ASSUME_O_CLOEXEC): Likewise.
8981 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8982 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8983 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8984 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8985 (__ASSUME_IN_NONBLOCK): Likewise.
8986 (__ASSUME_PIPE2): Likewise.
8987 (__ASSUME_EVENTFD2): Likewise.
8988 (__ASSUME_SIGNALFD4): Likewise.
8989 (__ASSUME_DUP3): Likewise.
8990 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8991 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8992 (__ASSUME_AT_RANDOM): Likewise.
8993 (__ASSUME_PREADV): Likewise.
8994 (__ASSUME_PWRITEV): Likewise.
8995 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8996 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8997 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8998 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8999 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9000 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9001 (__ASSUME_O_CLOEXEC): Define unconditionally.
9002 (__ASSUME_PSELECT): Do not undefine conditionally.
9003 (__ASSUME_PPOLL): Likewise.
9004 (__ASSUME_ATFCTS): Likewise.
9005 (__ASSUME_SET_ROBUST_LIST): Likewise.
9006 (__ASSUME_UTIMENSAT): Likewise.
9007 (__ASSUME_FDATASYNC): Define unconditionally.
9008 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9009 (__ASSUME_SIGFRAME_V2): Likewise.
9010 )__ASSUME_EVENTFD2): Likewise.
9011 (__ASSUME_SIGNALFD4): Likewise.
9012 (__ASSUME_PSELECT): Do not undefine conditionally.
9013 (__ASSUME_PPOLL): Likewise.
9014 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9015 (__ASSUME_PSELECT): Define unconditionally.
9016 (__ASSUME_PPOLL): Likewise.
9017 (__ASSUME_O_CLOEXEC): Likewise.
9018 (__ASSUME_SOCK_CLOEXEC): Likewise.
9019 (__ASSUME_IN_NONBLOCK): Likewise.
9020 (__ASSUME_PIPE2): Likewise.
9021 (__ASSUME_EVENTFD2): Likewise.
9022 (__ASSUME_SIGNALFD4): Likewise.
9023 (__ASSUME_DUP3): Likewise.
9024 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9025 (__ASSUME_O_CLOEXEC): Likewise.
9026 (__ASSUME_SOCK_CLOEXEC): Likewise.
9027 (__ASSUME_IN_NONBLOCK): Likewise.
9028 (__ASSUME_PIPE2): Likewise.
9029 (__ASSUME_EVENTFD2): Likewise.
9030 (__ASSUME_SIGNALFD4): Likewise.
9031 (__ASSUME_DUP3): Likewise.
9032 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9033 (__ASSUME_EVENTFD2): Likewise.
9034 (__ASSUME_SIGNALFD4): Likewise.
9035 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9036
315eb1d8
AS
90372014-05-12 Andreas Schwab <schwab@suse.de>
9038
9039 [BZ #16932]
9040 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9041 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9042 than maximum RPC packet size.
9043 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9044 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9045 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9046 (_nss_nis_getservbyport_r): Likewise.
9047
91df99f7
WN
90482014-05-12 Will Newton <will.newton@linaro.org>
9049
9050 * malloc/Makefile (tests): Add tst-mallopt.
9051 * malloc/tst-mallopt.c: New file.
9052
0a982a29
RM
90532014-05-09 Roland McGrath <roland@hack.frob.com>
9054
9055 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9056 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9057
0ded08a5
AZ
90582014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9059
9060 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9061 (tst-tlsmod6.so): Likewise.
9062
55d4d550
RM
90632014-05-09 Roland McGrath <roland@hack.frob.com>
9064
9065 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9066
77d08aca
JM
90672014-05-09 Joseph Myers <joseph@codesourcery.com>
9068
9069 [BZ #16064]
9070 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9071 and <dl-procinfo.h>.
9072 (__fegetenv): Save SSE state in envp->__eip if supported.
9073 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9074 envp->__eip if supported.
9075 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9076 and <dl-procinfo.h>.
9077 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9078 __data_offset and __data_selector in environment to 0. Set SSE
9079 state if supported.
9080 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9081 test-fenv-sse.
9082 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9083 -mfpmath=sse.
9084 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9085
28162f4d
WN
90862014-05-09 Will Newton <will.newton@linaro.org>
9087
9088 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9089 and libc_relro_required for ARM.
9090 * sysdeps/arm/preconfigure: Regenerate.
9091
5a414ff7
DV
90922014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9093 Stefan Liebler <stli@linux.vnet.ibm.com>
9094
9095 * config.make.in (enable-lock-elision): New Makefile variable.
9096 * configure.ac: Likewise.
9097 * configure: Regenerate.
9098 * sysdeps/s390/configure.ac:
9099 Add check for gcc transactions support.
9100 * sysdeps/s390/configure: Regenerate.
9101 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9102 Build elision files if enabled.
9103 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9104 Add lock elision support for s390.
9105 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9106 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9107 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9108 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9109 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9110 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9111 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9112 Likewise.
9113 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9114 Likewise.
9115 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9116 Likewise.
9117 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9118 Likewise.
9119 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9120 (__lll_timedlock_elision, __lll_lock_elision)
9121 (__lll_unlock_elision, __lll_trylock_elision)
9122 (lll_timedlock_elision, lll_lock_elision)
9123 (lll_unlock_elision, lll_trylock_elision): Add.
9124 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9125 (pthread_mutex_t): Add lock elision support for s390.
9126
1a2f40e5
W
91272014-05-14 Wilco <wdijkstr@arm.com>
9128
9129 * sysdeps/arm/fclrexcpt.c: Cleanup.
9130 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9131 * sysdeps/arm/feenablxcpt.c: Cleanup.
9132 * sysdeps/arm/fegetenv.c: Cleanup.
9133 * sysdeps/arm/fegetexcept.c: Cleanup.
9134 * sysdeps/arm/fegetround.c: Cleanup.
9135 * sysdeps/arm/feholdexcpt.c: Cleanup.
9136 * sysdeps/arm/fesetenv.c: Cleanup.
9137 * sysdeps/arm/fesetround.c: Cleanup.
9138 * sysdeps/arm/feupdateenv.c: Cleanup.
9139 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9140 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9141 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9142 * sysdeps/arm/ftestexcept.c: Cleanup.
9143 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9144 * sysdeps/arm/setfpucw.c: Cleanup.
9145
f63c86fe
WN
91462014-05-09 Will Newton <will.newton@linaro.org>
9147
9148 * sysdeps/arm/armv7/strcmp.S: New file.
9149 * NEWS: Mention addition of ARMv7 optimized strcmp.
9150
7a1a51b5
RM
91512014-05-08 Roland McGrath <roland@hack.frob.com>
9152
95afbbe5
RM
9153 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9154 look for %.ac rather than %.in.
9155
9156 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9157 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9158 * sysdeps/mach/hurd/configure: Regenerated.
9159 * sysdeps/unix/sysv/linux/configure: Regenerated.
9160
7a1a51b5
RM
9161 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9162
5057ad3b
SE
91632014-05-07 Steve Ellcey <sellcey@mips.com>
9164
9165 [BZ# 16922]
9166 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9167 (LONG_SUB): Ditto.
9168 (PTR_SUB): Ditto.
9169
8dc97517
AS
91702014-05-07 Andreas Schwab <schwab@suse.de>
9171
9172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9173 when skipping over non-matching result from nscd.
9174
ce0c5b8f
OB
91752014-05-07 Ondřej Bílka <neleai@seznam.cz>
9176
9177 [BZ #16876]
9178 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9179
a1189263
OB
9180 [BZ #16877]
9181 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9182 nscd security class.
ce0c5b8f 9183
0f58d252
RM
91842014-05-06 Roland McGrath <roland@hack.frob.com>
9185
9186 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9187 * sysdeps/arm/unwind.h: ... here.
9188
83df9ad0
AJ
91892014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9190
ce0c5b8f
OB
9191 [BZ# 16916]
9192 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9193 Define.
83df9ad0 9194
f360f94a
VR
91952014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9196
9197 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9198 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9199 multiarch strncpy for PPC64.
9200 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9201 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9203 multiarch optimizations.
9204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9205 (__libc_ifunc_impl_list): Likewise.
9206 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9207 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9208 multiarch stpncpy for PPC64.
9209 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9210 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9211
978a41c3
AS
92122014-05-06 Andreas Schwab <schwab@suse.de>
9213
9214 [BZ #16912]
9215 * gmon/mcount.c (_MCOUNT_DECL): Use
9216 atomic_compare_and_exchange_bool_acq instead of
9217 catomic_compare_and_exchange_bool_acq.
9218
eb1ed03d
RM
92192014-05-05 Roland McGrath <roland@hack.frob.com>
9220
fe658845
RM
9221 * elf/Makefile (others, install-bin): Remove pldd.
9222 (pldd-modules): Variable removed.
9223 ($(objpfx)pldd): Target removed.
9224 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9225 (others, install-bin): Append pldd here.
9226 ($(objpfx)pldd): New target.
9227
eb1ed03d
RM
9228 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9229 to 0, so the first #if test emitted later doesn't see it undefined.
9230 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9231 * sysdeps/gnu/errlist.c: Regenerated.
9232
19c4bec0
AZ
92332014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9234
9235 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9236 [libc_hidden_builtin_def]: Define to empty value.
9237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9238 [libc_hidden_builtin_def]: Likewise.
9239 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9240 [libc_hidden_builtin_def]: Likewise.
9241 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9242 [libc_hidden_builtin_def]: Likewise.
9243 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9244 __redirect_memcpy and define ifunc as default hidden symbol.
9245 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9246 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9247
7776e669
AC
92482014-05-04 Adam Conrad <adconrad@0c3.net>
9249
9250 * locale/iso-4217.def: Reintroduce XDR currency.
9251
d69aeb12
AM
92522014-05-04 Allan McRae <allan@archlinux.org>
9253
9254 * po/eo.po: Update Esperanto translation from translation project.
9255
8f1df5cf
CD
92562014-05-02 Carlos O'Donell <carlos@redhat.com>
9257
9258 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9259 and FEATURE_INDEX_MAX to 1.
9260 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9261
13e402e7
SE
92622014-05-01 Steve Ellcey <sellcey@mips.com>
9263
9264 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9265 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9266 * iconvdata/big5.c (ONE_DIRECTION): Define.
9267 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9268 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9269 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9270 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9271 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9272 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9273 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9274 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9275 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9276 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9277 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9278 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9279 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9280 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9281 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9282 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9283 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9284 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9285 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9286 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9287 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9288 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9289 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9290 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9291 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9292 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9293 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9294 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9295 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9296 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9297 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9298 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9299 * iconvdata/johab.c (ONE_DIRECTION): Define.
9300 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9301 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9302 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9303 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9304 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9305 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9306 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9307 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9308 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9309 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9310
c727f032
RM
93112014-05-01 Roland McGrath <roland@hack.frob.com>
9312
8f2f08d0
RM
9313 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9314 (_IO_JUMPS_OFFSET): Define to 0.
9315
c727f032
RM
9316 * nptl/sysdeps/pthread/bits/libc-lock.h
9317 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9318 (__libc_lock_define_initialized_recursive): Always define using
9319 initializer. Modern compilers treat uninitialized (implicit zero) and
9320 explicit zero initializers the same (i.e. put the datum in bss).
9321
a849e800
AS
93222014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9323
9324 * nscd/nscd-client.h: Include <string.h>.
9325
5331255b
DM
93262014-05-01 David S. Miller <davem@davemloft.net>
9327
9328 [BZ #16885]
9329 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9330 multiple zero bytes exist at the end of a string.
9331 Reported by Aurelien Jarno <aurelien@aurel32.net>
9332
9333 * string/test-strcmp.c (check): Add explicit test for situations where
9334 there are multiple zero bytes after the first.
9335
4fdfe821
AS
93362014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9337
9338 [BZ #16890]
9339 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9340 when compiling wprintf.
9341 * stdio-common/tstdiomisc.c (t3): New function.
9342 (main): Call it.
9343
0cdddc25
SE
93442014-05-01 Steve Ellcey <sellcey@mips.com>
9345
9346 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9347 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9348 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9349 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9350
6426d77e
SE
93512014-05-01 Steve Ellcey <sellcey@mips.com>
9352
9353 * stdlib/longlong.h: Updated from GCC.
9354
6d96f5e4
WN
93552014-05-01 Will Newton <will.newton@linaro.org>
9356 Bernard Ogden <bernie.ogden@linaro.org>
9357
7470db0c
WN
9358 * NEWS: Update fixed bug list.
9359
6d96f5e4
WN
9360 [BZ #15119]
9361 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9362
211d653c
DM
93632014-04-30 David S. Miller <davem@davemloft.net>
9364
4fa262fa
DM
9365 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9366 (libc_feholdexcept_setround_sparc_ctx): New function.
9367 (libc_fesetenv_sparc_ctx): Likewise.
9368 (libc_feupdateenv_sparc_ctx): Likewise.
9369 (libc_feholdsetround_sparc_ctx): Likewise.
9370 (libc_feholdexcept_setround_ctx): Define.
9371 (libc_feholdexcept_setroundf_ctx): Likewise.
9372 (libc_feholdexcept_setroundl_ctx): Likewise.
9373 (libc_fesetenv_ctx): Likewise.
9374 (libc_fesetenvf_ctx): Likewise.
9375 (libc_fesetenvl_ctx): Likewise.
9376 (libc_feupdateenv_ctx): Likewise.
9377 (libc_feupdateenvf_ctx): Likewise.
9378 (libc_feupdateenvl_ctx): Likewise.
9379 (libc_feresetround_ctx): Likewise.
9380 (libc_feresetroundf_ctx): Likewise.
9381 (libc_feresetroundl_ctx): Likewise.
9382 (libc_feholdsetround_ctx): Likewise.
9383 (libc_feholdsetroundf_ctx): Likewise.
9384 (libc_feholdsetroundl_ctx): Likewise.
9385
1d3d93ef
DM
9386 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9387 with __USE_GNU instead of XOPEN cpp guards.
9388
8aa583c3
DM
9389 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9390 0.
9391
211d653c
DM
9392 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9393 with XOPEN cpp guards.
9394
60c8f1f6
JB
93952014-04-30 Julian Brown <julian@codesourcery.com>
9396
9397 [BZ #16888]
9398 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9399 handling.
9400
9a461d46
JM
94012014-04-30 Joseph Myers <joseph@codesourcery.com>
9402
d0f5b3f8
JM
9403 [BZ #9894]
9404 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9405 Change to 2.6.32.
9406 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9407 * sysdeps/unix/sysv/linux/configure: Regenerated.
9408 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9409 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9410 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9411 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9412 * README: Update reference to required Linux kernel version.
9413 * manual/install.texi (Linux): Update reference to required Linux
9414 kernel headers version.
9415 * INSTALL: Regenerated.
9416
9a461d46
JM
9417 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9418 header inclusion.
9419 [POSIX] (limits.h): Likewise.
9420 [POSIX] (math.h): Likewise.
9421 [POSIX] (sys/wait.h): Likewise.
9422 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9423 function.
9424 [POSIX] (stddef.h): Do not allow header inclusion.
9425
1775babf
AZ
94262014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9427
57f41c40 9428 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9429
8f630cca
YY
94302014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9431
9432 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9433 Return immediately after lll_futex_wake.
9434
1cdeb237
SP
94352014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9436
bc8f194c
SP
9437 [BZ #16791]
9438 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9439 structure.
9440 (datahead_init_pos): Call datahead_init_common early.
9441 (datahead_init_neg): Likewise.
9442
1cdeb237
SP
9443 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9444 datahead_init_neg): New functions.
9445 * nscd/aicache.c (addhstaiX): Use them.
9446 * nscd/grpcache.c (cache_addgr): Likewise.
9447 * nscd/hstcache.c (cache_addhst): Likewise.
9448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9449 * nscd/netgroupcache.c (do_notfound): Likewise.
9450 (addgetnetgrentX): Likewise.
9451 (addinnetgrX): Likewise.
9452 * nscd/pwdcache.c (cache_addpw): Likewise.
9453 * nscd/servicescache.c (cache_addserv): Likewise.
9454
16b293a7
SP
94552014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9456 Atsushi Onoe <atsushi@onoe.org>
9457
9458 [BZ #14308]
9459 [BZ #12994]
9460 [BZ #13651]
9461 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9462 one response is valid.
9463 * resolv/res_send.c (send_dg): Check for validity of other
9464 response if the current response is a referral.
9465
a28a9b94
SE
94662014-04-29 Steve Ellcey <sellcey@mips.com>
9467
9468 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9469
2ca180e9
SL
94702014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9471
9472 [BZ #16823]
9473 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9474 Always divide by positive zero when computing -Inf result.
9475 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9476 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9477
18f2945a
AZ
94782014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9479
9480 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9481 FPSCR if value do not change.
9482 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9483 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9484 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9485 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9486 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9487 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9488 function.
9489
5abebba4
CD
94902014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9491
9492 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9493 * sysdeps/unix/sysv/linux/hppa: Move directory from
9494 ports/systeps/unix/sysv/linux/hppa.
9495 * README: Update listing for hppa-*-linux-gnu.
9496
f7ed60c2
OB
94972014-04-28 Ondřej Bílka <neleai@seznam.cz>
9498
fff763a5
OB
9499 [BZ #16754]
9500 * manual/stdio.texi (Hook functions): Fix types of stream hook
9501 functions.
f7ed60c2
OB
9502 [BZ #16854]
9503 * socket/sys/socket.h: Fix typo in comment.
9504
df639d73
WD
95052014-04-28 Wilco <wdijkstr@arm.com>
9506
f7ed60c2 9507 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9508 * sysdeps/arm/math_private.h: New file.
9509 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9510
48332d82
L
95112014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9512
9513 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9514 with __int128_t.
9515 (La_x86_64_retval): Likewise.
9516
e5e0d9a4
IB
95172014-04-24 Ian Bolton <ian.bolton@arm.com>
9518
9519 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9520 fpsr if value didn't change.
9521 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9522 to fpcr if value didn't change.
9523 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9524 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9525 fpsr or fpcr if value didn't change.
9526 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9527 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9528 fpcr if value didn't change.
9529 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9530 to fpsr if value didn't change.
9531
bacc75f7
SP
95322014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9533
9534 * nptl/tst-sem3.c: Use test-skeleton.c
9535 (main): Rename to do_test. Use return instead of
9536 exit.
9537 * nptl/tst-sem4.c: Use test-skeleton.c
9538 (main): Rename to do_test.
9539
a059d359
DM
95402014-04-22 David S. Miller <davem@davemloft.net>
9541
9542 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9543 (struct sigaction): New struct member __glibc_reserved0, change
9544 type of sa_flags to int.
9545
ea6c92f3
YZ
95462014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9547
9548 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9549 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9550
766c4a36
SP
95512014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9552
9553 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9554 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9555
140cc7ab
VK
95562014-04-22 Will Newton <will.newton@linaro.org>
9557 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9558
9559 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9560 (__longjmp): Add longjmp and longjmp_target SystemTap
9561 probes.
9562 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9563 (__sigsetjmp): Add setjmp SystemTap probe.
9564
c54e5cf7
CD
95652014-04-17 Carlos O'Donell <carlos@redhat.com>
9566
9567 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9568 match manual order.
9569
75ffb047
AZ
95702014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9571
9572 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9573
2cd925f7
AZ
9574 * sysdeps/powerpc/fpu/fenv_private.h
9575 (libc_feholdexcept_setroundl_ctx): Define to
9576 libc_feholdexcept_setround_ppc_ctx.
9577 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9578 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9579 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9580 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9581
39e6cd8d
IB
95822014-04-17 Ian Bolton <ian.bolton@arm.com>
9583
9584 * sysdeps/aarch64/math-tests.h: New file.
9585
f9281df9
SY
95862014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9587
9588 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9589 New.
9590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9591 Check and set bit_AVX2_Usable.
9592 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9593 macro.
9594 (bit_AVX2): Likewise.
9595 (index_AVX2_Usable): Likewise.
9596 (CPUID_AVX2): Likewise.
9597 (HAS_AVX2): Likewise.
9598
37d35007
WN
95992014-04-17 Will Newton <will.newton@linaro.org>
9600
7c677662
WN
9601 * manual/setjmp.texi (System V contexts): Add note that
9602 calling setcontext on a context created by a call to a
9603 signal handler is undefined. Update text to note that
9604 setcontext from a signal handler is possible but not
9605 recommended.
9606
37d35007 9607 [BZ #16629]
e04a4e9d
WN
9608 * stdlib/tst-setcontext.c: Include signal.h.
9609 (main): Check that the signal stack before and
9610 after swapcontext is the same.
9611
37d35007
WN
9612 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9613 Re-implement to restore registers in user code and avoid
9614 rt_sigreturn system call.
9615
423a7160
W
96162014-04-17 Wilco <wdijkstr@arm.com>
9617
9618 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9619 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9620 * math/test-fenv.c: Skip exception trap tests on targets which only
9621 support non-stop mode.
9622
bc93ab29
IB
96232014-04-17 Ian Bolton <ian.bolton@arm.com>
9624 Wilco Dijkstra <wilco.dijkstra@arm.com>
9625
9626 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9627 (libc_feholdsetround_aarch64_ctx)
9628 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9629 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9630 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9631 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9632 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9633 (libc_feresetround_noexl_ctx): Define.
9634
95fc5fa3
RH
96352014-04-16 Richard Henderson <rth@redhat.com>
9636
ddb04724
RH
9637 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9638
d77c0899
RH
9639 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9640 unwind tables.
9641
a3df56fc
RH
9642 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9643 const from the non-libc, non-ldso copy.
9644
95fc5fa3
RH
9645 * sysdeps/alpha/libm-test-ulps: Regenerate.
9646
7e0b6763
IB
96472014-04-16 Ian Bolton <ian.bolton@arm.com>
9648 Wilco Dijkstra <wilco.dijkstra@arm.com>
9649
9650 * sysdeps/aarch64/fpu/math_private.h: New file.
9651
a9ea2e0c
MS
96522014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9653
9654 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9655
ea8ba7cd
IZ
96562014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9657
7e54fd04 9658 [BZ #16275]
ea8ba7cd
IZ
9659 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9660 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9662 Intel MPX bound registers before _dl_profile_fixup.
9663 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9664 registers after _dl_profile_fixup. Save and restore bound
9665 registers bnd0/bnd1 when calling _dl_call_pltexit.
9666 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9667 (LR_BND_OFFSET): Likewise.
9668 (LRV_BND0_OFFSET): Likewise.
9669 (LRV_BND1_OFFSET): Likewise.
9670
9f2a4fbc
ST
96712014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9672
9673 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9674 to...
9675 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9676 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9677 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9678 fields.
9f2a4fbc 9679
fd15a59b
ST
96802014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9681
9682 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9683
f19dfa0a
SL
96842014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9685
9686 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9687
4fa8bc3b
SL
96882014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9689
9690 [BZ #14770]
9691 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9692 * sysdeps/s390/configure: Regenerate.
9693
8ea587db
SL
9694 [BZ #16824]
9695 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9696 Set round-to-nearest internally to reduce error accumulation.
9697
aa5f0ff1
AM
96982014-04-16 Alan Modra <amodra@gmail.com>
9699
9700 [BZ #16740]
9701 [BZ #16619]
9702 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9703 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9704 * NEWS: Update fixed bug list.
aa5f0ff1 9705
bb9c256f
SP
97062014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9707
9708 * benchtests/Makefile: Depend on libraries in build directory.
9709 (bench-math): Separate out math tests.
9710 (bench-pthread): Separate out pthread tests.
9711 (bench): Include math and pthread tests.
9712
f737dfd0
CD
97132014-04-14 Carlos O'Donell <carlos@redhat.com>
9714
9715 [BZ #16831]
9716 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9717 _dl_debug_initialize.
9718
0699f766
CD
9719 * configure.ac: Remove SELinux header check.
9720 * configure: Regenerate.
9721 * nscd/selinux.c (perms): Array of const char* to permission names.
9722 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9723 default policy. Call string_to_security_class and string_to_av_perm to
9724 translate strings. Enforce default policy and call avs_has_perm with
9725 results of translated strings.
9726
809bd45f
DM
97272014-04-13 David S. Miller <davem@davemloft.net>
9728
9729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9730
89e691f2
AM
97312014-04-12 Allan McRae <allan@archlinux.org>
9732
9733 [BZ #16838]
9734 * manual/string.texi (Collation Functions): Fix qsort argument
9735 order in example.
9736 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9737
9c9daaeb
CM
97382014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9739
9740 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9741 Make the test a no-op if there are no exceptions defined.
9742
95561fb9
PP
97432014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9744
fe8d072c 9745 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9746 enable-hardcoded-path-in-tests
9747
970c602a
WN
97482014-04-11 Will Newton <will.newton@linaro.org>
9749
9750 * benchtests/Makefile (extra-objs): Add json-lib.o.
9751 (bench-func): Tidy up JSON output.
9752 * benchtests/bench-skeleton.c: Include json-lib.h.
9753 (main): Use JSON library functions to do output of
9754 benchmark results.
9755 * benchtests/bench-timing-type.c (main): Output the
9756 timing type simply, leaving formatting to the user.
9757 * benchtests/json-lib.c: New file.
9758 * benchtests/json-lib.h: Likewise.
9759
36875b06
TR
97602014-04-11 Torvald Riegel <triegel@redhat.com>
9761
9762 [BZ #15215]
9763 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9764 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9765 memory barriers. Add comments.
9766 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9767 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9768 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9769 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9770 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9771 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9772
579db35a
SL
97732014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9774
9775 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9776 * sysdeps/s390/s390-64/configure.ac: ... this ...
9777 * sysdeps/s390/configure.ac: ... to here.
9778 * sysdeps/s390/s390-32/configure: Delete file.
9779 * sysdeps/s390/s390-64/configure: Delete file.
9780 * sysdeps/s390/configure: Regenerate.
9781
c12e9f37
JAPH
97822014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9783
9784 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9785
439bda32
WN
97862014-04-11 Will Newton <will.newton@linaro.org>
9787
9788 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9789 to zero if it is not defined elsewhere. (mtrim): Test
9790 the value of MALLOC_DEBUG with #if rather than #ifdef.
9791
6a5d6ea1
TR
97922014-04-10 Torvald Riegel <triegel@redhat.com>
9793
9794 * benchtests/pthread_once-inputs: New file.
9795 * benchtests/pthread_once-source.c: New file.
9796 * benchtests/README: Update documentation.
9797
a4c75cfd
IZ
97982014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9799 H.J. Lu <hongjiu.lu@intel.com>
9800
7e54fd04 9801 [BZ #16275]
a4c75cfd
IZ
9802 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9803 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9804 * sysdeps/x86_64/configure: Regenerated.
9805 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9806 macro.
9807 (REGISTER_SAVE_RAX): Likewise.
9808 (REGISTER_SAVE_RCX): Likewise.
9809 (REGISTER_SAVE_RDX): Likewise.
9810 (REGISTER_SAVE_RSI): Likewise.
9811 (REGISTER_SAVE_RDI): Likewise.
9812 (REGISTER_SAVE_R8): Likewise.
9813 (REGISTER_SAVE_R9): Likewise.
9814 (REGISTER_SAVE_BND0): Likewise.
9815 (REGISTER_SAVE_BND1): Likewise.
9816 (REGISTER_SAVE_BND2): Likewise.
9817 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9818 bound registers when calling _dl_fixup.
9819
27822ce6
AZ
98202014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9821
9822 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9823 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9824 of its definition.
27822ce6
AZ
9825 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9826 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9827 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9828 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9829 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9830 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9831 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9832
a88ddc90
PTB
98332014-04-09 Peter Brett <peter@peter-b.co.uk>
9834
9835 [BZ #15514]
9836 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9837 pathconf(_PC_NAME_MAX).
9838
01f8eac2
AZ
98392014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9840
9841 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9842 Remove macro usage.
9843 (__PTHREAD_SPINS): Move definition to ...
9844 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9845 (__PTHREAD_SPINS): ... here.
9846 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9847 (__PTHREAD_SPIN): Likewise.
9848 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9849 (__PTHREAD_SPIN): Likewise.
9850 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9851 (__PTHREAD_SPIN): Likewise.
9852 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9853 (__PTHREAD_SPIN): Likewise.
9854 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9855 (__PTHREAD_SPIN): Likewise.
9856 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9857 (__PTHREAD_SPIN): Likewise.
9858 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9859 (__PTHREAD_SPIN): Likewise.
9860 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9861 (__PTHREAD_SPIN): Likewise.
9862 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9863 (__PTHREAD_SPIN): Likewise.
9864 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9865 (__PTHREAD_SPIN): Likewise.
9866 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9867 (__PTHREAD_SPIN): Likewise.
9868 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9869 (__PTHREAD_SPIN): Likewise.
9870
de21c33c
AZ
9871 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9872 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9873 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9874 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9875 imply folder.
9876 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9877 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9878 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9879 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9880 correct imply path.
9881 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9882 strlen symbol for non multi-arch builds.
9883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9884 missing hidden_def and weak_alias.
9885
862c472e
CD
98862014-04-08 Carlos O'Donell <carlos@redhat.com>
9887
9888 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9889
8667f90e
WN
98902014-04-07 Will Newton <will.newton@linaro.org>
9891
9892 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9893 and contents. [!_LIBC] Remove #ifndef and contents.
9894 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9895 * string/memccpy.c (__memccpy): Use ANSI prototype.
9896 * string/memfrob.c (memfrob): Likewise.
9897 * string/strcoll.c (STRCOLL): Likewise.
9898 * string/strlen.c (strlen): Likewise.
9899 * string/strtok.c (STRTOK): Likewise.
9900 * string/strcat.c: Remove unused #include of memcopy.h.
9901 (strcat): Use ANSI prototype.
9902 * string/strchr.c: Remove unused #include of memcopy.h.
9903 (strchr): Use ANSI prototype.
9904 * string/strcmp.c: Remove unused #include of memcopy.h.
9905 (strcmp): Use ANSI prototype.
9906 * string/strcpy.c: Remove unused #include of memcopy.h.
9907 (strcpy): Use ANSI prototype.
9908
7ffa9423
AZ
99092014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9910
9911 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9912 * config.make.in (config-extra-cppflags): Set it from
9913 libc_extra_cppflags.
9914 * configure.ac (libc_extra_cflags): Make it accumulate over
9915 configure fragments.
9916 (libc_extra_cppflags): New flag.
9917 * configure. Regenerate.
9918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9919 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9920 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9922
8bd70862
AZ
9923 [BZ #16815]
9924 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9925 result for FE_DOWNWARD rounding mode.
9926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9927 Likewise.
9928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9929
d42f3448
CM
99302014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9931
9932 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9933 in function argument name.
9934
1c21d115
DS
99352014-04-03 David Svoboda <svoboda@cert.org>
9936
9937 [BZ #5666]
9938 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9939 explicitly.
9940
fcccd512
RM
99412014-04-03 Roland McGrath <roland@hack.frob.com>
9942
9943 * elf/dl-unmap-segments.h: New file.
9944 * sysdeps/generic/ldsodefs.h
9945 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9946 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9947 * elf/dl-fptr.c: Likewise.
9948 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9949 * sysdeps/aarch64/tlsdesc.c: Likewise.
9950 * sysdeps/arm/tlsdesc.c: Likewise.
9951 * sysdeps/i386/tlsdesc.c: Likewise.
9952 * sysdeps/tile/dl-runtime.c: Likewise.
9953 * sysdeps/x86_64/tlsdesc.c: Likewise.
9954 * elf/dl-load.h: New file.
9955 * elf/dl-load.c: Include it.
9956 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9957 Macros moved to dl-load.h.
9958 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9959 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9960 Use _dl_unmap_segments in place of __munmap.
9961 Break out segment-mapping loop into ...
9962 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9963
f6488e2b
WN
99642014-04-03 Will Newton <will.newton@linaro.org>
9965
9966 * elf/dl-lookup.c (do_lookup_x): Remove comment
9967 referring to nested function and move variable
9968 declarations down to before first use.
9969
6f05bafe
JM
99702014-04-02 Joseph Myers <joseph@codesourcery.com>
9971
a84e78c8
JM
9972 [BZ #16799]
9973 [BZ #16800]
9974 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9975 with 0 numerator.
9976 * math/s_catanf.c (__catanf): Likewise.
9977 * math/s_catanh.c (__catanh): Likewise.
9978 * math/s_catanhf.c (__catanhf): Likewise.
9979 * math/s_catanhl.c (__catanhl): Likewise.
9980 * math/s_catanl.c (__catanl): Likewise.
9981 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9982 by positive zero when computing -Inf result.
9983 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9984 (catanh_test): Likewise.
9985 * sysdeps/i386/fpu/libm-test-ulps: Update.
9986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9987
6f05bafe
JM
9988 [BZ #16789]
9989 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9990 instead of using underflowing value in computing result.
9991 * math/s_clog10.c (__clog10): Likewise.
9992 * math/s_clog10f.c (__clog10f): Likewise.
9993 * math/s_clog10l.c (__clog10l): Likewise.
9994 * math/s_clogf.c (__clogf): Likewise.
9995 * math/s_clogl.c (__clogl): Likewise.
9996 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9997 (clog10_test): Likewise.
9998 * sysdeps/i386/fpu/libm-test-ulps: Update.
9999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10000
b0abbc21
AM
100012014-04-02 Alan Modra <amodra@gmail.com>
10002
10003 [BZ #16739]
10004 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10005 output when value is near a power of two. Use int64_t for lx and
10006 remove casts. Use decimal rather than hex exponent constants.
10007 Don't use long double multiplication when double will suffice.
10008 * math/libm-test.inc (nextafter_test_data): Add tests.
10009 * NEWS: Add 16739 and 16786 to bug list.
10010
af6b1797
AM
10011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10012
483818d7
AM
10013 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10014
f6c55796
WN
100152014-04-01 Will Newton <will.newton@linaro.org>
10016
10017 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10018 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10019
13f7fe35
FW
100202014-04-01 Florian Weimer <fweimer@redhat.com>
10021
10022 [BZ #13347]
10023 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10024 * nptl/tst-setuid2.c: New file.
10025 * nptl/Makefile (xtests): Add tst-setuid2.
10026
c859b32e
AM
100272014-04-01 Alan Modra <amodra@gmail.com>
10028
10029 [BZ #16786]
10030 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10031
54fa2475
JM
100322014-03-31 Joseph Myers <joseph@codesourcery.com>
10033
8795b4a4
JM
10034 [BZ #6803]
10035 [BZ #6804]
10036 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10037 set errno as appropriate.
10038 * math/w_scalbf.c (__scalbf): Likewise.
10039 * math/w_scalbl.c (__scalbl): Likewise.
10040 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10041 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10042 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10043 Add more NaN tests.
10044
54fa2475
JM
10045 [BZ #16349]
10046 * math/w_atan2.c: Include <errno.h>.
10047 (__atan2): Set errno for result underflowing to zero.
10048 * math/w_atan2f.c: Include <errno.h>.
10049 (__atan2f): Set errno for result underflowing to zero.
10050 * math/w_atan2l.c: Include <errno.h>.
10051 (__atan2l): Set errno for result underflowing to zero.
10052 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10053 tests.
10054 * math/auto-libm-test-out: Regenerated.
10055
757d9dd5
AZ
100562014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10057
10058 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10059 Encode instruction correctly in little endian.
10060 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10061 Likewise.
10062 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10063 Likewise.
10064 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10065 Likewise.
10066 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10067 Likewise.
10068
d7a68734
JM
100692014-03-31 Joseph Myers <joseph@codesourcery.com>
10070
47c5adeb
JM
10071 [BZ #9894]
10072 * sysdeps/unix/sysv/linux/kernel-features.h
10073 [__sparc__ && !__arch64__ && !__sparc_v9__]
10074 (__ASSUME_SET_ROBUST_LIST): Do not define.
10075 [__sparc__ && !__arch64__ && !__sparc_v9__]
10076 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10077 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10078 Likewise.
10079 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10080 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10081 (__ASSUME_REQUEUE_PI): Likewise.
10082 (__ASSUME_SET_ROBUST_LIST): Likewise.
10083 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10084 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10085 Undefine.
10086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10087 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10088 Likewise.
10089 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10090 Likewise.
10091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10092 Likewise.
10093 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10094 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10095 Undefine.
10096 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10097 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10098 Likewise.
10099
d7a68734
JM
10100 [BZ #16648]
10101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10102 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10103 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10104
c760f5c2
WN
101052014-03-31 Will Newton <will.newton@linaro.org>
10106
10107 * benchtests/Makefile (bench): Add ffs and ffsll to list
10108 of tests.
10109 * benchtests/ffs-inputs: New file.
10110 * benchtests/ffsll-inputs: Likewise.
10111
ea6029b1
JM
101122014-03-29 Joseph Myers <joseph@codesourcery.com>
10113
10114 [BZ #16770]
10115 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10116 too large before casting to int.
10117 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10118 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10119 * math/libm-test.inc (scalb_test_data): Add more tests.
10120
cf806aff
SP
101212014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10122
56737508
SP
10123 * benchtests/Makefile (DETAILED_OPT): New make option.
10124 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10125 set.
10126 * benchtests/bench-skeleton.c: Include stdbool.h.
10127 (main): Store and print timings per input.
10128 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10129 member to each argument value.
10130 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10131 (_print_arg_data): Initialize per-input timing to 0.
10132
cb5e4aad
SP
10133 * benchtests/Makefile (timing-type): New binary.
10134 (bench-clean): Also remove bench-timing-type.
10135 (bench): New target for timing-type.
10136 (bench-func): Print output in JSON format.
10137 * benchtests/bench-skeleton.c (main): Print output in JSON
10138 format.
10139 * benchtests/bench-timing-type.c: New file.
10140 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10141 (TIMING_PRINT_STATS): Remove.
10142 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10143 name separately.
10144
cf806aff
SP
10145 * benchtests/bench-modf.c: Remove.
10146 * benchtests/modf-inputs: New inputs file.
10147
289e0779
JM
101482014-03-28 Joseph Myers <joseph@codesourcery.com>
10149
10150 [BZ #16362]
10151 * math/s_clog10.c (M_PI_LOG10E): New macro.
10152 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10153 imaginary parts are 0.
10154 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10155 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10156 imaginary parts are 0.
10157 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10158 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10159 imaginary parts are 0.
10160 * math/libm-test.inc (clog10_test_data): Update expected results
10161 for when real and imaginary parts are 0.
10162
277ae3f1
PP
101632014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10164
10165 * elf/dl-load.c: Finish conversion of __builtin_expect into
10166 __glibc_{un}likely.
10167
03a7091f
JM
101682014-03-27 Joseph Myers <joseph@codesourcery.com>
10169
10170 [BZ #16348]
10171 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10172 1+x for argument with exponent below -67.
10173 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10174 Likewise.
10175 * math/auto-libm-test-in: Add more tests of exp.
10176 * math/auto-libm-test-out: Regenerated.
10177
ea7d8b95
SP
101782014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10179
dd3022d7
SP
10180 [BZ #16759]
10181 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10182 (nscd_getnetgrent): Use it.
10183
ea7d8b95
SP
10184 [BZ #16760]
10185 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10186 of stpcpy.
10187
df5b85da
AK
101882014-03-27 Andi Kleen <ak@linux.intel.com>
10189
57f41c40
AS
10190 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10191 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10192 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10193 (lll_robust_unlock): Remove out of line section. Use cfi
10194 intrinsics.
df5b85da 10195 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10196 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10197 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10198 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10199 (lll_robust_unlock): Remove out of line section. Use cfi
10200 intrinsics.
df5b85da
AK
10201 (LLL_STUB_UNWIND_INFO*): Remove.
10202
fbd6b5a4
SP
102032014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10204
10205 [BZ #16758]
10206 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10207 blank values.
10208
1b26b855
PP
102092014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10210
10211 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10212
9be36fb8
JM
102132014-03-26 Joseph Myers <joseph@codesourcery.com>
10214
10215 [BZ #16198]
10216 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10217 fnstenv.
10218 * math/test-fenv-preserve.c: New file.
10219 * math/Makefile (tests): Add test-fenv-preserve.
10220
60a2f3c1
WN
102212014-03-26 Will Newton <will.newton@linaro.org>
10222
10223 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10224
a5e5f1e2
RM
102252014-03-25 Roland McGrath <roland@hack.frob.com>
10226
10227 * scripts/versionlist.awk: Partition the version sets and emit all
10228 GLIBC_* (sorted) before all others (sorted).
10229
00f4012a
JM
102302014-03-25 Joseph Myers <joseph@codesourcery.com>
10231
10232 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10233 GLIBC_2.2.5 version.
10234
7bc5a741
AZ
102352014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10236
10237 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10238 calls.
10239
7578473b
AZ
10240 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10241 previous change.
10242
f3f1dab3
AZ
10243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10244
6da36183
AS
102452014-03-25 Andreas Schwab <schwab@suse.de>
10246
10247 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10248 label to be used after in6ailist is initialized.
10249
f3f1dab3 102502014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10251
7578473b 10252 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10253 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10254
046651c1
JM
102552014-03-25 Joseph Myers <joseph@codesourcery.com>
10256
10257 [BZ #16357]
10258 [BZ #16599]
10259 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10260 min_plus_half.
10261 (fp_formats): Update initializers.
10262 (init_fp_formats): Initialize new field.
10263 (output_for_one_input_case): Allow underflow for results up to
10264 min_plus_half.
10265 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10266 * math/auto-libm-test-in: Don't mark some underflows from asin and
10267 atanh as spurious.
10268 * math/auto-libm-test-out: Regenerated.
10269 * sysdeps/i386/fpu/libm-test-ulps: Update.
10270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10271
003e49ed
AS
102722014-03-25 Andreas Schwab <schwab@suse.de>
10273
10274 * libio/Makefile (tst-ftell-partial-wide-ENV)
10275 (tst-ftell-active-handler-ENV): Define.
10276
de031874
SL
102772014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10278
10279 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10280
55a81e3b
PP
102812014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10282
10283 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10284
f3426898
JM
102852014-03-24 Joseph Myers <joseph@codesourcery.com>
10286
10287 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10288 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10289 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10290
a42faf59
PP
102912014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10292
10293 [BZ #16634]
a42faf59 10294 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10295 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10296 (open_path): Change from boolean 'secure' to complete flag 'mode'
10297 (_dl_map_object): Adjust.
a42faf59
PP
10298 * elf/Makefile (tests): Add tst-dlopen-aout.
10299 * elf/tst-dlopen-aout.c: New test.
10300
50936127
SL
103012014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10302
10303 [BZ #16714]
10304 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10305 (struct stat): Rename member pad0 to __glibc_reserved0.
10306
26011b5c
SL
10307 [BZ #16712]
10308 * sysdeps/s390/s390-32/bits/wordsize.h
10309 (__WORDSIZE32_SIZE_ULONG): New define.
10310 * sysdeps/s390/s390-64/bits/wordsize.h
10311 (__WORDSIZE32_SIZE_ULONG): Likewise.
10312 * sysdeps/generic/stdint.h (SIZE_MAX):
10313 Define as UL if __WORDSIZE32_SIZE_ULONG.
10314
a2d86bf1
SL
10315 [BZ #16713]
10316 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10317 (__glibc_reserved0): New variable.
10318 (sa_flags): Change type to int.
10319
78b6eebc
SL
10320 * posix/Makefile (before-compile): Use += before-compile instead
10321 of a :=.
10322
f1399b5a
SL
10323 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10324 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10325
a071766e
AS
103262014-03-20 Andreas Schwab <schwab@suse.de>
10327
10328 [BZ #16743]
10329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10330 non-matching result from nscd.
10331
27c673b8
SP
103322014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10333
10334 * scripts/bench.py: Moved to ...
10335 * benchtests/scripts/bench.py: ... here.
10336 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10337
44152e4b
AS
103382014-03-24 Andreas Schwab <schwab@suse.de>
10339
10340 [BZ #16002]
10341 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10342 alloca_account and account alloca use for struct in6ailist.
10343
b376a11a
JM
103442014-03-24 Joseph Myers <joseph@codesourcery.com>
10345
10346 [BZ #16284]
10347 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10348 rounding mode to recompute results that overflow to infinity or
10349 underflow to zero.
10350 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10351 bug 16284.
10352 * math/auto-libm-test-out: Regenerated.
10353 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10354 (ccosh_test): Likewise.
10355 (csin_test_data): Use plus_oflow.
10356 (csin_test): Use ALL_RM_TEST.
10357 (csinh_test_data): Use plus_oflow.
10358 (csinh_test): Use ALL_RM_TEST.
10359 * sysdeps/i386/fpu/libm-test-ulps: Update.
10360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10361
f7be7376
JM
103622014-03-21 Joseph Myers <joseph@codesourcery.com>
10363
1ca2d03e
JM
10364 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10365 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10366 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10367
f7be7376
JM
10368 [BZ #16731]
10369 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10370 when x - 1 is zero.
10371 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10372 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10373 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10374 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10375 argument is 1.
10376 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10377 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10378 zero.
10379 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10380 * sysdeps/i386/fpu/libm-test-ulps: Update.
10381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10382
fdf4534d
SP
103832014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10384
df26ea53
SP
10385 * scripts/bench.pl: Remove file.
10386 * scripts/bench.py: New benchmark script.
10387 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10388 * benchtests/README: Mention python dependency.
10389 * scripts/pylintrc: New file.
10390 * scripts/pylint: New file.
10391
fdf4534d
SP
10392 * bits/mathdef.h: Use #ifdef instead of #if.
10393 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10394 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10395 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10396 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10397 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10398 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10399
6f23d093
AZ
104002014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10401 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10402
10403 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10405 and strpbrk-ppc64 objects.
10406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10407 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10408 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10409 multiarch strpbrk for POWER7.
10410 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10411 multiarch strpbrk for PPC64.
10412 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10413 ifunc selector.
10414 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10415 strpbrk for POWER7.
10416
8c92dfff
JM
104172014-03-20 Joseph Myers <joseph@codesourcery.com>
10418
10419 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10420 (atan_test): Likewise.
10421 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10422 (atanh_test): Use ALL_RM_TEST.
10423 (atan2_test_data): Likewise.
10424 (cabs_test): Likewise.
10425 (cacosh_test): Likewise.
10426 (carg_test): Likewise.
10427 (casin_test): Likewise.
10428 (casinh_test): Likewise.
10429 (cbrt_test): Likewise.
10430 (csqrt_test): Likewise.
10431 (erf_test): Likewise.
10432 (erfc_test): Likewise.
10433 (pow10_test): Likewise.
10434 (exp2_test): Likewise.
10435 (hypot_test): Likewise.
10436 (j0_test): Likewise.
10437 (j1_test): Likewise.
10438 (lgamma_test): Likewise.
10439 (gamma_test): Likewise.
10440 (sincos_test): Likewise.
10441 (tanh_test): Likewise.
10442 (y0_test): Likewise.
10443 (y1_test): Likewise.
10444 * sysdeps/i386/fpu/libm-test-ulps: Update.
10445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10446
6eaf95cb
AZ
104472014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10448
a387428c
SP
10449 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10451 and strcspn-ppc64 objects.
10452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10453 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10454 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10455 multiarch strcspn for POWER7.
10456 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10457 multiarch strcspn for PPC64.
10458 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10459 ifunc selector.
10460 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10461 strcspn for POWER7.
10462
ae3a5dff
JM
104632014-03-20 Joseph Myers <joseph@codesourcery.com>
10464
10465 * math/gen-libm-test.pl (generate_testfile): Expect only function
10466 name as argument to AUTO_TESTS_* and pass results for all rounding
10467 modes to parse_args.
10468 (parse_auto_input): Separate inputs of automatic tests from
10469 outputs before storing in %auto_tests.
10470 * math/libm-test.inc (acos_test_data): Update call to
10471 AUTO_TESTS_f_f.
10472 (acos_test): Use ALL_RM_TEST.
10473 (acos_tonearest_test_data): Remove.
10474 (acos_test_tonearest): Likewise.
10475 (acos_towardzero_test_data): Likewise.
10476 (acos_test_towardzero): Likewise.
10477 (acos_downward_test_data): Likewise.
10478 (acos_test_downward): Likewise.
10479 (acos_upward_test_data): Likewise.
10480 (acos_test_upward): Likewise.
10481 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10482 (asin_test_data): Likewise.
10483 (asin_test): Use ALL_RM_TEST.
10484 (asin_tonearest_test_data): Remove.
10485 (asin_test_tonearest): Likewise.
10486 (asin_towardzero_test_data): Likewise.
10487 (asin_test_towardzero): Likewise.
10488 (asin_downward_test_data): Likewise.
10489 (asin_test_downward): Likewise.
10490 (asin_upward_test_data): Likewise.
10491 (asin_test_upward): Likewise.
10492 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10493 (atan_test_data): Likewise.
10494 (atanh_test_data): Likewise.
10495 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10496 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10497 (carg_test_data): Likewise.
10498 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10499 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10500 (ccosh_test_data): Likewise.
10501 (cexp_test_data): Likewise.
10502 (clog_test_data): Likewise.
10503 (clog10_test_data): Likewise.
10504 (cos_test_data): Update call to AUTO_TESTS_f_f.
10505 (cos_test): Use ALL_RM_TEST.
10506 (cos_tonearest_test_data): Remove.
10507 (cos_test_tonearest): Likewise.
10508 (cos_towardzero_test_data): Likewise.
10509 (cos_test_towardzero): Likewise.
10510 (cos_downward_test_data): Likewise.
10511 (cos_test_downward): Likewise.
10512 (cos_upward_test_data): Likewise.
10513 (cos_test_upward): Likewise.
10514 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10515 (cosh_test): Use ALL_RM_TEST.
10516 (cosh_tonearest_test_data): Remove.
10517 (cosh_test_tonearest): Likewise.
10518 (cosh_towardzero_test_data): Likewise.
10519 (cosh_test_towardzero): Likewise.
10520 (cosh_downward_test_data): Likewise.
10521 (cosh_test_downward): Likewise.
10522 (cosh_upward_test_data): Likewise.
10523 (cosh_test_upward): Likewise.
10524 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10525 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10526 (ctan_test_data): Likewise.
10527 (ctan_test): Use ALL_RM_TEST.
10528 (ctan_tonearest_test_data): Remove.
10529 (ctan_test_tonearest): Likewise.
10530 (ctan_towardzero_test_data): Likewise.
10531 (ctan_test_towardzero): Likewise.
10532 (ctan_downward_test_data): Likewise.
10533 (ctan_test_downward): Likewise.
10534 (ctan_upward_test_data): Likewise.
10535 (ctan_test_upward): Likewise.
10536 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10537 (ctanh_test): Use ALL_RM_TEST.
10538 (ctanh_tonearest_test_data): Remove.
10539 (ctanh_test_tonearest): Likewise.
10540 (ctanh_towardzero_test_data): Likewise.
10541 (ctanh_test_towardzero): Likewise.
10542 (ctanh_downward_test_data): Likewise.
10543 (ctanh_test_downward): Likewise.
10544 (ctanh_upward_test_data): Likewise.
10545 (ctanh_test_upward): Likewise.
10546 (erf_test_data): Update call to AUTO_TESTS_f_f.
10547 (erfc_test_data): Likewise.
10548 (exp_test_data): Likewise.
10549 (exp_test): Use ALL_RM_TEST.
10550 (exp_tonearest_test_data): Remove.
10551 (exp_test_tonearest): Likewise.
10552 (exp_towardzero_test_data): Likewise.
10553 (exp_test_towardzero): Likewise.
10554 (exp_downward_test_data): Likewise.
10555 (exp_test_downward): Likewise.
10556 (exp_upward_test_data): Likewise.
10557 (exp_test_upward): Likewise.
10558 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10559 (exp10_test): Use ALL_RM_TEST.
10560 (exp10_tonearest_test_data): Remove.
10561 (exp10_test_tonearest): Likewise.
10562 (exp10_towardzero_test_data): Likewise.
10563 (exp10_test_towardzero): Likewise.
10564 (exp10_downward_test_data): Likewise.
10565 (exp10_test_downward): Likewise.
10566 (exp10_upward_test_data): Likewise.
10567 (exp10_test_upward): Likewise.
10568 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10569 (expm1_test_data): Likewise.
10570 (expm1_test): Use ALL_RM_TEST.
10571 (expm1_tonearest_test_data): Remove.
10572 (expm1_test_tonearest): Likewise.
10573 (expm1_towardzero_test_data): Likewise.
10574 (expm1_test_towardzero): Likewise.
10575 (expm1_downward_test_data): Likewise.
10576 (expm1_test_downward): Likewise.
10577 (expm1_upward_test_data): Likewise.
10578 (expm1_test_upward): Likewise.
10579 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10580 (fma_test): Use ALL_RM_TEST.
10581 (fma_towardzero_test_data): Remove.
10582 (fma_test_towardzero): Likewise.
10583 (fma_downward_test_data): Likewise.
10584 (fma_test_downward): Likewise.
10585 (fma_upward_test_data): Likewise.
10586 (fma_test_upward): Likewise.
10587 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10588 (j0_test_data): Update call to AUTO_TESTS_f_f.
10589 (j1_test_data): Likewise.
10590 (jn_test_data): Update call to AUTO_TESTS_if_f.
10591 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10592 (log_test_data): Update call to AUTO_TESTS_f_f.
10593 (log10_test_data): Likewise.
10594 (log1p_test_data): Likewise.
10595 (log2_test_data): Likewise.
10596 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10597 (pow_tonearest_test_data): Likewise.
10598 (sin_test_data): Update call to AUTO_TESTS_f_f.
10599 (sin_test): Use ALL_RM_TEST.
10600 (sin_tonearest_test_data): Remove.
10601 (sin_test_tonearest): Likewise.
10602 (sin_towardzero_test_data): Likewise.
10603 (sin_test_towardzero): Likewise.
10604 (sin_downward_test_data): Likewise.
10605 (sin_test_downward): Likewise.
10606 (sin_upward_test_data): Likewise.
10607 (sin_test_upward): Likewise.
10608 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10609 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10610 (sinh_test): Use ALL_RM_TEST.
10611 (sinh_tonearest_test_data): Remove.
10612 (sinh_test_tonearest): Likewise.
10613 (sinh_towardzero_test_data): Likewise.
10614 (sinh_test_towardzero): Likewise.
10615 (sinh_downward_test_data): Likewise.
10616 (sinh_test_downward): Likewise.
10617 (sinh_upward_test_data): Likewise.
10618 (sinh_test_upward): Likewise.
10619 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10620 (sqrt_test): Use ALL_RM_TEST.
10621 (sqrt_tonearest_test_data): Remove.
10622 (sqrt_test_tonearest): Likewise.
10623 (sqrt_towardzero_test_data): Likewise.
10624 (sqrt_test_towardzero): Likewise.
10625 (sqrt_downward_test_data): Likewise.
10626 (sqrt_test_downward): Likewise.
10627 (sqrt_upward_test_data): Likewise.
10628 (sqrt_test_upward): Likewise.
10629 (tan_test_data): Update call to AUTO_TESTS_f_f.
10630 (tan_test): Use ALL_RM_TEST.
10631 (tan_tonearest_test_data): Remove.
10632 (tan_test_tonearest): Likewise.
10633 (tan_towardzero_test_data): Likewise.
10634 (tan_test_towardzero): Likewise.
10635 (tan_downward_test_data): Likewise.
10636 (tan_test_downward): Likewise.
10637 (tan_upward_test_data): Likewise.
10638 (tan_test_upward): Likewise.
10639 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10640 (tgamma_test_data): Likewise.
10641 (y0_test_data): Likewise.
10642 (y1_test_data): Likewise.
10643 (yn_test_data): Update call to AUTO_TESTS_if_f.
10644 (main): Do not call removed functions.
10645
d71aeee8
JM
106462014-03-19 Joseph Myers <joseph@codesourcery.com>
10647
10648 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10649 (ldexp_test_data): Remove.
10650 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10651 scalbn_test_data.
10652 (scalb_test): Use ALL_RM_TEST.
10653
baaf1ded
AS
106542014-03-19 Andreas Schwab <schwab@suse.de>
10655
10656 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10657
b1115e91
JM
106582014-03-19 Joseph Myers <joseph@codesourcery.com>
10659
10660 [BZ #16649]
10661 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10662 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10663 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10665 (__ASSUME_PREADV): Undefine.
10666 (__ASSUME_PWRITEV): Likewise.
10667
0283ecca
RM
106682014-03-18 Roland McGrath <roland@hack.frob.com>
10669
7d375303
RM
10670 * bits/mman-linux.h: Add comment about non-Linux use.
10671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10672 bits/mman-linux.h resting place.
10673
0283ecca
RM
10674 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10675 * bits/mman-linux.h: ... here.
10676
aebe1003
AZ
106772014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10678
10679 * conform/conformtest.pl: Add standard definition when calling C
10680 preprocessor on data files.
10681 (checknamespace): Remove unused variable.
10682
b29b6bb8
JM
106832014-03-18 Joseph Myers <joseph@codesourcery.com>
10684
10685 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10686 minus_oflow, plus_uflow and minus_uflow in expected results.
10687 * math/libm-test.inc (scalbn_test_data): Add more tests of
10688 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10689 minus_uflow.
10690 (scalbn_test): Use ALL_RM_TEST.
10691 (scalbln_test_data): Add more tests of negative arguments. Use
10692 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10693 (scalbln_test): Use ALL_RM_TEST.
10694
c8f8fa15
RM
106952014-03-18 Roland McGrath <roland@hack.frob.com>
10696
10697 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10698
fede7a5f
WN
106992014-03-18 Will Newton <will.newton@linaro.org>
10700
10701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10702 inaccurate comment.
10703
80cf0a58
JM
107042014-03-18 Joseph Myers <joseph@codesourcery.com>
10705
10706 * Makerules [!subdir] (check-abi): Exit with error status if a
10707 test failed.
10708
b3620862
JM
107092014-03-17 Joseph Myers <joseph@codesourcery.com>
10710
10711 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10712 for rint. Include results for all rounding modes.
10713 (nearbyint_test): Use ALL_RM_TEST.
10714 (rint_test_data): Include all tests used for nearbyint.
10715
788bba36
WN
107162014-03-17 Will Newton <will.newton@linaro.org>
10717
04ec140a
WN
10718 * nptl/sysdeps/pthread/pthread.h: Revert previous
10719 change.
10720
7579d8d5
WN
10721 * sysdeps/generic/ldsodefs.h: Revert previous
10722 change.
10723
c15cf13a
WN
10724 * libio/genops.c: Revert previous change.
10725 * libio/libioP.h: Likewise.
10726 * stdio-common/vfprintf.c: Likewise.
10727
d0ac1324
WN
10728 * sysdeps/generic/math_private.h: Revert previous
10729 change.
10730
9290130a
WN
10731 * sysdeps/generic/math_private.h: Check whether
10732 HAVE_RM_CTX is defined with #ifdef rather
10733 than #if.
10734
afb466fc
WN
10735 * argp/argp-fmtstream.h: Check whether
10736 __STRICT_ANSI__ is defined with #ifdef rather
10737 than #if.
10738 * argp/argp.h: Likewise.
10739
f7efd7c3
WN
10740 * libio/genops.c: Check whether
10741 _IO_JUMPS_OFFSET is defined with #ifdef rather
10742 than #if.
10743 * libio/libioP.h: Likewise.
10744 * stdio-common/vfprintf.c: Likewise.
10745
53f1bed3
WN
10746 * sysdeps/generic/ldsodefs.h: Check whether
10747 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10748 than #if.
10749
788bba36
WN
10750 * nptl/sysdeps/pthread/pthread.h: Check
10751 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10752 its value.
10753
fcd89ebe
SP
107542014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10755
ae42bbc5
SP
10756 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10757 setting O_APPEND.
10758 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10759 test case.
10760
ea33158c
SP
10761 [BZ #16680]
10762 * libio/fileops.c (_IO_file_open): Seek to end of file but
10763 don't cache the offset.
10764 (get_file_offset): Remove function.
10765 (do_ftell): Use cached offset when available.
10766 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10767 don't cache the offset.
10768 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10769 case.
10770 (do_one_test): Call it.
10771 (do_ftell_test): Fix up expected old offset for a+ mode.
10772 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10773 available.
10774
b1dbb426
SP
10775 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10776 up test status with function return status.
10777 (do_write_test): Likewise.
10778 (do_append_test): Likewise.
10779
fcd89ebe
SP
10780 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10781 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10782 Remove.
10783
9962a2d3
JM
107842014-03-17 Joseph Myers <joseph@codesourcery.com>
10785
10786 * math/gen-libm-test.pl (parse_args): Handle results specified for
10787 each rounding mode separately.
10788 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10789 tests and results from lrint_tonearest_test_data,
10790 lrint_towardzero_test_data, lrint_downward_test_data and
10791 lrint_upward_test_data.
10792 (lrint_test): Use ALL_RM_TEST.
10793 (lrint_tonearest_test_data): Remove.
10794 (lrint_test_tonearest): Likewise.
10795 (lrint_towardzero_test_data): Likewise.
10796 (lrint_test_towardzero): Likewise.
10797 (lrint_downward_test_data): Likewise.
10798 (lrint_test_downward): Likewise.
10799 (lrint_upward_test_data): Likewise.
10800 (lrint_test_upward): Likewise.
10801 (llrint_test_data): Merge in per-rounding-mode tests and results
10802 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10803 llrint_downward_test_data and llrint_upward_test_data.
10804 (llrint_test): Use ALL_RM_TEST.
10805 (llrint_tonearest_test_data): Remove.
10806 (llrint_test_tonearest): Likewise.
10807 (llrint_towardzero_test_data): Likewise.
10808 (llrint_test_towardzero): Likewise.
10809 (llrint_downward_test_data): Likewise.
10810 (llrint_test_downward): Likewise.
10811 (llrint_upward_test_data): Likewise.
10812 (llrint_test_upward): Likewise.
10813 (rint_test_data): Merge in per-rounding-mode tests and results
10814 from rint_tonearest_test_data, rint_towardzero_test_data,
10815 rint_downward_test_data and rint_upward_test_data. Add
10816 per-rounding-mode results for tests not in those arrays.
10817 (rint_test): Use ALL_RM_TEST.
10818 (rint_tonearest_test_data): Remove.
10819 (rint_test_tonearest): Likewise.
10820 (rint_towardzero_test_data): Likewise.
10821 (rint_test_towardzero): Likewise.
10822 (rint_downward_test_data): Likewise.
10823 (rint_test_downward): Likewise.
10824 (rint_upward_test_data): Likewise.
10825 (rint_test_upward): Likewise.
10826 (main): Don't call removed functions.
10827
5006148e
RM
108282014-03-14 Roland McGrath <roland@hack.frob.com>
10829
10830 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10831 "Compiled on ..." crapola. It is anti-useful.
10832
d6fe5e58
JM
108332014-03-14 Joseph Myers <joseph@codesourcery.com>
10834
10835 * scripts/evaluate-test.sh: Handle fourth argument to determine
10836 whether test run should stop on failure.
10837 * Makeconfig (stop-on-test-failure): New variable.
10838 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10839 $(stop-on-test-failure).
10840 * Makefile (tests): Give a summary of results from testing and
10841 exit with failure status if they include an ERROR or FAIL.
10842 (xtests): Likewise.
10843 * manual/install.texi (Configuring and compiling): Mention
10844 stop-on-test-failure=y.
10845 * INSTALL: Regenerated.
10846
498a2233
RM
108472014-03-14 Roland McGrath <roland@hack.frob.com>
10848
22dbc19d
RM
10849 * scripts/versionlist.awk: New file.
10850 * Makerules [$(build-shared) = yes]
10851 (postclean-generated): Add Versions.def, not Versions.def.v and
10852 Versions.def.v.i.
10853 ($(common-objpfx)Versions.def.v.i): Target removed.
10854 ($(common-objpfx)Versions.def): New target.
10855 ($(common-objpfx)Versions.all): Depend on that rather that
10856 $(common-objpfx)Versions.def.v.
10857 * Versions.def: File removed.
10858
498a2233
RM
10859 * Makeconfig (+gccwarn): Add -Wundef.
10860 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10861 a dl-sysdep.h breaking its contract.
10862 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10863 * include/stackinfo.h: New file.
10864 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10865 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10866 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10867 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10868 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10869 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10870 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10871 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10872 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10873 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10874 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10875 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10876 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10877 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10878 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10879
c7de5025
AZ
108802014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10881
10882 [BZ #16707]
10883 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10884 implementation.
10885 * math/libm-test.inc (round_test_data): Add more tests.
10886
98fb27a3
AZ
10887 [BZ #16706]
10888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10889 implementation.
10890 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10891
374f7f61
AZ
10892 [BZ #16701]
10893 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10894 implementation.
10895 * math/libm-test.inc (ceil_test_data): Add more tests.
10896
4655c291
AZ
10897 * math/libm-test.inc (trunc_test_data): Add more tests related to
10898 BZ#16414.
10899
d7329d4b
RM
109002014-03-14 Roland McGrath <roland@hack.frob.com>
10901
10902 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10903 with #if rather than #ifdef.
10904 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10905
aa4de9ce
L
109062014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10907
10908 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10909 first. Disable AVX-512 GCC support if assembler doesn't support
10910 it.
10911 * sysdeps/x86_64/configure: Regenerated.
10912
2e03fae7
CD
109132014-03-13 Carlos O'Donell <carlos@redhat.com>
10914
10915 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10916 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10917 (__old_pthread_attr_setstack): Likewise.
10918 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10919 [!_STACK_GROWS_DOWN]: Likewise.
10920
43ca83ec
MF
109212014-03-13 Mike Frysinger <vapier@gentoo.org>
10922
10923 * config.make.in (have-bash2): Delete.
10924 * configure.ac (libc_cv_have_bash2): Delete.
10925 * configure: Regenerate.
10926 * elf/Makefile (common-ldd-rewrite): Rename to ...
10927 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10928 (sh-ldd-rewrite): Delete.
10929 (bash-ldd-rewrite): Delete.
10930 (have-bash2): Delete checks.
57f41c40
AS
10931 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10932 ldd-rewrite.
c66e48b4
MF
10933
10934 * config.make.in (have-ksh): Delete.
10935 (KSH): Delete.
10936 * configure.ac (libc_cv_have_ksh): Delete.
10937 * configure: Regenerate.
10938
b93834ef
MF
10939 * elf/Makefile: Delete $(have-ksh) check.
10940 ($(objpfx)sotruss): Change KSH to BASH.
10941 * elf/sotruss.ksh: Rename to ...
10942 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10943 function style to match POSIX. Drop ksh vim mode setting.
10944
f3a4632a
MF
10945 * manual/time.texi (Specifying the Time Zone with TZ): Change
10946 Tuesday to Thursday.
10947
5896c8bd
MF
10948 * debug/tst-longjmp_chk2.c: Update header comment.
10949 (stackoverflow_handler): Add comment. Call assert on pass value.
10950
2d63a517
IZ
109512014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10952
7e54fd04 10953 [BZ #16194]
2d63a517
IZ
10954 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10955 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10956 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10957 (La_x86_64_vector): Add zmm.
10958 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10959 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10960 ($(objpfx)tst-audit10): New target.
10961 ($(objpfx)tst-audit10.out): Likewise.
10962 (tst-audit10-ENV): New.
10963 (AVX512-CFLAGS): Likewise.
10964 (CFLAGS-tst-audit10.c): Likewise.
10965 (CFLAGS-tst-auditmod10a.c): Likewise.
10966 (CFLAGS-tst-auditmod10b.c): Likewise.
10967 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10968 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10969 * sysdeps/x86_64/configure: Regenerated.
10970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10971 AVX-512 zmm register support.
10972 (_dl_x86_64_save_sse): Likewise.
10973 (_dl_x86_64_restore_sse): Likewise.
10974 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10975 size vector registers.
10976 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10977 (ZMM_SIZE): Likewise.
10978 * sysdeps/x86_64/tst-audit10.c: New file.
10979 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10980 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10981
44c4e5d5
RM
109822014-03-13 Roland McGrath <roland@hack.frob.com>
10983
10984 * configure.ac (HAVE_EHDR_START): New check.
10985 * configure: Regenerated.
10986 * config.h.in (HAVE_EHDR_START): New #undef.
10987 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10988 assuming the lowest-addressed segment maps the start of the file.
10989
acd6e389
JM
109902014-03-13 Joseph Myers <joseph@codesourcery.com>
10991
10992 * INSTALL: Regenerated.
10993
6f918f36
WN
109942014-03-13 Will Newton <will.newton@linaro.org>
10995
10996 * manual/setjmp.texi (System V contexts): Improve
10997 clarity and grammar of documentation.
10998
798212a0
PP
109992014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11000
11001 [BZ #16381]
798212a0 11002 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 11003 (tests-pie): Add tst-pie2.
798212a0
PP
11004 * elf/tst-pie2.c: New file.
11005 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11006 for ET_EXEC.
11007 * elf/rtld.c (map_doit): Load executable as lt_executable.
11008 (dl_main): Likewise.
11009
abe6d90c
JM
110102014-03-12 Joseph Myers <joseph@codesourcery.com>
11011
11012 [BZ #16642]
11013 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11014 (__ASSUME_PSELECT): Undefine.
11015
dd3946c6
AZ
110162014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11017
11018 [BZ #16689]
11019 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11020 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11021 static build.
11022 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11023 selector for static builds.
11024
c44496df
SP
110252014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11026
11027 [BZ #16695]
11028 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11029 key in the buffer.
11030
27c7220a
AZ
110312014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11032
57f41c40
AS
11033 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11034 IFUNC selector for static builds.
27c7220a 11035
600fa361
JM
110362014-03-11 Joseph Myers <joseph@codesourcery.com>
11037
76c96cf7
JM
11038 * sysdeps/mips/math_private.h [__mips_hard_float]
11039 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11040 libc_feresetround_mips_ctx.
11041 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11042 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11043 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11044
600fa361
JM
11045 [BZ #16677]
11046 * math/s_nextafter.c (__nextafter): Do not return value from
11047 overflowing computation.
11048 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11049 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11051 Likewise.
11052 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11053 Likewise.
11054 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11055 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11056
d7706c32
RM
110572014-03-11 Roland McGrath <roland@hack.frob.com>
11058
11059 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11060 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11061 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11062 the new mov targetting sp.
11063
4facea47
AZ
110642014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11065
11066 [BZ #16683]
11067 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11068 Define it for static builds as well.
11069 (NO_BZERO_IMPL): Likewise.
11070
e65caf1f
VR
110712014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11072
11073 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11074 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11075 multiarch strspn for PPC64.
11076 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11077 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11079 (__libc_ifunc_impl_list): Likewise.
11080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11081 multiarch optimizations
11082 * string/strspn.c (strspn): Using macro to redefine symbol name.
11083
ba9cc071
AZ
110842014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11085 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11086
11087 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11088 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11089 multiarch strncat for PPC64.
11090 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11091 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11093 (__libc_ifunc_impl_list): Likewise.
11094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11095 multiarch optimizations
11096
8b4ff974
SP
110972014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11098
11099 [BZ #16639]
11100 * nscd/nscd.service: Make service type forking.
11101
54b46a4b
AZ
111022014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11103
11104 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11105 sign in non default rounding modes.
11106 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11107
e9996ef7
JM
111082014-03-08 Joseph Myers <joseph@codesourcery.com>
11109
11110 * math/libm-test.inc (ALL_RM_TEST): New macro.
11111 (ceil_test): Use ALL_RM_TEST.
11112 (cimag_test): Likewise.
11113 (conj_test): Likewise.
11114 (copysign_test): Likewise.
11115 (cproj_test): Likewise.
11116 (creal_test): Likewise.
11117 (fabs_test): Likewise.
11118 (floor_test): Likewise.
11119 (fmax_test): Likewise.
11120 (fmin_test): Likewise.
11121 (fmod_test): Likewise.
11122 (fpclassify_test): Likewise.
11123 (frexp_test): Likewise.
11124 (ilogb_test): Likewise.
11125 (isfinite_test): Likewise.
11126 (finite_test): Likewise.
11127 (isgreater_test): Likewise.
11128 (isgreaterequal_test): Likewise.
11129 (isinf_test): Likewise.
11130 (isless_test): Likewise.
11131 (islessequal_test): Likewise.
11132 (islessgreater_test): Likewise.
11133 (isnan_test): Likewise.
11134 (isnormal_test): Likewise.
11135 (issignaling_test): Likewise.
11136 (isunordered_test): Likewise.
11137 (logb_test): Likewise.
11138 (logb_downward_test_data): Remove.
11139 (logb_test_downward): Likewise.
11140 (lround_test): Use ALL_RM_TEST.
11141 (llround_test): Likewise.
11142 (modf_test): Likewise.
11143 (nexttoward_test): Likewise.
11144 (remainder_test): Likewise.
11145 (drem_test): Likewise.
11146 (remainder_tonearest_test_data): Likewise.
11147 (remainder_test_tonearest): Likewise.
11148 (drem_test_tonearest): Likewise.
11149 (remainder_towardzero_test_data): Likewise.
11150 (remainder_test_towardzero): Likewise.
11151 (drem_test_towardzero): Likewise.
11152 (remainder_downward_test_data): Likewise.
11153 (remainder_test_downward): Likewise.
11154 (drem_test_downward): Likewise.
11155 (remainder_upward_test_data): Likewise.
11156 (remainder_test_upward): Likewise.
11157 (drem_test_upward): Likewise.
11158 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11159 (round_test): Use ALL_RM_TEST.
11160 (signbit_test): Likewise.
11161 (trunc_test): Likewise.
11162 (significand_test): Likewise.
11163 (main): Don't call removed functions.
11164
bc61d27c
JM
111652014-03-07 Joseph Myers <joseph@codesourcery.com>
11166
5c780849
JM
11167 [BZ #16674]
11168 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11169 || __USE_XOPEN2K8].
11170 (ILL_ILLOPN): Likewise.
11171 (ILL_ILLADR): Likewise.
11172 (ILL_ILLTRP): Likewise.
11173 (ILL_PRVOPC): Likewise.
11174 (ILL_PRVREG): Likewise.
11175 (ILL_COPROC): Likewise.
11176 (ILL_BADSTK): Likewise.
11177 (FPE_INTDIV): Likewise.
11178 (FPE_INTOVF): Likewise.
11179 (FPE_FLTDIV): Likewise.
11180 (FPE_FLTOVF): Likewise.
11181 (FPE_FLTUND): Likewise.
11182 (FPE_FLTRES): Likewise.
11183 (FPE_FLTINV): Likewise.
11184 (FPE_FLTSUB): Likewise.
11185 (SEGV_MAPERR): Likewise.
11186 (SEGV_ACCERR): Likewise.
11187 (BUS_ADRALN): Likewise.
11188 (BUS_ADRERR): Likewise.
11189 (BUS_OBJERR): Likewise.
11190 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11191 (TRAP_TRACE): Likewise.
11192 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11193 __USE_XOPEN2K8].
11194 (CLD_KILLED): Likewise.
11195 (CLD_DUMPED): Likewise.
11196 (CLD_TRAPPED): Likewise.
11197 (CLD_STOPPED): Likewise.
11198 (CLD_CONTINUED): Likewise.
11199 (POLL_IN): Likewise.
11200 (POLL_OUT): Likewise.
11201 (POLL_MSG): Likewise.
11202 (POLL_ERR): Likewise.
11203 (POLL_PRI): Likewise.
11204 (POLL_HUP): Likewise.
11205 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11206 Likewise.
11207 (ILL_ILLOPN): Likewise.
11208 (ILL_ILLADR): Likewise.
11209 (ILL_ILLTRP): Likewise.
11210 (ILL_PRVOPC): Likewise.
11211 (ILL_PRVREG): Likewise.
11212 (ILL_COPROC): Likewise.
11213 (ILL_BADSTK): Likewise.
11214 (FPE_INTDIV): Likewise.
11215 (FPE_INTOVF): Likewise.
11216 (FPE_FLTDIV): Likewise.
11217 (FPE_FLTOVF): Likewise.
11218 (FPE_FLTUND): Likewise.
11219 (FPE_FLTRES): Likewise.
11220 (FPE_FLTINV): Likewise.
11221 (FPE_FLTSUB): Likewise.
11222 (SEGV_MAPERR): Likewise.
11223 (SEGV_ACCERR): Likewise.
11224 (BUS_ADRALN): Likewise.
11225 (BUS_ADRERR): Likewise.
11226 (BUS_OBJERR): Likewise.
11227 (BUS_MCEERR_AR): Likewise.
11228 (BUS_MCEERR_AO): Likewise.
11229 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11230 (TRAP_TRACE): Likewise.
11231 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11232 __USE_XOPEN2K8].
11233 (CLD_KILLED): Likewise.
11234 (CLD_DUMPED): Likewise.
11235 (CLD_TRAPPED): Likewise.
11236 (CLD_STOPPED): Likewise.
11237 (CLD_CONTINUED): Likewise.
11238 (POLL_IN): Likewise.
11239 (POLL_OUT): Likewise.
11240 (POLL_MSG): Likewise.
11241 (POLL_ERR): Likewise.
11242 (POLL_PRI): Likewise.
11243 (POLL_HUP): Likewise.
11244 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11245 (ILL_ILLOPN): Likewise.
11246 (ILL_ILLADR): Likewise.
11247 (ILL_ILLTRP): Likewise.
11248 (ILL_PRVOPC): Likewise.
11249 (ILL_PRVREG): Likewise.
11250 (ILL_COPROC): Likewise.
11251 (ILL_BADSTK): Likewise.
11252 (FPE_INTDIV): Likewise.
11253 (FPE_INTOVF): Likewise.
11254 (FPE_FLTDIV): Likewise.
11255 (FPE_FLTOVF): Likewise.
11256 (FPE_FLTUND): Likewise.
11257 (FPE_FLTRES): Likewise.
11258 (FPE_FLTINV): Likewise.
11259 (FPE_FLTSUB): Likewise.
11260 (SEGV_MAPERR): Likewise.
11261 (SEGV_ACCERR): Likewise.
11262 (BUS_ADRALN): Likewise.
11263 (BUS_ADRERR): Likewise.
11264 (BUS_OBJERR): Likewise.
11265 (BUS_MCEERR_AR): Likewise.
11266 (BUS_MCEERR_AO): Likewise.
11267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11268 (TRAP_TRACE): Likewise.
11269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11270 __USE_XOPEN2K8].
11271 (CLD_KILLED): Likewise.
11272 (CLD_DUMPED): Likewise.
11273 (CLD_TRAPPED): Likewise.
11274 (CLD_STOPPED): Likewise.
11275 (CLD_CONTINUED): Likewise.
11276 (POLL_IN): Likewise.
11277 (POLL_OUT): Likewise.
11278 (POLL_MSG): Likewise.
11279 (POLL_ERR): Likewise.
11280 (POLL_PRI): Likewise.
11281 (POLL_HUP): Likewise.
11282 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11283 Likewise.
11284 (ILL_ILLOPN): Likewise.
11285 (ILL_ILLADR): Likewise.
11286 (ILL_ILLTRP): Likewise.
11287 (ILL_PRVOPC): Likewise.
11288 (ILL_PRVREG): Likewise.
11289 (ILL_COPROC): Likewise.
11290 (ILL_BADSTK): Likewise.
11291 (ILL_BADIADDR): Likewise.
11292 (ILL_BREAK): Likewise.
11293 (FPE_INTDIV): Likewise.
11294 (FPE_INTOVF): Likewise.
11295 (FPE_FLTDIV): Likewise.
11296 (FPE_FLTOVF): Likewise.
11297 (FPE_FLTUND): Likewise.
11298 (FPE_FLTRES): Likewise.
11299 (FPE_FLTINV): Likewise.
11300 (FPE_FLTSUB): Likewise.
11301 (FPE_DECOVF): Likewise.
11302 (FPE_DECDIV): Likewise.
11303 (FPE_DECERR): Likewise.
11304 (FPE_INVASC): Likewise.
11305 (FPE_INVDEC): Likewise.
11306 (SEGV_MAPERR): Likewise.
11307 (SEGV_ACCERR): Likewise.
11308 (SEGV_PSTKOVF): Likewise.
11309 (BUS_ADRALN): Likewise.
11310 (BUS_ADRERR): Likewise.
11311 (BUS_OBJERR): Likewise.
11312 (BUS_MCEERR_AR): Likewise.
11313 (BUS_MCEERR_AO): Likewise.
11314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11315 (TRAP_TRACE): Likewise.
11316 (TRAP_BRANCH): Likewise.
11317 (TRAP_HWBKPT): Likewise.
11318 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11319 __USE_XOPEN2K8].
11320 (CLD_KILLED): Likewise.
11321 (CLD_DUMPED): Likewise.
11322 (CLD_TRAPPED): Likewise.
11323 (CLD_STOPPED): Likewise.
11324 (CLD_CONTINUED): Likewise.
11325 (POLL_IN): Likewise.
11326 (POLL_OUT): Likewise.
11327 (POLL_MSG): Likewise.
11328 (POLL_ERR): Likewise.
11329 (POLL_PRI): Likewise.
11330 (POLL_HUP): Likewise.
11331 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11332 (ILL_ILLOPN): Likewise.
11333 (ILL_ILLADR): Likewise.
11334 (ILL_ILLTRP): Likewise.
11335 (ILL_PRVOPC): Likewise.
11336 (ILL_PRVREG): Likewise.
11337 (ILL_COPROC): Likewise.
11338 (ILL_BADSTK): Likewise.
11339 (FPE_INTDIV): Likewise.
11340 (FPE_INTOVF): Likewise.
11341 (FPE_FLTDIV): Likewise.
11342 (FPE_FLTOVF): Likewise.
11343 (FPE_FLTUND): Likewise.
11344 (FPE_FLTRES): Likewise.
11345 (FPE_FLTINV): Likewise.
11346 (FPE_FLTSUB): Likewise.
11347 (SEGV_MAPERR): Likewise.
11348 (SEGV_ACCERR): Likewise.
11349 (BUS_ADRALN): Likewise.
11350 (BUS_ADRERR): Likewise.
11351 (BUS_OBJERR): Likewise.
11352 (BUS_MCEERR_AR): Likewise.
11353 (BUS_MCEERR_AO): Likewise.
11354 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11355 (TRAP_TRACE): Likewise.
11356 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11357 __USE_XOPEN2K8].
11358 (CLD_KILLED): Likewise.
11359 (CLD_DUMPED): Likewise.
11360 (CLD_TRAPPED): Likewise.
11361 (CLD_STOPPED): Likewise.
11362 (CLD_CONTINUED): Likewise.
11363 (POLL_IN): Likewise.
11364 (POLL_OUT): Likewise.
11365 (POLL_MSG): Likewise.
11366 (POLL_ERR): Likewise.
11367 (POLL_PRI): Likewise.
11368 (POLL_HUP): Likewise.
11369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11370 (ILL_ILLOPN): Likewise.
11371 (ILL_ILLADR): Likewise.
11372 (ILL_ILLTRP): Likewise.
11373 (ILL_PRVOPC): Likewise.
11374 (ILL_PRVREG): Likewise.
11375 (ILL_COPROC): Likewise.
11376 (ILL_BADSTK): Likewise.
11377 (FPE_INTDIV): Likewise.
11378 (FPE_INTOVF): Likewise.
11379 (FPE_FLTDIV): Likewise.
11380 (FPE_FLTOVF): Likewise.
11381 (FPE_FLTUND): Likewise.
11382 (FPE_FLTRES): Likewise.
11383 (FPE_FLTINV): Likewise.
11384 (FPE_FLTSUB): Likewise.
11385 (SEGV_MAPERR): Likewise.
11386 (SEGV_ACCERR): Likewise.
11387 (BUS_ADRALN): Likewise.
11388 (BUS_ADRERR): Likewise.
11389 (BUS_OBJERR): Likewise.
11390 (BUS_MCEERR_AR): Likewise.
11391 (BUS_MCEERR_AO): Likewise.
11392 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11393 (TRAP_TRACE): Likewise.
11394 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11395 __USE_XOPEN2K8].
11396 (CLD_KILLED): Likewise.
11397 (CLD_DUMPED): Likewise.
11398 (CLD_TRAPPED): Likewise.
11399 (CLD_STOPPED): Likewise.
11400 (CLD_CONTINUED): Likewise.
11401 (POLL_IN): Likewise.
11402 (POLL_OUT): Likewise.
11403 (POLL_MSG): Likewise.
11404 (POLL_ERR): Likewise.
11405 (POLL_PRI): Likewise.
11406 (POLL_HUP): Likewise.
11407 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11408 (ILL_ILLOPN): Likewise.
11409 (ILL_ILLADR): Likewise.
11410 (ILL_ILLTRP): Likewise.
11411 (ILL_PRVOPC): Likewise.
11412 (ILL_PRVREG): Likewise.
11413 (ILL_COPROC): Likewise.
11414 (ILL_BADSTK): Likewise.
11415 (FPE_INTDIV): Likewise.
11416 (FPE_INTOVF): Likewise.
11417 (FPE_FLTDIV): Likewise.
11418 (FPE_FLTOVF): Likewise.
11419 (FPE_FLTUND): Likewise.
11420 (FPE_FLTRES): Likewise.
11421 (FPE_FLTINV): Likewise.
11422 (FPE_FLTSUB): Likewise.
11423 (SEGV_MAPERR): Likewise.
11424 (SEGV_ACCERR): Likewise.
11425 (BUS_ADRALN): Likewise.
11426 (BUS_ADRERR): Likewise.
11427 (BUS_OBJERR): Likewise.
11428 (BUS_MCEERR_AR): Likewise.
11429 (BUS_MCEERR_AO): Likewise.
11430 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11431 (TRAP_TRACE): Likewise.
11432 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11433 __USE_XOPEN2K8].
11434 (CLD_KILLED): Likewise.
11435 (CLD_DUMPED): Likewise.
11436 (CLD_TRAPPED): Likewise.
11437 (CLD_STOPPED): Likewise.
11438 (CLD_CONTINUED): Likewise.
11439 (POLL_IN): Likewise.
11440 (POLL_OUT): Likewise.
11441 (POLL_MSG): Likewise.
11442 (POLL_ERR): Likewise.
11443 (POLL_PRI): Likewise.
11444 (POLL_HUP): Likewise.
11445 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11446 (ILL_ILLOPN): Likewise.
11447 (ILL_ILLADR): Likewise.
11448 (ILL_ILLTRP): Likewise.
11449 (ILL_PRVOPC): Likewise.
11450 (ILL_PRVREG): Likewise.
11451 (ILL_COPROC): Likewise.
11452 (ILL_BADSTK): Likewise.
11453 (ILL_DBLFLT): Likewise.
11454 (ILL_HARDWALL): Likewise.
11455 (FPE_INTDIV): Likewise.
11456 (FPE_INTOVF): Likewise.
11457 (FPE_FLTDIV): Likewise.
11458 (FPE_FLTOVF): Likewise.
11459 (FPE_FLTUND): Likewise.
11460 (FPE_FLTRES): Likewise.
11461 (FPE_FLTINV): Likewise.
11462 (FPE_FLTSUB): Likewise.
11463 (SEGV_MAPERR): Likewise.
11464 (SEGV_ACCERR): Likewise.
11465 (BUS_ADRALN): Likewise.
11466 (BUS_ADRERR): Likewise.
11467 (BUS_OBJERR): Likewise.
11468 (BUS_MCEERR_AR): Likewise.
11469 (BUS_MCEERR_AO): Likewise.
11470 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11471 (TRAP_TRACE): Likewise.
11472 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11473 __USE_XOPEN2K8].
11474 (CLD_KILLED): Likewise.
11475 (CLD_DUMPED): Likewise.
11476 (CLD_TRAPPED): Likewise.
11477 (CLD_STOPPED): Likewise.
11478 (CLD_CONTINUED): Likewise.
11479 (POLL_IN): Likewise.
11480 (POLL_OUT): Likewise.
11481 (POLL_MSG): Likewise.
11482 (POLL_ERR): Likewise.
11483 (POLL_PRI): Likewise.
11484 (POLL_HUP): Likewise.
11485 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11486 (ILL_ILLOPN): Likewise.
11487 (ILL_ILLADR): Likewise.
11488 (ILL_ILLTRP): Likewise.
11489 (ILL_PRVOPC): Likewise.
11490 (ILL_PRVREG): Likewise.
11491 (ILL_COPROC): Likewise.
11492 (ILL_BADSTK): Likewise.
11493 (FPE_INTDIV): Likewise.
11494 (FPE_INTOVF): Likewise.
11495 (FPE_FLTDIV): Likewise.
11496 (FPE_FLTOVF): Likewise.
11497 (FPE_FLTUND): Likewise.
11498 (FPE_FLTRES): Likewise.
11499 (FPE_FLTINV): Likewise.
11500 (FPE_FLTSUB): Likewise.
11501 (SEGV_MAPERR): Likewise.
11502 (SEGV_ACCERR): Likewise.
11503 (BUS_ADRALN): Likewise.
11504 (BUS_ADRERR): Likewise.
11505 (BUS_OBJERR): Likewise.
11506 (BUS_MCEERR_AR): Likewise.
11507 (BUS_MCEERR_AO): Likewise.
11508 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11509 (TRAP_TRACE): Likewise.
11510 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11511 __USE_XOPEN2K8].
11512 (CLD_KILLED): Likewise.
11513 (CLD_DUMPED): Likewise.
11514 (CLD_TRAPPED): Likewise.
11515 (CLD_STOPPED): Likewise.
11516 (CLD_CONTINUED): Likewise.
11517 (POLL_IN): Likewise.
11518 (POLL_OUT): Likewise.
11519 (POLL_MSG): Likewise.
11520 (POLL_ERR): Likewise.
11521 (POLL_PRI): Likewise.
11522 (POLL_HUP): Likewise.
11523 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11524 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11525
bc61d27c
JM
11526 [BZ #16670]
11527 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11528 before #include of <time.h>.
11529 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11530 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11531 (test-xfail-UNIX98/sched.h/conform): Likewise.
11532
302949e2
MS
115332014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11534
11535 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11536 error absence of trapping exception support.
11537 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11538
a00f522a
JM
115392014-03-07 Joseph Myers <joseph@codesourcery.com>
11540
6f99f280
JM
11541 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11542 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11543 * timezone/Makefile (testdata): Move definition above include of
11544 Rules.
11545 (test-zones): New variable.
11546 (tests-special): Add zone files.
11547 (build-testdata): Use $(evaluate-test).
11548
0b20a9e8
JM
11549 * elf/Makefile (tests-special): Rename tests to end with .out.
11550 ($(objpfx)noload-mem): Likewise.
11551 ($(objpfx)tst-leaks1-mem): Likewise.
11552 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11553 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11554 $(objpfx)test-iconvconfig.out.
11555 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11556 set -e inside subshell and redirect output to file.
11557 * iconvdata/Makefile (generated): Rename tests to end with .out.
11558 Correct type.
11559 (tests-special): Rename tests to end with .out.
11560 ($(objpfx)mtrace-tst-loading): Likewise.
11561 * intl/Makefile (generated): Likewise.
11562 (tests-special): Likewise.
11563 ($(objpfx)mtrace-tst-gettext): Likewise.
11564 * misc/Makefile (generated): Likewise.
11565 (tests-special): Likewise.
11566 ($(objpfx)tst-error1-mem): Likewise.
11567 * nptl/Makefile (tests-special): Likewise.
11568 ($(objpfx)tst-stack3-mem): Likewise.
11569 (generated): Likewise.
11570 * posix/Makefile (generated): Likewise.
11571 (tests-special): Likewise.
11572 (xtests-special): Likewise.
11573 ($(objpfx)tst-fnmatch-mem): Likewise.
11574 ($(objpfx)bug-regex2-mem): Likewise.
11575 ($(objpfx)bug-regex14-mem): Likewise.
11576 ($(objpfx)bug-regex21-mem): Likewise.
11577 ($(objpfx)bug-regex31-mem): Likewise.
11578 ($(objpfx)tst-vfork3-mem): Likewise.
11579 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11580 ($(objpfx)tst-pcre-mem): Likewise.
11581 ($(objpfx)tst-boost-mem): Likewise.
11582 ($(objpfx)bug-ga2-mem): Likewise.
11583 ($(objpfx)bug-glob2-mem): Likewise.
11584 * resolv/Makefile (generate): Likewise.
11585 (tests-special): Likewise.
11586 (xtests-special): Likewise.
11587 (generated): Likewise.
11588 ($(objpfx)mtrace-tst-leaks): Likewise.
11589 ($(objpfx)mtrace-tst-leaks2): Likewise.
11590
265d52ab
JM
11591 * scripts/merge-test-results.sh: New file.
11592 * Makefile (tests-special-notdir): New variable.
11593 (tests): Run merge-test-results.sh.
11594 (xtests): Likewise.
11595 * Rules (tests-special-notdir): New variable.
11596 (xtests-special-notdir): Likewise.
11597 (tests): Run merge-test-results.sh
11598 (xtests): Likewise.
11599
54ee292d
JM
11600 * Makeconfig (test-xfail-name): New variable.
11601 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11602 compute variable name for expected failures.
11603 * conform/Makefile (conformtest-headers-data): New variable.
11604 (conformtest-standards): Likewise.
11605 (conformtest-headers-ISO): Likewise.
11606 (conformtest-headers-ISO99): Likewise.
11607 (conformtest-headers-ISO11): Likewise.
11608 (conformtest-headers-POSIX): Likewise.
11609 (conformtest-headers-XPG3): Likewise.
11610 (conformtest-headers-XPG4): Likewise.
11611 (conformtest-headers-UNIX98): Likewise.
11612 (conformtest-headers-XOPEN2K): Likewise.
11613 (conformtest-headers-POSIX2008): Likewise.
11614 (conformtest-headers-XOPEN2K8): Likewise.
11615 (conformtest-header-list-base): Likewise.
11616 (conformtest-header-list-tests): Likewise.
11617 (conformtest-header-base): Likewise.
11618 (conformtest-header-tests): Likewise.
11619 (tests-special): Add $(conformtest-header-list-tests). If
11620 [$(fast-check) && !$(cross-compiling)], add
11621 $(conformtest-header-tests) instead of
11622 $(objpfx)run-conformtest.out.
11623 (generated): Add $(conformtest-header-list-base). If
11624 [$(fast-check) && !$(cross-compiling)], add
11625 $(conformtest-header-base). Remove previous setting.
11626 ($(conformtest-header-list-tests)): New target.
11627 (test-xfail-run-conformtest): Remove variable.
11628 ($(objpfx)run-conformtest.out): Remove target.
11629 (test-xfail-ISO11/complex.h/conform): New variable.
11630 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11631 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11632 (test-xfail-XPG3/varargs.h/conform): Likewise.
11633 (test-xfail-XPG4/varargs.h/conform): Likewise.
11634 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11635 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11636 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11637 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11638 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11639 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11640 (test-xfail-XPG3/ftw.h/conform): Likewise.
11641 (test-xfail-XPG3/grp.h/conform): Likewise.
11642 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11643 (test-xfail-XPG3/limits.h/conform): Likewise.
11644 (test-xfail-XPG3/pwd.h/conform): Likewise.
11645 (test-xfail-XPG3/search.h/conform): Likewise.
11646 (test-xfail-XPG3/signal.h/conform): Likewise.
11647 (test-xfail-XPG3/stdio.h/conform): Likewise.
11648 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11649 (test-xfail-XPG3/string.h/conform): Likewise.
11650 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11651 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11652 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11653 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11654 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11655 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11656 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11657 (test-xfail-XPG3/termios.h/conform): Likewise.
11658 (test-xfail-XPG3/time.h/conform): Likewise.
11659 (test-xfail-XPG3/unistd.h/conform): Likewise.
11660 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11661 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11662 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11663 (test-xfail-XPG4/netdb.h/conform): Likewise.
11664 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11665 (test-xfail-XPG4/signal.h/conform): Likewise.
11666 (test-xfail-XPG4/stdio.h/conform): Likewise.
11667 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11668 (test-xfail-XPG4/stropts.h/conform): Likewise.
11669 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11670 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11671 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11672 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11673 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11674 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11675 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11676 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11677 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11678 (test-xfail-XPG4/termios.h/conform): Likewise.
11679 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11680 (test-xfail-XPG4/unistd.h/conform): Likewise.
11681 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11682 (test-xfail-POSIX/sched.h/conform): Likewise.
11683 (test-xfail-POSIX/signal.h/conform): Likewise.
11684 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11685 (test-xfail-POSIX/tar.h/conform): Likewise.
11686 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11687 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11688 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11689 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11690 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11691 (test-xfail-UNIX98/sched.h/conform): Likewise.
11692 (test-xfail-UNIX98/signal.h/conform): Likewise.
11693 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11694 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11695 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11696 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11697 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11698 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11699 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11700 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11701 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11702 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11703 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11704 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11705 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11706 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11707 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11708 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11709 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11710 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11711 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11712 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11713 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11714 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11715 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11716 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11717 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11718 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11719 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11720 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11721 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11722 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11723 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11724 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11725 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11726 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11727 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11728 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11729 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11730 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11731 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11732 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11733 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11734 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11735 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11736 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11737 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11738 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11739 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11740 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11741 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11742 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11743 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11744 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11745 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11746 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11747 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11748 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11749 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11750 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11751 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11752 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11753 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11754 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11755 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11756 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11757 (conformtest-cc-flags): Likewise.
11758 ($(conformtest-header-tests): New target.
11759 * conform/check-header-lists.sh: New file.
11760 * conform/run-conformtest.sh: Remove.
11761
a00f522a
JM
11762 * conform/conformtest.pl: Allow ' and \ in values given for
11763 constants.
11764 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11765 inclusion.
11766 [POSIX] (sys/types.h): Likewise.
11767 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11768 inclusion.
11769 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11770 inclusion.
11771 * conform/data/signal.h-data (SIGIO): Remove expectation.
11772 [XPG3] (SIGBUS): Do not expect.
11773 [POSIX || XPG3] (SIGPOLL): Likewise.
11774 [POSIX || XPG3] (SIGPROF): Likewise.
11775 [POSIX || XPG3] (SIGSYS): Likewise.
11776 [XPG3] (SIGTRAP): Likewise.
11777 [POSIX || XPG3] (SIGURG): Likewise.
11778 [POSIX || XPG3] (SIGVTALRM): Likewise.
11779 [POSIX || XPG3] (SIGXCPU): Likewise.
11780 [POSIX || XPG3] (SIGXFSZ): Likewise.
11781 [POSIX] (SA_SIGINFO): Expect.
11782 [XPG3] (siginfo_t): Do not expect type or contents.
11783 [POSIX] (si_pid): Do not expect element.
11784 [POSIX] (si_uid): Likewise.
11785 [POSIX] (si_addr): Likewise.
11786 [POSIX] (si_status): Likewise.
11787 [POSIX] (si_band): Likewise.
11788 [XPG4] (si_value): Likewise.
11789 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11790 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11791 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11792 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11793 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11794 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11795 [POSIX || XPG3] (ILL_COPROC): Likewise.
11796 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11797 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11798 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11799 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11800 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11801 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11802 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11803 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11804 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11805 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11806 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11807 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11808 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11809 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11810 [POSIX || XPG3] (CLD_EXITED): Likewise.
11811 [POSIX || XPG3] (CLD_KILLED): Likewise.
11812 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11813 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11814 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11815 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11816 [POSIX || XPG3] (POLL_IN): Likewise.
11817 [POSIX || XPG3] (POLL_OUT): Likewise.
11818 [POSIX || XPG3] (POLL_MSG): Likewise.
11819 [POSIX || XPG3] (POLL_ERR): Likewise.
11820 [POSIX || XPG3] (POLL_PRI): Likewise.
11821 [POSIX || XPG3] (POLL_HUP): Likewise.
11822 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11823 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11824 (SIG*): Do not allow.
11825 [XPG3] (si_*): Likewise.
11826 [XPG3] (SI_*): Likewise.
11827 [XPG3 || XPG4] (sigev_*): Likewise.
11828 [XPG3 || XPG4] (SIGEV_*): Likewise.
11829 [XPG3 || XPG4] (sival_*): Likewise.
11830 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11831 [POSIX || XPG3] (BUS_*): Likewise.
11832 [POSIX || XPG3] (CLD_*): Likewise.
11833 [POSIX || XPG3] (FPE_*): Likewise.
11834 [POSIX || XPG3] (ILL_*): Likewise.
11835 [POSIX || XPG3] (POLL_*): Likewise.
11836 [POSIX || XPG3] (SEGV_*): Likewise.
11837 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11838 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11839 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11840 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11841 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11842 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11843 Specify type and value.
11844 (TVERSLEN): Likewise.
11845 (REGTYPE): Likewise.
11846 (AREGTYPE): Likewise.
11847 (LNKTYPE): Likewise.
11848 (SYMTYPE): Likewise.
11849 (CHRTYPE): Likewise.
11850 (BLKTYPE): Likewise.
11851 (DIRTYPE): Likewise.
11852 (FIFOTYPE): Likewise.
11853 (CONTTYPE): Likewise.
11854 (TSUID): Likewise.
11855 (TSGID): Likewise.
11856 (TSVTX): Likewise.
11857 (TUREAD): Likewise.
11858 (TUWRITE): Likewise.
11859 (TUEXEC): Likewise.
11860 (TGREAD): Likewise.
11861 (TGWRITE): Likewise.
11862 (TGEXEC): Likewise.
11863 (TOREAD): Likewise.
11864 (TOWRITE): Likewise.
11865 (TOEXEC): Likewise.
11866 [POSIX] (TSVTX): Expect constant.
11867
aa97dee1
JM
118682014-03-06 Joseph Myers <joseph@codesourcery.com>
11869
f214606a
JM
11870 * Makefile (tests): Change dependencies to ....
11871 (tests-special): ... additions to this variable.
11872 (tests): Depend on $(tests-special).
11873 * Makerules (check-abi-list): New variable.
11874 (check-abi): Depend on $(check-abi-list).
11875 [$(subdir) = elf] (tests-special): Add
11876 $(objpfx)check-abi-libc.out.
11877 [$(build-shared) = yes && subdir] (tests-special): Add
11878 $(check-abi-list).
11879 [$(build-shared) = yes && subdir] (tests): Do not depend on
11880 check-abi.
11881 * Rules (tests): Depend on $(tests-special).
11882 (xtests): Depend on $(xtests-special).
11883 * catgets/Makefile (tests): Change dependencies to ....
11884 (tests-special): ... additions to this variable.
11885 * conform/Makefile (tests): Change dependencies to ....
11886 (tests-special): ... additions to this variable.
11887 * elf/Makefile (tests): Change dependencies to ....
11888 (tests-special): ... additions to this variable.
11889 * grp/Makefile (tests): Change dependencies to ....
11890 (tests-special): ... additions to this variable.
11891 * iconv/Makefile (xtests): Change dependencies to ....
11892 (xtests-special): ... additions to this variable.
11893 * iconvdata/Makefile (tests): Change dependencies to ....
11894 (tests-special): ... additions to this variable.
11895 * intl/Makefile (tests): Change dependencies to ....
11896 (tests-special): ... additions to this variable. Also add
11897 $(objpfx)tst-gettext.out.
11898 * io/Makefile (tests): Change dependencies to ....
11899 (tests-special): ... additions to this variable.
11900 * libio/Makefile (tests): Change dependencies to ....
11901 (tests-special): ... additions to this variable.
11902 * malloc/Makefile (tests): Change dependencies to ....
11903 (tests-special): ... additions to this variable.
11904 * misc/Makefile (tests): Change dependencies to ....
11905 (tests-special): ... additions to this variable.
11906 * nptl/Makefile (tests): Change dependencies to ....
11907 (tests-special): ... additions to this variable.
11908 * nptl_db/Makefile (tests): Change dependencies to ....
11909 (tests-special): ... additions to this variable.
11910 * posix/Makefile (tests): Change dependencies to ....
11911 (tests-special): ... additions to this variable.
11912 (xtests): Change dependencies to ....
11913 (xtests-special): ... additions to this variable.
11914 * resolv/Makefile (tests): Change dependencies to ....
11915 (tests-special): ... additions to this variable.
11916 (xtests): Change dependencies to ....
11917 (xtests-special): ... additions to this variable.
11918 * stdio-common/Makefile (tests): Change dependencies to ....
11919 (tests-special): ... additions to this variable.
11920 (do-tst-unbputc): Remove target.
11921 (do-tst-printf): Likewise.
11922 * stdlib/Makefile (tests): Change dependencies to ....
11923 (tests-special): ... additions to this variable.
11924 * string/Makefile (tests): Change dependencies to ....
11925 (tests-special): ... additions to this variable.
11926 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11927 (tests-special): ... additions to this variable.
11928
81700b53
JM
11929 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11930 whole file.
11931 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11932 whole file.
11933 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11934 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11935
2ea18461
JM
11936 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11937 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11938 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11939 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11940 * conform/data/libgen.h-data [XPG3]: Likewise.
11941 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11942 * conform/data/ndbm.h-data [XPG3]: Likewise.
11943 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11944 * conform/data/netdb.h-data [XPG3]: Likewise.
11945 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11946 * conform/data/poll.h-data [XPG3]: Likewise.
11947 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11948 * conform/data/strings.h-data [XPG3]: Likewise.
11949 * conform/data/stropts.h-data [XPG3]: Likewise.
11950 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11951 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11952 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11953 Likewise.
11954 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11955 * conform/data/sys/time.h-data [XPG3]: Likewise.
11956 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11957 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11958 * conform/data/sys/un.h-data [XPG3]: Likewise.
11959 * conform/data/syslog.h-data [XPG3]: Likewise.
11960 * conform/data/ucontext.h-data [XPG3]: Likewise.
11961 * conform/data/utmpx.h-data [XPG3]: Likewise.
11962 * conform/data/varargs.h-data [UNIX98]: Enable file.
11963
355bc986
JM
11964 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11965
215db402
JM
11966 * math/libm-test.inc (struct test_f_f_data): Move expected results
11967 into structure for each rounding mode.
11968 (struct test_ff_f_data): Likewise.
11969 (struct test_ff_f_data_nexttoward): Likewise.
11970 (struct test_fi_f_data): Likewise.
11971 (struct test_fl_f_data): Likewise.
11972 (struct test_if_f_data): Likewise.
11973 (struct test_fff_f_data): Likewise.
11974 (struct test_c_f_data): Likewise.
11975 (struct test_f_f1_data): Likewise.
11976 (struct test_fF_f1_data): Likewise.
11977 (struct test_ffI_f1_data): Likewise.
11978 (struct test_c_c_data): Likewise.
11979 (struct test_cc_c_data): Likewise.
11980 (struct test_f_i_data): Likewise.
11981 (struct test_ff_i_data): Likewise.
11982 (struct test_f_l_data): Likewise.
11983 (struct test_f_L_data): Likewise.
11984 (struct test_fFF_11_data): Likewise.
11985 (RM_): New macro.
11986 (RM_FE_DOWNWARD): Likewise.
11987 (RM_FE_TONEAREST): Likewise.
11988 (RM_FE_TOWARDZERO): Likewise.
11989 (RM_FE_UPWARD): Likewise.
11990 (RUN_TEST_LOOP_f_f): Update references to expected results.
11991 (RUN_TEST_LOOP_2_f): Likewise.
11992 (RUN_TEST_LOOP_fff_f): Likewise.
11993 (RUN_TEST_LOOP_c_f): Likewise.
11994 (RUN_TEST_LOOP_f_f1): Likewise.
11995 (RUN_TEST_LOOP_fF_f1): Likewise.
11996 (RUN_TEST_LOOP_fI_f1): Likewise.
11997 (RUN_TEST_LOOP_ffI_f1): Likewise.
11998 (RUN_TEST_LOOP_c_c): Likewise.
11999 (RUN_TEST_LOOP_cc_c): Likewise.
12000 (RUN_TEST_LOOP_f_i): Likewise.
12001 (RUN_TEST_LOOP_f_i_tg): Likewise.
12002 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12003 (RUN_TEST_LOOP_f_b): Likewise.
12004 (RUN_TEST_LOOP_f_b_tg): Likewise.
12005 (RUN_TEST_LOOP_f_l): Likewise.
12006 (RUN_TEST_LOOP_f_L): Likewise.
12007 (RUN_TEST_LOOP_fFF_11): Likewise.
12008 * math/gen-libm-test.pl (parse_args): Output four copies of
12009 expected results for each test.
12010
67737b8f
JM
12011 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12012 (__ASSUME_UTIMES): Remove.
12013 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12014 (__ASSUME_UTIMES): Likewise.
12015
aa97dee1
JM
12016 * math/gen-auto-libm-tests.c: Update comment on output format.
12017 (output_for_one_input_case): Generate before-rounding and
12018 after-rounding information as conditions on output flags not
12019 floating-point format.
12020 * math/auto-libm-test-out: Regenerated.
12021 * math/gen-libm-test.pl (cond_value): New function.
12022 (or_cond_value): Use cond_value.
12023 (generate_testfile): Handle conditional exceptions.
12024
e6b6a857
JM
120252014-03-05 Joseph Myers <joseph@codesourcery.com>
12026
2f0a0f44
JM
12027 * math/libm-test.inc (max_valid_error): New variable.
12028 (init_max_error): Take new argument specifying whether function
12029 results are exactly determined. Set max_valid_error and bound
12030 other variables for errors based on this argument.
12031 (set_max_error): Do not record results above max_valid_error.
12032 (check_float_internal): Only accept errors of up to 0.5ulps if
12033 also at most max_valid_error.
12034 (START): Take new argument EXACT and pass it to init_max_error.
12035 (acos_test): Update call to START.
12036 (acos_test_tonearest): Likewise.
12037 (acos_test_towardzero): Likewise.
12038 (acos_test_downward): Likewise.
12039 (acos_test_upward): Likewise.
12040 (acosh_test): Likewise.
12041 (asin_test): Likewise.
12042 (asin_test_tonearest): Likewise.
12043 (asin_test_towardzero): Likewise.
12044 (asin_test_downward): Likewise.
12045 (asin_test_upward): Likewise.
12046 (asinh_test): Likewise.
12047 (atan_test): Likewise.
12048 (atanh_test): Likewise.
12049 (atan2_test): Likewise.
12050 (cabs_test): Likewise.
12051 (cacos_test): Likewise.
12052 (cacosh_test): Likewise.
12053 (carg_test): Likewise.
12054 (casin_test): Likewise.
12055 (casinh_test): Likewise.
12056 (catan_test): Likewise.
12057 (catanh_test): Likewise.
12058 (cbrt_test): Likewise.
12059 (ccos_test): Likewise.
12060 (ccosh_test): Likewise.
12061 (ceil_test): Likewise.
12062 (cexp_test): Likewise.
12063 (cimag_test): Likewise.
12064 (clog_test): Likewise.
12065 (clog10_test): Likewise.
12066 (conj_test): Likewise.
12067 (copysign_test): Likewise.
12068 (cos_test): Likewise.
12069 (cos_test_tonearest): Likewise.
12070 (cos_test_towardzero): Likewise.
12071 (cos_test_downward): Likewise.
12072 (cos_test_upward): Likewise.
12073 (cosh_test): Likewise.
12074 (cosh_test_tonearest): Likewise.
12075 (cosh_test_towardzero): Likewise.
12076 (cosh_test_downward): Likewise.
12077 (cosh_test_upward): Likewise.
12078 (cpow_test): Likewise.
12079 (cproj_test): Likewise.
12080 (creal_test): Likewise.
12081 (csin_test): Likewise.
12082 (csinh_test): Likewise.
12083 (csqrt_test): Likewise.
12084 (ctan_test): Likewise.
12085 (ctan_test_tonearest): Likewise.
12086 (ctan_test_towardzero): Likewise.
12087 (ctan_test_downward): Likewise.
12088 (ctan_test_upward): Likewise.
12089 (ctanh_test): Likewise.
12090 (ctanh_test_tonearest): Likewise.
12091 (ctanh_test_towardzero): Likewise.
12092 (ctanh_test_downward): Likewise.
12093 (ctanh_test_upward): Likewise.
12094 (erf_test): Likewise.
12095 (erfc_test): Likewise.
12096 (exp_test): Likewise.
12097 (exp_test_tonearest): Likewise.
12098 (exp_test_towardzero): Likewise.
12099 (exp_test_downward): Likewise.
12100 (exp_test_upward): Likewise.
12101 (exp10_test): Likewise.
12102 (exp10_test_tonearest): Likewise.
12103 (exp10_test_towardzero): Likewise.
12104 (exp10_test_downward): Likewise.
12105 (exp10_test_upward): Likewise.
12106 (pow10_test): Likewise.
12107 (exp2_test): Likewise.
12108 (expm1_test): Likewise.
12109 (expm1_test_tonearest): Likewise.
12110 (expm1_test_towardzero): Likewise.
12111 (expm1_test_downward): Likewise.
12112 (expm1_test_upward): Likewise.
12113 (fabs_test): Likewise.
12114 (fdim_test): Likewise.
12115 (floor_test): Likewise.
12116 (fma_test): Likewise.
12117 (fma_test_towardzero): Likewise.
12118 (fma_test_downward): Likewise.
12119 (fma_test_upward): Likewise.
12120 (fmax_test): Likewise.
12121 (fmin_test): Likewise.
12122 (fmod_test): Likewise.
12123 (fpclassify_test): Likewise.
12124 (frexp_test): Likewise.
12125 (hypot_test): Likewise.
12126 (ilogb_test): Likewise.
12127 (isfinite_test): Likewise.
12128 (finite_test): Likewise.
12129 (isgreater_test): Likewise.
12130 (isgreaterequal_test): Likewise.
12131 (isinf_test): Likewise.
12132 (isless_test): Likewise.
12133 (islessequal_test): Likewise.
12134 (islessgreater_test): Likewise.
12135 (isnan_test): Likewise.
12136 (isnormal_test): Likewise.
12137 (issignaling_test): Likewise.
12138 (isunordered_test): Likewise.
12139 (j0_test): Likewise.
12140 (j1_test): Likewise.
12141 (jn_test): Likewise.
12142 (ldexp_test): Likewise.
12143 (lgamma_test): Likewise.
12144 (gamma_test): Likewise.
12145 (lrint_test): Likewise.
12146 (lrint_test_tonearest): Likewise.
12147 (lrint_test_towardzero): Likewise.
12148 (lrint_test_downward): Likewise.
12149 (lrint_test_upward): Likewise.
12150 (llrint_test): Likewise.
12151 (llrint_test_tonearest): Likewise.
12152 (llrint_test_towardzero): Likewise.
12153 (llrint_test_downward): Likewise.
12154 (llrint_test_upward): Likewise.
12155 (log_test): Likewise.
12156 (log10_test): Likewise.
12157 (log1p_test): Likewise.
12158 (log2_test): Likewise.
12159 (logb_test): Likewise.
12160 (logb_test_downward): Likewise.
12161 (lround_test): Likewise.
12162 (llround_test): Likewise.
12163 (modf_test): Likewise.
12164 (nearbyint_test): Likewise.
12165 (nextafter_test): Likewise.
12166 (nexttoward_test): Likewise.
12167 (pow_test): Likewise.
12168 (pow_test_tonearest): Likewise.
12169 (pow_test_towardzero): Likewise.
12170 (pow_test_downward): Likewise.
12171 (pow_test_upward): Likewise.
12172 (remainder_test): Likewise.
12173 (drem_test): Likewise.
12174 (remainder_test_tonearest): Likewise.
12175 (drem_test_tonearest): Likewise.
12176 (remainder_test_towardzero): Likewise.
12177 (drem_test_towardzero): Likewise.
12178 (remainder_test_downward): Likewise.
12179 (drem_test_downward): Likewise.
12180 (remainder_test_upward): Likewise.
12181 (drem_test_upward): Likewise.
12182 (remquo_test): Likewise.
12183 (rint_test): Likewise.
12184 (rint_test_tonearest): Likewise.
12185 (rint_test_towardzero): Likewise.
12186 (rint_test_downward): Likewise.
12187 (rint_test_upward): Likewise.
12188 (round_test): Likewise.
12189 (scalb_test): Likewise.
12190 (scalbn_test): Likewise.
12191 (scalbln_test): Likewise.
12192 (signbit_test): Likewise.
12193 (sin_test): Likewise.
12194 (sin_test_tonearest): Likewise.
12195 (sin_test_towardzero): Likewise.
12196 (sin_test_downward): Likewise.
12197 (sin_test_upward): Likewise.
12198 (sincos_test): Likewise.
12199 (sinh_test): Likewise.
12200 (sinh_test_tonearest): Likewise.
12201 (sinh_test_towardzero): Likewise.
12202 (sinh_test_downward): Likewise.
12203 (sinh_test_upward): Likewise.
12204 (sqrt_test): Likewise.
12205 (sqrt_test_tonearest): Likewise.
12206 (sqrt_test_towardzero): Likewise.
12207 (sqrt_test_downward): Likewise.
12208 (sqrt_test_upward): Likewise.
12209 (tan_test): Likewise.
12210 (tan_test_tonearest): Likewise.
12211 (tan_test_towardzero): Likewise.
12212 (tan_test_downward): Likewise.
12213 (tan_test_upward): Likewise.
12214 (tanh_test): Likewise.
12215 (tgamma_test): Likewise.
12216 (trunc_test): Likewise.
12217 (y0_test): Likewise.
12218 (y1_test): Likewise.
12219 (yn_test): Likewise.
12220 (significand_test): Likewise.
12221
e6b6a857
JM
12222 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12223 individual tests in comment.
12224 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12225 (prev_max_error): New variable.
12226 (prev_real_max_error): Likewise.
12227 (prev_imag_max_error): Likewise.
12228 (compare_ulp_data): Don't refer to test names in comment.
12229 (find_test_ulps): Remove function.
12230 (find_function_ulps): Likewise.
12231 (find_complex_function_ulps): Likewise.
12232 (init_max_error): Take function name as argument. Look up ulps
12233 for that function.
12234 (print_ulps): Remove function.
12235 (print_max_error): Use prev_max_error instead of calling
12236 find_function_ulps.
12237 (print_complex_max_error): Use prev_real_max_error and
12238 prev_imag_max_error instead of calling find_complex_function_ulps.
12239 (check_float_internal): Take max_ulp parameter instead of calling
12240 find_test_ulps. Don't call print_ulps.
12241 (check_float): Update call to check_float_internal.
12242 (check_complex): Update calls to check_float_internal.
12243 (START): Pass argument to init_max_error.
12244 * math/gen-libm-test.pl (%results): Don't include "kind"
12245 information.
12246 (parse_ulps): Don't handle ulps of individual tests.
12247 (print_ulps_file): Likewise.
12248 (output_ulps): Likewise.
12249 * math/README.libm-test: Update.
12250 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12251 individual tests.
12252 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12253 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12254 * sysdeps/arm/libm-test-ulps: Likewise.
12255 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12256 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12257 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12258 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12259 * sysdeps/microblaze/libm-test-ulps: Likewise.
12260 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12261 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12262 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12263 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12264 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12265 * sysdeps/sh/libm-test-ulps: Likewise.
12266 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12267 * sysdeps/tile/libm-test-ulps: Likewise.
12268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12269
45adef3c
JM
122702014-03-04 Joseph Myers <joseph@codesourcery.com>
12271
12272 * math/libm-test.inc (print_complex_max_error): Check separately
12273 whether real and imaginary errors are within allowed range and
12274 pass 0 to print_complex_function_ulps instead of value within
12275 allowed range.
12276
000232b9
SP
122772014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12278
d4b17258
SP
12279 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12280 formatting.
12281 (get_handles_fopen): Likewise.
12282 (do_write_test): Likewise.
12283
091eff71
SP
12284 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12285
fa3cd248
SP
12286 * libio/fileops.c (do_ftell): Use cached offset when
12287 available.
12288 * libio/iofwide.c (do_ftell_wide): Likewise.
12289 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12290 _IO_file_attach.
12291 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12292
000232b9
SP
12293 [BZ #16532]
12294 * libio/libioP.h (get_file_offset): New function.
12295 * libio/fileops.c (get_file_offset): Likewise.
12296 (do_ftell): Likewise.
12297 (_IO_new_file_seekoff): Split out ftell logic.
12298 * libio/wfileops.c (do_ftell_wide): Likewise.
12299 (_IO_wfile_seekoff): Split out ftell logic.
12300 * libio/tst-ftell-active-handler.c: New test case.
12301 * libio/Makefile (tests): Add it.
12302
116f4d1a
RM
123032014-03-03 Roland McGrath <roland@hack.frob.com>
12304
12305 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12306 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12307
532a6035
SP
123082014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12309
12310 [BZ #16639]
12311 * nscd/connections.c (nscd_init): Call do_exit.
12312 (start_threads): Call do_exit and notify_parent.
12313 (begin_drop_privileges): Call do_exit.
12314 (finish_drop_privileges): Likewise.
12315 * nscd/selinux.c (preserve_capabilities): Likewise.
12316 (install_real_capabilities): Likewise.
12317 (nscd_selinux_enabled): Likewise.
12318 (avc_create_thread): Likewise.
12319 (avc_alloc_lock): Likewise.
12320 (nscd_avc_init): Likewise.
12321 * nscd/nscd.c (parent_fd): New static variable.
12322 (main): Create a pipe between parent and child processes.
12323 Skip closing parent_fd.
12324 (monitor_child): New function.
12325 (do_exit): Likewise.
12326 (notify_parent): Likewise.
12327 * nscd/nscd.h (notify_parent): Likewise.
12328 (do_exit): Likewise.
12329
d6285c9f
CD
123302014-03-03 Carlos O'Donell <carlos@redhat.com>
12331
12332 * malloc/malloc.c (__libc_calloc): Revert last change.
12333
2b85d2a0
AZ
123342014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12335
12336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12337
c7debbdf
RS
123382014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12339
12340 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12342 implementation.
12343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12344 (__libc_ifunc_impl_list): Likewise.
12345 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12346 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12347 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12348 * string/strrchr.c: Define STRRCHR.
12349
235eed86
OB
123502014-02-28 Ondřej Bílka <neleai@seznam.cz>
12351
12352 * benchtest/bench-strtok.c (simple_strtok): Delete.
12353 (strtok_string): Use as benchmark.
12354 * string/strtok (STRTOK): New macro.
12355
8e25d1e7
CD
123562014-02-28 Carlos O'Donell <carlos@redhat.com>
12357
ef563f92
CD
12358 * manual/threads.texi: Add header and standard comments to all
12359 functions.
12360
8e25d1e7
CD
12361 * elf/dl-lookup.c (check_match): New function.
12362 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12363 (do_lookup_x): Remove nested function check_match. Use non-nested
12364 function check_match.
12365
ff71cc37
RM
123662014-02-28 Roland McGrath <roland@hack.frob.com>
12367
f08e9a26
RM
12368 * csu/Makefile (generated, before-compile): Use += rather than =.
12369 * catgets/Makefile (generated, generated-dirs): Likewise.
12370 * debug/Makefile (generated): Likewise.
12371 * dlfcn/Makefile (generated): Likewise.
12372 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12373 * iconvdata/Makefile (before-compile, generated): Likewise.
12374 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12375 * libio/Makefile (generated): Likewise.
12376 * malloc/Makefile (generated): Likewise.
12377 * manual/Makefile (generated, generated-dirs): Likewise.
12378 * misc/Makefile (generated): Likewise.
12379 * posix/Makefile (generated): Likewise.
12380 * resolv/Makefile (generated): Likewise.
12381 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12382 * timezone/Makefile (generated, generated-dirs): Likewise.
12383
ff71cc37
RM
12384 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12385
fe13a20c
AZ
123862014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12387
57f41c40
AS
12388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12389 power8 implementation.
12390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12391 file: POWER8 llround ifunc implementation.
12392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12393 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12394 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12395 POWER8 llround implementation.
12396
57f41c40
AS
12397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12398 power8 implementation.
12399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12400 file: POWER8 llrint ifunc implementation.
12401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12402 Add POWER8 implementation.
1ad8950a
AZ
12403 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12404 POWER8 llrint implementation.
12405
57f41c40
AS
12406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12407 power8 implementation.
12408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12409 file: POWER8 finite ifunc implementation.
12410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12411 Add POWER8 implementation.
cac626d6
AZ
12412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12413 Likewise.
12414 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12415 POWER8 finite implementation.
12416 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12417
57f41c40
AS
12418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12419 power8 implementation.
12420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12421 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12423 POWER8 implementation.
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12425 Likewise.
57f41c40
AS
12426 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12427 isinf implementation.
4393fc11
AZ
12428 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12429
57f41c40
AS
12430 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12431 (INIT_ARCH): Add hwcap2 initialization.
12432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12433 power8 implementation.
12434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12435 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12437 POWER8 implementation.
12438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12439 Likewise.
57f41c40
AS
12440 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12441 isnan implementation.
487972ae
AZ
12442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12443
7d92b787
JY
124442014-02-27 Joey Ye <joey.ye@arm.com>
12445
12446 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12447 (_FP_NANFRAC_Q): Set to zero.
12448
1cadc858
SP
124492014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12450
12451 [BZ #16623]
12452 * math/auto-libm-test-in: New test inputs.
12453 * math/auto-libm-test-out: Regenerate.
12454 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12455 and DA.
12456 (__cos): Likewise.
12457 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12458
f8c17e79
JM
124592014-02-27 Joseph Myers <joseph@codesourcery.com>
12460
12461 * scripts/evaluate-test.sh: Take new argument indicating whether
12462 failure is expected.
12463 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12464 indicating whether failure is expected.
12465 * conform/Makefile (test-xfail-run-conformtest): New variable.
12466 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12467 level.
12468 * posix/Makefile (test-xfail-annexc): New variable.
12469 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12470
a5f891ac
JM
124712014-02-26 Joseph Myers <joseph@codesourcery.com>
12472
12473 * argp/Makefile: Include Makeconfig immediately after defining
12474 subdir.
12475 * assert/Makefile: Likewise.
12476 * benchtests/Makefile: Likewise.
12477 * catgets/Makefile: Likewise.
12478 * conform/Makefile: Likewise.
12479 * crypt/Makefile: Likewise.
12480 * csu/Makefile: Likewise.
12481 (all): Remove target.
12482 * ctype/Makefile: Include Makeconfig immediately after defining
12483 subdir.
12484 * debug/Makefile: Likewise.
12485 * dirent/Makefile: Likewise.
12486 * dlfcn/Makefile: Likewise.
12487 * gmon/Makefile: Likewise.
12488 * gnulib/Makefile: Likewise.
12489 * grp/Makefile: Likewise.
12490 * gshadow/Makefile: Likewise.
12491 * hesiod/Makefile: Likewise.
12492 * hurd/Makefile: Likewise.
12493 (all): Remove target.
12494 * iconvdata/Makefile: Include Makeconfig immediately after
12495 defining subdir.
12496 * inet/Makefile: Likewise.
12497 * intl/Makefile: Likewise.
12498 * io/Makefile: Likewise.
12499 * libio/Makefile: Likewise.
12500 (all): Remove target.
12501 * locale/Makefile: Include Makeconfig immediately after defining
12502 subdir.
12503 * login/Makefile: Likewise.
12504 * mach/Makefile: Likewise.
12505 (all): Remove target.
12506 * malloc/Makefile: Include Makeconfig immediately after defining
12507 subdir.
12508 (all): Remove target.
12509 * manual/Makefile: Include Makeconfig immediately after defining
12510 subdir.
12511 * math/Makefile: Likewise.
12512 * misc/Makefile: Likewise.
12513 * nis/Makefile: Likewise.
12514 * nss/Makefile: Likewise.
12515 * po/Makefile: Likewise.
12516 (all): Remove target.
12517 * posix/Makefile: Include Makeconfig immediately after defining
12518 subdir.
12519 * pwd/Makefile: Likewise.
12520 * resolv/Makefile: Likewise.
12521 * resource/Makefile: Likewise.
12522 * rt/Makefile: Likewise.
12523 * setjmp/Makefile: Likewise.
12524 * shadow/Makefile: Likewise.
12525 * signal/Makefile: Likewise.
12526 * socket/Makefile: Likewise.
12527 * soft-fp/Makefile: Likewise.
12528 * stdio-common/Makefile: Likewise.
12529 * stdlib/Makefile: Likewise.
12530 * streams/Makefile: Likewise.
12531 * string/Makefile: Likewise.
12532 * sunrpc/Makefile: Likewise.
12533 (all): Remove target.
12534 * sysvipc/Makefile: Include Makeconfig immediately after defining
12535 subdir.
12536 * termios/Makefile: Likewise.
12537 * time/Makefile: Likewise.
12538 * timezone/Makefile: Likewise.
12539 (all): Remove target.
12540 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12541 subdir.
12542 * wctype/Makefile: Likewise.
12543
5b456e9d
SE
125442014-02-26 Steve Ellcey <sellcey@mips.com>
12545
12546 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12547 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12548 (libc_feholdexcept_setround_mips): Ditto.
12549 (libc_feholdsetround): New.
12550 (libc_feholdsetroundf): New.
12551 (libc_feholdsetroundl): New.
12552 (libc_feupdateenv_test_mips): New.
12553 (libc_feupdateenv_test): New.
12554 (libc_feupdateenv_testf): New.
12555 (libc_feupdateenv_testl): New.
12556 (libc_feresetround): New.
12557 (libc_feresetroundf): New.
12558 (libc_feresetroundl): New.
12559 (libc_fetestexcept_mips): New.
12560 (libc_fetestexcept): New.
12561 (libc_fetestexceptf): New.
12562 (libc_fetestexceptl): New.
12563 (HAVE_RM_CTX): New.
12564 (libc_feholdexcept_setround_mips_ctx): New.
12565 (libc_feholdexcept_setround_ctx): New.
12566 (libc_feholdexcept_setroundf_ctx): New.
12567 (libc_feholdexcept_setroundl_ctx): New.
12568 (libc_fesetenv_mips_ctx): New.
12569 (libc_fesetenv_ctx): New.
12570 (libc_fesetenv_ctxf): New.
12571 (libc_fesetenv_ctxl): New.
12572 (libc_feupdateenv_mips_ctx): New.
12573 (libc_feupdateenv_ctx): New.
12574 (libc_feupdateenvf_ctx): New.
12575 (libc_feupdateenvl_ctx): New.
12576 (libc_feholdsetround_mips_ctx): New.
12577 (libc_feholdsetround_ctx): New.
12578 (libc_feholdsetroundf_ctx): New.
12579 (libc_feholdsetroundl_ctx): New.
12580 (libc_feresetround_mips_ctx): New.
12581 (libc_feresetround_ctx): New.
12582 (libc_feresetroundf_ctx): New.
12583 (libc_feresetroundl_ctx): New.
12584
085d0e35
CD
125852014-02-26 Carlos O'Donell <carlos@redhat.com>
12586
f067bf1f
CD
12587 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12588
085d0e35
CD
12589 * manual/ipc.texi: New file.
12590 * manual/Makefile (chapters): Add ipc.
12591 * manual/job.texi: Add "Inter-Process Communication" to next.
12592 * manual/process.texi: Add "Inter-Process Communication" to prev.
12593
86e58c08
AZ
125942014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12595
12596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12597
4248f0da
OB
125982014-02-26 Ondřej Bílka <neleai@seznam.cz>
12599
12600 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12601
cf822e3c
OB
12602 * manual/arith.texi: Fix spaces after sentences.
12603 * manual/charset.texi: Likewise.
12604 * manual/errno.texi: Likewise.
12605 * manual/install.texi: Likewise.
12606 * manual/llio.texi: Likewise.
12607 * manual/locale.texi: Likewise.
12608 * manual/maint.texi: Likewise.
12609 * manual/math.texi: Likewise.
12610 * manual/memory.texi: Likewise.
12611 * manual/message.texi: Likewise.
12612 * manual/probes.texi: Likewise.
12613 * manual/resource.texi: Likewise.
12614 * manual/signal.texi: Likewise.
12615 * manual/socket.texi: Likewise.
12616 * manual/stdio.texi: Likewise.
12617 * manual/string.texi: Likewise.
12618 * manual/time.texi: Likewise.
12619 * manual/users.texi: Likewise.
12620
ade40b10
CD
126212014-02-25 Carlos O'Donell <carlos@redhat.com>
12622
12623 [BZ #16632]
12624 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12625 _DEFAULT_SOURCE is defined.
12626
d0503676
CD
126272014-02-25 Ulrich Drepper <drepper@gmail.com>
12628 Carlos O'Donell <carlos@redhat.com>
12629
12630 [BZ #16613]
12631 * elf/dl-tls.c (_dl_count_modids): New function.
12632 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12633 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12634 audit library and increment generation counter.
12635 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12636 * elf/tst-audit9.c: New file.
12637 * elf/tst-auditmod9a.c: New file.
12638 * elf/tst-auditmod9b.c: New file.
12639 * elf/Makefile: Add rules to build and run tst-audit9.
12640
4cbf380c
FW
126412014-02-25 Florian Weimer <fweimer@redhat.com>
12642
12643 [BZ #15347]
12644 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12645
80a56cc3
WN
126462014-02-25 Will Newton <will.newton@linaro.org>
12647
12648 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12649 (__longjmp): Restore sp and lr before restoring callee
12650 saved registers. Add longjmp and longjmp_target
12651 SystemTap probe point.
12652 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12653 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12654 Define to zero to match jmpbuf layout.
12655 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12656 (__sigsetjmp): Save sp and lr before saving callee
12657 saved registers. Add setjmp SystemTap probe point.
12658
3ea0f74e
SL
126592014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12660
12661 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12662
b04acb26
AS
126632014-02-24 Andreas Schwab <schwab@suse.de>
12664
12665 [BZ #15804]
12666 * elf/pldd.c (wait_for_ptrace_stop): New function.
12667 (main): Call it after attaching.
12668
098ad55c
RM
126692014-02-22 Roland McGrath <roland@hack.frob.com>
12670
d4ec6ae1
RM
12671 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12672 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12673 Versions files is now verboten.
12674 * hurd/Versions (libc: GLIBC_2.0):
12675 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12676 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12677 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12678 * mach/Versions: Likewise.
12679
098ad55c
RM
12680 * csu/Versions: Remove unused %include.
12681 * resolv/Versions: Likewise.
12682
acd7f096
JM
126832014-02-21 Joseph Myers <joseph@codesourcery.com>
12684
f0881698
JM
12685 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12686 ($(objpfx)check-local-headers.out): Likewise.
12687 ($(objpfx)begin-end-check.out): Likewise.
12688 * Makerules (check-abi-%.out): Likewise.
12689 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12690 ($(objpfx)test2.cat): Likewise.
12691 ($(objpfx)de/libc.cat): Likewise.
12692 ($(objpfx)test-gencat.out): Likewise.
12693 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12694 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12695 ($(objpfx)noload-mem): Likewise.
12696 ($(objpfx)tst-pathopt.out): Likewise.
12697 ($(objpfx)tst-rtld-load-self.out): Likewise.
12698 ($(objpfx)tst-array1-cmp.out): Likewise.
12699 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12700 ($(objpfx)tst-array2-cmp.out): Likewise.
12701 ($(objpfx)tst-array3-cmp.out): Likewise.
12702 ($(objpfx)tst-array4-cmp.out): Likewise.
12703 ($(objpfx)tst-array5-cmp.out): Likewise.
12704 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12705 ($(objpfx)check-textrel.out): Likewise.
12706 ($(objpfx)check-execstack.out): Likewise.
12707 ($(objpfx)check-localplt.out): Likewise.
12708 ($(objpfx)order2-cmp.out): Likewise.
12709 ($(objpfx)tst-leaks1-mem): Likewise.
12710 ($(objpfx)tst-leaks1-static-mem): Likewise.
12711 ($(objpfx)tst-initorder-cmp.out): Likewise.
12712 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12713 ($(objpfx)tst-unused-dep.out): Likewise.
12714 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12715 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12716 * iconv/Makefile (test-iconvconfig): Likewise.
12717 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12718 ($(objpfx)iconv-test.out): Likewise.
12719 ($(objpfx)tst-tables.out): Likewise.
12720 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12721 ($(objpfx)tst-gettext.out): Likewise.
12722 ($(objpfx)tst-translit.out): Likewise.
12723 ($(objpfx)tst-gettext2.out): Likewise.
12724 ($(objpfx)tst-gettext4.out): Likewise.
12725 ($(objpfx)tst-gettext6.out): Likewise.
12726 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12727 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12728 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12729 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12730 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12731 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12732 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12733 ($(objpfx)wordexp-tst.out): Likewise.
12734 ($(objpfx)annexc.out): Likewise.
12735 ($(objpfx)tst-fnmatch-mem): Likewise.
12736 ($(objpfx)bug-regex2-mem): Likewise.
12737 ($(objpfx)bug-regex14-mem): Likewise.
12738 ($(objpfx)bug-regex21-mem): Likewise.
12739 ($(objpfx)bug-regex31-mem): Likewise.
12740 ($(objpfx)tst-vfork3-mem): Likewise.
12741 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12742 ($(objpfx)tst-pcre-mem): Likewise.
12743 ($(objpfx)tst-boost-mem): Likewise.
12744 ($(objpfx)tst-getconf.out): Likewise.
12745 ($(objpfx)bug-ga2-mem): Likewise.
12746 ($(objpfx)bug-glob2-mem): Likewise.
12747 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12748 ($(objpfx)mtrace-tst-leaks2): Likewise.
12749 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12750 ($(objpfx)tst-printf.out): Likewise.
12751 ($(objpfx)tst-setvbuf1.out): Likewise.
12752 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12753 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12754 ($(objpfx)tst-fmtmsg.out): Likewise.
12755 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12756 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12757
acd7f096
JM
12758 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12759 * bits/sigaction.h [__USE_MISC]: Likewise.
12760 * bits/waitstatus.h: Update #endif comments.
12761 * ctype/ctype.h: Likewise.
12762 * dirent/dirent.h: Likewise.
12763 [__USE_MISC]: Remove redundant conditionals.
12764 * grp/grp.h: Update #endif comments.
12765 [__USE_GNU]: Remove redundant conditionals.
12766 [__USE_MISC]: Likewise.
12767 * inet/netinet/in.h [__USE_GNU]: Likewise.
12768 * io/sys/stat.h [__USE_MISC]: Likewise.
12769 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12770 * libio/bits/stdio.h: Update #endif comments.
12771 [__USE_MISC]: Remove redundant conditionals.
12772 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12773 * libio/stdio.h: Update #endif comments.
12774 [__USE_MISC]: Remove redundant conditionals.
12775 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12776 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12777 * math/math.h: Update #else and #endif comments.
12778 [__USE_MISC]: Remove redundant conditionals.
12779 * misc/sys/uio.h: Update #endif comments.
12780 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12781 * posix/glob.h [__USE_MISC]: Likewise.
12782 * posix/sys/types.h: Update #endif comments.
12783 [__USE_MISC]: Remove redundant conditionals.
12784 * posix/sys/wait.h: Update #endif comments.
12785 [__USE_MISC]: Remove redundant conditionals.
12786 * posix/unistd.h: Update #endif comments.
12787 [__USE_MISC]: Remove redundant conditionals.
12788 * pwd/pwd.h [__USE_GNU]: Likewise.
12789 [__USE_MISC]: Likewise.
12790 * resolv/netdb.h [__USE_GNU]: Likewise.
12791 * signal/signal.h: Update #endif comments.
12792 [__USE_MISC]: Remove redundant conditionals.
12793 * stdlib/stdlib.h: Update #else and #endif comments.
12794 [__USE_MISC]: Remove redundant conditionals.
12795 [__USE_GNU]: Likewise.
12796 * string/bits/string2.h [__USE_MISC]: Likewise.
12797 * string/string.h: Update #endif comments.
12798 [__USE_MISC]: Remove redundant conditionals.
12799 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12800 Likewise.
12801 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12802 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12803 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12804 Likewise.
12805 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12806 Likewise.
12807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12808 comments.
12809 [__USE_MISC]: Remove redundant conditionals.
12810 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12811 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12812 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12813 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12814 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12815 Likewise.
12816 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12817 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12818 Likewise.
12819 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12821 Likewise.
12822 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12823 Likewise.
12824 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12825 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12826 Likewise.
12827 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12828 Likewise.
12829 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12830 * sysdeps/x86/bits/string.h: Update #endif comments.
12831 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12832 conditionals.
12833 * time/sys/time.h: Update #endif comments.
12834 * time/time.h: Likewise.
12835 [__USE_MISC]: Remove redundant conditionals.
12836
a5d82e4e
YG
128372014-02-21 Yury Gribov <y.gribov@samsung.com>
12838
12839 [BZ #16600]
12840 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12841
9a80491d
AS
128422014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12843
12844 * Versions.def (librt): Add GLIBC_2.17.
12845
105fa381
AC
128462014-02-21 Adam Conrad <adconrad@0c3.net>
12847
12848 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12849 synonym for _SYS_AUXV_H to allow direct inclusion.
12850 * sysdeps/sparc/bits/hwcap.h: Likewise.
12851 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12852 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12853 * sysdeps/sparc/sysdep.h: Likewise.
12854
b8cd1c4e
SP
128552014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12856
12857 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12858
bd939d23
RS
128592014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12860
12861 * benchtests/bench-strrchr.c: Print length instead of position.
12862
5d7b57ca
JM
128632014-02-20 Joseph Myers <joseph@codesourcery.com>
12864
bc688c10
JM
12865 [BZ #16611]
12866 * sysdeps/unix/sysv/linux/kernel-features.h
12867 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12868 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12869 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12870 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12871 Likewise.
12872 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12873 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12874 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12875 (__ASSUME_SENDMMSG): Define instead of using previous
12876 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12877 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12878 (__ASSUME_SENDMMSG_SYSCALL): Define.
12879 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12880 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12881 Likewise.
12882 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12883 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12884 Likewise.
12885 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12886 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12887 Likewise.
12888 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12889 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12890 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12891 [__ASSUME_SENDMMSG]: Change conditionals to
12892 [__ASSUME_SENDMMSG_SOCKETCALL].
12893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12894 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12895 Define.
12896 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12897 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12898 Likewise.
12899 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12900 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12901 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12902 [!__ASSUME_SENDMMSG]: Change conditional to
12903 [!__ASSUME_SENDMMSG_SOCKETCALL].
12904 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12905 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12906 Define.
12907
0e31b18c
JM
12908 [BZ #16610]
12909 * sysdeps/unix/sysv/linux/kernel-features.h
12910 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12911 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12912 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12913 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12914 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12915 [__i386__ || __sparc__]
12916 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12917 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12918 (__ASSUME_RECVMMSG): Define instead of using previous
12919 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12920 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12921 (__ASSUME_RECVMMSG_SYSCALL): Define.
12922 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12923 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12924 Likewise.
12925 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12927 Likewise.
12928 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12929 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12930 Likewise.
12931 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12932 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12933 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12934 [__ASSUME_RECVMMSG]: Change condition to
12935 [__ASSUME_RECVMMSG_SOCKETCALL].
12936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12937 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12938 Define.
12939 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12940 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12941 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12942 Likewise.
12943 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12944 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12945 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12946 [!__ASSUME_RECVMMSG]: Change condition to
12947 [!__ASSUME_RECVMMSG_SOCKETCALL].
12948 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12949 (__ASSUME_RECVMMSG_SYSCALL): Define.
12950
dd481ccf
JM
12951 [BZ #16609]
12952 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12953 __powerpc__ || __s390__ || __sh__ || __sparc__]
12954 (__ASSUME_SOCKETCALL): Define.
12955 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12956 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12957 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12958 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12959 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12960 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12961 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12962 (__ASSUME_ACCEPT4): Define instead of using previous
12963 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12964 __powerpc__ || __sparc__ || __s390__)] condition.
12965 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12966 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12967 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12968 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12969 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12970 [!__ASSUME_ACCEPT4]: Change condition to
12971 [!__ASSUME_ACCEPT4_SOCKETCALL].
12972 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12973 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12974 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12975 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12976 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12977 __ASSUME_ACCEPT4_SYSCALL.
12978 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12979 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12981 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12982 __ASSUME_ACCEPT4_SYSCALL.
12983 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12984 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12985 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12986 [__ASSUME_ACCEPT4]: Change condition to
12987 [__ASSUME_ACCEPT4_SOCKETCALL].
12988 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12989 (__ASSUME_SOCKETCALL): Define.
12990 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12991 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12992 (__ASSUME_SOCKETCALL): Define.
12993 (__ASSUME_ACCEPT4): Remove.
12994 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12995 Define.
12996 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12997 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12998 Likewise.
12999 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13000 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13001
5d7b57ca
JM
13002 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13003 macro.
13004 (HWCAP_ARM_LPAE): Likewise.
13005 (HWCAP_ARM_EVTSTRM): Likewise.
13006 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13007 Add vpfd32, lpae and evtstrm.
13008 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13009 Increase to 22.
13010
63689d61
JM
130112014-02-19 Joseph Myers <joseph@codesourcery.com>
13012
13013 * math/auto-libm-test-in: Add tests of clog10.
13014 * math/auto-libm-test-out: Regenerated.
13015 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13016 * sysdeps/i386/fpu/libm-test-ulps: Update.
13017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13018
ab09bf61
AS
130192014-02-18 Andreas Schwab <schwab@suse.de>
13020
13021 [BZ #16574]
13022 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13023 Store non-zero if the second buffer was newly allocated.
13024 (send_dg): Likewise.
13025 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13026 to send_vc and send_dg.
13027 (res_nsend): Pass NULL for ansp2_malloced.
13028 * resolv/res_query.c (__libc_res_nquery): Add parameter
13029 answerp2_malloced and pass it down to __libc_res_nsend.
13030 (res_nquery): Pass additional NULL to __libc_res_nquery.
13031 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13032 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13033 second answer buffer if answerp2_malloced was set.
13034 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13035 (__libc_res_nquerydomain): Add parameter
13036 answerp2_malloced and pass it down to __libc_res_nquery.
13037 (res_nquerydomain): Pass additional NULL to
13038 __libc_res_nquerydomain.
13039 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13040 additional NULL to __libc_res_nsend and __libc_res_nquery.
13041 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13042 additional NULL to __libc_res_nsearch.
13043 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13044 parameter of __libc_res_nsearch to check for separately allocated
13045 second buffer.
13046 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13047 __libc_res_nquery.
13048 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13049 additional NULL to __libc_res_nquery.
13050 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13051 __libc_res_nsearch.
13052 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13053 * include/resolv.h: Update prototypes of __libc_res_nquery,
13054 __libc_res_nsearch, __libc_res_nsend.
13055
a4fb7861
JM
130562014-02-18 Joseph Myers <joseph@codesourcery.com>
13057
c6af2d89
JM
13058 * math/auto-libm-test-in: Add tests of fma.
13059 * math/auto-libm-test-out: Regenerated.
13060 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13061 (fma_towardzero_test_data): Likewise.
13062 (fma_downward_test_data): Likewise.
13063 (fma_upward_test_data): Likewise.
13064 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13065 mpc_mode.
13066 (rounding_modes): Add values for new field.
13067 (func_calc_method): Add value mpfr_fff_f.
13068 (func_calc_desc): Add mpfr_fff_f union field.
13069 (test_function): Add field exact_args.
13070 (FUNC): Add macro argument EXACT_ARGS.
13071 (FUNC_mpfr_f_f): Update call to FUNC.
13072 (FUNC_mpfr_f_f): Likewise.
13073 (FUNC_mpfr_ff_f): Likewise.
13074 (FUNC_mpfr_if_f): Likewise.
13075 (FUNC_mpc_c_f): Likewise.
13076 (FUNC_mpc_c_c): Likewise.
13077 (test_functions): Add fma. Update calls to FUNC.
13078 (handle_input_arg): Add argument exact_args.
13079 (add_test): Update call to handle_input_arg.
13080 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13081 (output_for_one_input_case): Update call to calc_generic_results.
13082 Recalculate exact zero results in each rounding mode.
13083
a4fb7861
JM
13084 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13085 non-negative before setting low bit.
13086 * math/auto-libm-test-in: Mark one asin test possibly having
13087 spurious underflow.
13088 * math/auto-libm-test-out: Regenerated.
13089 * sysdeps/i386/fpu/libm-test-ulps: Update.
13090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13091
ef114eaf
DH
130922014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13093
2b7f4f2c
SP
13094 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13095 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13096 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
13097 * README: Add missing listing for microblaze*-*-linux-gnu.
13098
8125aedc
AM
130992014-02-16 Ondřej Bílka <neleai@seznam.cz>
13100
13101 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13102 duplicate code
13103
c70a4b1d
MF
131042014-02-16 Mike Frysinger <vapier@gentoo.org>
13105
13106 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13107 * sysdeps/unix/sysv/linux/ia64: Move directory from
13108 ports/sysdeps/unix/sysv/linux/ia64.
13109 * README: Update listing for ia64-*-linux-gnu.
13110
591aeaf7
TD
131112014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13112 Joseph Myers <joseph@codesourcery.com>
13113
13114 * Makeconfig (test-name): New variable.
13115 (evaluate-test): Likewise.
13116 * Makerules (do-test-clean): Remove .test-result files.
13117 (common-mostlyclean): Likewise.
13118 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13119 * scripts/evaluate-test.sh: New file.
13120
6e89caf1
JM
131212014-02-14 Joseph Myers <joseph@codesourcery.com>
13122
7f98f180
JM
13123 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13124 separate $(objpfx)tst-fopenloc-cmp.out and
13125 $(objpfx)tst-fopenloc-mem.out targets.
13126 (tests): Update dependencies.
13127 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13128 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13129 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13130 (tst-rxspencer-no-utf8-ARGS): New variable.
13131 (tst-rxspencer-no-utf8-ENV): Likewise.
13132 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13133 instead of $(objpfx)tst-rxspencer-mem.
13134 ($(objpfx)tst-rxspencer-mem): Change target to
13135 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13136 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13137 * posix/tst-rxspencer-no-utf8.c: New file.
13138
6e89caf1
JM
13139 * elf/Makefile ($(objpfx)order.out): Remove rule.
13140 [$(run-built-tests) = yes] (tests): Depend on
13141 $(objpfx)order-cmp.out.
13142 ($(objpfx)order-cmp.out): New rule.
13143 [$(run-built-tests) = yes] (tests): Depend on
13144 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13145 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13146 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13147 $(objpfx)tst-array5-static-cmp.out.
13148 ($(objpfx)tst-array1.out): Remove rule.
13149 ($(objpfx)tst-array1-cmp.out): New rule.
13150 ($(objpfx)tst-array1-static.out): Remove rule.
13151 ($(objpfx)tst-array1-static-cmp.out): New rule.
13152 ($(objpfx)tst-array2.out): Remove rule.
13153 ($(objpfx)tst-array2-cmp.out): New rule.
13154 ($(objpfx)tst-array3.out): Remove rule.
13155 ($(objpfx)tst-array3-cmp.out): New rule.
13156 ($(objpfx)tst-array4.out): Remove rule.
13157 ($(objpfx)tst-array4-cmp.out): New rule.
13158 ($(objpfx)tst-array5.out): Remove rule.
13159 ($(objpfx)tst-array5-cmp.out): New rule.
13160 ($(objpfx)tst-array5-static.out): Remove rule.
13161 ($(objpfx)tst-array5-static-cmp.out): New rule.
13162 [$(run-built-tests) = yes] (tests): Depend on
13163 $(objpfx)order2-cmp.out.
13164 ($(objpfx)order2.out): Remove rule.
13165 ($(objpfx)order2-cmp.out): New rule.
13166 ($(objpfx)tst-initorder.out): Remove rule.
13167 [$(run-built-tests) = yes] (tests): Depend on
13168 $(objpfx)tst-initorder-cmp.out.
13169 ($(objpfx)tst-initorder-cmp.out): New rule.
13170 ($(objpfx)tst-initorder2.out): Remove rule.
13171 [$(run-built-tests) = yes] (tests): Depend on
13172 $(objpfx)tst-initorder2-cmp.out.
13173 ($(objpfx)tst-initorder2-cmp.out): New rule.
13174 [$(run-built-tests) = yes] (tests): Depend on
13175 $(objpfx)tst-unused-dep-cmp.out.
13176 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13177 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13178 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13179 on $(objpfx)tst-setvbuf1-cmp.out.
13180 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13181 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13182 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13183 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13184 ($(objpfx)tst-svc.out): Remove rule.
13185 ($(objpfx)tst-svc-cmp.out): New rule.
13186
ed9a38e2
JM
131872014-02-13 Joseph Myers <joseph@codesourcery.com>
13188
13189 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13190 * ctype/ctype.h [__USE_MISC]: Likewise.
13191 * dirent/dirent.h [__USE_MISC]: Likewise.
13192 * grp/grp.h [__USE_MISC]: Likewise.
13193 * io/fcntl.h [__USE_MISC]: Likewise.
13194 * io/sys/stat.h [__USE_MISC]: Likewise.
13195 * libio/stdio.h [__USE_MISC]: Likewise.
13196 * posix/unistd.h [__USE_MISC]: Likewise.
13197 * pwd/pwd.h [__USE_MISC]: Likewise.
13198 * stdlib.h [__USE_MISC]: Likewise.
13199 * string/bits/string2.h [__USE_MISC]: Likewise.
13200 * string/string.h [__USE_MISC]: Likewise.
13201 * time/time.h [__USE_MISC]: Likewise.
13202
d6680619
AS
132032014-02-13 Andreas Schwab <schwab@suse.de>
13204
13205 [BZ #16574]
13206 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13207 second answer buffer if it was separately allocated.
13208
ace614b8
JM
132092014-02-12 Joseph Myers <joseph@codesourcery.com>
13210
743151ae
JM
13211 * sysdeps/mips/math-tests.h: Include <features.h>.
13212 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13213 (ROUNDING_TESTS_long_double): Do not define.
13214 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13215 (EXCEPTION_TESTS_long_double): Likewise.
13216 * sysdeps/mips/mips64/libm-test-ulps: Update.
13217
498afc54
JM
13218 * include/features.h (__USE_BSD): Remove macro definitions.
13219 (__USE_SVID): Likewise.
13220 (_BSD_SOURCE): Likewise.
13221 (_SVID_SOURCE): Likewise.
13222 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13223 from definition of _DEFAULT_SOURCE.
13224 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13225 [_DEFAULT_SOURCE].
13226 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13227 * bits/mman.h [__USE_BSD]: Likewise.
13228 * bits/termios.h [__USE_BSD]: Likewise.
13229 * bits/waitstatus.h [__USE_BSD]: Likewise.
13230 * ctype/ctype.h [__USE_SVID]: Likewise.
13231 * dirent/dirent.h [__USE_BSD]: Likewise.
13232 * grp/grp.h [__USE_SVID]: Likewise.
13233 [__USE_BSD]: Likewise.
13234 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13235 * io/fcntl.h [__USE_BSD]: Likewise.
13236 * io/ftw.h [__USE_BSD]: Likewise.
13237 * io/sys/stat.h [__USE_BSD]: Likewise.
13238 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13239 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13240 * libio/stdio.h [__USE_SVID]: Likewise.
13241 [__USE_BSD]: Likewise.
13242 * math/math.h [__USE_SVID]: Likewise.
13243 [__USE_BSD]: Likewise.
13244 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13245 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13246 * misc/search.h [__USE_SVID]: Likewise.
13247 * misc/sys/mman.h [__USE_BSD]: Likewise.
13248 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13249 * misc/sys/uio.h [__USE_BSD]: Likewise.
13250 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13251 * posix/glob.h [__USE_BSD]: Likewise.
13252 * posix/regex.h [__USE_BSD]: Likewise.
13253 * posix/sys/types.h [__USE_BSD]: Likewise.
13254 [__USE_SVID]: Likewise.
13255 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13256 * posix/sys/wait.h [__USE_BSD]: Likewise.
13257 [__USE_SVID]: Likewise.
13258 * posix/unistd.h [__USE_BSD]: Likewise.
13259 [__USE_SVID]: Likewise.
13260 * pwd/pwd.h [__USE_SVID]: Likewise.
13261 * resolv/netdb.h [__USE_BSD]: Likewise.
13262 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13263 * signal/signal.h [__USE_BSD]: Likewise.
13264 [__USE_SVID]: Likewise.
13265 * socket/sys/socket.h [__USE_BSD]: Likewise.
13266 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13267 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13268 [__USE_SVID]: Likewise.
13269 * string/bits/string2.h [__USE_BSD]: Likewise.
13270 [__USE_SVID]: Likewise.
13271 * string/bits/string3.h [__USE_BSD]: Likewise.
13272 * string/endian.h [__USE_BSD]: Likewise.
13273 * string/string.h [__USE_SVID]: Likewise.
13274 [__USE_BSD]: Likewise.
13275 * string/strings.h [__USE_BSD]: Likewise.
13276 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13277 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13278 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13279 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13280 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13281 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13282 Likewise.
13283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13284 Likewise.
13285 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13286 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13287 Likewise.
13288 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13289 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13290 Likewise.
13291 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13292 Likewise.
13293 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13294 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13295 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13296 Likewise.
13297 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13298 Likewise.
13299 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13300 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13301 * termios/termios.h [__USE_BSD]: Likewise.
13302 * time/sys/time.h [__USE_BSD]: Likewise.
13303 * time/time.h [__USE_BSD]: Likewise.
13304 [__USE_SVID]: Likewise.
13305
dd7b064c
JM
13306 * Makefile (subdir_targets): Remove subdir_lint.out.
13307
a2c4c199
JM
13308 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13309 (do-tst-printf): Likewise.
13310 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13311 $(objpfx)tst-printf.out.
13312
8756f740
JM
13313 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13314
1b6dd3f1
JM
13315 * Makerules (check-abi-%): Change target to
13316 $(objpfx)check-abi-%.out.
13317 (check-abi target): Update dependencies.
13318 (check-abi-pattern variable): Redirect output of diff to $@.
13319 (check-abi variable): Likewise.
13320 * elf/Makefile (check-abi): Update dependencies.
13321
ace614b8
JM
13322 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13323 unused.
13324 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13325 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13326 subnormal range.
13327 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13328 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13329 value has largest subnormal exponent.
13330 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13331 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13332 * sysdeps/aarch64/soft-fp/sfp-machine.h
13333 (_FP_TININESS_AFTER_ROUNDING): New macro.
13334 * sysdeps/alpha/soft-fp/sfp-machine.h
13335 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13336 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13337 Likewise.
13338 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13339 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13340 * sysdeps/mips/soft-fp/sfp-machine.h
13341 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13342 * sysdeps/powerpc/soft-fp/sfp-machine.h
13343 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13344 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13345 Likewise.
13346 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13347 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13348 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13349 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13350 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13351 Likewise.
13352
fbfdf9cb
DAS
133532014-02-12 Dylan Alex Simon <dylan@dylex.net>
13354
13355 [BZ #16545]
13356 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13357 model 1.
13358
68b7efaa
RH
133592014-02-12 Richard Henderson <rth@redhat.com>
13360
c70a4b1d 13361 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13362 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13363 * sysdeps/unix/sysv/linux/alpha: Move directory from
13364 ports/sysdeps/unix/sysv/linux/alpha.
13365 * README: Update listing for alpha-*-linux-gnu.
13366
cb4a2928
JM
133672014-02-11 Joseph Myers <joseph@codesourcery.com>
13368
c941736c
JM
13369 * include/features.h: Update comment documenting feature test
13370 macros.
13371 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13372 _DEFAULT_SOURCE.
13373 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13374 (_SVID_SOURCE): Likewise.
13375 (_DEFAULT_SOURCE): Update description of default features.
13376 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13377 with _GNU_SOURCE.
13378 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13379 (S_ISVTX): Likewise.
13380 * manual/math.texi (Mathematical Constants): Likewise.
13381 * manual/signal.texi (Interrupted Primitives): Likewise.
13382 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13383 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13384 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13385 Don't refer to _SVID_SOURCE in warning text.
13386
e8d8d7ec
JM
13387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13388
cb4a2928
JM
13389 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13390 already defined.
13391 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13392 * sysdeps/mips/dl-lookup.c: Remove.
13393 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13394
7e6424e3
AK
133952014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13396
13397 [BZ #16447]
13398 * math/auto-libm-test-in: Add testcase for expl.
13399 * math/auto-libm-test-out: Regenerate.
13400 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13401 calculation of unsafe.
13402 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13403
75eff3fe
MS
134042014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13405
13406 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13407 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13408 ports/sysdeps/unix/sysv/linux/aarch64.
13409 * README: Update listing for aarch64*-*-linux-gnu.
13410
d35f1e80
WN
134112014-02-11 Will Newton <will.newton@linaro.org>
13412
13413 * manual/probes.texi (Mathematical Function Probes): Use
13414 "triggered" instead of "hit".
13415
7b3436d4
WN
13416 * manual/probes.texi (Internal Probes): Add documentation
13417 of setjmp, longjmp and longjmp_target probes.
13418
b4f12ca3
WN
13419 * include/stap-probe.h: Add comment about probe argument
13420 format.
13421
c13a72b7
WN
13422 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13423 definition. (tr_where, tr_freehook, tr_mallochook,
13424 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13425
195b8165
DM
134262014-02-11 David S. Miller <davem@davemloft.net>
13427
13428 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13429 processing int_tests.
13430
2ad7600b
JM
134312014-02-10 Joseph Myers <joseph@codesourcery.com>
13432
13433 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13434 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13435 * sysdeps/unix/sysv/linux/mips: Move directory from
13436 ports/sysdeps/unix/sysv/linux/mips.
13437 * README: Update listing for mips-*-linux-gnu and
13438 mips64-*-linux-gnu.
13439
73588a72
AS
134402014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13441
13442 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13443 * sysdeps/unix/sysv/linux/m68k: Move directory from
13444 ports/sysdeps/unix/sysv/linux/m68k.
13445 * README: Update listing for m68k-*-linux-gnu.
13446
4372980f
CM
134472014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13448
13449 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13450 * sysdeps/unix/sysv/linux/generic: Move directory from
13451 ports/sysdeps/unix/sysv/linux/generic.
13452 * sysdeps/unix/sysv/linux/tile: Move directory from
13453 ports/sysdeps/unix/sysv/linux/tile.
13454 * README: Update listing for tile*-*-linux-gnu.
13455
a1ffb40e
OB
134562014-02-10 Ondřej Bílka <neleai@seznam.cz>
13457
57f41c40
AS
13458 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13459 __builtin_expect.
a1ffb40e
OB
13460 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13461 * catgets/open_catalog.c (__open_catalog): Likewise.
13462 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13463 * debug/confstr_chk.c: Likewise.
13464 * debug/fread_chk.c (__fread_chk): Likewise.
13465 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13466 * debug/getgroups_chk.c: Likewise.
13467 * debug/mbsnrtowcs_chk.c: Likewise.
13468 * debug/mbsrtowcs_chk.c: Likewise.
13469 * debug/mbstowcs_chk.c: Likewise.
13470 * debug/memcpy_chk.c: Likewise.
13471 * debug/memmove_chk.c: Likewise.
13472 * debug/mempcpy_chk.c: Likewise.
13473 * debug/memset_chk.c: Likewise.
13474 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13475 * debug/strcat_chk.c (__strcat_chk): Likewise.
13476 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13477 * debug/strncat_chk.c (__strncat_chk): Likewise.
13478 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13479 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13480 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13481 * debug/wcpncpy_chk.c: Likewise.
13482 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13483 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13484 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13485 * debug/wcsncpy_chk.c: Likewise.
13486 * debug/wcsnrtombs_chk.c: Likewise.
13487 * debug/wcsrtombs_chk.c: Likewise.
13488 * debug/wcstombs_chk.c: Likewise.
13489 * debug/wmemcpy_chk.c: Likewise.
13490 * debug/wmemmove_chk.c: Likewise.
13491 * debug/wmempcpy_chk.c: Likewise.
13492 * debug/wmemset_chk.c: Likewise.
13493 * dirent/scandirat.c (SCANDIRAT): Likewise.
13494 * dlfcn/dladdr1.c (dladdr1): Likewise.
13495 * dlfcn/dladdr.c (dladdr): Likewise.
13496 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13497 * dlfcn/dlerror.c (__dlerror): Likewise.
13498 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13499 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13500 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13501 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13502 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13503 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13504 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13505 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13506 Likewise.
13507 * elf/dl-conflict.c: Likewise.
13508 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13509 * elf/dl-dst.h: Likewise.
13510 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13511 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13512 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13513 * elf/dl-init.c (call_init, _dl_init): Likewise.
13514 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13515 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13516 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13517 Likewise.
a1ffb40e
OB
13518 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13519 Likewise.
13520 * elf/dl-minimal.c (__libc_memalign): Likewise.
13521 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13522 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13523 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13524 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13525 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13526 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13527 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13528 * elf/dl-writev.h (_dl_writev): Likewise.
13529 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13530 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13531 (dl_main): Likewise.
a1ffb40e
OB
13532 * elf/setup-vdso.h (setup_vdso): Likewise.
13533 * grp/compat-initgroups.c (compat_call): Likewise.
13534 * grp/fgetgrent.c (fgetgrent): Likewise.
13535 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13536 * grp/putgrent.c (putgrent): Likewise.
13537 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13538 Likewise.
13539 * hurd/hurdinit.c: Likewise.
13540 * iconvdata/8bit-gap.c (struct): Likewise.
13541 * iconvdata/ansi_x3.110.c : Likewise.
13542 * iconvdata/big5.c : Likewise.
13543 * iconvdata/big5hkscs.c : Likewise.
13544 * iconvdata/cp1255.c: Likewise.
13545 * iconvdata/cp1258.c : Likewise.
13546 * iconvdata/cp932.c : Likewise.
13547 * iconvdata/euc-cn.c: Likewise.
13548 * iconvdata/euc-jisx0213.c : Likewise.
13549 * iconvdata/euc-jp.c: Likewise.
13550 * iconvdata/euc-jp-ms.c : Likewise.
13551 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13552 * iconvdata/gb18030.c : Likewise.
13553 * iconvdata/gbbig5.c (const): Likewise.
13554 * iconvdata/gbgbk.c: Likewise.
13555 * iconvdata/gbk.c : Likewise.
13556 * iconvdata/ibm1364.c : Likewise.
13557 * iconvdata/ibm930.c : Likewise.
13558 * iconvdata/ibm932.c: Likewise.
13559 * iconvdata/ibm933.c : Likewise.
13560 * iconvdata/ibm935.c : Likewise.
13561 * iconvdata/ibm937.c : Likewise.
13562 * iconvdata/ibm939.c : Likewise.
13563 * iconvdata/ibm943.c: Likewise.
13564 * iconvdata/iso_11548-1.c: Likewise.
13565 * iconvdata/iso-2022-cn.c : Likewise.
13566 * iconvdata/iso-2022-cn-ext.c : Likewise.
13567 * iconvdata/iso-2022-jp-3.c: Likewise.
13568 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13569 * iconvdata/iso-2022-kr.c : Likewise.
13570 * iconvdata/iso646.c (gconv_end): Likewise.
13571 * iconvdata/iso_6937-2.c : Likewise.
13572 * iconvdata/iso_6937.c : Likewise.
13573 * iconvdata/iso8859-1.c: Likewise.
13574 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13575 * iconvdata/shift_jisx0213.c : Likewise.
13576 * iconvdata/sjis.c : Likewise.
13577 * iconvdata/t.61.c : Likewise.
13578 * iconvdata/tcvn5712-1.c : Likewise.
13579 * iconvdata/tscii.c: Likewise.
13580 * iconvdata/uhc.c : Likewise.
13581 * iconvdata/unicode.c (gconv_end): Likewise.
13582 * iconvdata/utf-16.c (gconv_end): Likewise.
13583 * iconvdata/utf-32.c (gconv_end): Likewise.
13584 * iconvdata/utf-7.c (base64): Likewise.
13585 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13586 * iconv/gconv_close.c (__gconv_close): Likewise.
13587 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13588 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13589 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13590 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13591 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13592 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13593 * iconv/iconv.c (iconv): Likewise.
13594 * iconv/iconv_close.c: Likewise.
13595 * iconv/loop.c (SINGLE): Likewise.
13596 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13597 * include/atomic.h: Likewise.
13598 * inet/inet6_option.c (option_alloc): Likewise.
13599 * intl/bindtextdom.c (set_binding_values): Likewise.
13600 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13601 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13602 * intl/localealias.c (read_alias_file): Likewise.
13603 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13604 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13605 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13606 * libio/fmemopen.c (fmemopen): Likewise.
13607 * libio/iofgets.c (_IO_fgets): Likewise.
13608 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13609 * libio/iofgetws.c (fgetws): Likewise.
13610 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13611 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13612 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13613 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13614 * locale/findlocale.c (_nl_find_locale): Likewise.
13615 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13616 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13617 Likewise.
13618 * locale/setlocale.c (setlocale): Likewise.
13619 * login/programs/pt_chown.c (main): Likewise.
13620 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13621 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13622 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13623 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13624 * math/e_exp2l.c: Likewise.
13625 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13626 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13627 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13628 * math/s_catan.c (__catan): Likewise.
13629 * math/s_catanf.c (__catanf): Likewise.
13630 * math/s_catanh.c (__catanh): Likewise.
13631 * math/s_catanhf.c (__catanhf): Likewise.
13632 * math/s_catanhl.c (__catanhl): Likewise.
13633 * math/s_catanl.c (__catanl): Likewise.
13634 * math/s_ccosh.c (__ccosh): Likewise.
13635 * math/s_ccoshf.c (__ccoshf): Likewise.
13636 * math/s_ccoshl.c (__ccoshl): Likewise.
13637 * math/s_cexp.c (__cexp): Likewise.
13638 * math/s_cexpf.c (__cexpf): Likewise.
13639 * math/s_cexpl.c (__cexpl): Likewise.
13640 * math/s_clog10.c (__clog10): Likewise.
13641 * math/s_clog10f.c (__clog10f): Likewise.
13642 * math/s_clog10l.c (__clog10l): Likewise.
13643 * math/s_clog.c (__clog): Likewise.
13644 * math/s_clogf.c (__clogf): Likewise.
13645 * math/s_clogl.c (__clogl): Likewise.
13646 * math/s_csin.c (__csin): Likewise.
13647 * math/s_csinf.c (__csinf): Likewise.
13648 * math/s_csinh.c (__csinh): Likewise.
13649 * math/s_csinhf.c (__csinhf): Likewise.
13650 * math/s_csinhl.c (__csinhl): Likewise.
13651 * math/s_csinl.c (__csinl): Likewise.
13652 * math/s_csqrt.c (__csqrt): Likewise.
13653 * math/s_csqrtf.c (__csqrtf): Likewise.
13654 * math/s_csqrtl.c (__csqrtl): Likewise.
13655 * math/s_ctan.c (__ctan): Likewise.
13656 * math/s_ctanf.c (__ctanf): Likewise.
13657 * math/s_ctanh.c (__ctanh): Likewise.
13658 * math/s_ctanhf.c (__ctanhf): Likewise.
13659 * math/s_ctanhl.c (__ctanhl): Likewise.
13660 * math/s_ctanl.c (__ctanl): Likewise.
13661 * math/w_pow.c: Likewise.
13662 * math/w_powf.c: Likewise.
13663 * math/w_powl.c: Likewise.
13664 * math/w_scalb.c (sysv_scalb): Likewise.
13665 * math/w_scalbf.c (sysv_scalbf): Likewise.
13666 * math/w_scalbl.c (sysv_scalbl): Likewise.
13667 * misc/error.c (error_tail): Likewise.
13668 * misc/pselect.c (__pselect): Likewise.
13669 * nis/nis_callback.c (__nis_create_callback): Likewise.
13670 * nis/nis_call.c (__nisfind_server): Likewise.
13671 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13672 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13673 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13674 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13675 * nis/nis_lookup.c (nis_lookup): Likewise.
13676 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13677 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13678 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13679 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13680 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13681 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13682 * nis/nss_compat/compat-initgroups.c (add_group)
13683 (internal_getgrent_r): Likewise.
13684 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13685 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13686 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13687 (internal_getspnam_r): Likewise.
13688 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13689 (_nss_nis_getaliasbyname_r): Likewise.
13690 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13691 (_nss_nis_getntohost_r): Likewise.
13692 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13693 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13694 (_nss_nis_getgrgid_r): Likewise.
13695 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13696 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13697 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13698 (_nss_nis_gethostbyname4_r): Likewise.
13699 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13700 (initgroups_netid): Likewise.
a1ffb40e 13701 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13702 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13703 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13704 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13705 (_nss_nis_getprotobynumber_r): Likewise.
13706 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13707 (_nss_nis_getsecretkey): Likewise.
13708 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13709 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13710 (_nss_nis_getpwuid_r): Likewise.
13711 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13712 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13713 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13714 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13715 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13716 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13717 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13718 Likewise.
57f41c40
AS
13719 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13720 (_nss_nisplus_getntohost_r): Likewise.
13721 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13722 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13723 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13724 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13725 Likewise.
57f41c40
AS
13726 * nis/nss_nisplus/nisplus-initgroups.c
13727 (_nss_nisplus_initgroups_dyn): Likewise.
13728 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13729 (_nss_nisplus_getnetbyaddr_r): Likewise.
13730 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13731 (_nss_nisplus_getprotobynumber_r): Likewise.
13732 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13733 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13734 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13735 Likewise.
57f41c40
AS
13736 * nis/nss_nisplus/nisplus-service.c
13737 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13738 (_nss_nisplus_getservbyport_r): Likewise.
13739 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13740 (_nss_nisplus_getspnam_r): Likewise.
13741 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13742 Likewise.
a1ffb40e
OB
13743 * nscd/aicache.c (addhstaiX): Likewise.
13744 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13745 * nscd/connections.c (register_traced_file, send_ro_fd)
13746 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13747 (main_loop_epoll): Likewise.
a1ffb40e
OB
13748 * nscd/grpcache.c (addgrbyX): Likewise.
13749 * nscd/hstcache.c (addhstbyX): Likewise.
13750 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13751 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13752 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13753 (addinnetgrX): Likewise.
13754 * nscd/nscd-client.h (__nscd_acquire_maplock)
13755 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13756 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13757 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13758 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13759 Likewise.
13760 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13761 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13762 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13763 (__nscd_get_map_ref): Likewise.
a1ffb40e 13764 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13765 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13766 Likewise.
a1ffb40e
OB
13767 * nscd/pwdcache.c (addpwbyX): Likewise.
13768 * nscd/selinux.c (preserve_capabilities): Likewise.
13769 * nscd/servicescache.c (addservbyX): Likewise.
13770 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13771 * posix/fnmatch.c (fnmatch): Likewise.
13772 * posix/getopt.c (_getopt_internal_r): Likewise.
13773 * posix/glob.c (glob, glob_in_dir): Likewise.
13774 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13775 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13776 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13777 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13778 * resolv/res_init.c: Likewise.
13779 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13780 * resolv/res_query.c (__libc_res_nquery): Likewise.
13781 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13782 Likewise.
13783 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13784 * stdio-common/perror.c (perror): Likewise.
13785 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13786 * stdio-common/tmpnam.c (tmpnam): Likewise.
13787 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13788 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13789 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13790 Likewise.
a1ffb40e
OB
13791 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13792 * stdlib/putenv.c (putenv): Likewise.
13793 * stdlib/setenv.c (__add_to_environ): Likewise.
13794 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13795 * stdlib/strtol_l.c (INTERNAL): Likewise.
13796 * string/memmem.c (memmem): Likewise.
13797 * string/strerror.c (strerror): Likewise.
13798 * string/strnlen.c (__strnlen): Likewise.
13799 * string/test-memmem.c (simple_memmem): Likewise.
13800 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13801 * sunrpc/pm_getport.c (__get_socket): Likewise.
13802 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13803 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13804 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13805 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13806 Likewise.
13807 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13808 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13809 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13810 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13811 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13812 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13813 Likewise.
13814 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13815 Likewise.
a1ffb40e
OB
13816 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13817 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13818 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13819 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13820 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13822 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13823 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13824 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13825 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13826 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13827 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13828 Likewise.
13829 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13830 Likewise.
13831 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13832 Likewise.
13833 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13834 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13835 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13836 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13837 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13838 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13839 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13842 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13843 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13845 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13846 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13847 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13848 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13849 Likewise.
a1ffb40e
OB
13850 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13851 Likewise.
13852 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13853 Likewise.
13854 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13855 Likewise.
13856 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13858 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13859 Likewise.
13860 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13861 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13862 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13863 * sysdeps/posix/sleep.c: Likewise.
13864 * sysdeps/posix/tempname.c: Likewise.
13865 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13866 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13867 Likewise.
57f41c40
AS
13868 * sysdeps/powerpc/powerpc32/dl-machine.h
13869 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13870 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13872 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13873 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13874 Likewise.
13875 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13877 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13879 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13880 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13881 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13882 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13883 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13884 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13885 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13886 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13887 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13889 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13890 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13891 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13892 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13893 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13894 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13895 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13896 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13897 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13898 Likewise.
13899 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13900 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13901 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13902 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13903 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13904 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13905 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13906 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13907 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13908 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13909 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13910 Likewise.
13911 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13912 (__posix_fallocate64_l64): Likewise.
13913 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13914 (posix_fallocate): Likewise.
57f41c40
AS
13915 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13916 Likewise.
a1ffb40e 13917 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13918 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13919 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13920 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13921 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13922 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13923 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13924 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13925 (__posix_fallocate64_l64): Likewise.
13926 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13927 Likewise.
13928 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13929 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13930 (__get_clockfreq): Likewise.
a1ffb40e
OB
13931 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13932 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13933 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13934 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13935 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13936 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13937 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13938 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13939 Likewise.
13940 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13941 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13942 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13943 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13944 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13945 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13946 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13947 Likewise.
13948 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13949 (posix_fallocate): Likewise.
13950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13951 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13952 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13953 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13954 (elf_machine_rela, elf_machine_rela_relative)
13955 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13956 * time/asctime.c (asctime_internal): Likewise.
13957 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13958 * time/tzset.c (__tzset_parse_tz): Likewise.
13959 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13960 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13961 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13962 * wcsmbs/wcsmbsload.h: Likewise.
13963
f3d338c9
OB
13964 [BZ #15894]
13965 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13966
57f41c40
AS
13967 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13968 (arena_get2): Remove THREAD_STATS conditionals.
13969 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13970 (__malloc_stats, int): Likewise.
bdfe308a 13971
d674667c
MF
139722014-02-08 Mike Frysinger <vapier@gentoo.org>
13973
13974 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13975 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13976
6349768c
MF
13977 * manual/setjmp.texi: Fix typos/grammar errors.
13978
0b7c7473
MF
13979 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13980 Only return early when n is <= 0. Delete unused return statement.
13981
ac8cc9e3
MF
13982 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13983 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13984 * debug/tst-longjmp_chk3.c: New file.
13985
c5bb8e23
MF
13986 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13987 (test_main): Replace code with set_fortify_handler call.
13988 * debug/test-strcpy_chk.c: Likewise.
13989 * debug/tst-chk1.c: Likewise.
13990 * debug/tst-longjmp_chk.c: Likewise.
13991 * test-skeleton.c: Include fcntl.h & paths.h
13992 (set_fortify_handler): Define.
13993
10444e42
MF
13994 * debug/tst-longjmp_chk.c: Add header comment and include
13995 ../test-skeleton.c.
13996 (do_test): Mark static.
13997 (TEST_FUNCTION): Define.
13998
1e805e8d
MF
13999 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14000 (IP_PMTUDISC_INTERFACE): Likewise.
14001 (IP_MULTICAST_IF): Likewise.
14002 (IP_MULTICAST_TTL): Likewise.
14003 (IP_MULTICAST_LOOP): Likewise.
14004 (IP_ADD_MEMBERSHIP): Likewise.
14005 (IP_DROP_MEMBERSHIP): Likewise.
14006 (IP_UNBLOCK_SOURCE): Likewise.
14007 (IP_BLOCK_SOURCE): Likewise.
14008 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14009 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14010 (IP_MSFILTER): Likewise.
14011 (MCAST_JOIN_GROUP): Likewise.
14012 (MCAST_BLOCK_SOURCE): Likewise.
14013 (MCAST_UNBLOCK_SOURCE): Likewise.
14014 (MCAST_LEAVE_GROUP): Likewise.
14015 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14016 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14017 (MCAST_MSFILTER): Likewise.
14018 (IP_MULTICAST_ALL): Likewise.
14019 (IP_UNICAST_IF): Likewise.
14020
73f79bb7
MF
14021 * timezone/Makefile: Delete $(have-ksh) check.
14022 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14023 * timezone/tzselect.ksh: Add +x mode bits.
14024
8da79b60
MF
14025 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14026 (ANON_INODE_FS_MAGIC): Likewise.
14027 (BDEVFS_MAGIC): Likewise.
14028 (BINFMTFS_MAGIC): Likewise.
14029 (BTRFS_TEST_MAGIC): Likewise.
14030 (CRAMFS_MAGIC_WEND): Likewise.
14031 (DEBUGFS_MAGIC): Likewise.
14032 (ECRYPTFS_SUPER_MAGIC): Likewise.
14033 (EXT3_SUPER_MAGIC): Likewise.
14034 (EXT4_SUPER_MAGIC): Likewise.
14035 (FUTEXFS_SUPER_MAGIC): Likewise.
14036 (HOSTFS_SUPER_MAGIC): Likewise.
14037 (HUGETLBFS_MAGIC): Likewise.
14038 (MINIX3_SUPER_MAGIC): Likewise.
14039 (MTD_INODE_FS_MAGIC): Likewise.
14040 (NILFS_SUPER_MAGIC): Likewise.
14041 (OPENPROM_SUPER_MAGIC): Likewise.
14042 (PIPEFS_MAGIC): Likewise.
14043 (PSTOREFS_MAGIC): Likewise.
14044 (QNX6_SUPER_MAGIC): Likewise.
14045 (RAMFS_MAGIC): Likewise.
14046 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14047 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14048 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14049 (SECURITYFS_MAGIC): Likewise.
14050 (SELINUX_MAGIC): Likewise.
14051 (SMACK_MAGIC): Likewise.
14052 (SOCKFS_MAGIC): Likewise.
14053 (SQUASHFS_MAGIC): Likewise.
14054 (STACK_END_MAGIC): Likewise.
14055 (TMPFS_MAGIC): Likewise.
14056 (USBDEVICE_SUPER_MAGIC): Likewise.
14057 (V9FS_MAGIC): Likewise.
14058 (XENFS_SUPER_MAGIC): Likewise.
14059 (CRAMFS_MAGIC): Fix typo in comment.
14060 (EXT2_SUPER_MAGIC): Update comment.
14061 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14062
464263cc
JM
140632014-02-08 Joseph Myers <joseph@codesourcery.com>
14064
c6bfe5c4
JM
14065 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14066 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14067 * sysdeps/unix/sysv/linux/arm: Move directory from
14068 ports/sysdeps/unix/sysv/linux/arm.
14069 * README: Update listing for arm-*-linux-gnueabi.
14070
464263cc
JM
14071 * README: Remove mention of am33.
14072
32749f6c
RM
140732014-02-07 Roland McGrath <roland@hack.frob.com>
14074
14075 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14076 than the comma operator, to avoid "rhs of comma has no effect"
14077 compiler warnings.
14078 (__sigfillset, __sigandset, __sigorset): Likewise.
14079 * include/signal.h (__sigemptyset): Likewise.
14080 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14081
d5b396c1
AM
140822014-02-07 Allan McRae <allan@archlinux.org>
14083
14084 * version.h (RELEASE): Set to "development".
14085 (VERSION): Set to "2.19.90"
14086 * NEWS: Add 2.20 section.
14087
3bfff2ed
CD
140882014-02-06 Carlos O'Donell <carlos@redhat.com>
14089
14090 [BZ #16529]
14091 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14092
ee7cc385
SP
140932014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14094
14095 * manual/contrib.texi: Update entry for Carlos O'Donell,
14096 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14097
f877c4f2
CD
140982014-02-05 Carlos O'Donell <carlos@rehdat.com>
14099
27e839f6
CD
14100 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14101
f877c4f2
CD
14102 * sysdeps/unix/sysv/linux/kernel-features.h
14103 [__LINUX_KERNEL_VERSION >= 0x020621]
14104 (__ASSUME_PROC_PID_TASK_COMM): Define.
14105
68159946
SP
141062014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14107
ba17cdbd
SP
14108 [BZ #16398]
14109 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14110 conversion when destination buffer does not have enough space.
14111 * libio/tst-ftell-partial-wide.c: New test case.
14112 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14113
68159946
SP
14114 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14115 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14116 Leonard and Allan McRae.
14117
2b528732
DM
141182014-02-04 David S. Miller <davem@davemloft.net>
14119
14120 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14121 32-bit.
14122
0ff82463
AZ
141232014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14124
57f41c40
AS
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14126 New file
c01603f7
AZ
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14128 New file
57f41c40
AS
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14130 New file.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14132 New file.
c01603f7
AZ
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14134 New file.
57f41c40
AS
14135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14136 New file.
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14138 New file.
c01603f7
AZ
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14140 New file.
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14142 New file.
14143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14144 New file.
14145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14146 New file.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14148 New file.
14149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14150 New file.
14151
141522014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14153
0ff82463
AZ
14154 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14155 * shlib-versions: Likewise.
14156
1695c773
AZ
141572014-02-04 Roland McGrath <roland@hack.frob.com>
14158 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14159
14160 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14161 (abilist-pattern): New variable, set to %-le.abilist.
14162
14163 * Makerules (abilist-pattern): New variable.
14164 (vpath): Use $(abilist-pattern) in place of %.abilist.
14165 (check-abi-% pattern rule): Likewise.
14166 (check-abi, update-abi): Likewise.
14167
6c0ce4b4
EW
141682014-02-04 Eric Wong <normalperson@yhbt.net>
14169
14170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14171
481e3524
CD
141722014-02-03 Carlos O'Donell <carlos@redhat.com>
14173
14174 * manual/startup.texi: Add next, previous, and top entries for
14175 the `Program Arguments' and `Environment Variables' nodes.
14176
375592d3
AO
141772014-02-03 Alexandre Oliva <aoliva@redhat.com>
14178
14179 * manual/macros.texi: Add comments before MTASC-safety macros.
14180
f54838ba
AO
14181 * manual/users.texi: Document MTASC-safety properties.
14182
57f41c40
AS
14183 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14184 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14185 @deftypefun, and add @safety note.
14186 * manual/signal.texi: Move comments that analyze the above
14187 functions to their home place.
14188
fd3daba4
AM
141892014-02-03 Allan McRae <allan@archlinux.org>
14190
14191 * po/sl.po: Update Slovenian translation from translation project.
14192
597636d7
AO
141932014-02-02 Alexandre Oliva <aoliva@redhat.com>
14194
14195 * manual/time.texi (timegm): Add missing blank after @c.
14196 Reported by Joseph Myers <joseph@codesourcery.com>.
14197
ee196e3c
AO
141982014-02-01 Alexandre Oliva <aoliva@redhat.com>
14199
14200 * manual/check-safety.sh: New.
14201 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14202
f8d529d5
AO
14203 * manual/terminal.texi: Document MTASC-safety properties.
14204
de55fdf4
AO
14205 * manual/filesys.texi: Document MTASC-safety properties.
14206
c3299c08
AO
14207 * manual/errno.texi: Document MTASC-safety properties.
14208
06e90b14
AO
14209 * manual/intro.texi: Document safety identifiers and
14210 conditionals.
14211
1acd4371
AO
14212 * manual/string.texi (wcstok): Fix prototype.
14213 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14214
23e5b8cb
AO
14215 * manual/time.texi: Document MTASC-safety properties.
14216
11087373
AO
14217 * manual/string.texi: Document MTASC-safety properties.
14218
5da2c93d
AO
14219 * manual/threads.texi: Document MTASC-safety properties.
14220
171e9210
AO
14221 * manual/stdio.texi: Document MTASC-safety properties.
14222
d9e02532
AO
14223 * manual/syslog.texi: Document MTASC-safety properties.
14224
6af8bab7
AO
14225 * manual/sysinfo.texi: Document MTASC-safety properties.
14226
663b02d7
AO
14227 * manual/startup.texi: Document MTASC-safety properties.
14228
973f180b
AO
14229 * manual/socket.texi: Document MTASC-safety properties.
14230
8f3c25c8
AO
14231 * manual/signal.texi: Document MTASC-safety properties.
14232
542210fb
AO
142332014-01-31 Alexandre Oliva <aoliva@redhat.com>
14234
14235 * manual/setjmp.texi: Document MTASC-safety properties.
14236
433c45a2
AO
14237 * manual/search.texi: Document MTASC-safety properties.
14238
c8ce789c
AO
14239 * manual/resource.texi: Document MTASC-safety properties.
14240
19f5d29c
AO
14241 * manual/process.texi: Document MTASC-safety properties.
14242
e2dfb7f4
AO
14243 * manual/platform.texi: Document MTASC-safety properties.
14244
8c1413f5
AO
14245 * manual/pipe.texi: Document MTASC-safety properties.
14246
03483ada
AO
14247 * manual/pattern.texi: Document MTASC-safety properties.
14248
29e7e2df
AO
14249 * manual/message.texi: Document MTASC-safety properties.
14250
9f529d7c
AO
14251 [BZ #12751]
14252 * manual/memory.texi: Document MTASC-safety properties.
14253
27aaa791
AO
14254 * manual/math.texi: Document MTASC-safety properties.
14255
f2d58726
AO
14256 * manual/locale.texi: Document MTASC-safety properties.
14257
2cc3615c
AO
14258 * manual/llio.texi: Document MTASC-safety properties.
14259
d9f0ec97
AO
14260 * manual/libdl.texi: New.
14261
e7c4409a
AO
14262 * manual/lang.texi: Document MTASC-safety properties.
14263
27bdc63c
AO
14264 * manual/job.texi: Document MTASC-safety properties.
14265
a7b90ea9
AO
14266 * manual/getopt.texi: Document MTASC-safety properties.
14267
c49130e3
AO
14268 * manual/ctype.texi: Document MTASC-safety properties.
14269
0d23a5c1
MR
142702014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14271
14272 [BZ #16046]
14273 * csu/libc-tls.c (static_map): Remove variable.
14274 (__libc_setup_tls): Use main executable's link map for TLS data.
14275 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14276 casing for LM_ID_BASE and GL(dl_nns).
14277 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14278 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14279 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14280 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14281 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14282 member.
14283 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14284 l_phnum members.
14285
0037bb60
AO
142862014-01-30 Alexandre Oliva <aoliva@redhat.com>
14287
14288 * manual/debug.texi: Document MTASC-safety properties.
14289
409e00bd
L
142902014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14291
14292 [BZ #16510]
14293 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14294 of __x86_64__ when disabling x87 inline functions.
14295
86e60666
AO
142962014-01-29 Alexandre Oliva <aoliva@redhat.com>
14297
14298 * manual/charset.texi: Document MTASC-safety properties.
14299
76167637
AO
14300 * manual/crypt.texi: Document MTASC-safety properties.
14301
e567f2a0
AO
14302 * manual/conf.texi: Document MTASC-safety properties.
14303
b719dafd
AO
14304 * manual/arith.texi: Document MTASC-safety properties.
14305
4a16c662
AO
14306 * manual/argp.texi: Document MTASC-safety properties.
14307
0a57b83e
AO
14308 * manual/macros.texi: Introduce macros to document multi
14309 thread, asynchronous signal and asynchronous cancellation
14310 safety properties.
14311 * manual/intro.texi: Introduce the properties themselves.
14312
feab2397
KK
143132014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14314
14315 * sysdeps/sh/sh4/Makefile: New file.
14316
1c0d11bc
AS
143172014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14318
14319 * math/gen-libm-test.pl ($srcdir): New variable.
14320 ($auto_input): Use it.
14321
af37a8a3
SP
143222014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14323
d7b00f98
SP
14324 [BZ #16506]
14325 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14326 access beyond array bounds when parsing netgroups file.
14327
af37a8a3
SP
14328 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14329 the old buffer before realloc.
14330
0c00f062
AM
143312014-01-27 Allan McRae <allan@archlinux.org>
14332
14333 * po/fr.po: Update French translation from translation project.
14334
7d69a1b0
KK
143352014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14336
14337 * sysdeps/sh/libm-test-ulps: Regenerate.
14338
6e697ff7
DM
143392014-01-24 David S. Miller <davem@davemloft.net>
14340
14341 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14342
9cadb35c
KK
143432014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14344
14345 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14346 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14347
5d41dadf
SP
143482013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14349
14350 [BZ #16474]
14351 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14352 string pointers after reallocation.
14353
0bad441c
KK
143542014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14355
14356 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14357 __SH4A__ instead of __SH_FPU_ANY__.
14358
7007c661
KK
143592014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14360
14361 * sysdeps/sh/fpu_control.h: New file.
14362 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14363 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14364 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14365 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14366 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14367 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14368 * sysdeps/sh/sys/ucontext.h: Remove.
14369 * sysdeps/sh/sys: Remove directory.
14370
0f0c35e4
AK
143712014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14372
14373 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14374 s390/sys/ucontext.h.
14375 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14376 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14377
4959e284
L
143782014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14379
14380 [BZ #15605]
14381 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14382
d98720e0
AZ
143832014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14384
14385 [BZ#16431]
14386 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14387 Adjust the vDSO correctly for internal calls.
14388 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14389
91cbd0bc
AM
143902014-01-20 Allan McRae <allan@archlinux.org>
14391
14392 * po/ca.po: Update Catalan translation from translation project.
14393
7a02cfad
MF
143942014-01-16 Mike Frysinger <vapier@gentoo.org>
14395
14396 * sysdeps/s390/sotruss-lib.c: New file.
14397
736c304a
AZ
143982014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14399
14400 [BZ#16430]
6e077ee5 14401 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14402 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14403 local calls issues by not having a PLT stub required for IFUNC calls.
14404 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14405
94d0cea0
JM
144062014-01-16 Joseph Myers <joseph@codesourcery.com>
14407
14408 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14409 * math/test-fpucw-static.c: Likewise.
14410
980cb518
SP
144112013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14412
14413 [BZ #16453]
14414 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14415
2393fc01
AZ
144162014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14417
14418 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14419 implementation for powerpc.
14420
d359bcc2
OB
144212014-01-15 Ondřej Bílka <neleai@seznam.cz>
14422
14423 [BZ #14782]
14424 * sysdeps/posix/system.c (__libc_system): Do not enable
14425 asynchronous cancellation.
14426
7beb48cb
AK
144272014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14428
14429 [BZ #16427]
14430 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14431 handling only for numbers special also in the IEEE case.
14432
c20d5bf5
AK
144332014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14434
14435 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14436
e83bd4ee
AM
144372014-01-11 Allan McRae <allan@archlinux.org>
14438
76d0ea69
AM
14439 * po/bg.po: Update Bulgarian translation from translation project.
14440
e83bd4ee
AM
14441 * po/de.po: Update German translation from translation project.
14442
bc2ba20a
RM
144432014-01-10 Roland McGrath <roland@hack.frob.com>
14444
14445 * sysdeps/generic/gcc-compat.h: New file.
14446
649ecea2
SP
144472014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14448
14449 * benchtests/asin-inputs: Correct slow inputs.
14450 * benchtests/acos-inputs: Likewise.
14451
1b19c006
AM
144522014-01-10 Allan McRae <allan@archlinux.org>
14453
a46dab08
AM
14454 * po:sv.po: Update Swedish translation from translation project.
14455
421df74a
AM
14456 * po/vi.po: Update Vietnamese translation from translation project.
14457
d61c51a7
AM
14458 * po/eo.po: Update Esperanto translation from translation project.
14459
0339a319
AM
14460 * po/cs.po: Update Czech translation from translation project.
14461
94ad3e99
AM
14462 * po/nl.po: Update Dutch translation from translation project.
14463
e349ca71
AM
14464 * po/pl.po: Update Polish translation from translation project.
14465
ddf930c1
AM
14466 * po/ru.po: Update Russian translation from translation project.
14467
1b19c006
AM
14468 * po/uk.po: Update Ukrainian translation from translation project.
14469
9f236c49
BM
144702014-01-08 Brooks Moses <bmoses@google.com>
14471
14472 * elf/dl-load.c: Fix comment typo.
14473
cd6701cf
CD
144742014-01-08 Carlos O'Donell <carlos@redhat.com>
14475
14476 * po/header.pot: Rename to...
14477 * po/pot.header: ... this.
14478 * po/Makefile: Use pot.header.
14479
66671c84
YK
144802014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14481 Maxim Kuvyrkov <maxim@kugelworks.com>
14482
14483 [BZ #16394]
cd6701cf
CD
14484 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14485 SRC and DEST against LEN.
66671c84 14486
38f34581
AZ
144872014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14488
14489 [BZ #16414]
14490 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14491 implementation.
14492 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14493
144942014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14495
14496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14497
4c327f2a
JM
144982014-01-08 Joseph Myers <joseph@codesourcery.com>
14499
14500 [BZ #16408]
14501 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14502 for large positive arguments.
14503
b821f414
JM
145042014-01-07 Joseph Myers <joseph@codesourcery.com>
14505
1f0f2067
JM
14506 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14507
a5a326f6
JM
14508 * math/auto-libm-test-in: Mark various tests with
14509 xfail-rounding:ldbl-128ibm.
14510 * math/auto-libm-test-out: Regenerated.
14511
b821f414
JM
14512 [BZ #16407]
14513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14514 Increase overflow threshold.
14515
94c8a4bc
OB
145162014-01-07 Ondřej Bílka <neleai@seznam.cz>
14517
14518 [BZ #14286]
14519 * stdio-common/vfprintf.c: Check for integer overflow.
14520
87ded0c3
AK
145212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14522
14523 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14524 the first argument and return value of __tls_get_addr_internal.
14525
c5eebdd0
AK
145262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14527
14528 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14529 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14530
05d138ef
AK
145312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14532
14533 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14534 * sysdeps/s390/rtld-global-offsets.sym: New file.
14535 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14536 GLIBC_2.19 symbol.
14537 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14538 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14539 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14540 ... this.
14541 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14542 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14543 ... this.
14544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14545 Regenerate.
14546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14547 Regenerate.
14548 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14549 halfs of GPRs for high_gprs contexts.
14550 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14551 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14552 field.
14553 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14554 uc_flags field.
14555 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14556 64 bit versions:
14557 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14558 for high GPRs (uc_high_gprs) and for future extensions
14559 (__reserved).
14560 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14561 for future extensions (__reserved).
14562 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14563 64 bit versions:
14564 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14565 SC_HIGHGPRS offset definition.
14566 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14567 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14568
93a45ff1
AK
14569 * Versions.def: Add GLIBC_2.19 for libpthread.
14570 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14571 siglongjmp for libpthread with GLIBC_2.19 symver.
14572 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14573 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14574 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14575 * sysdeps/s390/__longjmp.c: New file.
14576 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14577 * sysdeps/s390/longjmp.c: New file.
14578 * sysdeps/s390/setjmp.S: New file.
14579 * sysdeps/s390/sigjmp.S: New file.
14580 * sysdeps/s390/v1-longjmp.c: New file.
14581 * sysdeps/s390/v1-setjmp.h: New file.
14582 * sysdeps/s390/v1-sigjmp.c: New file.
14583 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14584 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14585 GLIBC_2.19 version.
14586 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14587 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14588 versioned symbols for ____longjmp_chk.
14589 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14590 Likewise.
14591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14592 Regenerate.
14593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14594 Regenerate.
14595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14596 Regenerate.
14597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14598 Regenerate.
14599 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14600 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14601 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14602 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14603 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14604 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14605 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14606 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14607 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14608 * sysdeps/s390/rtld-__longjmp.c: New file.
14609 * sysdeps/s390/rtld-setjmp.S: New file.
14610
eb3fc44b
JM
146112014-01-06 Joseph Myers <joseph@codesourcery.com>
14612
14613 [BZ #16400]
14614 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14615 Return -__logl (x) for small positive arguments without evaluating
14616 a polynomial.
14617
9341dde4
MF
146182014-01-06 Mike Frysinger <vapier@gentoo.org>
14619
14620 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14621 Rename to ...
14622 (__ptrace_peeksiginfo_args): ... this.
14623 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14624 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14625 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14626
4cff0293
AM
146272014-01-06 Allan McRae <allan@archlinux.org>
14628
14629 * inet/netinet/in.h: Fix typo in comment.
14630
75595dcf
AJ
146312014-01-05 Andreas Jaeger <aj@suse.de>
14632
14633 * sysdeps/i386/fpu/libm-test-ulps: Update.
14634
79c1e109
AM
146352014-01-05 Allan McRae <allan@archlinux.org>
14636
dd804818
AM
14637 * po/libc.pot: Regenerated.
14638
79c1e109
AM
14639 * malloc/memusagestat.c: Fix gettext call formatting.
14640
0c813d1f
SK
146412014-01-04 Sami Kerola <kerolasa@iki.fi>
14642
14643 * nscd/nscd.c: Improve usage() output.
14644
20f4a8d9
MF
146452014-01-04 Mike Frysinger <vapier@gentoo.org>
14646
14647 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14648 * sysdeps/unix/sysv/linux/configure: Regenerated.
14649 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14650 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14651
22562bb2
JM
146522014-01-03 Joseph Myers <joseph@codesourcery.com>
14653
14654 [BZ #16390]
14655 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14656 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14657
d7ad2d9b
AZ
146582014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14659
14660 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14661 extra tokens at end of #undef directive.
14662 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14663 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14664 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14665
7dd009d8
JM
146662014-01-03 Joseph Myers <joseph@codesourcery.com>
14667
24db925a
JM
14668 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14669
7dd009d8
JM
14670 * math/auto-libm-test-in: Mark various tests with
14671 xfail-rounding:ldbl-128ibm.
14672 * math/auto-libm-test-out: Regenerated.
14673
396e3ecf
JM
146742014-01-02 Joseph Myers <joseph@codesourcery.com>
14675
819e5d50
JM
14676 [BZ #16386]
14677 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14678 numbers with subnormal high part when calculating exponent.
14679
90b6a1e5
JM
14680 [BZ #16385]
14681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14682 fabs.
14683
396e3ecf
JM
14684 [BZ #16384]
14685 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14686 M_LN2l.
14687 (__ieee754_acoshl): Use __log1pl not __log1p.
14688
6c8dbf00
OB
146892013-01-02 Ondřej Bílka <neleai@seznam.cz>
14690
57f41c40
AS
14691 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14692 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14693 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14694 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14695 (reused_arena, arena_get2): Convert to GNU style.
14696 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14697 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14698 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14699 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14700 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14701 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14702 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14703 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14704 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14705 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14706 * malloc/malloc.h: Likewise.
57f41c40
AS
14707 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14708 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14709 * malloc/mcheck.h: Likewise.
57f41c40
AS
14710 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14711 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14712 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14713 * malloc/morecore.c (__default_morecore): Likewise.
14714 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14715 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14716 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14717 (print_and_abort): Likewise.
6c8dbf00
OB
14718 * malloc/obstack.h: Likewise.
14719 * malloc/set-freeres.c (__libc_freeres): Likewise.
14720 * malloc/tst-mallocstate.c (main): Likewise.
14721 * malloc/tst-mtrace.c (main): Likewise.
14722 * malloc/tst-realloc.c (do_test): Likewise.
14723
d4124212
SP
147242013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14725
9a3c6a6f
SP
14726 [BZ #16366]
14727 * nscd/netgroupcache.c (do_notfound): New function.
14728 (addgetnetgrentX): Use it.
14729
d4124212
SP
14730 [BZ # 16365]
14731 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14732 NSS_STATUS_NOTFOUND.
14733
97b9a009
JM
147342014-01-01 Joseph Myers <joseph@codesourcery.com>
14735
14736 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14738
d4697bc9
AM
147392014-01-01 Allan McRae <allan@archlinux.org>
14740
ddb3687f
AM
14741 * scripts/update-copyrights: Update configure input file suffix.
14742
88726d48
AM
14743 * NEWS: Update copyright year.
14744 * catgets/gencat.c: Likewise.
14745 * csu/version.c: Likewise.
14746 * debug/catchsegv.sh: Likewise.
14747 * debug/pcprofiledump.c: Likewise.
14748 * debug/xtrace.sh: Likewise.
14749 * elf/ldconfig.c: Likewise.
14750 * elf/ldd.bash.in: Likewise.
14751 * elf/pldd.c: Likewise.
14752 * elf/sotruss.ksh: Likewise.
14753 * elf/sprof.c: Likewise.
14754 * iconv/iconv_prog.c: Likewise.
14755 * iconv/iconvconfig.c: Likewise.
14756 * locale/programs/locale.c: Likewise.
14757 * locale/programs/localedef.c: Likewise.
14758 * login/programs/pt_chown.c: Likewise.
14759 * malloc/memusage.sh: Likewise.
14760 * malloc/memusagestat.c: Likewise.
14761 * malloc/mtrace.pl: Likewise.
14762 * manual/libc.texinfo: Likewise.
14763 * nscd/nscd.c: Likewise.
14764 * nss/getent.c: Likewise.
14765 * nss/makedb.c: Likewise.
14766 * posix/getconf.c: Likewise.
14767 * scripts/test-installation.pl: Likewise.
14768
d4697bc9
AM
14769 * All files with FSF copyright notices: Update copyright dates
14770 using scripts/update-copyrights.
14771 * intl/plural.c: Regenerated.
14772 * locale/programs/charmap-kw.h: Likewise.
14773 * locale/programs/locfile-kw.h: Likewise.
14774
c8590f9d
MF
147752013-12-31 Mike Frysinger <vapier@gentoo.org>
14776
14777 * sysdeps/unix/sysv/linux/configure: Regenerated.
14778 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14779 the linux/fanotify.h header.
14780 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14781 HAVE_LINUX_FANOTIFY_H is defined.
14782
b19221b9
SP
147832013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14784
dd1d85e5
SP
14785 * benchtests/cos-inputs: New inputs.
14786 * benchtests/sin-inputs: Likewise.
14787
1acbb90f
SP
14788 * benchtests/atan-inputs: New inputs. Fix name of multiple
14789 precision fallback inputs.
14790
4c012ed3
SP
14791 * benchtests/atanh-inputs: New inputs.
14792 * benchtests/tanh-inputs: Likewise.
14793
eff98324
SP
14794 * benchtests/acosh-inputs: New inputs.
14795 * benchtests/asinh-inputs: Likewise.
14796
ce641152
SP
14797 * benchtests/cosh-inputs: New inputs.
14798 * benchtests/sinh-inputs: Likewise.
14799
b19221b9
SP
14800 * benchtests/acos-inputs: Add more inputs.
14801 * benchtests/asin-inputs: Likewise.
14802
030a4976 148032013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14804
030a4976 14805 [BZ #16375]
9dcc8f11
VS
14806 * manual/arith.texi: Fix spelling.
14807 * manual/charset.texi: Likewise.
14808 * manual/errno.texi: Likewise.
14809 * manual/filesys.texi: Likewise.
14810 * manual/lang.texi: Likewise.
14811 * manual/llio.texi: Likewise.
14812 * manual/locale.texi: Likewise.
14813 * manual/message.texi: Likewise.
14814 * manual/resource.texi: Likewise.
14815 * manual/search.texi: Likewise.
14816 * manual/setjmp.texi: Likewise.
14817 * manual/stdio.texi: Likewise.
14818 * manual/string.texi: Likewise.
14819 * manual/sysinfo.texi: Likewise.
14820 * manual/time.texi: Likewise.
14821
11520a57
CD
148222013-12-27 Carlos O'Donell <carlos@redhat.com>
14823
14824 * po/sl.po: New file.
14825
471103ae
MF
148262013-12-27 Mike Frysinger <vapier@gentoo.org>
14827
14828 * .gitignore: Add core/.gdbinit/.gdb_history.
14829
6c9642ed
AM
148302013-12-27 Allan McRae <allan@archlinux.org>
14831
14832 [BZ #16369]
14833 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14834 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14835
3f637079
BM
148362013-12-24 Brooks Moses <bmoses@google.com>
14837
14838 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14839 all compilers that claim C++98 compliance, not just GCC.
14840 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14841 Likewise.
14842
abc26e99
MK
148432013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14844
14845 * NEWS: Restore accidentally deleted bug-fix entries.
14846
362b47fe
MK
148472013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14848 Ondřej Bílka <neleai@seznam.cz>
14849
14850 [BZ #15073]
14851 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14852 have_lock.
362b47fe 14853
b9bcbbcb
OB
148542013-12-23 Ondřej Bílka <neleai@seznam.cz>
14855
14856 [BZ #12986]
14857 * manual/stdio.texi (String Input Conversions): Clarify that character
14858 classes are not supported.
14859
fb55fcd2
AZ
148602013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14861
14862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14863
ef7344f0
JM
148642013-12-22 Joseph Myers <joseph@codesourcery.com>
14865
4f40e4b3
JM
14866 [BZ #16337]
14867 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14868 Calculate results for small negative arguments directly rather
14869 than using reflection formula with special underflow handling.
14870
ef7344f0
JM
14871 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14872 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14873 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14874 (fchflags): Likewise.
14875 (revoke): Likewise.
14876 (setlogin): Likewise.
14877 (sigaltstack): Likewise.
14878 (wait4): Likewise.
14879 (sigblock): Remove.
14880 (sigsetmask): Likewise.
14881 (wait3): Likewise.
14882 (waitpid): Likewise.
14883 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14884 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14885 file.
14886 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14887 * sysdeps/unix/bsd/Makefile: ... here.
14888 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14889 * sysdeps/unix/bsd/Versions: ... here.
14890 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14891 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14892 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14893 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14894 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14895 * sysdeps/unix/bsd/sigblock.c: ... here.
14896 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14897 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14898 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14899 * sysdeps/unix/bsd/sigvec.c: ... here.
14900 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14901 * sysdeps/unix/bsd/tcdrain.c: ... here.
14902 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14903 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14904 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14905 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14906 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14907 * sysdeps/unix/bsd/wait.c: ... here.
14908 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14909 * sysdeps/unix/bsd/wait3.c: ... here.
14910 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14911 * sysdeps/unix/bsd/waitpid.c: ... here.
14912
5b0626b9
JM
149132013-12-21 Joseph Myers <joseph@codesourcery.com>
14914
14915 [BZ #16356]
14916 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14917 round-to-nearest for [!USE_AS_EXPM1L].
14918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14919 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14920 more tests of exp and exp10. Expect some exp10 tests to miss
14921 exceptions or fail in directed rounding modes.
14922 * math/auto-libm-test-out: Regenerated.
14923 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14924 (exp10_test_tonearest): New function.
14925 (exp10_towardzero_test_data): New array.
14926 (exp10_test_towardzero): New function.
14927 (exp10_downward_test_data): New array.
14928 (exp10_test_downward): New function.
14929 (exp10_upward_test_data): New array.
14930 (exp10_test_upward): New function.
14931 (main): Call the new functions.
14932 * sysdeps/i386/fpu/libm-test-ulps: Update.
14933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14934
7fda5682
JM
149352013-12-20 Joseph Myers <joseph@codesourcery.com>
14936
31e3a405
JM
14937 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14938 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14939 * math/auto-libm-test-out: Regenerated.
14940 * math/libm-test.inc (acosh_test_data): Add more tests.
14941 (atanh_test_data): Likewise.
14942 (ceil_test_data): Likewise.
14943 (copysign_test_data): Likewise.
14944 * sysdeps/i386/fpu/libm-test-ulps: Update.
14945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14946
85bff96a
JM
14947 * timezone/checktab.awk: Update from tzcode 2013i.
14948 * timezone/private.h: Likewise.
14949 * timezone/scheck.c: Likewise.
14950 * timezone/tzfile.h: Likewise.
14951 * timezone/tzselect.ksh: Likewise.
14952 * timezone/zdump.c: Likewise.
14953 * timezone/zic.c: Likewise.
14954
b7867a3b
JM
14955 * math/auto-libm-test-in: Add tests of cpow.
14956 * math/auto-libm-test-out: Regenerated.
14957 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14958 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14959 mpc_cc_c.
14960 (func_calc_desc): Add mpc_cc_c union field.
14961 (test_functions): Add cpow.
14962 (special_fill_2pi): New function.
14963 (special_real_inputs): Add 2pi.
14964 (calc_generic_results): Handle mpc_cc_c.
14965 * sysdeps/i386/fpu/libm-test-ulps: Update.
14966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14967
7fda5682
JM
14968 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14969 csqrt, ctan and ctanh.
14970 * math/auto-libm-test-out: Regenerated.
14971 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14972 (TEST_COND_x86): Likewise.
14973 (ccos_test_data): Use AUTO_TESTS_c_c.
14974 (ccosh_test_data): Likewise.
14975 (cexp_test_data): Likewise.
14976 (clog_test_data): Likewise.
14977 (csqrt_test_data): Likewise.
14978 (ctan_test_data): Likewise.
14979 (ctan_tonearest_test_data): Likewise.
14980 (ctan_towardzero_test_data): Likewise.
14981 (ctan_downward_test_data): Likewise.
14982 (ctan_upward_test_data): Likewise.
14983 (ctanh_test_data): Likewise.
14984 (ctanh_tonearest_test_data): Likewise.
14985 (ctanh_towardzero_test_data): Likewise.
14986 (ctanh_downward_test_data): Likewise.
14987 (ctanh_upward_test_data): Likewise.
14988 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14989 mpc_c_c.
14990 (func_calc_desc): Add mpc_c_c union field.
14991 (FUNC_mpc_c_c): New macro.
14992 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14993 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14994 ctanh.
14995 (special_fill_min_subnorm_p120): New function.
14996 (special_real_inputs): Add min_subnorm_p120.
14997 (calc_generic_results): Handle mpc_c_c.
14998 * sysdeps/i386/fpu/libm-test-ulps: Update.
14999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15000
5ff8d60e
SP
150012013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15002
57f41c40
AS
15003 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15004 (do_sin_slow): New functions.
15005 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15006 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 15007
84ba214c
SP
15008 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15009 Use M to change sign of result instead of X. Assume X is
15010 positive.
15011 (csloww1): Likewise.
15012 (__sin): Adjust.
15013 (__cos): Adjust.
15014
975195e4
SP
15015 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15016 arguments A and DA.
15017 (__sin): Adjust.
15018 (__cos): Likewise.
15019
5ff8d60e
SP
15020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15021 (__cos): Likewise.
15022 (sloww1): Don't adjust sign of DX.
15023 (csloww1): Likewise.
15024 (sloww2): Use X directly and don't adjust sign of DX.
15025 (csloww2): Likewise.
15026
eb983568
JM
150272013-12-19 Joseph Myers <joseph@codesourcery.com>
15028
64a17f1a
JM
15029 * math/auto-libm-test-in: Add tests of cabs and carg.
15030 * math/auto-libm-test-out: Regenerated.
15031 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15032 (carg_test_data): Likewise.
15033 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15034 mpc_c_f.
15035 (func_calc_desc): Add mpc_c_f union field.
15036 (test_functions): Add cabs and carg.
15037 (calc_generic_results): Handle mpc_c_f.
15038
eb983568
JM
15039 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15040 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15041 as a macro and a compat symbol.
15042 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15043 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15044 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15045 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15046 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15047 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15048 not use .hidden.
15049 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15050 Likewise.
15051 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15052 Likewise.
15053 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15054 Likewise.
15055 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15056 Likewise.
15057 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15058 Likewise.
15059 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15060 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15061 from GLIBC_2.3.2.
15062
6eeb678a
AZ
150632013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15064
15065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15066
6f6fc482
JM
150672013-12-19 Joseph Myers <joseph@codesourcery.com>
15068
21fea2e2
JM
15069 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15070 trailing whitespace removed.
15071 * scripts/config.guess: Update to version 2013-11-29.
15072 * scripts/config.sub: Update to version 2013-10-01.
15073
6f6fc482
JM
15074 * math/auto-libm-test-in: Add tests of sincos.
15075 * math/auto-libm-test-out: Regenerated.
15076 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15077 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15078 mpfr_f_11.
15079 (func_calc_desc): Add mpfr_f_11 union field.
15080 (test_functions): Add sincos.
15081 (calc_generic_results): Handle mpfr_f_11.
15082 * sysdeps/i386/fpu/libm-test-ulps: Update.
15083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15084
83f5c32d
AS
150852013-12-19 Andreas Schwab <schwab@suse.de>
15086
15087 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15088 CALL_MCOUNT.
15089 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15090 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15091 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15092
c688b419
JM
150932013-12-19 Joseph Myers <joseph@codesourcery.com>
15094
335ee092
JM
15095 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15096 * sysdeps/i386/fpu/libm-test-ulps: Update.
15097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15098
f88acd39
JM
15099 [BZ #16293]
15100 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15101 round-to-nearest mode when using frndint.
15102 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15103 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15105 Likewise.
15106 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15107 sinh test to fail.
15108 * math/auto-libm-test-out: Regenerated.
15109 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15110 (TEST_COND_x86): Likewise.
15111 (expm1_tonearest_test_data): New array.
15112 (expm1_test_tonearest): New function.
15113 (expm1_towardzero_test_data): New array.
15114 (expm1_test_towardzero): New function.
15115 (expm1_downward_test_data): New array.
15116 (expm1_test_downward): New function.
15117 (expm1_upward_test_data): New array.
15118 (expm1_test_upward): New function.
15119 (main): Run the new test functions.
15120 * sysdeps/i386/fpu/libm-test-ulps: Update.
15121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15122
c688b419
JM
15123 * include/features.h: Update comment documenting feature test
15124 macros. Mention _DEFAULT_SOURCE in comment.
15125 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15126 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15127 _BSD_SOURCE and _SVID_SOURCE.
15128 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15129 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15130 !_SVID_SOURCE]: Likewise.
15131 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15132 (__USE_POSIX_IMPLICITLY): Define.
15133 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15134 (_POSIX_SOURCE): Undefine and redefine.
15135 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15136 (_POSIX_C_SOURCE): Likewise.
15137 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15138 (Feature Test Macros): Update documentation of default features.
15139
9f6e964c
RS
151402013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15141
15142 * benchtests/Makefile: Add bench-strtok.
15143 * benchtests/bench-strtok.c: New file: strtok benchtest.
15144
ee0a148a
AM
151452013-12-19 Allan McRae <allan@archlinux.org>
15146
15147 * manual/install.texi: Suppress menu for plain text output.
15148 * INSTALL: Regenerated.
15149
b9ab448f
BM
151502013-12-18 Brooks Moses <bmoses@google.com>
15151
15152 [BZ #15846]
15153 * misc/getauxval.c: Include errno.h.
15154 (__getauxval): Set errno to ENOENT if the requested type is not
15155 found.
15156 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15157 don't declare with __attribute_const__.
15158 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15159 * manual/startup.texi: Document that getauxval sets errno.
15160
23776487
JM
151612013-12-18 Joseph Myers <joseph@codesourcery.com>
15162
f889953b
JM
15163 * math/auto-libm-test-in: Add tests of jn and yn.
15164 * math/auto-libm-test-out: Regenerated.
15165 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15166 (yn_test_data): Likewise.
15167 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15168 mpfr_if_f.
15169 (func_calc_desc): Add mpfr_if_f union field.
15170 (FUNC_mpfr_if_f): New macro.
15171 (test_functions): Add jn and yn.
15172 (calc_generic_results): Assert type of second input for
15173 mpfr_ff_f. Handle mpfr_if_f.
15174 (output_for_one_input_case): Disable all checking for arguments
15175 fitting floating-point types in case of an integer argument.
15176 * sysdeps/i386/fpu/libm-test-ulps: Update.
15177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15178
23776487
JM
15179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15180 Don't expect fegetround reference in libm.so.
15181
cb756c6d
MS
151822013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15183
15184 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15185 $(config-cflags-nofma).
15186
2dec468f
JM
151872013-12-18 Joseph Myers <joseph@codesourcery.com>
15188
5953eb3a
JM
15189 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15190 * math/auto-libm-test-out: Regenerated.
15191
2dec468f
JM
15192 [BZ #16338]
15193 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15194 to determine exponent and adjust argument to have exponent of -1.
15195 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15196 log2.
15197 * math/auto-libm-test-out: Regenerated.
15198 * sysdeps/i386/fpu/libm-test-ulps: Update.
15199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15200
4d84e6ad
OB
152012013-12-18 Ondřej Bílka <neleai@seznam.cz>
15202
15203 * manual/probes.texi: Remove cases when per-thread arenas are
15204 disabled.
15205
1818483b
AS
152062013-12-18 Andreas Schwab <schwab@suse.de>
15207
15208 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15209 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15210 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15211 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15212 * sysdeps/i386/i686/multiarch/Makefile: Update.
15213 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15214
25de95bf
JM
152152013-12-17 Joseph Myers <joseph@codesourcery.com>
15216
15217 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15218 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15219
674762d9
PE
152202013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15221
ed27ed83 15222 [BZ #15968]
0748546f
PE
15223 Support TZ transition times < 00:00:00.
15224 This is needed for version-3 tz-format files; it supports time
15225 stamps past 2037 for America/Godthab (the only entry in the tz
15226 database for which this change is relevant).
15227 * manual/time.texi (TZ Variable): Document transition times
15228 from -167:59:59 through -00:00:01.
15229 * time/tzset.c (tz_rule): Time of day is now signed.
15230 (__tzset_parse_tz): Parse negative time of day.
15231
4480e934
PE
15232 Document TZ transition times >= 25:00:00.
15233 * manual/time.texi (TZ Variable): Document transition times from
15234 25:00:00 through 167:59:59. These are already supported, and this
15235 support will help with version-3 tz-format files.
15236
69947401
PE
15237 * manual/time.texi (TZ Variable): Modernize North America example
15238 to reflect current (i.e., 2007-and-later) daylight saving rules.
15239
674762d9
PE
15240 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15241
7011c262
JM
152422013-12-17 Joseph Myers <joseph@codesourcery.com>
15243
2fc6557e
JM
15244 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15245 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15246 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15248 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15249 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15250 * sysdeps/unix/bsd/clock.c: Likewise.
15251 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15252 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15253 * sysdeps/unix/bsd/init-posix.c: Likewise.
15254 * sysdeps/unix/bsd/poll.c: Likewise.
15255 * sysdeps/unix/bsd/ptsname.c: Likewise.
15256 * sysdeps/unix/bsd/seekdir.c: Likewise.
15257 * sysdeps/unix/bsd/setegid.c: Likewise.
15258 * sysdeps/unix/bsd/seteuid.c: Likewise.
15259 * sysdeps/unix/bsd/setgid.c: Likewise.
15260 * sysdeps/unix/bsd/setrgid.c: Likewise.
15261 * sysdeps/unix/bsd/setruid.c: Likewise.
15262 * sysdeps/unix/bsd/setsid.c: Likewise.
15263 * sysdeps/unix/bsd/setuid.c: Likewise.
15264 * sysdeps/unix/bsd/sigaction.c: Likewise.
15265 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15266 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15267 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15268 * sysdeps/unix/bsd/telldir.c: Likewise.
15269 * sysdeps/unix/bsd/times.c: Likewise.
15270 * sysdeps/unix/bsd/usleep.c: Likewise.
15271
029c7b25
JM
15272 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15273 ($(objpfx)libbsd-compat.a): Remove rule.
15274
7011c262
JM
15275 * include/features.h (__FAVOR_BSD): Do not define.
15276 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15277 features conflicting with POSIX.
15278 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15279 (_BSD_SOURCE): Remove description of not being a subset of other
15280 feature test macros.
15281 * manual/job.texi (getpgrp): Do not document BSD version.
15282 (getpgid): Do not document by reference to BSD getpgrp.
15283 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15284 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15285 * signal/signal.h [__FAVOR_BSD]: Likewise.
15286 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15287 instead of making contents conditional on [__FAVOR_BSD].
15288 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15289
affb6f78
AZ
152902013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15291
15292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15293
c88769dd
JM
152942013-12-17 Joseph Myers <joseph@codesourcery.com>
15295
6432a540
JM
15296 [BZ #16314]
15297 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15298 values below 2**-450, not 2**-500.
15299 * math/auto-libm-test-in: Don't allow spurious underflow from
15300 hypot.
15301 * math/auto-libm-test-out: Regenerated.
15302
c88769dd
JM
15303 [BZ #16316]
15304 [BZ #16330]
15305 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15306 values of ha and hb and sort them after adjusting subnormal
15307 arguments.
15308 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15309 Likewise.
15310 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15311 values of ea and eb and sort them after adjusting subnormal
15312 arguments.
15313 * math/auto-libm-test-in: Do not expect some hypot tests of
15314 subnormals to fail. Add more hypot tests.
15315 * math/auto-libm-test-out: Regenerated.
15316
29618f6b
KK
153172013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15318
15319 [BZ #13304]
15320 * sysdeps/sh/s_fma.c: New file.
15321 * sysdeps/sh/s_fmaf.c: New file.
15322 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15323 version.
15324 * sysdeps/sh/Implies: Add sh/soft-fp.
15325
eacfdfbf
RM
153262013-12-16 Roland McGrath <roland@hack.frob.com>
15327
15328 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15329 level of indirection to members `objname', `errstring', `malloced'.
15330 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15331 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15332 it as the __longjmp argument (just pass 1 instead).
15333 (_dl_catch_error): Initialize C with argument pointers and address of
15334 volatile local ERRCODE rather than copying values out of C at return.
15335
ff362e5b
JM
153362013-12-16 Joseph Myers <joseph@codesourcery.com>
15337
15338 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15339 * math/auto-libm-test-out: Regenerated.
15340 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15341 (hypot_test_data): Likewise.
15342 (pow_test_data): Likewise.
15343 (pow_tonearest_test_data): Likewise.
15344 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15345 mpfr_ff_f.
15346 (func_calc_desc): Add mpfr_ff_f union field.
15347 (FUNC_mpfr_ff_f): New macro.
15348 (test_functions): Add atan2, hypot and pow.
15349 (special_fill_min): New function.
15350 (special_fill_minus_min): Likewise.
15351 (special_fill_min_subnorm): Likewise.
15352 (special_fill_minus_min_subnorm): Likewise.
15353 (special_real_inputs): Add min, -min, min_subnorm and
15354 -min_subnorm.
15355 (calc_generic_results): Handle mpfr_ff_f.
15356 * sysdeps/i386/fpu/libm-test-ulps: Update.
15357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15358
5764c27f
WN
153592013-12-16 Will Newton <will.newton@linaro.org>
15360
15361 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15362 (Aligned Memory Blocks): Add documentation for aligned_alloc
15363 and suggest it as an alternative to posix_memalign.
15364 (Hooks for Malloc): Document __memalign_hook is also called
15365 for aligned_alloc. (Summary of Malloc): Add summary for
15366 aligned alloc. Document __memalign_hook is also called
15367 for aligned_alloc.
15368
0a096e44
WN
153692013-12-16 Will Newton <will.newton@linaro.org>
15370
15371 * manual/memory.texi (Malloc Examples): Clarify default
15372 alignment documentation. Suggest posix_memalign rather
15373 than memalign or valloc.
15374 (Aligned Memory Blocks): Remove suggestion to use memalign
15375 or valloc. Remove obsolete comment about BSD.
15376 Document memalign errno values and mark the function obsolete.
15377 Document posix_memalign returned error codes. Mark valloc
15378 as obsolete. (Hooks for Malloc): __memalign_hook is also
15379 called for posix_memalign and valloc.
15380 (Summary of Malloc): Add posix_memalign to function summary.
15381 __memalign_hook is also called for posix_memalign and valloc.
15382
8d561986
SP
153832013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15384
15385 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15386 TAYLOR_SIN.
15387 (__sin): Adjust.
15388 (__cos): Likewise.
15389 (sloww): Use mynumber union. Expand ternary operator into
15390 if-else statements.
15391 (cslow): use mynumber union.
15392
73616a74
AM
153932013-12-16 Allan McRae <allan@archlinux.org>
15394
9e8ac24b
AM
15395 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15396 * configure: Regenerated.
15397
6f8e37eb
AM
15398 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15399
8894bad3
AM
15400 [BZ #14120]
15401 * configure.ac: Added --enable-maintainer-mode. Check for
15402 autoconf when enabled.
15403 * configure: Regenerated.
15404
73616a74
AM
15405 * nscd/nscd.service: New file.
15406 * nscd/nscd.tmpfiles: New file.
15407
584b18eb
OB
154082013-12-14 Ondřej Bílka <neleai@seznam.cz>
15409
15410 [BZ #12100]
15411 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15412 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15413 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15414 (strstr): Add __strstr_sse2_unaligned ifunc.
15415 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15416 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15417 (strcasestr): Remove __strcasestr_sse42 ifunc.
15418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15421
8a5c7897
KK
154222013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15423
15424 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15425 * sysdeps/sh/bits/fenv.h: ... here.
15426 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15427
fd712ef3
AZ
154282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15429
15430 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15431
42fcb46c
AZ
15432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15433 hypotf multiarch implementations.
15434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15435 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15436 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15437 multiarch hypot for PPC64.
15438 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15439 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15441 multiarch hypotf for PPC64.
15442
83efded4
AZ
15443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15444 modff multiarch implementations.
15445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15448 multiarch modf for PPC64.
15449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15452 multiarch modff for PPC64.
15453
43e246d2
AZ
15454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15455 and logl multiarch implementations.
15456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15459 multiarch logb for PPC64.
15460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15463 multiarch logb for PPC64.
15464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15467 multiarch logb for PPC64.
15468
8fdad123
AZ
15469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15470 isinff multiarch implementation.
15471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15472 file.
15473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15475 multiarch isinf for PPC64.
15476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15477 file.
15478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15479 multiarch isinff for PPC64.
15480
1481d706
AZ
15481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15482 finitef multiarch implementation.
15483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15484 file.
15485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15487 multiarch finite for PPC64.
15488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15489 file.
15490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15491 multiarch finitef for PPC64.
15492
5ccd5fc8
AZ
15493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15494 lrint multiarch implementation.
15495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15496 file.
15497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15499 multiarch llrint for PPC64.
15500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15501 multiarch lrint for PPC64.
15502
2568f3fa
AZ
15503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15504 copysignf multiarch implementation.
15505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15506 file.
15507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15508 file.
15509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15510 multiarch copysign for PPC64.
15511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15512 multiarch copysignf for PPC64.
15513
1cb341fd
AZ
15514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15515 multiarch implementation.
15516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15517 file.
15518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15519 file.
15520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15521 file.
15522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15523 file.
15524 multiarch llround for PPC64.
15525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15526 multiarch trunc for PPC64.
15527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15528 multiarch truncf for PPC64.
15529
59a3e194
AZ
15530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15531 multiarch implementation.
15532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15533 file.
15534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15535 file.
15536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15537 file.
15538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15539 file.
15540 multiarch llround for PPC64.
15541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15542 multiarch round for PPC64.
15543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15544 multiarch roundf for PPC64.
15545
357fd3b4
AZ
15546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15547 multiarch implementation.
15548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15549 file.
15550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15551 file.
15552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15553 file.
15554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15555 file.
15556 multiarch llround for PPC64.
15557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15558 multiarch floor for PPC64.
15559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15560 multiarch floorf for PPC64.
15561
96770f12
AZ
15562 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15563 multiarch implementation.
15564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15565 file.
15566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15567 file.
15568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15569 file.
15570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15571 file.
15572 multiarch llround for PPC64.
15573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15574 multiarch ceil for PPC64.
15575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15576 multiarch ceilf for PPC64.
15577
c3627f6e
AZ
15578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15579 multiarch implementation.
15580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15581 file.
15582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15583 file.
15584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15585 file.
15586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15587 multiarch llround for PPC64.
15588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15589 multiarch lround for PPC64.
15590
b2284ad7
AZ
15591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15592 multiarch implementation.
15593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15596 file.
15597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15600 multiarch isnan for PPC64.
15601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15602 multiarch isnanf for PPC64.
15603
69bbc63d
AZ
15604 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15605 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15606 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15607 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15608 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15610
c24517c9
AZ
15611 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15612 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15614 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15615
a52374e8
AZ
15616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15617 multiarch implementations.
15618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15619 (__libc_ifunc_impl_list): Likewise.
15620 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15621 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15622 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15623 multiarch stpcpy for PPC64.
15624
7f5ec113
AZ
15625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15626 multiarch implementations.
15627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15628 (__libc_ifunc_impl_list): Likewise.
15629 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15630 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15631 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15632 multiarch strcpy for PPC64.
15633
e28bcd42
AZ
15634 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15635 redefine function name.
15636 (_wordcopy_fwd_dest_aligned): Likewise.
15637 (_wordcopy_bwd_aligned): Likewise.
15638 (_wordcopy_bwd_dest_aligned): Likewise.
15639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15640 multiarch implementations.
15641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15642 (__libc_ifunc_impl_list): Likewise.
15643 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15644 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15645 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15646 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15647 multiarch wcscpy for PPC64.
15648
92cacfce
AZ
15649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15650 multiarch implementations.
15651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15652 (__libc_ifunc_impl_list): Likewise.
15653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15654 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15655 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15656 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15657 multiarch wcscpy for PPC64.
15658
7b714620
AZ
15659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15660 multiarch implementations.
15661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15662 (__libc_ifunc_impl_list): Likewise.
15663 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15664 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15665 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15666 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15667 multiarch wcsrchr for PPC64.
15668
16fd2ae3
AZ
15669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15670 multiarch implementations.
15671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15672 (__libc_ifunc_impl_list): Likewise.
15673 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15674 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15675 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15676 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15677 multiarch wcschr for PPC64.
15678
9ee2969b
AZ
15679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15680 multiarch implementations.
15681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15682 (__libc_ifunc_impl_list): Likewise.
15683 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15684 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15685 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15686 multiarch strchrnul for PPC64.
15687
372dc060
AZ
15688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15689 implementations.
15690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15691 (__libc_ifunc_impl_list): Likewise.
15692 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15693 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15694 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15695 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15696 strchr for PPC64.
15697
24c2c3b9
AZ
15698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15699 implementations.
15700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15701 (__libc_ifunc_impl_list): Likewise.
15702 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15703 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15704 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15705 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15706 strncmp for PPC64.
15707
1c92d9a0
AZ
15708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15709 multiarch implementations.
15710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15711 (__libc_ifunc_impl_list): Likewise.
15712 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15713 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15714 strncasecmp for PPC64.
15715 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15716 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15717 multiarch strncasecmp_l for PPC64.
15718
17de3ee3
AZ
15719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15720 multiarch implementations.
15721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15722 (__libc_ifunc_impl_list): Likewise.
15723 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15724 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15725 multiarch strcasecmp for PPC64.
15726 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15727 file.
15728 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15729 multiarch strcasecmp_l for PPC64.
15730
62982bf9
AZ
15731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15732 implementations.
15733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15734 (__libc_ifunc_impl_list): Likewise.
15735 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15736 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15737 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15738 strnlen for PPC64.
15739
a65f4904
AZ
15740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15741 implementations.
15742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15743 (__libc_ifunc_impl_list): Likewise.
15744 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15745 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15746 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15747 strlen for PPC64.
15748
1fd005ad
AZ
15749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15750 implementations.
15751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15752 (__libc_ifunc_impl_list): Likewise.
15753 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15754 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15755 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15756 rawmemrchr for PPC64.
15757
cd05ba91
AZ
15758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15759 implementation.
15760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15761 (__libc_ifunc_impl_list): Likewise.
15762 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15763 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15764 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15765 memrchr for PPC64.
15766
870f8676
AZ
15767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15768 implementation.
15769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15770 (__libc_ifunc_impl_list): Likewise.
15771 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15772 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15773 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15774 memchr for PPC64.
15775
f00be62b
AZ
15776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15777 implementation.
15778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15779 (__libc_ifunc_impl_list): Likewise.
15780 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15781 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15782 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15783 mempcpy for PPC64.
15784
8a29a3d0
AZ
15785 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15786 avoid cretion of __bzero symbol.
15787 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15788 Likewise.
15789 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15790 Likewise.
15791 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15792 Likewise.
15793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15794 multiarch implementations.
15795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15796 (__libc_ifunc_impl_list): Likewise.
15797 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15798 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15799 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15800 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15801 bzero for PPC32.
15802 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15803 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15804 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15805 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15806 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15807 memset for PPC64.
15808 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15809
07253fcf
AZ
15810 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15812 implementations.
15813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15814 (__libc_ifunc_impl_list): Likewise.
15815 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15816 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15817 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15818 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15819 memcmp for PPC64.
15820
b5beafbc
AZ
15821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15822 multiarch for POWER/PPC64.
15823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15824 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15825 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15826 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15827 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15828 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15829 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15830 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15831 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15832 memcpy for PPC64.
15833
5e6a4d4b
AZ
15834 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15835 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15836 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15837 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15838 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15839 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15840 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15841 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15842 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15843 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15844 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15845 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15846 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15847 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15848 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15856
ddfab6dc
KK
158572013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15858
15859 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15860
19b5525e
SP
158612013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15862
15863 * benchtests/Makefile (bench): Add exp2 and log2.
15864 (LDLIBS-bench-exp2): Add -lm.
15865 (LDLIBS-bench-log2): Likewise.
15866 * benchtests/exp2-inputs: New inputs file.
15867 * benchtests/log2-inputs: New inputs file.
15868 * benchtests/log-inputs: Add new inputs.
15869 * benchtests/tan-inputs: Likewise.
15870
196f7f5d
SP
158712013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15872
7a74607f
SP
15873 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15874 definition...
57f41c40
AS
15875 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15876 (csloww2): ... from here.
7a74607f 15877
196f7f5d
SP
15878 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15879 instead of structures.
15880 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15881 (POLYNOMIAL): Likewise.
15882 (TAYLOR_SLOW): Likewise.
15883 (__sin): Likewise.
15884 (__cos): Likewise.
15885 (slow1): Likewise.
15886 (slow2): Likewise.
15887 (sloww): Likewise.
15888 (sloww1); Likewise.
15889 (sloww2): Likewise.
15890 (bsloww1): Likewise.
15891 (bsloww2): Likewise.
15892 (cslow2): Likewise.
15893 (csloww): Likewise.
15894 (csloww1): Likewise.
15895 (csloww2): Likewise.
15896
0dfa665c
OB
158972013-12-10 Ondřej Bílka <neleai@seznam.cz>
15898
15899 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15900 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15901 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15902 * malloc/hooks.c (realloc_check): Likewise.
15903
5782a80f
OB
15904 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15905 * malloc/arena.c: Remove PER_THREAD conditional.
15906 [!PER_THREAD]: Remove code.
15907 (ptmalloc_unlock_all2): Likewise.
15908 (ptmalloc_init): Likewise.
15909 (_int_new_arena): Likewise.
15910 (arena_get2): Likewise.
15911 * malloc/hooks.c (__malloc_get_state): Likewise.
15912 (__malloc_set_state): Likewise.
15913 * malloc/malloc.c: Likewise.
15914 (struct malloc_state): Likewise.
15915 (struct malloc_par): Likewise.
15916 (__libc_realloc): Likewise.
15917 (__libc_mallopt): Likewise.
15918
aeb95445
AZ
159192013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15920
15921 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15922
e8349efd
OB
159232013-12-09 Ondřej Bílka <neleai@seznam.cz>
15924
15925 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15926 macro to a function. Check for zero perturb_byte.
15927 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15928
f3eeb3fc 15929 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15930 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15931 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15932 force_reg by atomic_forced_read.
15933 * malloc/arena.c (ptmalloc_init): Likewise.
15934 * malloc/hooks.c (top_check): Likewise.
15935
be2f9009
AZ
159362013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15937
15938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15939
e7b914bd
MT
159402013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15941
15942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15943
9f0be4f8
JM
159442013-12-08 Joseph Myers <joseph@codesourcery.com>
15945
15946 * math/auto-libm-test-in: Add tests of lgamma.
15947 * math/auto-libm-test-out: Regenerated.
15948 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15949 (M_LOG_2_SQRT_PIl): Likewise.
15950 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15951 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15952 mpfr_f_f1.
15953 (func_calc_desc): Add mpfr_f_f1 union field.
15954 (ARGS1): New macro.
15955 (ARGS2): Likewise.
15956 (ARGS3): Likewise.
15957 (ARGS4): Likewise.
15958 (RET1): Likewise.
15959 (RET2): Likewise.
15960 (CALC): Likewise.
15961 (FUNC): Likewise.
15962 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15963 (test_functions): Add lgamma.
15964 (calc_generic_results): Handle mpfr_f_f1.
15965 * sysdeps/i386/fpu/libm-test-ulps: Update.
15966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15967
24eeafdb
AZ
159682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15969
15970 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15971 __mpn_add_n for PowerPC64/POWER7.
15972 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15973 __mpn_sub_n for PowerPC64/POWER7.
15974
4a2c0fd4
AZ
15975 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15976 __mpn_addmul_1 for PowerPC64.
15977 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15978 __mpn_submul_1 for PowerPC64.
15979 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15980 for PowerPC64.
15981 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15982 for PowerPC64.
15983
4b5b548c
FS
159842013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15985
15986 [BZ #15089]
15987 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15988
0a3ac0aa
AZ
159892013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15990
15991 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15992
ccdc8438
AZ
15993 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15994 add multiarch folders.
15995 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15996 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15997 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15998 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15999 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16000 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16001 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16002 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16003 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16004 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16005 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16012
2e973d99
AZ
16013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16014 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16016 New file.
16017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16018 New file.
16019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16020 multiarch __ieee754_hypot for PowerPC32.
16021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16022 New file.
16023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16024 New file.
16025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16026 multiarch __ieee754_hypotf for PowerPC32.
16027
2d9470b2
AZ
16028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16029 long_double_symbol only if __logbl is defined.
16030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16031 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16033 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16035 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16037 path for implementation.
16038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16039 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16041 logb, and logbl multiarch implementations for PowerPC32.
16042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16043 file.
16044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16045 file.
16046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16047 multiarch logb for PowerPC32.
16048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16049 file.
16050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16051 file.
16052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16053 multiarch logbf for PowerPC32.
16054 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16056 file.
16057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16058 multiarch logbl implementation for PowerPC32.
16059
5212ffce
AZ
16060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16061 and modff multiarch implementations.
16062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16063 New file.
16064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16065 New file.
16066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16067 multiarch modf for PowerPC32.
16068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16069 New file.
16070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16071 New file.
16072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16073 multiarch modff for PowerPC32.
16074
79dccf31
AZ
16075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16076 and lrintf multiarch implementations.
16077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16078 New file.
16079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16080 New file.
16081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16082 multiarch lrint for PowerPC32.
16083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16084 file: multiarch lrintf for PowerPC32.
16085
deb66480
AZ
16086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16087 and lroundf multiarch implementations.
16088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16089 New file.
16090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16091 New file.
16092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16093 New file.
16094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16095 multiarch lround for PowerPC32.
16096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16097 file: multiarch lroundf for PowerPC32.
16098
264b036b
AZ
16099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16100 copysign and copysignf multiarch implementations.
16101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16102 New file.
16103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16104 New file.
16105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16106 file: multiarch copysign for PowerPC32.
16107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16108 file: multiarch copysignf for PowerPC32.
16109
d47db6c9
AZ
16110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16111 and truncf multiarch implementations.
16112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16113 New file.
16114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16115 file.
16116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16117 multiarch trunc for PowerPC32.
16118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16119 New file.
16120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16121 New file.
16122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16123 multiarch truncf for PowerPC32.
16124
ddb60b5a
AZ
16125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16126 and roundf multiarch implementations.
16127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16128 New file.
16129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16130 file.
16131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16132 multiarch round for PowerPC32.
16133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16134 New file.
16135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16136 New file.
16137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16138 multiarch roundf for PowerPC32.
16139
bedcf49b
AZ
16140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16141 and floorf multiarch implementations.
16142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16143 New file.
16144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16145 file.
16146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16147 multiarch floor for PowerPC32.
16148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16149 New file.
16150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16151 New file.
16152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16153 multiarch floorf for PowerPC32.
16154
35ae5b40
AZ
16155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16156 and ceilf multiarch implementations.
16157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16158 New file.
16159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16160 file.
16161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16162 multiarch ceil for PowerPC32.
16163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16164 New file.
16165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16166 file.
16167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16168 multiarch ceilf for PowerPC32.
16169
ae1a4cd9
AZ
16170 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16171 is defined.
16172 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16173 FINITEF is defined.
16174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16175 and finitef multiarch implementations.
16176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16177 New file.
16178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16179 file.
16180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16181 multiarch finite for PowerPC32.
16182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16183 New file.
16184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16185 file: multiarch finitef for PowerPC32.
16186
64fffd65
AZ
16187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16188 and isinff multiarch implementations.
16189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16190 file.
16191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16192 file.
16193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16194 multiarch isinf for PowerPC32.
16195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16196 New file.
16197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16198 multiarch isinff for PowerPC32.
16199
8e4e7ba2
AZ
16200 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16201 alias when __isnan is defined.
16202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16203 and isnanf multiarch implementations.
16204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16205 file.
16206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16207 file.
16208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16209 file.
16210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16211 file.
16212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16213 multiarch isnan for PowerPC32.
16214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16215 New file.
16216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16217 New file.
16218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16219 multiarch isnanf for PowerPC32.
16220
ddba588e
AZ
16221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16222 and sqrtf multiarch implementations.
16223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16224 file.
16225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16226 file.
16227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16228 multiarch sqrt for PowerPC32.
16229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16230 file.
16231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16232 file.
16233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16234 multiarch sqrtf for PowerPC32.
16235
0f96a2f0
AZ
16236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16237 and llroundf multiarch implementations.
16238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16239 New file.
16240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16241 New file.
16242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16243 New file.
16244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16245 file: multiarch llround for PowerPC32.
16246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16247 file: multiarch llroundf for PowerPC32.
16248
c9b5d79e
AZ
16249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16250 multiarch PowerPC32 fpu implementations.
16251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16252 New file.
16253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16254 New file.
16255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16256 multiarch llrint for PowerPC32.
16257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16258 New file.
16259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16260 New file.
16261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16262 file.
16263
9cbb3aab
AZ
16264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16265
ea5a72f8
AZ
16266 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16267 file.
16268 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16269 file.
16270 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16271 file.
16272 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16273 multiarch wordcopy for PPC32.
16274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16275 wordcopy objects.
16276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16277 (__libc_ifunc_impl_list): Likewise.
16278 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16279 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16280 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16281 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16282 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16283 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16284
93be09e7
AZ
16285 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16287 file.
16288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16289 file.
16290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16291 file.
16292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16293 multiarch wcscpy for PPC32.
16294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16295 multiarch objects.
16296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16297 (__libc_ifunc_impl_list): Likewise.
16298 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16299 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16300 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16301 sysdeps/powerpc/power6/wcscpy.c.
16302
bb04e529
AZ
16303 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16305 file.
16306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16307 file.
16308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16309 file.
16310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16311 multiarch wcsrchr for PPC32.
16312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16313 multiarch objects.
16314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16315 (__libc_ifunc_impl_list): Likewise.
16316 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16317 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16318 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16319 sysdeps/powerpc/power6/wcsrchr.c.
16320
05b5cd1c
AZ
16321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16322 file.
16323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16324 file.
16325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16327 multiarch wcschr for PPc32.
16328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16329 multiarch objects.
16330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16331 (__libc_ifunc_impl_list): Likewise.
16332 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16333 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16334 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16335 sysdeps/powerpc/power6/wcschr.c.
16336
ba964147
AZ
16337 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16338 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16339 file.
16340 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16341 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16342 file: multiarch strchr for PPC32.
16343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16344 multiarch objects.
16345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16346 (__libc_ifunc_impl_list): Likewise.
16347
31c81aaa
AZ
16348 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16349 name.
16350 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16351 file.
16352 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16353 file.
16354 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16355 multiarch strchrnul for PPC32.
16356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16357 multiarch objects.
16358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16359 (__libc_ifunc_impl_list): Likewise.
16360
0d0607d9
AZ
16361 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16362 file.
16363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16364 multiarch strncasecmp for PPC32.
16365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16366 file.
16367 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16368 multiarch strncasecmp_l for PPC32.
16369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16370 strncasecmp multiarch objects.
16371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16372 (__libc_ifunc_impl_list): Likewise.
16373
4dfd5c86
AZ
16374 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16375 file.
16376 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16377 multiarch strncasecmp for PPC32.
16378 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16379 New file.
16380 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16381 multiarch strcasecmp_l for PPC32.
16382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16383 multiarch objects.
16384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16385 (__libc_ifunc_impl_list): Likewise.
16386
a19e01a3
AZ
16387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16388 file.
16389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16390 file.
16391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16392 multiarch strncmp for PPC32.
16393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16394 multiarch objects.
16395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16396 (__libc_ifunc_impl_list): Likewise.
16397
ae9cf7a2
AZ
16398 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16399 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16400 file.
16401 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16402 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16404 multiarch objects.
16405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16406 (__libc_ifunc_impl_list): Likewise.
16407
3148bb7d
AZ
16408 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16409 file.
16410 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16411 file.
16412 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16414 multiarch objects.
16415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16416 (__libc_ifunc_impl_list): Likewise.
16417
7af8b946
AZ
16418 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16419 file.
16420 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16421 file.
16422 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16423 multiarch rawmemchr for PPC32.
16424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16425 multiarch objects.
16426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16427 (__libc_ifunc_impl_list): Likewise.
16428
03a6aa6a
AZ
16429 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16430 file.
16431 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16432 file.
16433 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16434 file: memrchr multiarch for PPC32.
16435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16436 multiarch objects.
16437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16438 (__libc_ifunc_impl_list): Likewise.
16439
1c62e6d9
AZ
16440 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16441 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16442 file.
16443 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16444 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16445 multiarch memchr for PPC32.
16446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16447 multiarch objects.
16448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16449 (__libc_ifunc_impl_list): Likewise.
16450
87da8bdb
AZ
16451 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16452 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16453 file.
16454 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16455 file.
16456 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16457 file: multiarch mempcpy for PPC32.
16458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16459 multiarch objects.
16460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16461 (__libc_ifunc_impl_list): Likewise.
16462
20ed4714
AZ
16463 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16464 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16465 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16466 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16467 multiarch bzero for PPC32.
16468 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16469 file.
16470 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16471 file.
16472 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16473 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16474 file: multiarch memset for PPC32.
16475 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16477 memset multiarch objects.
16478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16479 (__libc_ifunc_impl_list): Likewise.
16480
ab3e3a46
AZ
16481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16482 file.
16483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16484 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16485 memcmp for PPC32.
16486 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16488 multiarch objects.
16489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16490 (__libc_ifunc_impl_list): Likewise.
16491
930de6f0
AZ
16492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16495 file.
16496 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16497 file.
16498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16499 file.
16500 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16501 multiarch memcpy for PPC32.
16502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16503 multiarch objects.
16504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16505 (__libc_ifunc_impl_list): Likewise.
16506
4c628e00
AZ
16507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16508 support multiarch for POWER/PPC32.
16509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16510 Likewise.
16511 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16513 Implies file to make multiarch folder appers before the fpu and
16514 default folder for power4 configuration.
16515
f4479220
SP
165162013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16517
16518 * scripts/bench.pl: Append volatile keyword to type.
16519
8517800f
KK
165202013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16521
16522 * sysdeps/sh/sotruss-lib.c: New file.
16523 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16524
180138f1
AZ
165252013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16526
16527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16528
bbf37bdc
JM
165292013-12-05 Joseph Myers <joseph@codesourcery.com>
16530
e47cc4e0
JM
16531 [BZ #6810]
16532 * math/w_tgamma.c: Include <errno.h>.
16533 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16534 * math/w_tgammaf.c: Include <errno.h>.
16535 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16536 * math/w_tgammal.c: Include <errno.h>.
16537 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16538 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16539 underflow. Add more tgamma tests.
16540 * math/auto-libm-test-out: Regenerated.
16541 * sysdeps/i386/fpu/libm-test-ulps: Update.
16542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16543
bbf37bdc
JM
16544 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16545 sin, sinh, tan, tanh, tgamma, y0 and y1.
16546 * math/auto-libm-test-out: Regenerated.
16547 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16548 (TEST_COND_x86): Likewise.
16549 (M_E2l): Remove macro.
16550 (M_E3l): Likewise.
16551 (M_2_SQRT_PIl): Likewise.
16552 (M_SQRT_PIl): Likewise.
16553 (M_1_DIV_El): Likewise.
16554 (log_test_data): Use AUTO_TESTS_f_f.
16555 (log10_test_data): Likewise.
16556 (log1p_test_data): Likewise.
16557 (log2_test_data): Likewise.
16558 (sin_test_data): Likewise.
16559 (sin_tonearest_test_data): Likewise.
16560 (sin_towardzero_test_data): Likewise.
16561 (sin_downward_test_data): Likewise.
16562 (sin_upward_test_data): Likewise.
16563 (sinh_test_data): Likewise.
16564 (sinh_tonearest_test_data): Likewise.
16565 (sinh_towardzero_test_data): Likewise.
16566 (sinh_downward_test_data): Likewise.
16567 (sinh_upward_test_data): Likewise.
16568 (tan_test_data): Likewise.
16569 (tan_tonearest_test_data): Likewise.
16570 (tan_towardzero_test_data): Likewise.
16571 (tan_downward_test_data): Likewise.
16572 (tan_upward_test_data): Likewise.
16573 (tanh_test_data): Likewise.
16574 (tgamma_test_data): Likewise.
16575 (y0_test_data): Likewise.
16576 (y1_test_data): Likewise.
16577 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16578 (special_real_inputs): Add pi/4.
16579 * sysdeps/i386/fpu/libm-test-ulps: Update.
16580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16581
eb5ad6b9
AZ
165822013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16583
16584 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16585 "longjmp_target" static probes.
16586 (__longjmp): Rename to __longjmp_symbol.
16587 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16588 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16589 on which longjmp to generate.
16590 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16591 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16592 probe.
16593 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16594 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16595 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16596 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16597 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16598 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16600 __longjmp_symbol based on which __longjmp to generate.
16601 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16602 probe.
16603 (setjmp): Rename to setjmp_symbol.
16604 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16605 (_setjmp): Rename to _setjmp_symbol.
16606 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16607 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16608 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16609 which setjmp to generate.
16610 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16611 "longjmp_target" static probes.
16612
d136c6dc
SP
166132013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16614
9298ecba
SP
16615 * benchtests/README: Add note about output arguments.
16616 * benchtests/bench-sincos.c: Remove file.
16617 * benchtests/sincos-inputs: New file.
16618 * scripts/bench.pl: Identify output arguments and define
16619 static variables for them.
16620
232983e9
SP
16621 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16622
d136c6dc
SP
16623 [BZ #15941]
16624 * Makefile (INSTALL): Add install-plain.texi as the primary
16625 dependency.
16626 * manual/install-plain.texi: New file.
16627 * manual/install.texi: Include node directive only for
16628 non-plaintext output.
16629
699ff837
JM
166302013-12-04 Joseph Myers <joseph@codesourcery.com>
16631
ab07cea8
JM
16632 * stdlib/longlong.h: Update from GCC.
16633
699ff837
JM
16634 [BZ #6807]
16635 [BZ #15901]
16636 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16637 * math/w_j0f.c (y0f): Likewise.
16638 * math/w_j0l.c (__y0l): Likewise.
16639 * math/w_j1.c (y1): Likewise.
16640 * math/w_j1f.c (y1f): Likewise.
16641 * math/w_j1l.c (__y1l): Likewise
16642 * math/w_jn.c (yn): Likewise.
16643 * math/w_jnf.c (ynf): Likewise.
16644 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16645 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16646 value for Bessel function domain errors outside _SVID_ mode.
16647 Adjust sign of return value for yn (negative integer, 0).
16648 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16649 by zero in return for negative x and set sign appropriately for
16650 negative n.
16651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16652 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16653 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16654 expectations in error cases.
16655 (y1_test_data): Likewise.
16656 (yn_test_data): Likewise.
16657 * sysdeps/i386/fpu/libm-test-ulps: Update.
16658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16659
5b118558
UW
166602013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16661
16662 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16663 "64" to "64-v1". Add "64-v2".
16664 (abi-64-options): Rename to ...
16665 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16666 (abi-64-condition): Rename to ...
16667 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16668 (abi-64-ld-soname): Rename to ...
16669 (abi-64-v1-ld-soname): ... this.
16670 (abi-64-v2-options): Define.
16671 (abi-64-v2-condition): Likewise.
16672 (abi-64-v2-ld-soname): Likewise.
16673 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16674 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16678
61cd8fe4
UW
166792013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16680 Alan Modra <amodra@gmail.com>
16681
16682 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16683 New versions for use with the ELFv2 ABI.
16684 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16685 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16686 declaration.
16687 (struct La_ppc64v2_retval): Likewise.
16688 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16689 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16690 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16691 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16692 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16693 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16694 Do not save or restore CR.
16695 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16696 (_dl_profile_resolve): Do no save or restore CR. Support extended
16697 return values for ELFv2 ABI. Fix location of FPR return registers.
16698 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16699 updated values for _CALL_ELF == 2.
16700 (La_regs, La_retval, int_retval): Likewise.
16701
8b8a692c
UW
167022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16703
16704 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16705 (FRAME_MIN_SIZE_PARM): Likewise.
16706 (FRAME_BACKCHAIN): Likewise.
16707 (FRAME_CR_SAVE): Likewise.
16708 (FRAME_LR_SAVE): Likewise.
16709 (FRAME_TOC_SAVE): Likewise.
16710 (FRAME_PARM_SAVE): Likewise.
16711 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16712 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16713 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16714 (call_mcount_parm_offset): New macro.
16715 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16716 (PROF): Use symbolic stack frame offsets.
16717 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16718 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16719 Redefine in terms of FRAME_MIN_SIZE.
16720 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16721 (_dl_profile_resolve): Likewise. Update comment.
16722 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16723 symbols stack frame offsets.
16724 (__sigsetjmp): Likewise.
16725 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16726 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16727 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16728 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16729
16730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16731 (FRAME_BACKCHAIN): Remove.
16732 (FRAME_CR_SAVE): Likewise.
16733 (FRAME_LR_SAVE): Likewise.
16734 (FRAME_COMPILER_DW): Likewise.
16735 (FRAME_LINKER_DW): Likewise.
16736 (FRAME_TOC_SAVE): Likewise.
16737 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16738 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16739 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16740 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16742 (CHECK_SP): Use symbolic stack frame offsets.
16743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16744 zone" instead of caller's parameter save area for temp storage.
16745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16746 Likewise. Also, use symbolic stack frame offsets.
16747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16748 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16749 our own stack frame instead of the caller's.
16750 (__socket): Use symbolic stack frame offsets.
16751
122b66de
UW
167522013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16753 Alan Modra <amodra@gmail.com>
16754
16755 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16756 Define.
57f41c40
AS
16757 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16758 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16759 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16760 New function.
16761 (elf_machine_fixup_plt): Call it.
16762 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16763 reloc arguments.
16764 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16765 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16766 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16767 r2 before calling target.
16768
696caf1d
UW
167692013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16770 Alan Modra <amodra@gmail.com>
16771
16772 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16773 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16774 versions of macros to support ELFv2 ABI.
16775 (LOCALENTRY): New macro.
16776 (ENTRY, EALIGN): Use it.
16777 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16778 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16779 fall through into ENTRY entry point.
16780 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16781 Only define if _CALL_ELF != 2.
16782
16783 (elf_machine_matches_host): Verify ABI version matches.
16784 (RTLD_START): Use LOCALENTRY.
16785 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16786 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16787 (PLT_ENTRY_WORDS): New macro.
16788 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16789 (elf_machine_runtime_setup): Support ELFv2 ABI.
16790 (elf_machine_fixup_plt): Likewise.
16791 (elf_machine_plt_conflict): Likewise.
16792 (resolve_ifunc): Likewise.
16793 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16794 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16795 Likewise.
16796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16797 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16799 (makecontext): Support ELFv2 ABI.
16800 * elf/elf.h (EF_PPC64_ABI): Define.
16801
d31beafa
UW
168022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16803
57f41c40
AS
16804 * sysdeps/powerpc/powerpc64/sysdep.h
16805 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16806 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16807 (ENTRY) [ASSEMBLER]: ... but instead here ...
16808 (EALIGN) [ASSEMBLER]: ... and here.
16809 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16810 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16811 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16812 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16813 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16814 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16815 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16816 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16818 Use PPC64_LOAD_FUNCPTR.
16819
b525166b
UW
16820 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16821
7ec07d9a
AM
168222013-12-04 Alan Modra <amodra@gmail.com>
16823
16824 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16825 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16826 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16827 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16828
16829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16830 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16831 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16832 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16833 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16834 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16835
5162e7dd
UW
168362013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16837
16838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16839 (__makecontext): Fix incorrect CFI when backtracing out of
16840 context created via makecontext.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16842 (__setcontext): Fix incorrect CFI during switch to new context.
16843 (__novec_setcontext): Likewise.
16844
19e3372b
OB
168452013-12-04 Ondřej Bílka <neleai@seznam.cz>
16846
16847 [BZ #4772]
16848 * time/strptime_l.c (__strptime_internal): Allow modifiers
16849 in strptime.
16850 * time/tst-strptime.c (day_tests): Add testcase.
16851
ecaf142d
SP
168522013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16853
16854 * scripts/bench.pl: Skip over blank lines.
16855
fbf964ae
PE
168562013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16857
16858 [BZ #926]
16859 * manual/time.texi (Calendar Time): Clarify what timezone functions
16860 use.
16861
fa60a674
AZ
168622013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16863
16864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16865
d674f0ef
OB
168662013-12-04 Ondřej Bílka <neleai@seznam.cz>
16867
16868 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16869 implementation.
16870 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16871 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16872 * debug/memset_chk.c (__memset_chk): Likewise.
16873 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16874 * debug/strncpy_chk.c: Likewise.
16875
17dea188
JM
168762013-12-03 Joseph Myers <joseph@codesourcery.com>
16877
749008ff
JM
16878 [BZ #15268]
16879 [BZ #15425]
16880 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16881 (__ieee754_exp): For possibly underflowing results, check size of
16882 result and force underflow exception if required.
16883 * math/auto-libm-test-in: Add more tests of exp.
16884 * math/auto-libm-test-out: Regenerated.
16885 * sysdeps/i386/fpu/libm-test-ulps: Update.
16886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16887
17dea188
JM
16888 [BZ #16283]
16889 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16890 * math/w_exp2f.c (__exp2f): Likewise.
16891 * math/w_exp2l.c (__exp2l): Likewise.
16892 * math/auto-libm-test-in: Do not allow missing errno on exp2
16893 underflow.
16894 * math/auto-libm-test-out: Regenerated.
16895
b20de2c3
OB
168962013-12-03 Ondřej Bílka <neleai@seznam.cz>
16897
16898 [BZ #16274]
16899 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16900 handle filename validation.
16901 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16902 (do_open): Delete.
16903
d8e2dbe3
JM
169042013-12-03 Joseph Myers <joseph@codesourcery.com>
16905
34e16df5
JM
16906 [BZ #6786]
16907 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16908 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16909 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16910 <float.h>.
16911 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16912 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16913 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16914 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16915 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16916 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16917 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16918 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16919 Add more erfc tests.
16920 * math/auto-libm-test-out: Regenerated.
16921 * sysdeps/i386/fpu/libm-test-ulps: Update.
16922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16923
d8e2dbe3
JM
16924 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16925 exp2, expm1, j0 and j1.
16926 * math/auto-libm-test-out: Regenerated.
16927 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16928 (erfc_test_data): Likewise.
16929 (exp_test_data): Likewise.
16930 (exp_tonearest_test_data): Likewise.
16931 (exp_towardzero_test_data): Likewise.
16932 (exp_downward_test_data): Likewise.
16933 (exp_upward_test_data): Likewise.
16934 (exp10_test_data): Likewise.
16935 (exp2_test_data): Likewise.
16936 (expm1_test_data): Likewise.
16937 (j0_test_data): Likewise.
16938 (j1_test_data): Likewise.
16939 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16940 (input_flag_type): Add flag_xfail_rounding.
16941 (input_flags): Add xfail-rounding.
16942 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16943 (output_for_one_input_case): Handle flag_xfail_rounding.
16944 * sysdeps/i386/fpu/libm-test-ulps: Update.
16945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16946
18d14251
AJ
169472013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16948
3d2e6075 16949 [BZ #16289]
18d14251
AJ
16950 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16951 division by 0.
16952
520d437b
SP
169532013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16954
16955 [BZ #16195]
16956 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16957 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16958 (STAP_PROBE0): New macro.
16959 (STAP_PROBE1): Likewise.
16960 (STAP_PROBE2): Likewise.
16961 (STAP_PROBE3): Likewise.
16962 (STAP_PROBE4): Likewise.
16963
416e0145
OB
169642013-12-02 Ondřej Bílka <neleai@seznam.cz>
16965
16966 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16967
9d17796a
SE
169682013-12-02 Steve Ellcey <sellcey@mips.com>
16969
16970 * benchtests/Makefile (bench): Add sqrt.
16971 (LDLIBS-bench-sqrt): New.
16972 * benchtests/sqrt-input: New.
16973
f524d6a8
PS
169742013-12-02 Pavel Simerda <psimerda@redhat.com>
16975
639a0ef8
PS
16976 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16977 (GAIH_EAI): Likewise.
16978 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16979 (gaih_inet): Likewise.
16980 (getaddrinfo): Don't use GAIH_EAI.
16981
f524d6a8
PS
16982 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16983 (struct gaih): Remove definition.
16984
df3aedaf
SP
169852013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16986
16987 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16988 Use HERRNOP directly.
16989
1ab19dec
AZ
169902013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16991
b42ad38d 16992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16993
176b0c79
JM
169942013-11-30 Joseph Myers <joseph@codesourcery.com>
16995
16996 * math/gen-auto-libm-tests.c (test_functions): Add more
16997 single-argument functions.
16998 (special_fill_pi_2): New function.
16999 (special_fill_minus_pi_2): Likewise.
17000 (special_fill_pi_6): Likewise.
17001 (special_fill_minus_pi_6): Likewise.
17002 (special_fill_pi_3): Likewise.
17003 (special_fill_2pi_3): Likewise.
17004 (special_fill_e): Likewise.
17005 (special_fill_1_e): Likewise.
17006 (special_fill_e_minus_1): Likewise.
17007 (special_real_inputs): Add more special inputs.
17008 (output_for_one_input_case): Do not require ERANGE on underflow to
17009 zero if round-to-nearest result does not underflow to zero, unless
17010 exact results required.
17011 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17012 atan, atanh, cbrt, cos and cosh.
17013 * math/auto-libm-test-out: Regenerated.
17014 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17015 (acos_tonearest_test_data): Likewise.
17016 (acos_towardzero_test_data): Likewise.
17017 (acos_downward_test_data): Likewise.
17018 (acos_upward_test_data): Likewise.
17019 (acosh_test_data): Likewise.
17020 (asin_test_data): Likewise.
17021 (asin_tonearest_test_data): Likewise.
17022 (asin_towardzero_test_data): Likewise.
17023 (asin_upward_test_data): Likewise.
17024 (asinh_test_data): Likewise.
17025 (atan_test_data): Likewise.
17026 (atanh_test_data): Likewise.
17027 (cbrt_test_data): Likewise.
17028 (cos_test_data): Likewise.
17029 (cos_tonearest_test_data): Likewise.
17030 (cos_towardzero_test_data): Likewise.
17031 (cos_downward_test_data): Likewise.
17032 (cos_upward_test_data): Likewise.
17033 (cosh_test_data): Likewise.
17034 (cosh_tonearest_test_data): Likewise.
17035 (cosh_towardzero_test_data): Likewise.
17036 (cosh_downward_test_data): Likewise.
17037 (cosh_upward_test_data): Likewise.
17038 * sysdeps/i386/fpu/libm-test-ulps: Update.
17039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17040
ffb536d0
JM
170412013-11-29 Joseph Myers <joseph@codesourcery.com>
17042
2a77a467
JM
17043 [BZ #6787]
17044 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17045 * math/w_exp10f.c (__exp10f): Likewise.
17046 * math/w_exp10l.c (__exp10l): Likewise.
17047 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17048 errno settings in existing tests.
17049
ea3bc4e8
JM
17050 [BZ #14032]
17051 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17052 precision control set to double precision.
17053 * sysdeps/i386/fpu/w_sqrt.c: New file.
17054 * math/auto-libm-test-in: Add more tests.
17055 * math/auto-libm-test-out: Update.
17056
0712c9d8
JM
17057 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17058 (sqrt_test_tonearest): New function.
17059 (sqrt_towardzero_test_data): New variable.
17060 (sqrt_test_towardzero): New function.
17061 (sqrt_downward_test_data): New variable.
17062 (sqrt_test_downward): New function.
17063 (sqrt_upward_test_data): New variable.
17064 (sqrt_test_upward): New function.
17065 (main): Call the new functions.
17066
ffb536d0
JM
17067 * math/gen-auto-libm-tests.c: New file.
17068 * math/auto-libm-test-in: Likewise.
17069 * math/auto-libm-test-out: New generated file.
17070 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17071 variables.
17072 (%beautify): Add generated representations of zero.
17073 (top level): Set $auto_input and call parse_auto_input.
17074 (beautify): Remove trailing "f" from hex float constants.
17075 (parse_args): Handle XFAIL_TEST.
17076 (convert_condition): New function.
17077 (or_value): Likewise.
17078 (or_cond_value): Likewise.
17079 (generate_testfile): Handle AUTO_TESTS_* lines.
17080 (parse_auto_input): New function.
17081 * math/libm-test.inc (XFAIL_TEST): New macro.
17082 (ERRNO_UNCHANGED): Update value.
17083 (ERRNO_EDOM): Likewise.
17084 (ERRNO_ERANGE): Likewise.
17085 (IGNORE_RESULT): Likewise.
17086 (TEST_COND_flt_32): New macro.
17087 (TEST_COND_dbl_64): Likewise.
17088 (TEST_COND_ldbl_96_intel): Likewise.
17089 (TEST_COND_ldbl_96_m68k): Likewise.
17090 (TEST_COND_ldbl_128): Likewise.
17091 (TEST_COND_ldbl_128ibm): Likewise.
17092 (TEST_COND_long32): Likewise.
17093 (TEST_COND_long64): Likewise.
17094 (TEST_COND_before_rounding): Likewise.
17095 (TEST_COND_after_rounding): Likewise.
17096 (enable_test): Handle XFAIL_TEST flag.
17097 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17098 with finite results.
17099 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17100 auto-libm-test-out.
17101
acd98a8e
AK
171022013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17103 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17104
17105 [BZ #16214]
17106 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17107 __tls_get_addr_internal instead of __tls_get_offset in order to
17108 avoid GOT pointer dependency. Make rtld export
17109 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17110 __tls_get_addr since we are a __tls_get_offset platform.
17111 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17112 GOT pointer being set up before.
17113 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17114
3c1c46a6
JM
171152013-11-28 Joseph Myers <joseph@codesourcery.com>
17116
7475aef5
JM
17117 * manual/math.texi (Errors in Math Functions): Document accuracy
17118 goals.
17119
8bca7cd8
JM
17120 [BZ #15004]
17121 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17122 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17123 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17124 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17125 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17126 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17127 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17128 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17129 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17130 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17131 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17133 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17134 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17137
91a1f3fe
JM
17138 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17139 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17140 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17141 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17142 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17143 Likewise.
17144 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17145 Likewise.
17146 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17147 Likewise.
17148 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17149 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17150 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17151 atomic-feupdateenv and flt-rounds.
17152 * sysdeps/powerpc/nofpu/Versions (libc): Add
17153 __atomic_feholdexcept, __atomic_feclearexcept,
17154 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17155 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17156 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17157 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17158 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17159 here.
17160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17161 Update.
17162
c5df7609
JM
17163 * manual/arith.texi (FP Exceptions): Document that exceptions may
17164 not be raised when matherr is used.
17165 (Math Error Reporting): Document overflow in directed rounding
17166 modes. Document that errno may not be set when finite values are
17167 returned on overflow. Document intent to set errno on underflow
17168 only for underflow to zero.
17169
3c1c46a6
JM
17170 [BZ #16271]
17171 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17172 round-to-nearest then adjust result for other rounding modes.
17173 * include/fenv.h (fegetround): Use libm_hidden_proto.
17174 * math/fegetround.c (fegetround): Use libm_hidden_def.
17175 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17176 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17177 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17178 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17179 Likewise.
17180 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17181 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17182 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17183 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17184
5a4c6d53
SP
171852013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17186
17187 [BZ #16077]
17188 * nss/Versions (libnss_files): Add
17189 _nss_files_gethostbyname3_r.
17190 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17191 New function.
17192 (HOST_DB_LOOKUP): Remove macro.
17193 (_nss_files_gethostbyname_r): Implement function without the
17194 HOST_DB_LOOKUP macro.
17195 (_nss_files_gethostbyname2_r): Likewise.
17196
897b98ba
OB
171972013-11-28 Ondřej Bílka <neleai@seznam.cz>
17198
17199 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17200
6f476861
UB
172012013-11-26 Uros Bizjak <ubizjak@gmail.com>
17202
17203 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17204 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17205 warning.
17206
bd12ab55
AZ
172072013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17208
17209 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17210 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17211 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17212 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17213 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17214 __fe_nomask_env_priv and attribute_hidden.
17215 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17216 (libc_feupdateenv_test_ppc): Likewise.
17217 (libc_feresetround_ppc): Likewise.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17219 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17220 compat_symbol macro.
17221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17222 (__fe_nomask_env): Likewise.
17223 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17224
52bb6543
OB
172252013-11-26 Ondřej Bílka <neleai@seznam.cz>
17226
17227 * string/Makefile: Remove ifunc tests.
17228 * string/test-string.h: Define TEST_IFUNC.
17229 * string/test-bcopy-ifunc.c: Remove.
17230 * string/test-bzero-ifunc.c: Likewise.
17231 * string/test-memccpy-ifunc.c: Likewise.
17232 * string/test-memchr-ifunc.c: Likewise.
17233 * string/test-memcmp-ifunc.c: Likewise.
17234 * string/test-memcpy-ifunc.c: Likewise.
17235 * string/test-memmem-ifunc.c: Likewise.
17236 * string/test-memmove-ifunc.c: Likewise.
17237 * string/test-mempcpy-ifunc.c: Likewise.
17238 * string/test-memrchr-ifunc.c: Likewise.
17239 * string/test-memset-ifunc.c: Likewise.
17240 * string/test-rawmemchr-ifunc.c: Likewise.
17241 * string/test-stpcpy-ifunc.c: Likewise.
17242 * string/test-stpncpy-ifunc.c: Likewise.
17243 * string/test-strcasecmp-ifunc.c: Likewise.
17244 * string/test-strcasestr-ifunc.c: Likewise.
17245 * string/test-strcat-ifunc.c: Likewise.
17246 * string/test-strchr-ifunc.c: Likewise.
17247 * string/test-strchrnul-ifunc.c: Likewise.
17248 * string/test-strcmp-ifunc.c: Likewise.
17249 * string/test-strcpy-ifunc.c: Likewise.
17250 * string/test-strcspn-ifunc.c: Likewise.
17251 * string/test-strlen-ifunc.c: Likewise.
17252 * string/test-strncasecmp-ifunc.c: Likewise.
17253 * string/test-strncat-ifunc.c: Likewise.
17254 * string/test-strncmp-ifunc.c: Likewise.
17255 * string/test-strncpy-ifunc.c: Likewise.
17256 * string/test-strnlen-ifunc.c: Likewise.
17257 * string/test-strpbrk-ifunc.c: Likewise.
17258 * string/test-strrchr-ifunc.c: Likewise.
17259 * string/test-strspn-ifunc.c: Likewise.
17260 * string/test-strstr-ifunc.c: Likewise.
17261
ab260039 172622013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17263
17264 * benchtests/Makefile: Remove ifunc tests.
17265 * benchtests/bench-string.h: Define TEST_IFUNC.
17266 * benchtests/bench-bcopy-ifunc.c: Remove.
17267 * benchtests/bench-bzero-ifunc.c: Likewise.
17268 * benchtests/bench-memccpy-ifunc.c: Likewise.
17269 * benchtests/bench-memchr-ifunc.c: Likewise.
17270 * benchtests/bench-memcmp-ifunc.c: Likewise.
17271 * benchtests/bench-memcpy-ifunc.c: Likewise.
17272 * benchtests/bench-memmem-ifunc.c: Likewise.
17273 * benchtests/bench-memmove-ifunc.c: Likewise.
17274 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17275 * benchtests/bench-memrchr-ifunc.c: Likewise.
17276 * benchtests/bench-memset-ifunc.c: Likewise.
17277 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17278 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17279 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17280 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17281 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17282 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17283 * benchtests/bench-strcat-ifunc.c: Likewise.
17284 * benchtests/bench-strchr-ifunc.c: Likewise.
17285 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17286 * benchtests/bench-strcmp-ifunc.c: Likewise.
17287 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17288 * benchtests/bench-strcpy-ifunc.c: Likewise.
17289 * benchtests/bench-strcspn-ifunc.c: Likewise.
17290 * benchtests/bench-strlen-ifunc.c: Likewise.
17291 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17292 * benchtests/bench-strncat-ifunc.c: Likewise.
17293 * benchtests/bench-strncmp-ifunc.c: Likewise.
17294 * benchtests/bench-strncpy-ifunc.c: Likewise.
17295 * benchtests/bench-strnlen-ifunc.c: Likewise.
17296 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17297 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17298 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17299 * benchtests/bench-strspn-ifunc.c: Likewise.
17300 * benchtests/bench-strstr-ifunc.c: Likewise.
17301
173022013-11-26 Ondřej Bílka <neleai@seznam.cz>
17303
ab260039
OB
17304 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17305
d1d9eaf4 173062013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17307
d1d9eaf4
OB
17308 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17309 * rt/aio.h: Likewise.
17310 * sysdeps/gnu/bits/utmp.h: Likewise.
17311 * sysdeps/gnu/bits/utmpx.h: Likewise.
17312 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17313 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17314 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17315 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17316 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17317 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17318 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17319 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17320 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17321 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17322 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17323 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17324 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17326 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17327 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17328 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17329 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17330 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17331 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17332 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17333 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17334 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17335 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17336 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17338 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17339 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17340 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17341 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17342 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17343 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17344 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17345 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17346 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17347 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17348 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17349 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17350 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17351 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17352 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17353 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17354
a7624ed9
CD
173552013-11-25 Carlos O'Donell <carlos@redhat.com>
17356
17357 [BZ #16245]
17358 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17359 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17360
63cfe52b
JM
173612013-11-25 Joseph Myers <joseph@codesourcery.com>
17362
17363 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17364 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17365 Likewise.
17366
41e8926a
AZ
173672013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17368
17369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17370 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17371 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17372 (__fesetround): Remove define.
17373 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17374 rounding and exceptions handling.
17375 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17376 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17377 (__fe_nomask_env): Likewise.
17378 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17379 __fegetround instead of fegetround.
17380 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17381 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17382
6851bd4d
RM
173832013-11-21 Roland McGrath <roland@hack.frob.com>
17384
070906ff
RM
17385 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17386 it's there.
17387
6851bd4d
RM
17388 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17389
84ae135d
MI
173902013-11-21 Meador Inge <meadori@codesourcery.com>
17391
17392 [BZ #11157]
17393 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17394 (encrypt_r): Likewise.
17395 * malloc/obstack.h (obstack_free): Likewise.
17396 * posix/unistd.h (encrypt): Likewise.
17397
daf75146
GM
173982013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17399
17400 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17401 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17402 DL_CALL_DT_FINI() that call the functions directly.
17403 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17404 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17405 * elf/dl-fini.c: Likewise.
17406
10ad46bc
OB
174072013-11-20 Ondřej Bílka <neleai@seznam.cz>
17408
17409 * malloc/hooks.c (memalign_check): Add alignment rounding.
17410 * malloc/malloc.c (_mid_memalign): New function.
17411 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17412 Implement by calling _mid_memalign.
17413 * manual/probes.texi (Memory Allocation Probes): Remove
17414 memory_valloc_retry and memory_pvalloc_retry.
17415
f3fd2628
SP
174162013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17417
4712799f
SP
17418 * locale/programs/locarchive.c (open_archive): Add const
17419 qualifier to ARCHIVEFNAME and copy default fname to
17420 DEFAULT_FNAME.
17421
0417b20f
SP
17422 [BZ #15601]
17423 * libio/tst-widetext.input: Rename Oriya to Odia.
17424 * locale/iso-639.def: Likewise.
17425
f3fd2628
SP
17426 * manual/probes.texi (Mathematical Function Probes): Add
17427 documentation for sin, cos, asin and acos probes.
17428 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17429 (__sin32): Add slowasin probe.
17430 (__cos32): Add slowacos probe.
17431 (__mpsin): Add slowsin probe.
17432 (__mpcos): Add slowcos probe.
17433
73c1ce4f
JM
174342013-11-19 Joseph Myers <joseph@codesourcery.com>
17435
17436 [BZ #15483]
17437 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17438 thread-local __sim_exceptions_thread and global
17439 __sim_exceptions_global.
17440 (__sim_disabled_exceptions): Change to thread-local
17441 __sim_disabled_exceptions_thread and global
17442 __sim_disabled_exceptions_global.
17443 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17444 and global __sim_round_mode_global.
17445 (__simulate_exceptions): Use thread-local floating-point state and
17446 set global state from it as needed.
17447 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17448 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17449 __sim_round_mode_thread.
17450 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17451 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17452 and global __sim_exceptions_global.
17453 (__sim_disabled_exceptions): Change to thread-local
17454 __sim_disabled_exceptions_thread and global
17455 __sim_disabled_exceptions_global.
17456 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17457 and global __sim_round_mode_global.
17458 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17459 (SIM_SET_GLOBAL): Likewise.
17460 * sysdeps/powerpc/soft-fp/sfp-machine.h
17461 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17462 __sim_round_mode_thread.
17463 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17464 __sim_disabled_exceptions_thread.
17465 (__sim_exceptions): Change to __sim_exceptions_thread.
17466 (__sim_disabled_exceptions): Change to
17467 __sim_disabled_exceptions_thread.
17468 (__sim_round_mode): Change to __sim_round_mode_thread.
17469 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17470 thread-local floating-point state and set global state from it as
17471 needed.
17472 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17473 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17474 (__sim_disabled_exceptions): Remove extern declaration.
17475 (feenableexcept): Use thread-local floating-point state and set
17476 global state from it as needed.
17477 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17478 extern declaration.
17479 (__sim_disabled_exceptions): Likewise.
17480 (__sim_round_mode): Likewise.
17481 (__fegetenv): Use thread-local floating-point state.
17482 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17483 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17484 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17485 floating-point state and set global state from it as needed.
17486 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17487 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17488 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17489 Likewise.
17490 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17491 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17492 Likewise.
17493 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17494 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17495 Use __sim_round_mode_thread.
17496 * math/test-fenv-tls.c: New file.
17497 * math/Makefile (tests): Add test-fenv-tls.
17498 ($(objpfx)test-fenv-tls): Depend on
17499 $(common-objpfx)nptl/libpthread.so.
17500
b5449b12
AS
175012013-11-19 Andreas Schwab <schwab@suse.de>
17502
17503 * locale/programs/locale.c (show_info): Decode wordarray elements.
17504 * locale/categories.def (LC_MONETARY): Add element for
17505 _NL_MONETARY_CRNCYSTR.
17506 * locale/C-monetary.c (conversion_rate): New variable.
17507 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17508 element.
17509
e186536b
CM
175102013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17511
17512 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17513 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17514
5c349950
PP
175152013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17516
17517 * elf/Makefile (tst-auxv): New test.
17518 * elf/tst-auxv.c: New
17519 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17520
699df45b
JM
175212013-11-18 Joseph Myers <joseph@codesourcery.com>
17522
17523 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17524 (hidden_proto): Caller changed.
17525 (hidden_tls_proto): New macro.
17526 (libc_hidden_tls_proto): Likewise.
17527 (rtld_hidden_tls_proto): Likewise.
17528 (libm_hidden_tls_proto): Likewise.
17529 (libresolv_hidden_tls_proto): Likewise.
17530 (librt_hidden_tls_proto): Likewise.
17531 (libdl_hidden_tls_proto): Likewise.
17532 (libnss_files_hidden_tls_proto): Likewise.
17533 (libnsl_hidden_tls_proto): Likewise.
17534 (libnss_nisplus_hidden_tls_proto): Likewise.
17535 (libutil_hidden_tls_proto): Likewise.
17536
b7589107
OB
175372013-11-18 Ondřej Bílka <neleai@seznam.cz>
17538
17539 [BZ #10253]
17540 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17541 (decompose_rpath): Defer expansion to fillin_rpath.
17542 (_dl_init_paths): Pass linkmap to fillin_rpath.
17543
250c23bd
RS
175442013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17545
17546 * benchtests/Makefile: Add strsep.
17547 * benchtests/bench-strsep.c: New file: strsep benchtest.
17548 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17549
a7931fcf
AS
175502013-11-18 Andreas Schwab <schwab@suse.de>
17551
17552 * locale/programs/locale.c (show_info) [case byte]: Check for
17553 '\377' instead of '\177'.
17554 * locale/C-monetary.c (not_available): Always use "\377".
17555 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17556 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17557 detect unavailable sign_posn locale elements.
17558 * locale/localeconv.c (__localeconv): For grouping and
17559 mon_grouping handle "\177" and "\377" like no grouping.
17560 (INT_ELEM): New macro. Use it to set all numeric members.
17561 * locale/programs/ld-monetary.c (monetary_read)
17562 <tok_mon_grouping>: Normalize single -1 to the empty string.
17563 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17564 Likewise.
17565
728dab0e
OB
175662013-11-07 Ondřej Bílka <neleai@seznam.cz>
17567
17568 [BZ #16055]
17569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17570 when we match (nil).
17571 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17572
66294491
JM
175732013-11-16 Joseph Myers <joseph@codesourcery.com>
17574
ce665817
JM
17575 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17576 (NO_TEST_INLINE): Update value.
17577 (ERRNO_UNCHANGED): Likewise.
17578 (ERRNO_EDOM): Likewise.
17579 (ERRNO_ERANGE): Likewise.
17580 (IGNORE_RESULT): Likewise.
17581 (check_float_internal): Check signs of NaN results if
17582 TEST_NAN_SIGN used.
17583 (check_complex): Pass TEST_NAN_SIGN flag through to second
17584 check_float_internal call.
17585 (copysign_test_data): Add tests with quiet NaNs as second
17586 argument. Use TEST_NAN_SIGN.
17587 (fabs_test_data): Add test of negative quiet NaN argument. Use
17588 TEST_NAN_SIGN.
17589 (signbit_test_data): Add tests of quiet NaN argument.
17590 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17591
ee1466a9
JM
17592 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17593 $ignore_result.
17594 (parse_args): Handle function results specified as IGNORE.
17595 * math/libm-test.inc (IGNORE_RESULT): New macro.
17596 (check_float_internal): Do not check numerical result if flag
17597 IGNORE_RESULT set.
17598 (check_complex): Pass through IGNORE_RESULT to second
17599 check_float_internal call.
17600 (check_int): Do not check numerical result if flag IGNORE_RESULT
17601 set.
17602 (check_long): Likewise.
17603 (check_bool): Likewise.
17604 (check_longlong): Likewise.
17605 (lrint_test_data): Add tests of infinite and NaN arguments.
17606 (lrint_tonearest_test_data): Likewise.
17607 (lrint_towardzero_test_data): Likewise.
17608 (lrint_downward_test_data): Likewise.
17609 (lrint_upward_test_data): Likewise.
17610 (llrint_test_data): Likewise.
17611 (llrint_tonearest_test_data): Likewise.
17612 (llrint_towardzero_test_data): Likewise.
17613 (llrint_downward_test_data): Likewise.
17614 (llrint_upward_test_data): Likewise.
17615 (lround_test_data): Likewise.
17616 (llround_test_data): Likewise.
17617
14407b7e
JM
17618 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17619 (ERRNO_UNCHANGED): Update value.
17620 (ERRNO_EDOM): Likewise.
17621 (ERRNO_ERANGE): Likewise.
17622 (NO_TEST_INLINE_FLOAT): New macro.
17623 (NO_TEST_INLINE_DOUBLE): Likewise.
17624 (enable_test): New function.
17625 (RUN_TEST_f_f): Check enable_test before running test.
17626 (RUN_TEST_2_f): Likewise.
17627 (RUN_TEST_fff_f): Likewise.
17628 (RUN_TEST_c_f): Likewise.
17629 (RUN_TEST_f_f1): Likewise.
17630 (RUN_TEST_fF_f1): Likewise.
17631 (RUN_TEST_fI_f1): Likewise.
17632 (RUN_TEST_ffI_f1): Likewise.
17633 (RUN_TEST_c_c): Likewise.
17634 (RUN_TEST_cc_c): Likewise.
17635 (RUN_TEST_f_i): Likewise.
17636 (RUN_TEST_f_i_tg): Likewise.
17637 (RUN_TEST_ff_i_tg): Likewise.
17638 (RUN_TEST_f_b): Likewise.
17639 (RUN_TEST_f_b_tg): Likewise.
17640 (RUN_TEST_f_l): Likewise.
17641 (RUN_TEST_f_L): Likewise.
17642 (RUN_TEST_fFF_11): Likewise.
17643 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17644 conditionals.
17645 (cosh_test_data): Likewise.
17646 (exp_test_data): Likewise.
17647 (expm1_test_data): Likewise.
17648 (hypot_test_data): Likewise.
17649 (pow_test_data): Likewise.
17650 (sinh_test_data): Likewise.
17651 (tanh_test_data): Likewise.
17652 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17653 flags argument.
17654
ca07f197
JM
17655 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17656 tests with quiet NaN input and output.
17657 (acosh_test_data): Likewise.
17658 (asin_test_data): Likewise.
17659 (asinh_test_data): Likewise.
17660 (atan_test_data): Likewise.
17661 (atanh_test_data): Likewise.
17662 (atan2_test_data): Likewise.
17663 (cbrt_test_data): Likewise.
17664 (cos_test_data): Likewise.
17665 (cosh_test_data): Likewise.
17666 (erf_test_data): Likewise.
17667 (erfc_test_data): Likewise.
17668 (exp_test_data): Likewise.
17669 (exp10_test_data): Likewise.
17670 (exp2_test_data): Likewise.
17671 (expm1_test_data): Likewise.
17672 (hypot_test_data): Likewise.
17673 (j0_test_data): Likewise.
17674 (j1_test_data): Likewise.
17675 (jn_test_data): Likewise.
17676 (lgamma_test_data): Likewise.
17677 (log_test_data): Likewise.
17678 (log10_test_data): Likewise.
17679 (log1p_test_data): Likewise.
17680 (log2_test_data): Likewise.
17681 (pow_test_data): Likewise.
17682 (scalb_test_data): Likewise.
17683 (sin_test_data): Likewise.
17684 (sincos_test_data): Likewise.
17685 (sinh_test_data): Likewise.
17686 (tan_test_data): Likewise.
17687 (tanh_test_data): Likewise.
17688 (tgamma_test_data): Likewise.
17689 (y0_test_data): Likewise.
17690 (y1_test_data): Likewise.
17691 (yn_test_data): Likewise.
17692
66294491
JM
17693 [BZ #16167]
17694 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17695 argument being NaN and avoid computations with second argument in
17696 that case.
17697 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17698 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17699 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17700
1820b143
CL
177012013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17702
17703 * locale/iso-639.def: Add Chitwani Tharu (the).
17704
714bd261
AS
177052013-11-14 Andreas Schwab <schwab@suse.de>
17706
17707 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17708 word instead of empty string.
17709
7ab44563
AZ
177102013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17711
17712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17713 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17715 (__fe_nomask_env): Likewise.
17716
e8470ea2
SE
177172013-11-13 Steve Ellcey <sellcey@mips.com>
17718
17719 * benchtests/bench-timing.h: Include time.h.
17720
17c1d9f0
L
177212013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17722
17723 [BZ #15997]
17724 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17725 to 3.4.0 for x32.
17726 * sysdeps/unix/sysv/linux/configure: Regenerated.
17727
9310c284
JM
177282013-11-13 Joseph Myers <joseph@codesourcery.com>
17729
17730 [BZ #16151]
17731 * stdlib/strtod_l.c (round_and_return): Do not consider
17732 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17733 exponent one less than half the least subnormal exponent.
17734 * stdlib/test-strtod-round-data: Add more tests.
17735 * stdlib/tst-strtod-round.c (tests): Regenerated.
17736
7a2ad8cf
AZ
177372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17738
17739 [BZ #14143]
17740 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17741 (__fe_mask_env): Likewise.
17742 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17743 libm_hidden_proto and add function prototype.
17744 (__fe_mask_env): Add function prototype.
17745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17746 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17748 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17750 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17751
50727aa7
MS
177522013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17753
b2f386c1 17754 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17755 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17756
a615be46
MS
177572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17758
17759 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17760 of htab_find_slot().
17761
7ddace62
DM
177622013-11-11 David S. Miller <davem@davemloft.net>
17763
17764 [BZ #16150]
17765 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17766 symbol in the non-vis3 case in static builds.
17767 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17768 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17769 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17770 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17771
9182aa67
JK
177722013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17773
17774 [BZ #387]
17775 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17776 it is empty.
17777
450a2e2d
AZ
177782013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17779
b2f386c1
SP
17780 * benchtests/Makefile: Add bench-strtod.
17781 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17782
8ec3f656
AS
177832013-11-11 Andreas Schwab <schwab@suse.de>
17784
17785 [BZ #16153]
17786 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17787 terminating NUL in key length.
17788
76a9b998
AZ
177892013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17790
17791 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17792 Add artificial ODP entry for vDSO symbol for PPC64.
17793 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17794 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17795
e4368156
OB
177962013-11-07 Ondřej Bílka <neleai@seznam.cz>
17797
17798 [BZ #15374]
17799 * nss/getent.c (services_keys): Recognize services starting with digit.
17800
8d6bb57c
DM
178012013-11-06 David S. Miller <davem@davemloft.net>
17802
17803 [BZ #15985]
17804 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17805 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17806
e256c421
WN
178072013-11-06 Will Newton <will.newton@linaro.org>
17808
17809 * manual/memory.texi (Malloc Examples): Remove register
17810 keyword from examples.
17811
f6e12daa 178122013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17813
f6e12daa 17814 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17815
9d880655
AS
178162013-11-04 Joseph Myers <joseph@codesourcery.com>
17817
fd2f9486 17818 [BZ #6981]
9d880655
AS
17819 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17820 depending on [__GCC_IEC_559 > 0].
17821 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17822 depending on [__GCC_IEC_559_COMPLEX > 0].
17823
ae129d3c
CL
178242013-11-03 Chris Leonard <cjl@sugarlabs.org>
17825
17826 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17827 to iso-639.def.
17828
4a15c2a4 178292013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17830
17831 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17832
8b35e35d
OB
178332013-11-01 Ondřej Bílka <neleai@seznam.cz>
17834
17835 [BZ #16112]
17836 * malloc/malloc (malloc_info): Do not handle first bin as
17837 special case.
17838
1d70fd6c
CL
178392013-11-01 Chris Leonard <cjl@sugarlabs.org>
17840
17841 * locale/iso-639.def: Add Central Nahuatl (nhn).
17842
8c5c2600
BH
178432013-11-01 Bruno Haible <bruno@clisp.org>
17844
17845 [BZ #7003]
17846 * manual/math.texi (BSD Random): Specify range upper bound as
17847 in POSIX.
17848
da5579c2
CL
178492013-10-31 Chris Leonard <cjl@sugarlabs.org>
17850
17851 * locale/iso-639.def: Add Meadow Mari (mhr).
17852
5d30d853
OB
178532013-10-31 Ondřej Bílka <neleai@seznam.cz>
17854
17855 [BZ #14752], [BZ #15763]
17856 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17857 Validate name.
17858 * rt/tst_shm.c: Add test for escaping directory.
17859
a4966c61
AS
178602013-10-31 Andreas Schwab <schwab@suse.de>
17861
8a43e768 17862 [BZ #15917]
a4966c61
AS
17863 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17864 followed by 'x' as part of digit sequence.
17865 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17866
28d708c4
MAP
178672013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17868
17869 [BZ #16037]
17870 * configure.ac: allow GNU Make 4.0 and greater.
17871 * configure: Regenerated.
17872
a56ee40b
WN
178732013-10-30 Will Newton <will.newton@linaro.org>
17874
17875 [BZ #16038]
17876 * malloc/hooks.c (memalign_check): Limit alignment to the
17877 maximum representable power of two.
17878 * malloc/malloc.c (__libc_memalign): Likewise.
17879 * malloc/tst-memalign.c (do_test): Add test for very
17880 large alignment values.
17881 * malloc/tst-posix_memalign.c (do_test): Likewise.
17882
c6e4925d
OB
178832013-10-30 Ondřej Bílka <neleai@seznam.cz>
17884
17885 [BZ #11087]
17886 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17887 (munmap_chunk): Likewise.
17888 (mremap_chunk): Likewise.
17889
178902013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17891
8a43e768 17892 [BZ #15799]
bbea82f7
OB
17893 * stdlib/div.c (div): Remove obsolete code.
17894 * stdlib/ldiv.c (ldiv): Likewise.
17895 * stdlib/lldiv.c (lldiv): Likewise.
17896
977f4b31
SP
178972013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17898
17899 [BZ #16071]
17900 * nss/nss_files/files-XXX.c (get_contents_ret): New
17901 enumerator.
17902 (get_contents): New function.
17903 (internal_getent): Use it. Expand size of LINEBUFLEN.
17904
cb8a6dbd
MF
179052013-10-30 Mike Frysinger <vapier@gentoo.org>
17906
17907 * configure.in: Moved to ...
17908 * configure.ac: ... here. Change reference to configure.in
17909 to configure.ac.
17910 * sysdeps/arm/preconfigure.ac: ... here.
17911 configure.in to configure.ac.
17912 * sysdeps/gnu/configure.in: Moved to ...
17913 * sysdeps/gnu/configure.ac: ... here.
17914 * sysdeps/i386/configure.in: Moved to ...
17915 * sysdeps/i386/configure.ac: ... here.
17916 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17917 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17918 * sysdeps/mach/configure.in: Moved to ...
17919 * sysdeps/mach/configure.ac: ... here.
17920 * sysdeps/mach/hurd/configure.in: Moved to ...
17921 * sysdeps/mach/hurd/configure.ac: ... here.
17922 * sysdeps/powerpc/configure.in: Moved to ...
17923 * sysdeps/powerpc/configure.ac: ... here.
17924 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17925 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17926 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17927 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17928 * sysdeps/s390/s390-32/configure.in: Moved to ...
17929 * sysdeps/s390/s390-32/configure.ac: ... here.
17930 * sysdeps/s390/s390-64/configure.in: Moved to ...
17931 * sysdeps/s390/s390-64/configure.ac: ... here.
17932 * sysdeps/sh/configure.in: Moved to ...
17933 * sysdeps/sh/configure.ac: ... here.
17934 * sysdeps/sparc/configure.in: Moved to ...
17935 * sysdeps/sparc/configure.ac: ... here.
17936 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17937 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17938 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17939 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17940 * sysdeps/x86_64/configure.in: Moved to ...
17941 * sysdeps/x86_64/configure.ac: ... here.
17942 * sysdeps/x86_64/preconfigure.in: Moved to ...
17943 * sysdeps/x86_64/preconfigure.ac: ... here.
17944 * aclocal.m4: Change reference to configure.in to configure.ac.
17945 * config.h.in: Likewise.
17946 * manual/install.texi: Likewise.
17947 * manual/maint.texi: Likewise.
17948 * Makefile: Likewise.
17949 * malloc/Makefile: Likewise.
17950 * nscd/Makefile: Likewise.
17951 * Makeconfig: Change reference to configure.in and
17952 preconfigure.in to configure.ac and preconfigure.ac
17953 respectively.
17954 * INSTALL: Regenerated.
17955 * configure: Likewise.
17956 * sysdeps/gnu/configure: Likewise.
17957 * sysdeps/i386/configure: Likewise.
17958 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17959 * sysdeps/mach/configure: Likewise.
17960 * sysdeps/mach/hurd/configure: Likewise.
17961 * sysdeps/powerpc/configure: Likewise.
17962 * sysdeps/powerpc/powerpc32/configure: Likewise.
17963 * sysdeps/powerpc/powerpc64/configure: Likewise.
17964 * sysdeps/s390/s390-32/configure: Likewise.
17965 * sysdeps/s390/s390-64/configure: Likewise.
17966 * sysdeps/sh/configure: Likewise.
17967 * sysdeps/sparc/configure: Likewise.
17968 * sysdeps/unix/sysv/linux/configure: Likewise.
17969 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17970 * sysdeps/x86_64/configure: Likewise.
17971 * sysdeps/x86_64/preconfigure: Likewise.
17972
36a4953a
AS
179732013-10-29 Andreas Schwab <schwab@suse.de>
17974
17975 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17976
c79a1204
SP
179772013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17978
dfa1b402
SP
17979 * benchtests/pow-inputs: Add new inputs.
17980
54f73d9c
SP
17981 * benchtests/exp-inputs: Add new inputs.
17982
c79a1204
SP
17983 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17984 conditional check for return value.
17985 (__cos32): Likewise.
17986
67beb545 179872013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17988
17989 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17990 to provide a boost for large inputs with word alignment.
17991 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17992 implementation based on optimized PPC64 strcpy.
17993 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17994 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17995 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17996 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17997
151659f6
OB
179982013-10-25 Ondřej Bílka <neleai@seznam.cz>
17999
482a077e 18000 [BZ #2801]
151659f6
OB
18001 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18002
10b0f26b
OB
180032013-10-25 Ondřej Bílka <neleai@seznam.cz>
18004
18005 [BZ #14876]
18006 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18007 * time/tst-strptime.c (day_tests): Add testcase.
18008
ca42d35e
OB
180092013-10-25 Ondřej Bílka <neleai@seznam.cz>
18010
482a077e 18011 [BZ #14029]
ca42d35e
OB
18012 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18013
52e6d801
FB
180142013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18015
18016 [BZ #16074]
18017 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18018 MAP_FAILED on error.
18019
7cbcdb36
SP
180202013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18021
18022 [BZ #16072]
18023 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18024 heap for large requests.
18025
894f3f10
AM
180262013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18027
18028 [BZ #9954]
18029 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18030 result if the result has no associated interface.
18031 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18032 interface for all 127.X.Y.Z addresses.
18033
b85545a6
CL
180342013-10-24 Chris Leonard <cjl@sugarlabs.org>
18035
18036 * locale/iso-639.def: Add Ligurian (lij)
18037
d1f23d46
OB
180382013-10-21 Ondřej Bílka <neleai@seznam.cz>
18039
18040 [BZ #15825]
18041 * sunrpc/rpc_main.c: Document rpcgen -5.
18042
4db5b08f
MS
180432013-10-19 Michael Stahl <mstahl@redhat.com>
18044
18045 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18046
a471e96a
OB
180472013-10-19 Ondřej Bílka <neleai@seznam.cz>
18048
d1f23d46 18049 [BZ #10278]
a471e96a
OB
18050 * posix/glob.c: Match only directories when trailing slash is present.
18051 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18052 (main): Add testcase.
18053
45c30c61
OB
180542013-10-19 Ondřej Bílka <neleai@seznam.cz>
18055
18056 [BZ #15670]
18057 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18058
484c12fb
CD
180592013-10-18 Carlos O'Donell <carlos@redhat.com>
18060
3d7dc513
CD
18061 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18062 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18063 AUTH_DES and cindex for FIPS 140-2.
18064 (DES Encryption): Add cindex FIPS 46-3.
18065
484c12fb
CD
18066 * locale/locarchive.h (struct locarhandle): Add fname.
18067 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18068 if an optional argument was specified to --list-archive,
18069 otherwise NULL.
18070 * locale/programs/locarchive.c (show_archive_content): Take new
18071 argument fname and pass it via ah.fname to open_archive.
18072 * locale/programs/localedef.h: Update decl.
18073 (open_archive): If AH->fname is non-null, open that file
18074 rather than the default file name, and don't ignore ENOENT.
18075 (create_archive): Set AH.fname to NULL.
18076 (delete_locales_from_archive): Likewise.
18077 (add_locales_to_archive): Likewise.
18078 * locale/programs/locfile.c (write_all_categories): Likewise.
18079
3c8325fb
JM
180802013-10-18 Joseph Myers <joseph@codesourcery.com>
18081 Aldy Hernandez <aldyh@redhat.com>
18082
18083 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18084 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18085 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18086 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18087 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18088 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18089 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18090 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18091 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18092 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18093 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18094 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18095 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18096 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18097 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18098 Likewise.
18099 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18100 Likewise.
18101 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18102 Likewise.
18103 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18104 Likewise.
18105 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18106 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18107 Likewise.
18108 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18109 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18110 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18111 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18112 Likewise.
18113 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18114 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18115 * sysdeps/powerpc/preconfigure: Likewise.
18116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18117 Likewise.
18118 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18119 Replace contents of file by #include of <fenv_libc.h>.
18120 * sysdeps/powerpc/soft-fp/sfp-machine.h
18121 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18122 and <sys/prctl.h>.
18123 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18136 Allow copysignl PLT reference to be missing.
18137
5abe0682
RS
181382013-10-18 Richard Sandiford <richard@codesourcery.com>
18139 Joseph Myers <joseph@codesourcery.com
18140
18141 [BZ #15948]
18142 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18143 single character.
18144 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18145
c7738d08
SP
181462013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18147
18148 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18149 * elf/tst-tls1.c: Likewise.
18150 * elf/tst-tls10.h: Likewise.
18151 * elf/tst-tls14.c: Likewise.
18152 * elf/tst-tls2.c: Likewise.
18153 * elf/tst-tls3.c: Likewise.
18154 * elf/tst-tls4.c: Likewise.
18155 * elf/tst-tls5.c: Likewise.
18156 * elf/tst-tls6.c: Likewise.
18157 * elf/tst-tls7.c: Likewise.
18158 * elf/tst-tls8.c: Likewise.
18159 * elf/tst-tls9.c: Likewise.
18160 * elf/tst-tlsmod1.c: Likewise.
18161 * elf/tst-tlsmod13.c: Likewise.
18162 * elf/tst-tlsmod13a.c: Likewise.
18163 * elf/tst-tlsmod14a.c: Likewise.
18164 * elf/tst-tlsmod16a.c: Likewise.
18165 * elf/tst-tlsmod16b.c: Likewise.
18166 * elf/tst-tlsmod2.c: Likewise.
18167 * elf/tst-tlsmod3.c: Likewise.
18168 * elf/tst-tlsmod4.c: Likewise.
18169 * elf/tst-tlsmod5.c: Likewise.
18170 * elf/tst-tlsmod6.c: Likewise.
18171
0bfcf2c7
OB
181722013-10-18 Ondřej Bílka <neleai@seznam.cz>
18173
18174 [BZ #12486]
18175 * malloc/malloc.c: remove checks for statistics.
18176
264aad1e
OB
181772013-10-17 Ondřej Bílka <neleai@seznam.cz>
18178
18179 [BZ #15277]
18180 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18181 * inet/tst-network.c: Add testcase.
18182
b957ced8
AS
181832013-10-17 Andreas Schwab <schwab@suse.de>
18184
18185 [BZ #15218]
18186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18187 to determine canonical name.
18188
c5d5d574
OB
181892013-10-17 Ondřej Bílka <neleai@seznam.cz>
18190
18191 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18192 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18203 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18204 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18205 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18206 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18208 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18209 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18210 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18211 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18212 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18213 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18214 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18215 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18216 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18217 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18218 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18219 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18220 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18221 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18223 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18224 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18225 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18227 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18229 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18231 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18232 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18233 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18234 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18235 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18239 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18240 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18241 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18242 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18243 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18244 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18246 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18248 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18249
e5c2c2d0
JM
182502013-10-17 Joseph Myers <joseph@codesourcery.com>
18251
18252 [BZ #16041]
18253 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18254 make result into a quiet NaN.
18255
51ca9e29
JM
182562013-10-16 Joseph Myers <joseph@codesourcery.com>
18257
18258 * soft-fp/adddf3.c: Fix horizontal whitespace.
18259 * soft-fp/addsf3.c: Likewise.
18260 * soft-fp/addtf3.c: Likewise.
18261 * soft-fp/divdf3.c: Likewise.
18262 * soft-fp/divsf3.c: Likewise.
18263 * soft-fp/divtf3.c: Likewise.
18264 * soft-fp/double.h: Likewise.
18265 * soft-fp/eqdf2.c: Likewise.
18266 * soft-fp/eqsf2.c: Likewise.
18267 * soft-fp/eqtf2.c: Likewise.
18268 * soft-fp/extenddftf2.c: Likewise.
18269 * soft-fp/extended.h: Likewise.
18270 * soft-fp/extendsfdf2.c: Likewise.
18271 * soft-fp/extendsftf2.c: Likewise.
18272 * soft-fp/extendxftf2.c: Likewise.
18273 * soft-fp/fixdfdi.c: Likewise.
18274 * soft-fp/fixdfsi.c: Likewise.
18275 * soft-fp/fixdfti.c: Likewise.
18276 * soft-fp/fixsfdi.c: Likewise.
18277 * soft-fp/fixsfsi.c: Likewise.
18278 * soft-fp/fixsfti.c: Likewise.
18279 * soft-fp/fixtfdi.c: Likewise.
18280 * soft-fp/fixtfsi.c: Likewise.
18281 * soft-fp/fixtfti.c: Likewise.
18282 * soft-fp/fixunsdfdi.c: Likewise.
18283 * soft-fp/fixunsdfsi.c: Likewise.
18284 * soft-fp/fixunsdfti.c: Likewise.
18285 * soft-fp/fixunssfdi.c: Likewise.
18286 * soft-fp/fixunssfsi.c: Likewise.
18287 * soft-fp/fixunssfti.c: Likewise.
18288 * soft-fp/fixunstfdi.c: Likewise.
18289 * soft-fp/fixunstfsi.c: Likewise.
18290 * soft-fp/fixunstfti.c: Likewise.
18291 * soft-fp/floatdidf.c: Likewise.
18292 * soft-fp/floatdisf.c: Likewise.
18293 * soft-fp/floatditf.c: Likewise.
18294 * soft-fp/floatsidf.c: Likewise.
18295 * soft-fp/floatsisf.c: Likewise.
18296 * soft-fp/floatsitf.c: Likewise.
18297 * soft-fp/floattidf.c: Likewise.
18298 * soft-fp/floattisf.c: Likewise.
18299 * soft-fp/floattitf.c: Likewise.
18300 * soft-fp/floatundidf.c: Likewise.
18301 * soft-fp/floatundisf.c: Likewise.
18302 * soft-fp/floatunditf.c: Likewise.
18303 * soft-fp/floatunsidf.c: Likewise.
18304 * soft-fp/floatunsisf.c: Likewise.
18305 * soft-fp/floatunsitf.c: Likewise.
18306 * soft-fp/floatuntidf.c: Likewise.
18307 * soft-fp/floatuntisf.c: Likewise.
18308 * soft-fp/floatuntitf.c: Likewise.
18309 * soft-fp/fmadf4.c: Likewise.
18310 * soft-fp/fmasf4.c: Likewise.
18311 * soft-fp/fmatf4.c: Likewise.
18312 * soft-fp/gedf2.c: Likewise.
18313 * soft-fp/gesf2.c: Likewise.
18314 * soft-fp/getf2.c: Likewise.
18315 * soft-fp/ledf2.c: Likewise.
18316 * soft-fp/lesf2.c: Likewise.
18317 * soft-fp/letf2.c: Likewise.
18318 * soft-fp/muldf3.c: Likewise.
18319 * soft-fp/mulsf3.c: Likewise.
18320 * soft-fp/multf3.c: Likewise.
18321 * soft-fp/negdf2.c: Likewise.
18322 * soft-fp/negsf2.c: Likewise.
18323 * soft-fp/negtf2.c: Likewise.
18324 * soft-fp/op-1.h: Likewise.
18325 * soft-fp/op-2.h: Likewise.
18326 * soft-fp/op-4.h: Likewise.
18327 * soft-fp/op-8.h: Likewise.
18328 * soft-fp/op-common.h: Likewise.
18329 * soft-fp/quad.h: Likewise.
18330 * soft-fp/single.h: Likewise.
18331 * soft-fp/soft-fp.h: Likewise.
18332 * soft-fp/sqrtdf2.c: Likewise.
18333 * soft-fp/sqrtsf2.c: Likewise.
18334 * soft-fp/sqrttf2.c: Likewise.
18335 * soft-fp/subdf3.c: Likewise.
18336 * soft-fp/subsf3.c: Likewise.
18337 * soft-fp/subtf3.c: Likewise.
18338 * soft-fp/truncdfsf2.c: Likewise.
18339 * soft-fp/trunctfdf2.c: Likewise.
18340 * soft-fp/trunctfsf2.c: Likewise.
18341 * soft-fp/trunctfxf2.c: Likewise.
18342 * soft-fp/unorddf2.c: Likewise.
18343 * soft-fp/unordsf2.c: Likewise.
18344 * soft-fp/unordtf2.c: Likewise.
18345
9ebb0332
JM
183462013-10-15 Joseph Myers <joseph@codesourcery.com>
18347
18348 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18349 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18350
4b1a6d8b
OB
183512013-10-15 Ondřej Bílka <neleai@seznam.cz>
18352
18353 * elf/dl-libc.c: Clear initfini list after freeing.
18354
1e145589
JM
183552013-10-14 Joseph Myers <joseph@codesourcery.com>
18356
18357 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18358 * soft-fp/addsf3.c: Likewise.
18359 * soft-fp/addtf3.c: Likewise.
18360 * soft-fp/divdf3.c: Likewise.
18361 * soft-fp/divsf3.c: Likewise.
18362 * soft-fp/divtf3.c: Likewise.
18363 * soft-fp/double.h: Likewise.
18364 * soft-fp/eqdf2.c: Likewise.
18365 * soft-fp/eqsf2.c: Likewise.
18366 * soft-fp/eqtf2.c: Likewise.
18367 * soft-fp/extenddftf2.c: Likewise.
18368 * soft-fp/extended.h: Likewise.
18369 * soft-fp/extendsfdf2.c: Likewise.
18370 * soft-fp/extendsftf2.c: Likewise.
18371 * soft-fp/extendxftf2.c: Likewise.
18372 * soft-fp/fixdfdi.c: Likewise.
18373 * soft-fp/fixdfsi.c: Likewise.
18374 * soft-fp/fixdfti.c: Likewise.
18375 * soft-fp/fixsfdi.c: Likewise.
18376 * soft-fp/fixsfsi.c: Likewise.
18377 * soft-fp/fixsfti.c: Likewise.
18378 * soft-fp/fixtfdi.c: Likewise.
18379 * soft-fp/fixtfsi.c: Likewise.
18380 * soft-fp/fixtfti.c: Likewise.
18381 * soft-fp/fixunsdfdi.c: Likewise.
18382 * soft-fp/fixunsdfsi.c: Likewise.
18383 * soft-fp/fixunsdfti.c: Likewise.
18384 * soft-fp/fixunssfdi.c: Likewise.
18385 * soft-fp/fixunssfsi.c: Likewise.
18386 * soft-fp/fixunssfti.c: Likewise.
18387 * soft-fp/fixunstfdi.c: Likewise.
18388 * soft-fp/fixunstfsi.c: Likewise.
18389 * soft-fp/fixunstfti.c: Likewise.
18390 * soft-fp/floatdidf.c: Likewise.
18391 * soft-fp/floatdisf.c: Likewise.
18392 * soft-fp/floatditf.c: Likewise.
18393 * soft-fp/floatsidf.c: Likewise.
18394 * soft-fp/floatsisf.c: Likewise.
18395 * soft-fp/floatsitf.c: Likewise.
18396 * soft-fp/floattidf.c: Likewise.
18397 * soft-fp/floattisf.c: Likewise.
18398 * soft-fp/floattitf.c: Likewise.
18399 * soft-fp/floatundidf.c: Likewise.
18400 * soft-fp/floatundisf.c: Likewise.
18401 * soft-fp/floatunsidf.c: Likewise.
18402 * soft-fp/floatunsisf.c: Likewise.
18403 * soft-fp/floatuntidf.c: Likewise.
18404 * soft-fp/floatuntisf.c: Likewise.
18405 * soft-fp/floatuntitf.c: Likewise.
18406 * soft-fp/fmadf4.c: Likewise.
18407 * soft-fp/fmasf4.c: Likewise.
18408 * soft-fp/fmatf4.c: Likewise.
18409 * soft-fp/gedf2.c: Likewise.
18410 * soft-fp/gesf2.c: Likewise.
18411 * soft-fp/getf2.c: Likewise.
18412 * soft-fp/ledf2.c: Likewise.
18413 * soft-fp/lesf2.c: Likewise.
18414 * soft-fp/letf2.c: Likewise.
18415 * soft-fp/muldf3.c: Likewise.
18416 * soft-fp/mulsf3.c: Likewise.
18417 * soft-fp/multf3.c: Likewise.
18418 * soft-fp/negdf2.c: Likewise.
18419 * soft-fp/negsf2.c: Likewise.
18420 * soft-fp/negtf2.c: Likewise.
18421 * soft-fp/op-1.h: Likewise.
18422 * soft-fp/op-2.h: Likewise.
18423 * soft-fp/op-4.h: Likewise.
18424 * soft-fp/op-8.h: Likewise.
18425 * soft-fp/op-common.h: Likewise.
18426 * soft-fp/quad.h: Likewise.
18427 * soft-fp/single.h: Likewise.
18428 * soft-fp/soft-fp.h: Likewise.
18429 * soft-fp/sqrtdf2.c: Likewise.
18430 * soft-fp/sqrtsf2.c: Likewise.
18431 * soft-fp/sqrttf2.c: Likewise.
18432 * soft-fp/subdf3.c: Likewise.
18433 * soft-fp/subsf3.c: Likewise.
18434 * soft-fp/subtf3.c: Likewise.
18435 * soft-fp/truncdfsf2.c: Likewise.
18436 * soft-fp/trunctfdf2.c: Likewise.
18437 * soft-fp/trunctfsf2.c: Likewise.
18438 * soft-fp/trunctfxf2.c: Likewise.
18439 * soft-fp/unorddf2.c: Likewise.
18440 * soft-fp/unordsf2.c: Likewise.
18441 * soft-fp/unordtf2.c: Likewise.
18442
17c48a60
OB
184432013-10-14 Ondřej Bílka <neleai@seznam.cz>
18444
18445 [BZ #15672]
18446 * misc/error.c (error_tail): Fix possible buffer overflow.
18447
cabba934
OB
184482013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18449
18450 [BZ #13028]
18451 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18452 address.
18453
94bf958a
PM
184542013-10-14 P. J. McDermott <pj@pehjota.net>
18455
18456 [BZ #832]
18457 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18458 testing pipefail option.
18459
71b4dea7
JM
184602013-10-12 Joseph Myers <joseph@codesourcery.com>
18461
18462 * soft-fp/double.h: Indent preprocessor directives inside #if.
18463 * soft-fp/extended.h: Likewise.
18464 * soft-fp/op-2.h: Likewise.
18465 * soft-fp/op-4.h: Likewise.
18466 * soft-fp/op-common.h: Likewise.
18467 * soft-fp/quad.h: Likewise.
18468 * soft-fp/single.h: Likewise.
18469 * soft-fp/soft-fp.h: Likewise.
18470
55602758
YC
184712013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18472
18473 * iconv/iconv_prog.c: Fix typos.
18474 * stdio-common/psiginfo-data.h: Likewise.
18475
9cd83302
RT
184762013-10-12 Reuben Thomas <rrt@sc3d.org>
18477
18478 [BZ #15764]
18479 * locale/setlocale.c: Fix typo.
18480
99fd9f47
JM
184812013-10-12 Joseph Myers <joseph@codesourcery.com>
18482
b7ea74f0
JM
18483 [BZ #16036]
18484 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18485 signaling NaN arguments.
18486 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18487 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18488
8a509447
JM
18489 [BZ #14910]
18490 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18491 unordered operands.
18492 * soft-fp/gesf2.c (__gesf2): Likewise.
18493 * soft-fp/getf2.c (__getf2): Likewise.
18494 * soft-fp/ledf2.c (__ledf2): Likewise.
18495 * soft-fp/lesf2.c (__lesf2): Likewise.
18496 * soft-fp/letf2.c (__letf2): Likewise.
18497
98998e9f
JM
18498 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18499 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18500 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18501 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18502 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18503 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18504 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18505 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18506 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18507 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18508 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18509 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18510 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18511 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18512 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18513 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18514 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18515 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18516 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18517 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18518 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18519 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18520 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18521 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18522 * soft-fp/floattidf.c (__floattidf): Likewise.
18523 * soft-fp/floattisf.c (__floattisf): Likewise.
18524 * soft-fp/floattitf.c (__floattitf): Likewise.
18525 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18526 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18527 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18528 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18529 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18530 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18531 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18532 * soft-fp/gesf2.c (__gesf2): Likewise.
18533 * soft-fp/getf2.c (__getf2): Likewise.
18534 * soft-fp/ledf2.c (__ledf2): Likewise.
18535 * soft-fp/lesf2.c (__lesf2): Likewise.
18536 * soft-fp/letf2.c (__letf2): Likewise.
18537
8edc4a11
JM
18538 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18539 Undefine and redefine.
18540 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18541 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18542 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18543 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18544 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18545 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18546 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18547 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18548 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18549 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18550 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18551 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18552 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18553 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18554 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18555
8399acaf
JM
18556 [BZ #16032]
18557 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18558 without decrementing exponent if mantissa >= that for the
18559 denominator, not >.
18560 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18561 denominator, not >. Decrement exponent in < case instead of
18562 incrementing in >= case.
18563 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18564 without decrementing exponent if mantissa >= that for the
18565 denominator, not >.
18566
99fd9f47
JM
18567 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18568 computing saturated result for unsigned overflow.
18569
10e1cf6b
SP
185702013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18571 Jeff Law <law@redhat.com>
18572
18573 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18574 (atan2Mp): Add systemtap probe marker.
18575 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18576 (__ieee754_log): Add systemtap probe marker.
18577 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18578 (atanMp): Add systemtap probe marker.
18579 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18580 (tanMp): Add systemtap probe marker.
18581 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18582 (__slowexp): Add systemtap probe marker.
18583 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18584 (__slowpow): Add systemtap probe marker.
18585 * manual/probes.texi: Document probes.
18586
3d110c7c
EB
185872013-10-11 Eric Biggers <ebiggers3@gmail.com>
18588
18589 [BZ #15362]
18590 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18591 written.
18592 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18593 written.
18594 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18595 written to buffer but not flushed.
18596 * libio/iofwrite_u.c: Likewise.
18597 * libio/iopadn.c: Return bytes returned even if EOF was
18598 encountered.
18599 * libio/iowpadn.c: Likewise.
18600 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18601 if _IO_padn does not write the whole buffer.
18602 [!COMPILE_WPRINTF] (PAD): Likewise.
18603
75b4202a
DM
186042013-10-10 David S. Miller <davem@davemloft.net>
18605
18606 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18607 directory block.
18608
6c6352e6
JM
186092013-10-10 Joseph Myers <joseph@codesourcery.com>
18610
33b853c3
JM
18611 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18612 instead of FSF address.
18613 * soft-fp/fixdfti.c: Likewise.
18614 * soft-fp/fixsfti.c: Likewise.
18615 * soft-fp/fixtfti.c: Likewise.
18616 * soft-fp/fixunsdfti.c: Likewise.
18617 * soft-fp/fixunssfti.c: Likewise.
18618 * soft-fp/fixunstfti.c: Likewise.
18619 * soft-fp/floattidf.c: Likewise.
18620 * soft-fp/floattisf.c: Likewise.
18621 * soft-fp/floattitf.c: Likewise.
18622 * soft-fp/floatuntidf.c: Likewise.
18623 * soft-fp/floatuntisf.c: Likewise.
18624 * soft-fp/floatuntitf.c: Likewise.
18625 * soft-fp/trunctfxf2.c: Likewise.
18626
6c6352e6
JM
18627 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18628 * soft-fp/fixdfti.c: Likewise.
18629 * soft-fp/fixsfti.c: Likewise.
18630 * soft-fp/fixtfti.c: Likewise.
18631 * soft-fp/fixunsdfti.c: Likewise.
18632 * soft-fp/fixunssfti.c: Likewise.
18633 * soft-fp/fixunstfti.c: Likewise.
18634 * soft-fp/floattidf.c: Likewise.
18635 * soft-fp/floattisf.c: Likewise.
18636 * soft-fp/floattitf.c: Likewise.
18637 * soft-fp/floatuntidf.c: Likewise.
18638 * soft-fp/floatuntisf.c: Likewise.
18639 * soft-fp/floatuntitf.c: Likewise.
18640 * soft-fp/trunctfxf2.c: Likewise.
18641
3bf78b71
DM
186422013-10-10 David S. Miller <davem@davemloft.net>
18643
18644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18645
6f10289e
JM
186462013-10-10 Joseph Myers <joseph@codsourcery.com>
18647
bd878fc0
JM
18648 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18649 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18650 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18651 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18652 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18653 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18654 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18655
6f10289e
JM
18656 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18657 for NaNs before doing comparisons on argument.
18658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18659 Likewise.
18660
321e2684
WN
186612013-10-10 Will Newton <will.newton@linaro.org>
18662
18663 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18664 passed to _int_memalign does not overflow.
18665
40fefba1
TR
186662013-10-10 Torvald Riegel <triegel@redhat.com>
18667
18668 * scripts/bench.pl: Add include-sources directive.
18669 * benchtests/README: Update documentation.
18670
2ae21ed2
JM
186712013-10-10 Joseph Myers <joseph@codesourcery.com>
18672
dcc2dd3f
JM
18673 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18674 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18675 instead of FP_INIT_ROUNDMODE.
18676 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18677 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18678
2ae21ed2
JM
18679 [BZ #16034]
18680 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18681 copy class of input value.
18682 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18683 not handle exceptions.
18684 * soft-fp/negsf2.c (__negsf2): Likewise.
18685 * soft-fp/negtf2.c (__negtf2): Likewise.
18686 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18687
cb8f9562
JM
186882013-10-09 Joseph Myers <joseph@codesourcery.com>
18689
18690 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18691 semicolon. From Linux kernel.
18692
5b60c59d
AB
186932013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18694
18695 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18696
b86835ca
YC
186972013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18698
18699 [BZ #156]
18700 * manual/socket.texi: Added statement about buffer
18701 for gethostbyname2_r.
18702
e7044ea7
OB
187032013-10-08 Ondřej Bílka <neleai@seznam.cz>
18704
18705 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18706 Use .p2align directive instead, throughout.
18707 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18708 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18709 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18710 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18711 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18712 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18713 * sysdeps/x86_64/strchr.S: Likewise.
18714 * sysdeps/x86_64/strrchr.S: Likewise.
18715
09544cbc
SP
187162013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18717
88576635
SP
18718 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18719
e7b2d1dd
SP
18720 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18721
09544cbc
SP
18722 * sysdeps/generic/math_private.h (__mpsin1): Remove
18723 declaration.
18724 (__mpcos1): Likewise.
18725 (__mpsin): New argument __range_reduce.
18726 (__mpcos): Likewise.
18727 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18728 (slow): Use __mpsin and __mpcos.
18729 (slow1): Likewise.
18730 (slow2): Likewise.
18731 (sloww): Likewise.
18732 (sloww1): Likewise.
18733 (sloww2): Likewise.
18734 (bsloww): Likewise.
18735 (bsloww1): Likewise.
18736 (bsloww2): Likewise.
18737 (cslow2): Likewise.
18738 (csloww): Likewise.
18739 (csloww1): Likewise.
18740 (csloww2): Likewise.
18741 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18742 range_reduce. Merge in __mpsin1.
18743 (__mpcos): Likewise.
18744 (__mpsin1): Remove.
18745 (__mpcos1): Likewise.
18746
7602d070
JM
187472013-10-07 Joseph Myers <joseph@codesourcery.com>
18748
18749 * locale/loadlocale.c (_nl_intern_locale_data): Use
18750 LOCFILE_ALIGNED_P.
18751 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18752 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18753 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18754 obstack data is appropriately aligned.
18755 (obstack_int32_grow_fast): Likewise.
18756 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18757 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18758 (add_locale_uint32_array): Likewise.
18759
a357259b
SP
187602013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18761
18762 * benchtests/Makefile: Remove ARGLIST and RET variables.
18763 ($(objpfx)bench-%.c): Pass only function name to the script.
18764 * benchtests/README: Update documentation.
18765 * benchtests/acos-inputs: Add new directives.
18766 * benchtests/acosh-inputs: Likewise.
18767 * benchtests/asin-inputs: Likewise.
18768 * benchtests/asinh-inputs: Likewise.
18769 * benchtests/atan-inputs: Likewise.
18770 * benchtests/atanh-inputs: Likewise.
18771 * benchtests/cos-inputs: Likewise.
18772 * benchtests/cosh-inputs: Likewise.
18773 * benchtests/exp-inputs: Likewise.
18774 * benchtests/log-inputs: Likewise.
18775 * benchtests/pow-inputs: Likewise.
18776 * benchtests/rint-inputs: Likewise.
18777 * benchtests/sin-inputs: Likewise.
18778 * benchtests/sinh-inputs: Likewise.
18779 * benchtests/tan-inputs: Likewise.
18780 * benchtests/tanh-inputs: Likewise.
18781 * scripts/bench.pl: Add support for new directives.
18782
9ec1b13d
AM
187832013-10-07 Alan Modra <amodra@gmail.com>
18784
18785 * README: Fix careless merge.
18786
8b7d57cd
AM
187872013-10-05 Alan Modra <amodra@gmail.com>
18788
18789 * NEWS: Mention powerpc64le support and bugs fixed.
18790 * README: Both big-endian and little-endian powerpc64 supported.
18791
7b7bab13
ST
187922013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18793
57f41c40
AS
18794 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18795 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18796 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18797 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18798
d39baad1
RA
187992013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18800
18801 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18802 match prototype.
18803
cd78f7e7
JM
188042013-10-04 Joseph Myers <joseph@codesourcery.com>
18805
29d73d86
JM
18806 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18807 Move -mhard-float appending from
18808 ports/sysdeps/powerpc/powerpc32/Makefile.
18809 [$(with-fp) = yes] (ASFLAGS): Likewise.
18810 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18811 * sysdeps/powerpc/nofpu: Move directory from
18812 ports/sysdeps/powerpc/nofpu.
18813 * sysdeps/powerpc/soft-fp: Move directory from
18814 ports/sysdeps/powerpc/soft-fp.
18815 * sysdeps/powerpc/powerpc32/405: Move directory from
18816 ports/sysdeps/powerpc/powerpc32/405.
18817 * sysdeps/powerpc/powerpc32/440: Move directory from
18818 ports/sysdeps/powerpc/powerpc32/440.
18819 * sysdeps/powerpc/powerpc32/464: Move directory from
18820 ports/sysdeps/powerpc/powerpc32/464.
18821 * sysdeps/powerpc/powerpc32/476: Move directory from
18822 ports/sysdeps/powerpc/powerpc32/476.
18823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18824 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18826 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18828 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18830 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18832 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18833 * README: Update for powerpc-*-linux-gnu software floating point
18834 support in libc.
18835
e246b347
JM
18836 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18837 case to powerpc/powerpc32*.
18838 * sysdeps/unix/sysv/linux/configure: Regenerated.
18839
89c2003e
JM
18840 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18841 (_FPU_MASK_OM): Define as 0x04.
18842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18844 0x00c10080.
18845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18846 0x0000003c.
18847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18848
cd78f7e7
JM
18849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18850 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18851 getcontext_e500.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18853 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18854 setcontext_e500.
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18856 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18857 and setcontext_e500.
18858
c755294d
CL
188592013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18860
18861 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18862
e16d221c
SP
188632013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18864
18865 * manual/threads.texi (Default Thread Attributes): Fix typo.
18866
215c7d43
WN
188672013-10-04 Will Newton <will.newton@linaro.org>
18868
18869 * malloc/Makefile: Add tst-memalign.
18870 * malloc/tst-memalign.c: New file.
18871
27d0461b
WN
18872 * malloc/tst-posix_memalign.c: Add comments.
18873 (do_test): Add comments and call free on all potentially
18874 allocated pointers. Add space after cast.
18875
1bc92709
WN
18876 * malloc/tst-pvalloc.c: Add comments.
18877 (do_test): Add comments and call free on all potentially
18878 allocated pointers. Remove duplicate check for NULL pointer.
18879 Add space after cast.
18880
66a9be9d
WN
18881 * malloc/tst-valloc.c: Add comments.
18882 (do_test): Add comments and call free on all potentially
18883 allocated pointers. Remove duplicate check for NULL pointer.
18884 Add space after cast.
18885
4cb81307
AM
188862013-10-04 Alan Modra <amodra@gmail.com>
18887
18888 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18889 Use stdint types in rather than __attribute__((mode())).
18890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18891
f8e3e9f3
AM
188922013-10-04 Alan Modra <amodra@gmail.com>
18893
18894 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18895 Correct handling of unaligned relocs for little-endian.
18896 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18897
8f9ebb08
AM
188982013-10-04 Alan Modra <amodra@gmail.com>
18899
18900 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18901 * configure: Regenerate.
18902 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18903 * shlib-versions: Likewise.
18904
0edf96c2
AM
189052013-10-04 Alan Modra <amodra@gmail.com>
18906
18907 * string/tester.c (test_memrchr): Increment reported test cycle.
18908
e0f7a380
AM
189092013-10-04 Alan Modra <amodra@gmail.com>
18910
18911 * string/test-memcpy.c (do_one_test): When reporting errors, print
18912 string address and don't overrun end of string.
18913
466b0393
AM
189142013-10-04 Alan Modra <amodra@gmail.com>
18915
18916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18917 insrdi. Make better use of reg selection to speed exit slightly.
18918 Schedule entry path a little better. Remove useless "are we done"
18919 checks on entry to main loop. Handle wrapping around zero address.
18920 Correct main loop count. Handle single left-over word from main
18921 loop inline rather than by using loop_small. Remove extra word
18922 case in loop_small caused by wrong loop count. Add little-endian
18923 support.
18924 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18925 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18926 cache hint.
18927 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18928 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18929 support. Avoid rlwimi.
18930 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18931
3be87c77
AM
189322013-10-04 Alan Modra <amodra@gmail.com>
18933
18934 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18935 insrdi. Formatting.
3be87c77
AM
18936 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18937 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18938 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18939 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18940 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18941 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18942
759cfef3
AM
189432013-10-04 Alan Modra <amodra@gmail.com>
18944
18945 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18946 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18947 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18948 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18949 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18950 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18951 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18952 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18953 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18954 use of regs. Use power7 mtocrf. Tidy function tails.
18955
fe6e95d7
AM
189562013-10-04 Alan Modra <amodra@gmail.com>
18957
18958 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18959 Formatting. Consistently use rXXX register defines or rN defines.
18960 Use early exit labels that avoid restoring unused non-volatile regs.
18961 Make cr field use more consistent with rWORDn compares. Rename
18962 regs used as shift registers for unaligned loop, using rN defines
18963 for short lifetime/multiple use regs.
18964 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18965 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18966 addi 1,1,64 to pop stack frame. Simplify return value code.
18967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18968
664318c3
AM
189692013-10-04 Alan Modra <amodra@gmail.com>
18970
18971 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18972 support. Correct typos, formatting. Optimize tail. Use insrdi
18973 rather than rlwimi.
18974 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18975 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18976 little-endian support. Correct typos.
18977 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18978 rather than rlwimi.
18979 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18980 in loop and entry code to keep "and." results.
18981 (strchr): Add little-endian support. Comment. Move cntlzd
18982 earlier in tail.
18983 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18984
43b84013
AM
189852013-10-04 Alan Modra <amodra@gmail.com>
18986
18987 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18988 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18989 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18990 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18991
8a7413f9
AM
189922013-10-04 Alan Modra <amodra@gmail.com>
18993
18994 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18995 (rTMP): Define as r11.
18996 (strcmp): Add little-endian support. Optimise tail.
18997 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18998 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18999 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19000 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19001 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19002 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19004
33ee81de
AM
190052013-10-04 Alan Modra <amodra@gmail.com>
19006
19007 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19008 little-endian support. Remove unnecessary "are we done" tests.
19009 Handle "s" wrapping around zero and extremely large "size".
19010 Correct main loop count. Handle single left-over word from main
19011 loop inline rather than by using small_loop. Correct comments.
19012 Delete "zero" tail, use "end_max" instead.
19013 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19014
db9b4570
AM
190152013-10-04 Alan Modra <amodra@gmail.com>
19016
19017 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19018 support. Don't branch over align.
19019 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19020 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19021 support. Rearrange tmp reg use to suit. Comment.
19022 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19023
f7c399cf
AM
190242013-10-04 Alan Modra <amodra@gmail.com>
19025
19026 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19027
0b2c2ace
AM
190282013-10-04 Alan Modra <amodra@gmail.com>
19029
19030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19031 conditional form of branch and link when obtaining pc.
19032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19033
02f04a6c
AM
190342013-10-04 Alan Modra <amodra@gmail.com>
19035
19036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19037 HIWORD/LOWORD.
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19040
9b874b2f
AM
190412013-10-04 Alan Modra <amodra@gmail.com>
19042
19043 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19044 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19045 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19046 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19047 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19048 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19049 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19050 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19051 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19052 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19053
be1e5d31
AB
190542013-10-04 Anton Blanchard <anton@au1.ibm.com>
19055 Alistair Popple <alistair@ozlabs.au.ibm.com>
19056 Alan Modra <amodra@gmail.com>
19057
19058 [BZ #15723]
19059 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19060 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19061 _dl_hwcap access for little-endian.
19062 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19063 destroy vmx regs when saving unaligned.
19064 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19065 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19066 destroy vmx regs when saving unaligned.
19067
fef13a78
AM
190682013-10-04 Alan Modra <amodra@gmail.com>
19069
19070 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19071 Don't use a union to pack hi/low value.
19072
76a66d51
AB
190732013-10-04 Anton Blanchard <anton@au1.ibm.com>
19074
19075 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19076 for little-endian.
19077 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19078 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19079 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19080 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19081 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19082
6a31fe7f
AM
190832013-10-04 Alan Modra <amodra@gmail.com>
19084
19085 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19086 constants to usual value for .cst8 section, and remove redundant
19087 high address load.
19088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19089 constant for 0x1p52. Load little-endian words of double from
19090 correct stack offsets.
19091
7b88401f
AM
190922013-10-04 Alan Modra <amodra@gmail.com>
19093
19094 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19095 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19096 words of double from correct stack offsets.
19097 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19098 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19099 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19100 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19101 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19102 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19103 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19104 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19105 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19106 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19107 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19108 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19109 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19110 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19111 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19112 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19113 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19114
9c008155
AM
191152013-10-04 Alan Modra <amodra@gmail.com>
19116
19117 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19118 64-bit int/double union.
19119 (_FPU_SETCW): Likewise.
19120 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19121 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19122
da13146d
AM
191232013-10-04 Alan Modra <amodra@gmail.com>
19124
19125 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19126 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19127
603e8410
AM
191282013-10-04 Alan Modra <amodra@gmail.com>
19129
19130 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19131 use vector int constants.
19132 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19133
4a28b3ca
AB
191342013-10-04 Anton Blanchard <anton@au1.ibm.com>
19135
19136 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19137 array with long long.
19138 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19139 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19140 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19141 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19142 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19143 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19144 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19145 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19146 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19147 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19148 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19149 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19150 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19151
2ca85d2b
AB
191522013-10-04 Anton Blanchard <anton@au1.ibm.com>
19153
19154 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19155 (__signbit): Likewise. Correct for little-endian.
19156 (__signbitl): Call __signbit.
19157 (lrint): Correct for little-endian.
19158 (lrintf): Call lrint.
19159
62a728ae
AM
191602013-10-04 Alan Modra <amodra@gmail.com>
19161
19162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19163 union 32-bit int array member with 64-bit int array.
19164 (t515, tm256): Double rather than long double.
19165 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19166
32c301df
AM
191672013-10-04 Alan Modra <amodra@gmail.com>
19168
19169 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19170 Delete.
19171 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19173 version of math_ldbl.h.
19174
650ef4bd
AM
191752013-10-04 Alan Modra <amodra@gmail.com>
19176
19177 [BZ #15734], [BZ #15735]
19178 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19179 all uses of ieee875 long double macros and unions. Simplify test
19180 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19181 ldbl_extract_mantissa value for ix,iy exponents. Properly
19182 normalize after ldbl_extract_mantissa, and don't add hidden bit
19183 already handled. Don't treat low word of ieee854 mantissa like
19184 low word of IBM long double and mask off bit when testing for
19185 zero.
19186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19187 all uses of ieee875 long double macros and unions. Simplify tests
19188 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19189 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19190 two1022, instead use their values. Recognise that tests for large
19191 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19192 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19193 Rewrite all uses of ieee875 long double macros and unions. Simplify
19194 test for 0.0L and nan. Correct negation.
19195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19196 ieee875 long double macros and unions. Correct output for large
19197 magnitude x. Correct absolute value calculation.
19198 (__erfcl): Likewise.
19199 * math/libm-test.inc: Add tests for errors discovered in IBM long
19200 double versions of fmodl, remainderl, erfl and erfcl.
19201
765714ca
AM
192022013-10-04 Alan Modra <amodra@gmail.com>
19203
19204 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19205 all uses of ieee854 long double macros and unions. Simplify tests
19206 for long doubles that are fully specified by the high double.
19207 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19208 Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19210 Remove dead code too.
19211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19212 (__ieee754_ynl): Likewise.
19213 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19216 Remove dead code too.
19217 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19218 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19220 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19221 Simplify.
19222 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19223 Simplify.
19224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19226 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19227 Comment on variable precision.
19228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19230 Likewise.
19231 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19234 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19235 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19236
4ebd120c
AM
192372013-10-04 Alan Modra <amodra@gmail.com>
19238
19239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19240 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19241 all uses of ieee854 long double macros and unions.
19242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19243 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19244 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19247 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19248 Likewise.
19249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19250 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19251 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19252 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19253 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19254 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19255 Simplify sign and nan test too.
19256 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19257 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19258 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19259 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19260 Likewise.
19261 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19262 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19263 Likewise.
19264 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19265 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19266 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19267 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19268 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19270
1b6adf88
AM
192712013-10-04 Alan Modra <amodra@gmail.com>
19272
19273 * stdio-common/printf_size.c (__printf_size): Don't use
19274 union ieee854_long_double in fpnum union.
19275 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19276 signbit macro to retrieve sign from long double.
19277 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19278 retrieve sign from long double.
19279 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19280 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19281 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19282 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19283 * math/test-misc.c (main): Don't use union ieee854_long_double.
19284
4cf69995
AM
192852013-10-04 Alan Modra <amodra@gmail.com>
19286
19287 [BZ #15680]
19288 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19289 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19290 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19291 calculation. Remove unnecessary test for denormal exponent.
19292 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19293 Correct handling of denormals. Avoid undefined shift behaviour.
19294 Correct normalisation of low mantissa when low double is denormal.
19295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19296 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19297 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19298 Correct normalisation of low mantissa. Test for overflow of high
19299 mantissa and normalise.
19300 (ldbl_nearbyint): Use more readable constant for two52.
19301 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19302 (__mpn_construct_long_double): Fix test for overflow of high
19303 mantissa and correct normalisation. Avoid undefined shift.
19304
9605ca6c
AM
193052013-10-04 Alan Modra <amodra@gmail.com>
19306
19307 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19308 (union ibm_extended_long_double): Define as an array of ieee754_double.
19309 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19310 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19311 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19312 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19314 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19316 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19317 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19318 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19319 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19320
975569d0
JM
193212013-10-03 Joseph Myers <joseph@codesourcery.com>
19322
d3d23756
JM
19323 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19324 page size instead of calling getpagesize.
19325
975569d0
JM
19326 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19327 (LOCFILE_ALIGN_MASK): Likewise.
19328 (LOCFILE_ALIGN_UP): Likewise.
19329 (LOCFILE_ALIGNED_P): Likewise.
19330 * locale/programs/ld-collate.c (collate_output): Use the new
19331 macros instead of __alignof__ (int32_t).
19332 * locale/weight.h (findidx): Likewise.
19333
b1fe1f2b
OB
193342013-10-03 Ondřej Bílka <neleai@seznam.cz>
19335
19336 [BZ #431]
19337 * manual/string.texi: Fix strncat and wcsncat.
19338
5f855e35
BM
193392013-10-03 Brooks Moses <bmoses@google.com>
19340
19341 [BZ #15915]
19342 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19343 * Makerules: ...here, and adjust associated comments.
19344
3cef6009
WN
193452013-10-02 Will Newton <will.newton@linaro.org>
19346
19347 * malloc/Makefile: Add tst-pvalloc.
19348 * malloc/tst-pvalloc.c: New file.
19349
7815420b
WN
193502013-10-02 Will Newton <will.newton@linaro.org>
19351
19352 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19353 improve test coverage.
19354
4868b204
WN
193552013-10-02 Will Newton <will.newton@linaro.org>
19356
19357 * malloc/Makefile: Add tst-posix_memalign.
19358 * malloc/tst-posix_memalign.c: New file.
19359
29c793b3
EB
193602013-10-01 Eric Blake <eblake@redhat.com>
19361
19362 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19363 Use __THROWNL rather than __THROW on static functions.
19364
fd967522
PM
193652013-09-30 Petr Machata <pmachata@redhat.com>
19366
19367 * elf/elf.h (R_AARCH64_ABS16): New macro.
19368 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19369 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19370 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19371 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19372 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19373 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19374 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19375 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19376 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19377 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19378 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19379 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19380 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19381 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19382 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19383 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19384 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19385 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19386 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19387 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19388 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19389 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19390 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19391 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19392 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19393 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19394 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19395 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19396 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19397 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19398 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19399 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19400 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19401 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19402 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19403 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19404 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19405 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19406 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19407 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19408 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19409 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19410 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19411 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19412 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19413 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19414 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19415 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19416 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19417 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19418 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19419 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19420 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19421 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19422 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19423 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19424 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19425 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19426 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19427 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19428 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19429 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19430 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19431 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19432 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19433 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19434 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19435 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19436 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19437 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19438 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19439 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19440 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19441 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19442 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19443 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19444 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19445 (R_AARCH64_TLSDESC_LDR): Likewise.
19446 (R_AARCH64_TLSDESC_ADD): Likewise.
19447 (R_AARCH64_TLSDESC_CALL): Likewise.
19448
b2179107
AS
194492013-09-30 Andreas Schwab <schwab@suse.de>
19450
19451 [BZ #15048]
19452 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19453 the nss database lookup.
19454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19456
47f28d0a
MF
194572013-09-28 Mike Frysinger <vapier@gentoo.org>
19458
19459 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19460
194612013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19462
19463 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19464 ${Bash-specific parameter/pattern/string} parameter expansion.
19465 * sysdeps/unix/make-syscalls.sh: Likewise.
19466
f4518a17
KK
194672013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19468
19469 * sysdeps/sh/stackguard-macros.h: New file.
19470
dc1a95c7
OB
194712013-09-26 Ondřej Bílka <neleai@seznam.cz>
19472
19473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19475 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19476 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19477 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19478 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19479
5ebbff8f
AZ
194802013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19481
19482 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19483 Fix thread ID register.
19484
4fd2cf9f
JM
194852013-09-25 Joseph Myers <joseph@codesourcery.com>
19486
19487 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19488 [POSIX || UNIX98]: Require rather than permitting all symbols from
19489 <time.h>.
19490 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19491 element of struct sched_param.
19492 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19493 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19494 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19495 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19496 constant.
19497
12c22bc4
OL
194982013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19499
19500 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19501 argument calculation.
19502
a03d8ea7
JM
195032013-09-24 Joseph Myers <joseph@codesourcery.com>
19504
19505 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19506 Expect macro.
19507 [POSIX] (pthread_attr_t): Do not require type.
19508 [POSIX] (pthread_cond_t): Likewise.
19509 [POSIX] (pthread_condattr_t): Likewise.
19510 [POSIX] (pthread_key_t): Likewise.
19511 [POSIX] (pthread_mutex_t): Likewise.
19512 [POSIX] (pthread_mutexattr_t): Likewise.
19513 [POSIX] (pthread_once_t): Likewise.
19514 [POSIX] (pthread_t): Likewise.
19515 [POSIX-based standards] (pthread_atfork): Expect function.
19516
6055173a
JM
195172013-09-24 Joseph Myers <joseph@codesourcery.com>
19518 Richard Sandiford <richard@codesourcery.com>
19519
19520 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19521 (swap_endianness_p): New extern variable.
19522 (set_big_endian): New inline function.
19523 (maybe_swap_uint32): Likewise.
19524 (maybe_swap_uint32_array): Likewise.
19525 (maybe_swap_uint32_obstack): Likewise.
19526 * locale/programs/locfile.c: Include <stdbool.h>.
19527 (swap_endianness_p): New variable.
19528 (add_locale_uint32): Call maybe_swap_uint32.
19529 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19530 (write_locale_data): Call maybe_swap_uint32_array.
19531 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19532 maybe_swap_uint32.
19533 (obstack_int32_grow_fast): Likewise.
19534 (output_weightwc): Call maybe_swap_uint32_obstack.
19535 (collate_output): Likewise.
19536 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19537 (OPT_LITTLE_ENDIAN): Likewise.
19538 (options): Add --little-endian and --big-endian options.
19539 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19540 * locale/programs/locarchive.c: Include "locfile.h".
19541 (GET): New macro.
19542 (SET): Likewise.
19543 (INC): Likewise.
19544 (create_archive): Use the new macros to access fields of
19545 structures directly mapped from or written to locale archives.
19546 (oldlocrecentcmp): Likewise.
19547 (enlarge_archive): Likewise.
19548 (insert_name): Likewise.
19549 (add_alias): Likewise.
19550 (add_locale): Likewise.
19551 (delete_locales_from_archive): Likewise.
19552 (show_archive_content): Likewise.
19553 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19554 locale data.
19555
39bf0bb4
RM
195562013-09-24 Roland McGrath <roland@hack.frob.com>
19557
19558 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19559 http://www.gnu.org/doc/freemanuals.texi.
19560 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19561
f02eed10
WN
195622013-09-24 Will Newton <will.newton@linaro.org>
19563
19564 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19565 macro.
19566
a3a6c312
JM
195672013-09-23 Joseph Myers <joseph@codesourcery.com>
19568
19569 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19570 unsigned char.
19571
107375ac
MR
195722013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19573
19574 * manual/threads.texi (POSIX Threads): Fix a typo.
19575
141f3a77
SP
195762013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19577
303e567a
SP
19578 [BZ #14547]
19579 * string/tst-strcoll-overflow.c: New test case.
19580 * string/Makefile (xtests): Add tst-strcoll-overflow.
19581 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19582 cache if string sizes may cause integer overflow.
19583
141f3a77
SP
19584 [BZ #14547]
19585 * string/strcoll_l.c (coll_seq): New members rule, idx,
19586 save_idx and back_us.
19587 (get_next_seq_nocache): New function.
19588 (do_compare_nocache): New function.
19589 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19590 when malloc fails.
19591
c61b4d41
CD
195922013-09-23 Carlos O'Donell <carlos@redhat.com>
19593
0b1f8e35
CD
19594 [BZ #15754]
19595 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19596 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19597 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19598
c61b4d41
CD
19599 [BZ #15754]
19600 * elf/Makefile (tests): Add tst-ptrguard1.
19601 (tests-static): Add tst-ptrguard1-static.
19602 (tst-ptrguard1-ARGS): Define.
19603 (tst-ptrguard1-static-ARGS): Define.
19604 * elf/tst-ptrguard1.c: New file.
19605 * elf/tst-ptrguard1-static.c: New file.
19606 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19607 * sysdeps/i386/stackguard-macros.h: Likewise.
19608 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19609 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19610 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19611 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19612 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19613 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19614
196152013-09-23 Hector Marco <hecmargi@upv.es>
19616 Ismael Ripoll <iripoll@disca.upv.es>
19617 Carlos O'Donell <carlos@redhat.com>
19618
19619 [BZ #15754]
19620 * sysdeps/generic/stackguard-macros.h: Define
19621 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19622 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19623 Define __pointer_chk_guard_local.
19624 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19625 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19626
f5f4e7b4
VV
196272013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19628
19629 [BZ #15859]
19630 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19631
5bb43a43
AS
196322013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19633
19634 * include/string.h (__ffs): Declare as hidden.
19635 * string/ffs.c (__ffs): Define as hidden.
19636 * sysdeps/i386/ffs.c (__ffs): Likewise.
19637 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19638 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19639 * sysdeps/s390/ffs.c (__ffs): Likewise.
19640 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19641
3ea5be54
AO
196422013-09-20 Alexandre Oliva <aoliva@redhat.com>
19643
ffb89e53
AO
19644 * NEWS: Mention malloc probes.
19645
322dea08
AO
19646 * malloc/arena.c (new_heap): New memory_heap_new probe.
19647 (grow_heap): New memory_heap_more probe.
19648 (shrink_heap): New memory_heap_less probe.
19649 (heap_trim): New memory_heap_free probe.
19650 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19651 (systrim): New memory_sbrk_less probe.
19652 * manual/probes.texi: Document them.
19653
655673f3
AO
19654 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19655 * manual/probes.texi: Document it.
19656
35fed6f1
AO
19657 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19658 (__libc_realloc): Add memory_realloc_retry probe.
19659 (__libc_memalign): Add memory_memalign_retry probe.
19660 (__libc_valloc): Add memory_valloc_retry probe.
19661 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19662 (__libc_calloc): Add memory_calloc_retry probe.
19663 * manual/probes.texi: Document them.
19664
6999d38c
AO
19665 * malloc/arena.c (get_free_list): Add probe
19666 memory_arena_reuse_free_list.
19667 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19668 and memory_arena_reuse.
19669 (arena_get2) [!PER_THREAD]: Likewise.
19670 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19671 memory_arena_reuse_realloc.
19672 * manual/probes.texi: Document them.
19673
0653427f
AO
19674 * malloc/malloc.c (__libc_free): Add
19675 memory_mallopt_free_dyn_thresholds probe.
19676 (__libc_mallopt): Add multiple memory_mallopt probes.
19677 * manual/probes.texi: Document them.
19678
3ea5be54
AO
19679 * malloc/malloc.c: Include stap-probe.h.
19680 (__libc_mallopt): Add memory_mallopt probe.
19681 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19682 * manual/probes.texi: New.
19683 * manual/Makefile (chapters): Add probes.
19684 * manual/threads.texi: Set next node.
19685
e35696c3 196862013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19687
e35696c3
CL
19688 [BZ #15963, #13985]
19689 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19690 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19691 Add `Chinese' to `nan' entry name.
19692
4aafb73c
SP
196932013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19694
19695 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19696 (POLYNOMIAL): Likewise.
19697 (TAYLOR_SINCOS): Likewise.
19698 (TAYLOR_SLOW): Likewise.
19699 (__sin): Use TAYLOR_SINCOS.
19700 (__cos): Likewise.
19701 (slow): Use TAYLOR_SLOW.
19702 (sloww): Likewise.
19703 (bsloww): Likewise.
19704 (csloww): Likewise.
19705
d84f25c7
LD
197062013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19707
19708 * stdlib/strtod_l.c: Fix buffer overrun.
19709
5eea0404
SP
197102013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19711
7849ff93
SP
19712 * benchtests/Makefile (bench): Add sincos.
19713 * benchtests/bench-sincos.c: New file.
19714
cfa3c886
SP
19715 * math/libm-test.inc (cos_test_data): New test inputs.
19716 (sin_test_data): Likewise.
19717
b348e1e3
SP
19718 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19719 macro.
19720 (__sin): Use it.
19721 (__cos): Likewise.
19722 (slow1): Likewise.
19723 (slow2): Likewise.
19724 (sloww1): Likewise.
19725 (sloww2): Likewise.
19726 (bsloww1): Likewise.
19727 (bsloww2): Likewise.
19728 (cslow2): Likewise.
19729 (csloww1): Likewise.
19730 (csloww2): Likewise.
19731
6cce25f8
SP
19732 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19733 function.
19734 (__sin): Use it.
19735 (__cos): Likewise.
19736
5eea0404
SP
19737 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19738 gotos.
19739 (__cos): Likewise.
19740
9c21573c
MR
197412013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19742
19743 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19744 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19745 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19746 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19747 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19748 * elf/cache.c (print_entry): Handle the new cache flags.
19749
24d22e65
JM
197502013-09-18 Joseph Myers <joseph@codesourcery.com>
19751 Aldy Hernandez <aldyh@redhat.com>
19752
19753 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19754 Change condition to [_SOFT_FLOAT].
19755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19767 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19770 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19771 declaration.
19772
d13ef066
JM
197732013-09-18 Joseph Myers <joseph@codesourcery.com>
19774
2e071de0
JM
19775 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19776 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19777 (__longjmp): Use LOAD_GP to load saved GPRs.
19778 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19779 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19780 (__sigsetjmp): Use SAVE_GP to save GPRs.
19781
d13ef066
JM
19782 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19783 Do not append -msoft-float.
19784 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19785
97a0650b
SP
197862013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19787
19788 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19789
11ca09e9
JM
197902013-09-17 Joseph Myers <joseph@codesourcery.com>
19791
19792 [BZ #15966]
19793 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19794 (_FPU_GETCW): Use initial "__" on variable and field names but not
19795 on macro parameter name.
19796 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19797 parentheses around reference to macro parameter.
19798
08ffcf34
RS
197992013-09-13 Richard Sandiford <richard@codesourcery.com>
19800
19801 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19802 prototype.
19803 (ctype_startup): Use uint32_t in cast and sizeof for
19804 ctype->charnames.
19805
ae7080d3
JL
198062013-09-11 Jia Liu <proljc@gmail.com>
19807
19808 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19809 __daddr_t_defined.
19810 [__FreeBSD__]: Likewise.
19811
5905e7b3
OB
198122013-09-11 Ondřej Bílka <neleai@seznam.cz>
19813
19814 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19815 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19816 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19817 (strchr): Remove __strchr_sse42 ifunc selection.
19818 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19819 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19820
b987c776
WN
198212013-09-11 Will Newton <will.newton@linaro.org>
19822
19823 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19824 parameter to RES. Remove hardcoded 1000 value.
19825 * benchtests/bench-skeleton.c (main): Pass RES parameter
19826 to TIMING_INIT and multiply result by 1000.
19827
ddf985af
AZ
198282013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19829
19830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19831
ffdd3181
AS
198322013-09-11 Andreas Schwab <schwab@suse.de>
19833
19834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19835 if not defined.
19836 (O_TMPFILE) [__USE_GNU]: Define.
19837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19838 Define.
19839
b73ed247
WN
198402013-09-11 Will Newton <will.newton@linaro.org>
19841
19842 [BZ #15857]
19843 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19844 does not overflow.
19845
55e17aad
WN
198462013-09-11 Will Newton <will.newton@linaro.org>
19847
19848 [BZ #15856]
19849 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19850 does not overflow.
19851
1159a193
WN
198522013-09-11 Will Newton <will.newton@linaro.org>
19853
19854 [BZ #15855]
19855 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19856 does not overflow.
19857
5905e7b3 198582013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19859
19860 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19861 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19864 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19865
cdfc721b
AM
198662013-09-10 Allan McRae <allan@archlinux.org>
19867
aa04af00
AM
19868 [BZ #15748]
19869 * manual/arith.texi (Parsing of Floats): Clarify
19870 cross-reference.
19871
cdfc721b
AM
19872 [BZ #15849]
19873 * manual/install.texi (Running make install): Mention
19874 --enable-pt-chown.
19875 * INSTALL: Regenerated.
19876
95e7cf29
MR
198772013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19878
19879 * csu/init-first.c (_init): Remove the !SHARED condition around
19880 FPU control word initialization.
19881 * elf/dl-support.c (_dl_fpu_control): New variable.
19882 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19883 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19884 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19885 * math/test-fpucw-static.c: New file.
19886 * math/test-fpucw-ieee.c: New file.
19887 * math/test-fpucw-ieee-static.c: New file.
19888 * math/Makefile (tests): Add `test-fpucw-ieee' and
19889 `$(tests-static)'.
19890 (tests-static): New variable.
19891 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19892 dependency to...
19893 [($(build-shared),yes)]
19894 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19895 ... this.
19896 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19897 New dependency.
19898
83e43bf0
AM
198992013-09-09 Allan McRae <allan@archlinux.org>
19900
a9f5ce09
AM
19901 [BZ #15939]
19902 * manual/string.texi (Collation Functions): Fix typo in
19903 strcoll example.
19904 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19905
34829bc2
AM
19906 [BZ #15893]
19907 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19908
3932737d
AM
19909 [BZ #15892]
19910 * libio/memstream.c (open_memstream): Fix memory leak.
19911 * libio/wmemstream.c (open_wmemstream): Likewise.
19912
83e43bf0
AM
19913 [BZ #15895]
19914 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19915
0c66b8e9
WN
199162013-09-09 Will Newton <will.newton@linaro.org>
19917
19918 * malloc/Makefile: Add tst-realloc to tests.
19919 * malloc/tst-realloc.c: New file.
19920
f6b00fd1
AM
199212013-09-09 Allan McRae <allan@archlinux.org>
19922
19923 [BZ #15844]
19924 * COPYING: Update from GNU website to fix FSF address.
19925 * COPYING.LIB: Likewise.
19926
eec55e16
DM
199272013-09-06 David S. Miller <davem@davemloft.net>
19928
19929 * po/zh_TW.po: Update Chinese (traditional) translation from
19930 translation project.
19931
1ecbb381
RS
199322013-09-06 Richard Sandiford <richard@codesourcery.com>
19933 Joseph Myers <joseph@codesourcery.com>
19934
19935 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19936 "localeinfo.h".
19937 (obstack_chunk_alloc): New macro.
19938 (obstack_chunk_free): Likewise.
19939 (record_offset): New function.
19940 (init_locale_data): Likewise.
19941 (align_locale_data): Likewise.
19942 (add_locale_empty): Likewise.
19943 (add_locale_raw_data): Likewise.
19944 (add_locale_raw_obstack): Likewise.
19945 (add_locale_string): Likewise.
19946 (add_locale_wstring): Likewise.
19947 (add_locale_uint32): Likewise.
19948 (add_locale_uint32_array): Likewise.
19949 (add_locale_char): Likewise.
19950 (start_locale_structure): Likewise.
19951 (end_locale_structure): Likewise.
19952 (start_locale_prelude): Likewise.
19953 (end_locale_prelude): Likewise.
19954 (write_locale_data): Take locale_file structure rather than an
19955 iovec.
19956 * locale/programs/locfile.h: Include "obstack.h".
19957 (struct locale_file): Change to store locale file contents instead
19958 of header.
19959 (init_locale_data): New prototype.
19960 (align_locale_data): Likewise.
19961 (add_locale_empty): Likewise.
19962 (add_locale_raw_data): Likewise.
19963 (add_locale_raw_obstack): Likewise.
19964 (add_locale_string): Likewise.
19965 (add_locale_wstring): Likewise.
19966 (add_locale_uint32): Likewise.
19967 (add_locale_uint32_array): Likewise.
19968 (add_locale_char): Likewise.
19969 (start_locale_structure): Likewise.
19970 (end_locale_structure): Likewise.
19971 (start_locale_prelude): Likewise.
19972 (end_locale_prelude): Likewise.
19973 (write_locale_data): Update prototype.
19974 * locale/programs/3level.h (struct TABLE): Remove result field.
19975 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19976 Use new locale_file interface.
19977 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19978 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19979 * locale/programs/ld-address.c (address_output): Use new
19980 locale_file interface.
19981 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19982 NO_ADD_LOCALE.
19983 (collate_finish): Don't call collseq_table_finalize.
19984 (collate_output): Use new locale_file interface.
19985 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19986 in file.
19987 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19988 (TABLE): Move defines earlier in file.
19989 (ELEMENT): Likewise.
19990 (DEFAULT): Likewise.
19991 (wctrans_table_add): Move macro and inline function earlier in
19992 file.
19993 (struct wctype_table): Move type earlier in file.
19994 (add_locale_wctype_table): New static prototype.
19995 (struct locale_ctype_t): Use logical types instead of struct iovec
19996 pointers for members.
19997 (ctype_output): Use new locale_file interface.
19998 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19999 new locale_file interface.
20000 (allocate_arrays): Update for use of new locale_file interface.
20001 * locale/programs/ld-identification.c (identification_output): Use
20002 new locale_file interface.
20003 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20004 * locale/programs/ld-messages.c (messages_output): Likewise.
20005 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20006 * locale/programs/ld-name.c (name_output): Likewise.
20007 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20008 * locale/programs/ld-paper.c (paper_output): Likewise.
20009 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20010 * locale/programs/ld-time.c (time_output): Likewise.
20011
e029e2e5
AZ
200122013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20013
20014 * benchtests/Makefile: Add memrchr benchmark.
20015 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20016 benchmark as memrchr.
20017 * benchtests/bench-memrchr-ifunc.c: New file.
20018 * benchtests/bench-memrchr.c: New file.
20019
bbf6e8e4
WN
200202013-09-06 Will Newton <will.newton@linaro.org>
20021
20022 * benchtests/Makefile (string-bench): Add memcpy.
20023
6c82a2f8
CD
200242013-09-05 Carlos O'Donell <carlos@redhat.com>
20025 Cong Wang <amwang@redhat.com>
20026
e732c5f0 20027 [BZ #15850]
6c82a2f8
CD
20028 * sysdeps/unix/sysv/linux/bits/in.h
20029 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20030 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20031 before __USE_KERNEL_IPV6_DEFS uses.
20032 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20033 IPPROTO_BEETPH.
20034 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20035 sockaddr_in6, or ipv6_mreq.
20036
5430fc65
AZ
200372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20038
20039 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20040 memory access for final bytes in some large inputs.
20041 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20042
4660856c
AZ
200432013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20044
20045 * string/test-memrchr.c: New file.
20046 * string/test-memrchr-ifunc.c: New file.
20047 * string/Makefile: Add new memrchr testcase.
20048
bb8ea713
MF
200492013-09-05 Mike Frysinger <vapier@gentoo.org>
20050
20051 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20052 fanotify_init returns EPERM.
20053
b92a20b5
JM
200542013-09-04 Joseph Myers <joseph@codesourcery.com>
20055
20056 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20057 errors.
20058 (top level): Treat second token from macro or constant entries for
20059 allowed headers as allowed.
20060 * include/complex.h: Condition internal declarations on
20061 [!_ISOMAC].
20062 * include/fenv.h: Condition include of <stdbool.h> and internal
20063 declarations on [!_ISOMAC].
7447ccd9
CL
20064
200652013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20066
3e181dda 20067 [BZ #15923]
7447ccd9
CL
20068 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20069
3f2e46a4
JM
200702013-09-04 Joseph Myers <joseph@codesourcery.com>
20071
20072 * configure.in (--enable-versioning): Remove configure option.
20073 (libc_cv_asm_symver_directive): Remove configure test.
20074 (libc_cv_ld_version_script_option): Likewise.
20075 (VERSIONING): Remove variable and AC_SUBST.
20076 (DO_VERSIONING): Remove AC_DEFINE.
20077 * configure: Regenerated.
20078 * config.h.in (DO_VERSIONING): Remove macro.
20079 * Makerules [$(versioning) = yes]: Change conditionals to
20080 [$(build-shared) = yes].
20081 * config.make.in (versioning): Remove variable.
20082 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20083 [$(build-shared) = yes].
20084 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20085 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20086 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20087 [$(build-shared) = yes].
20088 * extra-lib.mk [$(versioning) = yes]: Likewise.
20089 * hurd/Makefile [$(versioning) = yes]: Likewise.
20090 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20091 [SHARED].
20092 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20093 [SHARED].
20094 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20095 [SHARED && !NO_HIDDEN].
20096 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20097 [SHARED].
20098 [SHARED && DO_VERSIONING]: Likewise..
20099 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20100 [$(build-shared) = yes].
20101 * manual/install.texi (--disable-versioning): Remove
20102 documentation.
20103 * INSTALL: Regenerated.
20104 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20105 to [SHARED].
20106 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20107 [$(build-shared) = yes].
20108 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20109 * sysdeps/i386/i686/multiarch/strstr-c.c
20110 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20111 [SHARED && !NO_HIDDEN].
20112 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20113 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20114 * sysdeps/powerpc/powerpc32/dl-machine.c
20115 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20116 * sysdeps/powerpc/powerpc32/sysdep.h
20117 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20118 to [SHARED && PIC && !NO_HIDDEN].
20119 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20120 conditional to [SHARED].
20121
44558701
WN
201222013-09-04 Will Newton <will.newton@linaro.org>
20123
20124 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20125 * benchtests/bench-string.h: Include bench-timing.h instead
20126 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20127 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20128 call to HP_TIMING_DIFF_INIT.
20129 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20130 instead of hp-timing.h macros.
20131 * benchtests/bench-memchr.c: Likewise.
20132 * benchtests/bench-memcmp.c: Likewise.
20133 * benchtests/bench-memcpy.c: Likewise.
20134 * benchtests/bench-memmem.c: Likewise.
20135 * benchtests/bench-memmove.c: Likewise.
20136 * benchtests/bench-memset.c: Likewise.
20137 * benchtests/bench-rawmemchr.c: Likewise.
20138 * benchtests/bench-strcasecmp.c: Likewise.
20139 * benchtests/bench-strcasestr.c: Likewise.
20140 * benchtests/bench-strcat.c: Likewise.
20141 * benchtests/bench-strchr.c: Likewise.
20142 * benchtests/bench-strcmp.c: Likewise.
20143 * benchtests/bench-strcpy.c: Likewise.
20144 * benchtests/bench-strcpy_chk.c: Likewise.
20145 * benchtests/bench-strlen.c: Likewise.
20146 * benchtests/bench-strncasecmp.c: Likewise.
20147 * benchtests/bench-strncat.c: Likewise.
20148 * benchtests/bench-strncmp.c: Likewise.
20149 * benchtests/bench-strncpy.c: Likewise.
20150 * benchtests/bench-strnlen.c: Likewise.
20151 * benchtests/bench-strpbrk.c: Likewise.
20152 * benchtests/bench-strrchr.c: Likewise.
20153 * benchtests/bench-strspn.c: Likewise.
20154 * benchtests/bench-strstr.c: Likewise.
20155
cae16d66
WN
201562013-09-04 Will Newton <will.newton@linaro.org>
20157
20158 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20159
ffa3cd7f
JM
201602013-09-03 Joseph Myers <joseph@codesourcery.com>
20161
20162 [BZ #15427]
20163 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20164 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20165 * math/libm-test.inc (lgamma_test_data): Add more tests.
20166 * sysdeps/i386/fpu/libm-test-ulps: Update.
20167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20168
8f02859f
OB
201692013-09-03 Ondřej Bílka <neleai@seznam.cz>
20170
20171 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20173 Add ifunc.
20174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20175 Add strcmp-sse2-unaligned
20176 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20177
18d43716
MF
201782013-09-02 Mike Frysinger <vapier@gentoo.org>
20179
20180 * Versions.def (libc): Add GLIBC_2.19.
20181
ac444012
MF
201822013-09-02 Mike Frysinger <vapier@gentoo.org>
20183
20184 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20185 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20186
b7835e32
JM
201872013-09-02 Joseph Myers <joseph@codesourcery.com>
20188
20189 [BZ #14155]
20190 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20191 intermediate calculations in recurrence.
20192 (__ieee754_ynf): Likewise.
20193 * math/libm-test.inc (jn_test_data): Do not allow spurious
20194 underflow exception. Add more tests.
20195 (yn_test_data): Add more tests.
20196 * sysdeps/i386/fpu/libm-test-ulps: Update.
20197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20198
8220f4f0
OB
201992013-09-02 Ondřej Bílka <neleai@seznam.cz>
20200
20201 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20202
f24a6d08
OB
202032013-08-30 Ondřej Bílka <neleai@seznam.cz>
20204
20205 * csu/init-first.c: Fix then/than typos.
20206 * locale/programs/ld-collate.c: Likewise.
20207 * locale/programs/linereader.h: Likewise.
20208 * manual/charset.texi: Likewise.
20209 * manual/filesys.texi: Likewise.
20210 * manual/stdio.texi: Likewise.
20211 * manual/string.texi: Likewise.
20212 * stdlib/fmtmsg.c: Likewise.
20213 * sysdeps/i386/stpncpy.S: Likewise.
20214 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20215 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20216 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20217 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20218
382466e0
OB
202192013-08-30 Ondřej Bílka <neleai@seznam.cz>
20220
20221 * elf/dl-open.c: Fix typos.
20222 * iconvdata/gbbig5.c: Likewise.
20223 * iconvdata/iso-2022-jp.c: Likewise.
20224 * iconv/gconv_int.h: Likewise.
20225 * iconv/loop.c: Likewise.
20226 * nis/rpcsvc/nis.h: Likewise.
20227 * resolv/ns_name.c: Likewise.
20228 * stdio-common/vfscanf.c: Likewise.
20229 * streams/stropts.h: Likewise.
20230 * sunrpc/rpc_thread.c: Likewise.
20231 * sysdeps/i386/strpbrk.S: Likewise.
20232 * sysdeps/ieee754/k_standard.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20235 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20236 * sysdeps/mach/hurd/profil.c: Likewise.
20237 * sysdeps/s390/dl-procinfo.h: Likewise.
20238 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20239 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20240 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20241 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20243
0186c6e9
OB
202442013-08-30 Ondřej Bílka <neleai@seznam.cz>
20245
20246 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20248
d4e16af1
OB
202492013-08-29 Ondřej Bílka <neleai@seznam.cz>
20250
20251 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20252 aix specific files.
20253 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20254 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20255 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20256 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20257 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20258 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20259 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20260 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20261
88335980
TS
202622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20263 Roland McGrath <roland@hack.frob.com>
20264
20265 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20266 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20267
ed479b02
ST
202682013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20269
20270 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20271 __executable_start symbol instead of _start.
20272
f1cc4c86
TS
202732013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20274
d821f07c
TS
20275 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20276 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20277 Move macros to...
20278 * sysdeps/gnu/ldsodefs.h: ... this new file.
20279
c54290cf
TS
20280 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20281 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20282 instead of ELFOSABI_LINUX.
20283
0007fc9b 20284 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20285 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20286 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20287 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20288 Likewise.
20289 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20290 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20291 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20292 Likewise.
20293 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20294 (ibm_extended_long_double): Add ieee_nan member.
20295 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20296 (do_test): New function.
20297
f1cc4c86
TS
20298 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20299 TEST_TRUNC.
20300 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20301 functions, renamed from truncdfsf_test, trunctfsf_test,
20302 trunctfdf_test.
20303 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20304 functions.
20305 (do_test): Run all these.
20306
6f65e668
OB
203072013-08-29 Ondřej Bílka <neleai@seznam.cz>
20308
20309 * argp/argp-help.c: Fix typos.
20310 * argp/argp-parse.c: Likewise.
20311 * debug/backtracesyms.c: Likewise.
20312 * elf/elf.h: Likewise.
20313 * malloc/malloc.c: Likewise.
20314 * nis/nis_print.c: Likewise.
20315 * resolv/res_comp.c: Likewise.
20316 * stdlib/stdlib.h: Likewise.
20317 * sunrpc/clnt_tcp.c: Likewise.
20318 * sunrpc/clnt_udp.c: Likewise.
20319 * sunrpc/clnt_unix.c: Likewise.
20320 * sysdeps/unix/bsd/ptsname.c: Likewise.
20321 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20322 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20324 Likewise.
20325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20326 Likewise.
20327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20328 Likewise.
6f65e668
OB
20329 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20330
3a309239
SP
203312013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20332
20333 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20335
3b813b29
MF
203362013-08-27 Mike Frysinger <vapier@gentoo.org>
20337
20338 [BZ #15897]
20339 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20340 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20341 ($(objpfx)bug-dl-leaf): New rule.
20342 ($(objpfx)bug-dl-leaf.so): Likewise.
20343 ($(objpfx)bug-dl-leaf.out): Likewise.
20344 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20345 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20346 * dlfcn/bug-dl-leaf.c: New test.
20347 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20348 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20349 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20350 (dlclose): Likewise.
20351 (dlmopen): Likewise.
20352
8cc3269f
RM
203532013-08-27 Roland McGrath <roland@hack.frob.com>
20354
7f9d0034
RM
20355 * include/netdb.h [!_ISOMAC]:
20356 Don't include <tls.h>.
20357 (h_errno, __libc_h_errno): Move declaration and macros out of
20358 [_LIBC_REENTRANT].
20359
fb431262
RM
20360 * include/resolv.h [_RESOLV_H_]:
20361 Don't include <tls.h>.
20362 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20363 * resolv/res_libc.c: Don't include <tls.h>.
20364 (_res): Use __attribute__ ((nocommon)) in place of
20365 __attribute__ ((section (".bss"))).
20366
bd81123a
RM
20367 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20368 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20369
c4e42566
RM
20370 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20371
f890a59b
RM
20372 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20373 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20374
20375 * resolv/res_mkquery.c: Include <sys/time.h>.
20376
5d1f0a09
RM
20377 * inet/ifreq.c: Moved to ...
20378 * sysdeps/unix/ifreq.c: ... here.
20379 * inet/ifreq.c: New file, true stub version.
20380
6fcf28b3
RM
20381 * socket/sa_len.c: New file.
20382 * socket/Makefile (aux): Add it.
20383 * sysdeps/unix/sysv/linux/Makefile
20384 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20385 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20386 and #include <socket/sa_len.c>.
20387 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20388 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20389
e041fb8b
RM
20390 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20391 * bits/socket.h: ... here.
20392
8cc3269f
RM
20393 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20394 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20395 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20396
5d228a43
AS
203972013-08-27 Andreas Schwab <schwab@suse.de>
20398
45b8accc
AS
20399 [BZ #15736]
20400 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20401 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20402 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20403 * string/test-strcasecmp.c (test_main): Run tests in several
20404 locales.
20405 * string/test-strncasecmp.c (test_main): Likewise.
20406
5d228a43
AS
20407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20408 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20409 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20411 (__strncasecmp_ssse3) [PIC]: Likewise.
20412
59d112a4
RM
204132013-08-26 Roland McGrath <roland@hack.frob.com>
20414
53234cc3
RM
20415 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20416
59d112a4
RM
20417 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20418 instead of explicitly declaring xdecrypt.
20419 * nis/nss_nis/nis-publickey.c: Likewise.
20420
595aba70
SP
204212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20422
20423 [BZ #15890]
20424 * nscd/aicache.c: Include res_hconf.h.
20425 (addhstaiX): Initialize res_hconf.
20426
ffabd393
AS
204272013-08-26 Andreas Schwab <schwab@suse.de>
20428
20429 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20430 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20431
e0a69f5c
SP
204322013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20433
20434 * nscd/aicache.c (addhstaiX): Fix indentation.
20435
8c12f01d
MF
204362013-08-25 Mike Frysinger <vapier@gentoo.org>
20437
20438 * configure.ac: Quote $build_pt_chown test.
20439 * configure: Regenerated.
20440
8fe89494
JM
204412013-08-23 Joseph Myers <joseph@codesourcery.com>
20442
20443 [BZ #15532]
20444 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20445 * math/s_cexpf.c (__cexpf): Likewise.
20446 * math/s_cexpl.c (__cexpl): Likewise.
20447 * math/libm-test.inc (cexp_test_data): Correct expected return
20448 value for NaN + i0. Add another test.
20449
75b181d6
DM
204502013-08-22 David S. Miller <davem@davemloft.net>
20451
20452 * po/ca.po: Update Catalan translation from translation project.
936241e4 20453 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20454
acd06bb1
JM
204552013-08-21 Joseph Myers <joseph@codesourcery.com>
20456
20457 [BZ #15797]
20458 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20459 is infinite, not alongside NaN test.
20460 * math/s_fdimf.c (__fdimf): Likewise.
20461 * math/s_fdiml.c (__fdiml): Likewise.
20462 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20463 errno is unchanged.
20464
c0c3f78a
OB
204652013-08-21 Ondřej Bílka <neleai@seznam.cz>
20466
20467 * argp/argp-help.c: Fix typos.
20468 * crypt/speeds.c: Likewise.
20469 * csu/check_fds.c: Likewise.
20470 * elf/dl-load.c: Likewise.
20471 * elf/dl-open.c: Likewise.
20472 * elf/reldep3.c: Likewise.
20473 * elf/reldep.c: Likewise.
20474 * elf/sprof.c: Likewise.
20475 * iconv/iconv_charmap.c: Likewise.
20476 * iconv/skeleton.c: Likewise.
20477 * iconv/strtab.c: Likewise.
20478 * io/lockf64.c: Likewise.
20479 * libio/libioP.h: Likewise.
20480 * resolv/gai_notify.c: Likewise.
20481 * resolv/ns_name.c: Likewise.
20482 * resolv/ns_samedomain.c: Likewise.
20483 * resolv/res_send.c: Likewise.
20484 * stdlib/random.c: Likewise.
20485 * sunrpc/rpc/xdr.h: Likewise.
20486 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20487 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20488 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20489 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20493 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20494 * sysdeps/mach/hurd/check_fds.c: Likewise.
20495 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20496 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20497 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20499 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20500 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20501 * sysdeps/pthread/aio_notify.c: Likewise.
20502 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20503 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20504 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20505 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20506 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20507
46ed1038
LD
205082013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20509
20510 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20511 version if bit_Slow_SSE4_2 is set.
20512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20513 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20514
d400dcac
AZ
205152013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20516
20517 [BZ #15867]
20518 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20519 trampoline stack frame information.
20520 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20521 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20522 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20523 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20524 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20525 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20526 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20527 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20528 sa_flags value.
20529 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20530 interrupting a syscall and set with option SA_SIGINFO.
20531
42c8fdd8
JM
205322013-08-20 Joseph Myers <joseph@codesourcery.com>
20533
c980f2f4
JM
20534 [BZ #15531]
20535 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20536 argument is infinite.
20537 * math/s_cprojf.c (__cprojf): Likewise.
20538 * math/s_cprojl.c (__cprojl): Likewise.
20539 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20540 * math/libm-test.inc (cproj_test_data): Add more tests.
20541
0716c4fc
JM
20542 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20543
42c8fdd8
JM
20544 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20545 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20546 size. Use __ffs to determine corresponding shift.
20547
b31469d0
JM
205482013-08-20 Joseph Myers <joseph@codesourcery.com>
20549 Roland McGrath <roland@hack.frob.com>
20550
20551 * Makefile (INSTALL): Remove trailing blank lines from output of
20552 makeinfo.
20553
4e39af6e
AK
205542013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20555
20556 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20557 Align 32 bit compat elf_greg to 8 bytes.
20558
f315524e
AA
205592013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20560
20561 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20562
1326ba1a
SP
205632013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20564
20565 * string/strcoll_l.c (coll_seq): New structure.
20566 (get_next_seq_cached): New function.
20567 (get_next_seq): New function.
20568 (do_compare): New function.
20569 (STRCOLL): Use GNU style definition. Simplify implementation
20570 by using get_next_seq, get_next_seq_cached and do_compare.
20571
91ce4085
FW
205722013-08-16 Florian Weimer <fweimer@redhat.com>
20573
20574 [BZ #14699]
20575 CVE-2013-4237
20576 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20577 member.
20578 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20579 member.
20580 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20581 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20582 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20583 conditional.
20584 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20585 GETDENTS_64BIT_ALIGNED.
20586 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20587 * manual/filesys.texi (Reading/Closing Directory): Document
20588 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20589 strongly.
20590 * manual/conf.texi (Limits for Files): Add portability note to
20591 NAME_MAX, PATH_MAX.
20592 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20593
ca0a6bc4
AS
205942013-08-13 Andreas Schwab <schwab@suse.de>
20595
20596 [BZ #15749]
20597 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20598 of fabs.
20599 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20600 LDBL_MAX_EXP >= 16384]: Add tests for it.
20601
6c1fd795
DM
206022013-08-12 David S. Miller <davem@davemloft.net>
20603
20604 * version.h (RELEASE): Set to "development".
20605 (VERSION): Set to "2.18.90".
20606 * NEWS: Add 2.19 section.
20607
31ad488d
DM
206082013-08-03 David S. Miller <davem@davemloft.net>
20609
20610 * po/ko.po: Update Korean translation from translation project.
20611
db24e684
DM
206122013-08-01 David S. Miller <davem@davemloft.net>
20613
20614 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20615 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20616 Bilka.
20617
f723285b
DM
206182013-07-30 David S. Miller <davem@davemloft.net>
20619
20620 * po/fr.po: Update French translation from translation project.
20621
3cbc52db
DM
206222013-07-28 David S. Miller <davem@davemloft.net>
20623
30bbc0cc
DM
20624 * po/cs.po: Update Czech translation from translation project.
20625
3cbc52db
DM
20626 * po/sv.po: Update Swedish translation from translation project.
20627
d492e6d0
DM
206282013-07-27 David S. Miller <davem@davemloft.net>
20629
f1a7f492
DM
20630 * po/eo.po: Update Esperanto translation from translation project.
20631
90e62a4a
DM
20632 * po/vi.po: Update Vietnamese translation from translation project.
20633
d492e6d0
DM
20634 * po/de.po: Update German translation from translation project.
20635
d4baa62d
DM
206362013-07-26 David S. Miller <davem@davemloft.net>
20637
641aa7b4
DM
20638 * po/bg.po: Update Bulgarian translation from translation project.
20639
d4baa62d
DM
20640 * po/nl.po: Update Dutch translation from translation project.
20641 * po/pl.po: Update Polish translation from translation project.
20642 * po/ru.po: Update Russian translation from translation project.
20643
61a9dcb9
DM
206442013-07-24 David S. Miller <davem@davemloft.net>
20645
20646 * po/libc.pot: Update.
20647
7b1f8b58
AZ
206482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20649
20650 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20651 variable page size.
20652 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20653 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20654 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20655
a8fc7a03
AK
206562013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20657
20658 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20659
e4608715
CD
206602013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20661 Andreas Schwab <schwab@suse.de>
20662 Roland McGrath <roland@hack.frob.com>
20663 Joseph Myers <joseph@codesourcery.com>
20664 Carlos O'Donell <carlos@redhat.com>
20665
20666 [BZ #15755]
20667 * config.h.in: Define HAVE_PT_CHOWN.
20668 * config.make.in (build-pt-chown): New variable.
20669 * configure.in (--enable-pt_chown): New configure option.
20670 * configure: Regenerate.
20671 * login/Makefile: Include Makeconfig. Build pt_chown only if
20672 build-pt-chown is enabled.
20673 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20674 pt_chown to fix pty ownership.
20675 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20676 CLOSE_ALL_FDS.
20677 * manual/install.texi (Configuring and compiling): Mention
20678 --enable-pt_chown. Add @findex for grantpt.
20679 * INSTALL: Regenerate.
20680
da2d62df
DM
206812013-07-20 David S. Miller <davem@davemloft.net>
20682
20683 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20684 difference between 32-bit and 64-bit.
20685
d7e06450
CD
206862013-07-15 Carlos O'Donell <carlos@redhat.com>
20687
20688 [BZ #15711]
20689 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20690 Avoid system header dependency with -ffreestanding.
20691 ($(objpfx)bits/syscall%d): Likewise.
20692
f959cfd7
DM
206932013-07-13 David S. Miller <davem@davemloft.net>
20694
20695 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20696 underflows from atanl/atan2l due to bug 15319.
20697 (casinh_test_data): Likewise.
20698
c61f8513
DM
206992013-07-07 David S. Miller <davem@davemloft.net>
20700
20701 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20702
72c90ed0
JA
207032013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20704
20705 * sysdeps/i386/fpu/libm-test-ulps: Update.
20706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20707
52dfbe13
SP
207082013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20709
20710 * configure.in (--enable-lock-elision): Fix message text.
20711 * INSTALL: Regenerate.
20712 * configure: Regenerate.
20713
3f169543
AZ
207142013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20715
20716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20717
521c6785
AJ
207182013-07-03 Andreas Jaeger <aj@suse.de>
20719
20720 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20721 define.
20722 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20723 (ptrace_peeksiginfo_args): Add.
20724 (__ptrace_peeksiginfo_flags): Add.
20725 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20727 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20728
d2cc15cb
AM
207292013-07-03 Allan McRae <allan@archlinux.org>
20730
20731 * sysdeps/i386/fpu/libm-test-ulps: Update.
20732
3aaeeca7
DM
207332013-07-02 David S. Miller <davem@davemloft.net>
20734
20735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20736
5314ed1a
MT
207372013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20738
20739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20740
67338156
JM
207412013-07-02 Joseph Myers <joseph@codesourcery.com>
20742
20743 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20745
1717da59
AK
207462013-07-02 Andi Kleen <ak@linux.intel.com>
20747
20748 * config.h.in (ENABLE_LOCK_ELISION): Add.
20749 * configure.in (--enable-lock-elision): Add option.
20750 * manual/install.texi: Document --enable lock elision.
20751 * configure: Regenerate
20752 * INSTALL: Regenerate.
20753
1c81621c
L
207542013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20755
20756 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20757 SSE4.2 strcasecmp for libc.a.
20758 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20759
77f01ab5
JM
207602013-07-02 Joseph Myers <joseph@codesourcery.com>
20761
20762 [BZ #13304]
20763 * soft-fp/op-common.h (_FP_FMA): New macro.
20764 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20765 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20766 (_FP_MUL_MEAT_1_imm): ... here.
20767 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20768 (_FP_MUL_MEAT_1_wide): ... here.
20769 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20770 (_FP_MUL_MEAT_1_hard): ... here.
20771 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20772 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20773 (_FP_MUL_MEAT_2_wide): ... here.
20774 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20775 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20776 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20777 (_FP_MUL_MEAT_2_gmp): ... here.
20778 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20779 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20780 (_FP_MUL_MEAT_4_wide): ... here.
20781 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20782 (_FP_MUL_MEAT_4_gmp): ... here.
20783 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20784 (_FP_WFRACBITS_DW_S): Likewise.
20785 (_FP_WFRACXBITS_DW_S): Likewise.
20786 (_FP_HIGHBIT_DW_S): Likewise.
20787 (FP_FMA_S): Likewise.
20788 (_FP_FRAC_HIGH_DW_S): Likewise.
20789 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20790 (_FP_WFRACBITS_DW_D): Likewise.
20791 (_FP_WFRACXBITS_DW_D): Likewise.
20792 (_FP_HIGHBIT_DW_D): Likewise.
20793 (FP_FMA_D): Likewise.
20794 (_FP_FRAC_HIGH_DW_D): Likewise.
20795 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20796 (_FP_WFRACBITS_DW_E): Likewise.
20797 (_FP_WFRACXBITS_DW_E): Likewise.
20798 (_FP_HIGHBIT_DW_E): Likewise.
20799 (FP_FMA_E): Likewise.
20800 (_FP_FRAC_HIGH_DW_E): Likewise.
20801 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20802 (_FP_WFRACBITS_DW_Q): Likewise.
20803 (_FP_WFRACXBITS_DW_Q): Likewise.
20804 (_FP_HIGHBIT_DW_Q): Likewise.
20805 (FP_FMA_Q): Likewise.
20806 (_FP_FRAC_HIGH_DW_Q): Likewise.
20807 * soft-fp/fmasf4.c: New file.
20808 * soft-fp/fmadf4.c: Likewise.
20809 * soft-fp/fmatf4.c: Likewise.
20810
6308fd9a
LD
208112013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20812
20813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20814 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20815 Silvermont.
20816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20817 macro.
20818 (index_Slow_SSE4_2): Likewise.
20819 (index_Prefer_PMINUB_for_stringop): Likewise.
20820 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20821 bit_Slow_SSE4_2 is set.
20822 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20823 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20824
89cd9569
RA
208252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20826
20827 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20828 rtld_global._dl_hwcap2.
20829 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20830 POWER8.
20831 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20832 POWER8 feature descriptions defined in _dl_hwcap2.
20833 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20834 string handling for POWER8 feature bits.
20835 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20836 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20837 _dl_powerpc_cap_flags.
20838 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20839 * sysdeps/powerpc/rtld-global-offsets.sym
20840 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20841 _dl_hwcap2 in the rtld_global_ro structure.
20842
1ae8bfe0
RA
208432013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20844
20845 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20846 hardware capabilities in support of AT_HWCAP2.
20847 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20848 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20849 GLRO(dl_hwcap2).
20850 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20851 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20852 explicitly the unknown a_type display mechanism is used.
20853 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20854 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20855 struct member.
20856 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20857 to macro prototype for AT_HWCAP2 support.
20858 * sysdeps/i386/dl-procinfo.h: Likewise.
20859 * sysdeps/s390/dl-procinfo.h: Likewise.
20860 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20861 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20862 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20863 return -1 for unknown a_type display fallback.
20864 * sysdeps/sparc/dl-procinfo.h: Likewise.
20865 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20866 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20867
8fbec010
JM
208682013-06-28 Joseph Myers <joseph@codesourcery.com>
20869
20870 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20871 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20872
0432680e
PY
208732013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20874
20875 [BZ #12492]
20876 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20877 mprotect making __stack_prot writable.
20878
ce61a2ad
NF
208792013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20880 Joseph Myers <joseph@codesourcery.com>
20881
20882 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20883 as being properly aligned.
20884
f91f1c0f
MR
208852013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20886
3d0f5d0c
MR
20887 * dlfcn/modstatic5.c: New file.
20888 * dlfcn/tststatic5.c: New file.
20889 * dlfcn/Makefile (tests): Add tststatic5.
20890 (tests-static): Likewise.
20891 (modules-names): Add modstatic5.
20892 (tststatic5-ENV): New variable.
20893 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20894
f91f1c0f
MR
20895 [BZ #15022]
20896 * elf/dl-support.c (_dl_main_map): New variable.
20897 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20898 (_dl_nns, _dl_load_adds): Set to 1.
20899 (_dl_initial_searchlist): Refer to _dl_main_map.
20900 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20901 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20902 call to _dl_get_origin.
20903 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20904 around call_map.
20905 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20906 * dlfcn/modstatic3.c: New file.
20907 * dlfcn/tststatic3.c: New file.
20908 * dlfcn/tststatic4.c: New file.
20909 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20910 (tests-static): Likewise.
20911 (modules-names): Add modstatic3.
20912 (tststatic3-ENV, tststatic4-ENV): New variables.
20913 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20914 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20915
cbe7d24b
JM
209162013-06-26 Joseph Myers <joseph@codesourcery.com>
20917
20918 * configure.in (CC): Require GCC version 4.4 or later.
20919 * configure: Regenerated.
20920 * manual/install.texi (Tools for Compilation): Update GCC version
20921 requirement.
20922 * INSTALL: Regenerated.
20923
11b8a0e1
LD
209242013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20925
20926 [BZ #15674]
bb5bb87c
L
20927 * string/test-memcmp.c (check2): New.
20928 (main): Call check2.
20929
11b8a0e1
LD
20930 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20931
b0037103
MR
209322013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20933
20934 [BZ #15022]
20935 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20936 over to...
20937 (dl_open_worker) [!SHARED]: ... here.
20938
c18c701d
RA
209392013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20940
20941 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20942
1d17fa5f
RH
209432013-06-25 Richard Henderson <rth@redhat.com>
20944
20945 * locale/programs/locarchive.c: Include <libc-internal.h>
20946
8fcb833a
JM
209472013-06-25 Joseph Myers <joseph@codesourcery.com>
20948
20949 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20950 trailing whitespace removed.
20951
17db6e8d
MF
209522013-06-24 Mike Frysinger <vapier@gentoo.org>
20953
20954 [BZ #10283]
17db6e8d
MF
20955 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20956 * locale/programs/locarchive.c: Include libc-mmap.h.
20957 (prepare_address_space): Take two new outputs (the mmap base and len).
20958 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20959 values.
20960 (create_archive): Declare new mmap base and len values for
20961 prepare_address_space, and store the result in ah.
20962 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20963 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20964 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20965 Declare new mmap base and len values for
20966 prepare_address_space, and store the result in new_ah.
20967 (open_archive): Declare new mmap base and len values for
20968 prepare_address_space, and store the result in ah.
20969 (close_archive): If ah->mmap_base is not NULL, use that and
20970 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20971 * sysdeps/generic/libc-mmap.h: New file.
20972
d605071e
MF
209732013-06-24 Mike Frysinger <vapier@gentoo.org>
20974
20975 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20976 (ALIGN_UP): Likewise.
20977 (PTR_ALIGN_DOWN): Likewise.
20978 (PTR_ALIGN_UP): Likewise.
20979
2f063a6e
RA
209802013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20981
20982 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20983 entry mapped to PPC_PLATFORM_POWER8.
20984 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20985 POWER8.
20986 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20987 (_dl_string_platform): Add case for exporting platform position for
20988 POWER8.
20989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20990 search path to sysdeps/powerpc/powerpc32/power8 directory.
20991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20992 search path to sysdeps/powerpc/powerpc64/power8 directory.
20993 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20994 power7 directories.
20995 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20996 power7 directories.
20997
a31ee4b3
SP
209982013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20999
a74ca98f
SP
21000 * INSTALL: Regenerate.
21001
a31ee4b3
SP
21002 * nscd/connections.c (nscd_init): Fix comment.
21003
695c378f
JM
210042013-06-22 Joseph Myers <joseph@codesourcery.com>
21005
d8412221
JM
21006 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21007
695c378f
JM
21008 [BZ #15667]
21009 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21010 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21011
d1d54715
MR
210122013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21013
21014 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21015 DL_DST_REQ_STATIC.
21016 (DL_DST_REQ_STATIC): Remove macro.
21017
8fdda7af
JM
210182013-06-21 Joseph Myers <joseph@codesourcery.com>
21019
21020 [BZ #7006]
21021 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21022 with a shift of 0 bits.
21023
f3bc5e5a
MR
210242013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21025
21026 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21027 $(tststatic-ENV).
21028
be09e8c9
KK
210292013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21030
21031 [BZ #15655]
21032 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21033
85c2e611
AZ
210342013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21035
21036 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21037 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21038 accepts -fno-tree-loop-distribute-patterns.
21039 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21040 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21041 recursive call.
21042 * string/memset.c (memset): Likewise.
21043 * string/test-memmove.c (simple_memmove): Disable loop transformation
21044 to library calls.
21045 * string/test-memset.c (simple_memset): Likewise.
21046 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21047 * benchtests/bench-memset.c (simple_memset): Likewise.
21048 * configure: Regenerated.
21049
c91e0825
JM
210502013-06-20 Joseph Myers <joseph@codesourcery.com>
21051
b8c792af
JM
21052 * math/test-misc.c (main): Ignore fesetround failure when failures
21053 of subsequent rounding tests would be ignored.
21054
c91e0825
JM
21055 [BZ #15654]
21056 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21057 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21058 * math/fegetenv.c (__fegetenv): Return 0.
21059 * math/fegetexcept.c (fegetexcept): Return 0.
21060 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21061 FE_TONEAREST.
21062 * math/feholdexcpt.c (feholdexcept): Return 0.
21063 * math/fesetenv.c (__fesetenv): Return 0.
21064 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21065 argument FE_TONEAREST.
21066 * math/feupdateenv.c (__feupdateenv): Return 0.
21067 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21068
bfcacbde
RM
210692013-06-18 Roland McGrath <roland@hack.frob.com>
21070
21071 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21072 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21073 ($(objpfx)rtld-%.os rules): Use them.
21074
e55a9b25
AZ
210752013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21076
21077 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21078 fields.
21079
346d65b3
RM
210802013-06-17 Roland McGrath <roland@hack.frob.com>
21081
12086fb4
RM
21082 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21083 length of target pattern, then descending length of dependency pattern.
21084 * configure.in (AWK): Require gawk 3.1.2 or newer.
21085 * manual/install.texi (Tools for Compilation): Say that we do.
21086 * configure: Regenerated.
21087
346d65b3
RM
21088 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21089 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21090 * scripts/sysd-rules.awk: ... this new script.
21091 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21092 than a glob-style pattern.
21093
1a846317
JM
210942013-06-17 Joseph Myers <joseph@codesourcery.com>
21095
21096 * math/test-misc.c (main): Do not treat incorrectly rounded
21097 conversions as failure unless ROUNDING_TESTS passes.
21098
8fc75e6f
JM
210992013-06-15 Joseph Myers <joseph@codesourcery.com>
21100
3711a167
JM
21101 [BZ #15631]
21102 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21103 restore exception state around main square root computation, then
21104 check for inexactness explicitly.
21105
8fc75e6f
JM
21106 * math/libm-test.inc (fma_test_data): Add another test.
21107
61dd6208
SP
211082013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21109
adf23d2c
SP
21110 * manual/threads.texi (Non-POSIX Extensions): New document
21111 node. Document pthread_getattr_default_np and
21112 pthread_setattr_default_np.
21113
61dd6208
SP
21114 * Versions.def (libpthread): Add GLIBC_2.18.
21115 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21117 Likewise.
21118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21119 Likewise.
21120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21121 Likewise.
21122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21123 Likewise.
21124 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21125 Likewise.
21126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21127 Likewise.
21128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21129 Likewise.
21130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21131 Likewise.
21132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21133 Likewise.
21134
d086fc7b
LD
211352013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21136
21137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21138 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21139
747ef469
SP
211402013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21141 H.J. Lu <hjl.tools@gmail.com>
21142
21143 [BZ #15627]
21144 * sysdeps/x86_64/rtld-memset.c: Remove file.
21145 * sysdeps/x86_64/rtld-memset.S: New file.
21146
1b2feed2
JM
211472013-06-14 Joseph Myers <joseph@codesourcery.com>
21148
21149 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21150 (test_in_one_mode): Take arguments for whether the rounding mode
21151 is supported for each floating-point type.
21152 (do_test): Pass new arguments to test_in_one_mode using
21153 ROUNDING_TESTS.
21154
a58ad3f8
RM
211552013-06-13 Roland McGrath <roland@hack.frob.com>
21156
21157 * posix/tst-waitid.c (do_test): Distinguish different instances of
21158 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21159 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21160 before entering the kernel for waitpid.
21161
c204ab28
SP
211622013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21163
21164 * NEWS: Fix note on clock function precision. Text by Roland
21165 McGrath.
21166
f4a29fba
RM
211672013-06-13 Roland McGrath <roland@hack.frob.com>
21168
21169 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21170 it into place only when and if the sanity check passes.
21171
1f24b9ad
JM
211722013-06-13 Joseph Myers <joseph@codesourcery.com>
21173
21174 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21175 output for whether conversion result is exact. Take argument
21176 indicating whether type is IBM long double.
21177 (round_for_all): Change need_exact field to ibm_ld.
21178 * stdlib/tst-strtod-round.c (struct exactness): New type.
21179 (struct test): Change bool ld_ok field to struct exactness exact.
21180 (TEST): Update all definitions for change to field.
21181 (tests): Regenerate array contents.
21182 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21183 field value. Check for IBM long double here.
21184 (do_test): Update calls to test_in_one_mode.
21185
58206c68
SP
211862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21187
21188 [BZ #12515]
21189 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21190 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21191
2d6f4c5b 211922013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21193
21194 [BZ #15605]
21195 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21196 generated by the compiler on loop optimizations.
21197 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21198 general definitions.
21199
94f2c076
JM
212002013-06-12 Joseph Myers <joseph@codesourcery.com>
21201
21202 * math/bug-nextafter.c: Include <math-tests.h>.
21203 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21204 the relevant type.
21205 * math/bug-nexttoward.c: Include <math-tests.h>.
21206 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21207 the relevant type.
21208 * math/test-misc.c: Include <math-tests.h>.
21209 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21210 the relevant type.
21211
e0e50a0a
AJ
212122013-06-12 Andreas Jaeger <aj@suse.de>
21213
21214 * po/ia.po: Update Interlingua translation from translation
21215 project.
21216
25061094
SP
212172013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21218
21219 * include/fenv.h: Include stdbool.h.
21220 (struct rm_ctx): New structure.
21221 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21222 Define macro.
21223 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21224 (SET_RESTORE_ROUNDF): Likewise.
21225 (SET_RESTORE_ROUNDL): Likewise.
21226 (SET_RESTORE_ROUND_NOEX): Likewise.
21227 (SET_RESTORE_ROUND_NOEXF): Likewise.
21228 (SET_RESTORE_ROUND_NOEXL): Likewise.
21229 (SET_RESTORE_ROUND_53BIT): Likewise.
21230 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21231 (libc_feresetround_noexf_ctx): Likewise.
21232 (libc_feresetround_noexl_ctx): Likewise.
21233 (libc_feholdsetround_53bit_ctx): Likewise.
21234 (libc_feresetround_53bit_ctx): Likewise.
21235 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21236 (libc_feholdexcept_setround_sse_ctx): New function.
21237 (libc_fesetenv_sse_ctx): Likewise.
21238 (libc_feupdateenv_sse_ctx): Likewise.
21239 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21240 (libc_feholdexcept_setround_387_ctx): Likewise.
21241 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21242 (libc_feholdsetround_387_prec_ctx): Likewise.
21243 (libc_feholdsetround_387_ctx): Likewise.
21244 (libc_feholdsetround_387_53bit_ctx): Likewise.
21245 (libc_feholdsetround_sse_ctx): Likewise.
21246 (libc_feresetround_sse_ctx): Likewise.
21247 (libc_feresetround_387_ctx): Likewise.
21248 (libc_feupdateenv_387_ctx): Likewise.
21249 (libc_feholdexcept_setroundf_ctx): Define macro.
21250 (libc_fesetenvf_ctx): Likewise.
21251 (libc_feupdateenvf_ctx): Likewise.
21252 (libc_feholdsetroundf_ctx): Likewise.
21253 (libc_feresetroundf_ctx): Likewise.
21254 (libc_feholdexcept_setround_ctx): Likewise.
21255 (libc_fesetenv_ctx): Likewise.
21256 (libc_feupdateenv_ctx): Likewise.
21257 (libc_feholdsetround_ctx): Likewise.
21258 (libc_feresetround_ctx): Likewise.
21259 (libc_feholdexcept_setroundl_ctx): Likewise.
21260 (libc_feupdateenvl_ctx): Likewise.
21261 (libc_feholdsetroundl_ctx): Likewise.
21262 (libc_feresetroundl_ctx): Likewise.
21263 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21264 (libc_feresetround_53bit_ctx): Likewise.
21265
59b30555
SP
212662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21267
21268 * locale/iso-639.def: Convert to UTF-8.
21269
f1d73d30
JM
212702013-06-11 Joseph Myers <joseph@codesourcery.com>
21271
21272 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21273 (EXCEPTION_TESTS_double): Likewise.
21274 (EXCEPTION_TESTS_long_double): Likewise.
21275 (EXCEPTION_TESTS): Likewise.
21276 * math/libm-test.inc (test_exceptions): Only test exceptions if
21277 EXCEPTION_TESTS (FLOAT).
21278
94aca5e7
SP
212792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21280
21281 * benchtests/Makefile (string-bench): Add strcpy_chk and
21282 stpcpy_chk.
21283 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21284 * benchtests/bench-stpcpy_chk.c: New file.
21285 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21286 * benchtests/bench-strcpy_chk.c: New file.
21287 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21288 code.
21289 (do_test): Likewise.
21290
fac0c5f2
RA
212912013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21292
21293 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21294 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21295 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21296 with tabs where appropriate.
21297 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21298 dl-procinfo.h.
21299 [PPC_PLATFORM_PPC440]: Likewise.
21300 [PPC_PLATFORM_PPC464]: Likewise.
21301 [PPC_PLATFORM_PPC476]: Likewise.
21302 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21303 ppc464, and ppc476 platform strings merging from ports/
21304 dl-procinfo.h.
21305
f22bc486
AS
213062013-06-11 Andreas Schwab <schwab@suse.de>
21307
21308 [BZ #14991]
21309 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21310 (from_ucs4_idx): Regenerate.
21311 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21312 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21313 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21314 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21315 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21316 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21317 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21318 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21319 from FROM_LOOP and TO_LOOP specific macros.
21320 (BODY): Handle combining characters.
21321 * iconvdata/BIG5HKSCS.irreversible: Update.
21322 * iconvdata/BIG5HKSCS.precomposed: New file.
21323 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21324 characters.
21325 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21326
c1f75dc3
SP
213272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21328
4eacded2
SP
21329 * include/sys/time.h: Fix indentation and add copyright header.
21330
fec799f8
SP
21331 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21332 (do_test): Likewise.
21333 * string/test-memchr.c (do_one_test): Likewise.
21334 (do_test): Likewise.
21335 * string/test-memcmp.c (do_one_test): Likewise.
21336 (do_test): Likewise.
21337 * string/test-memcpy.c (do_one_test): Likewise.
21338 (do_test): Likewise.
21339 * string/test-memmem.c (do_one_test): Likewise.
21340 (do_test): Likewise.
21341 (do_random_tests): Likewise.
21342 * string/test-memmove.c (do_one_test): Likewise.
21343 (do_test): Likewise.
21344 * string/test-memset.c (do_one_test): Likewise.
21345 (do_test): Likewise.
21346 * string/test-rawmemchr.c (do_one_test): Likewise.
21347 (do_test): Likewise.
21348 * string/test-strcasecmp.c (do_one_test): Likewise.
21349 (do_test): Likewise.
21350 * string/test-strcasestr.c (do_one_test): Likewise.
21351 (do_test): Likewise.
21352 * string/test-strcat.c (do_one_test): Likewise.
21353 (do_test): Likewise.
21354 * string/test-strchr.c (do_one_test): Likewise.
21355 (do_test): Likewise.
21356 * string/test-strcmp.c (do_one_test): Likewise.
21357 (do_test): Likewise.
21358 * string/test-strcpy.c (do_one_test): Likewise.
21359 (do_test): Likewise.
21360 * string/test-string.h: Likewise.
21361 (test_init): Likewise.
21362 * string/test-strlen.c (do_one_test): Likewise.
21363 (do_test): Likewise.
21364 * string/test-strncasecmp.c (do_one_test): Likewise.
21365 (do_test): Likewise.
21366 * string/test-strncat.c (do_one_test): Likewise.
21367 (do_test): Likewise.
21368 * string/test-strncmp.c (do_one_test): Likewise.
21369 (do_test_limit): Likewise.
21370 (do_test): Likewise.
21371 * string/test-strncpy.c (do_one_test): Likewise.
21372 (do_test): Likewise.
21373 * string/test-strnlen.c (do_one_test): Likewise.
21374 (do_test): Likewise.
21375 * string/test-strpbrk.c (do_one_test): Likewise.
21376 (do_test): Likewise.
21377 * string/test-strrchr.c (do_one_test): Likewise.
21378 (do_test): Likewise.
21379 * string/test-strspn.c (do_one_test): Likewise.
21380 (do_test): Likewise.
21381 * string/test-strstr.c (do_one_test): Likewise.
21382 (do_test): Likewise.
21383
97020474
SP
21384 * benchtests/Makefile (string-bench): Add string benchmarks.
21385 * benchtests/bench-bcopy-ifunc.c: New file.
21386 * benchtests/bench-bcopy.c: New file.
21387 * benchtests/bench-bzero-ifunc.c: New file.
21388 * benchtests/bench-bzero.c: New file.
21389 * benchtests/bench-memccpy-ifunc.c: New file.
21390 * benchtests/bench-memccpy.c: New file.
21391 * benchtests/bench-memchr-ifunc.c: New file.
21392 * benchtests/bench-memchr.c: New file.
21393 * benchtests/bench-memcmp-ifunc.c: New file.
21394 * benchtests/bench-memcmp.c: New file.
21395 * benchtests/bench-memmem-ifunc.c: New file.
21396 * benchtests/bench-memmem.c: New file.
21397 * benchtests/bench-memmove-ifunc.c: New file.
21398 * benchtests/bench-memmove.c: New file.
21399 * benchtests/bench-mempcpy-ifunc.c: New file.
21400 * benchtests/bench-mempcpy.c: New file.
21401 * benchtests/bench-memset-ifunc.c: New file.
21402 * benchtests/bench-memset.c: New file.
21403 * benchtests/bench-rawmemchr-ifunc.c: New file.
21404 * benchtests/bench-rawmemchr.c: New file.
21405 * benchtests/bench-stpcpy-ifunc.c: New file.
21406 * benchtests/bench-stpcpy.c: New file.
21407 * benchtests/bench-stpncpy-ifunc.c: New file.
21408 * benchtests/bench-stpncpy.c: New file.
21409 * benchtests/bench-strcasecmp-ifunc.c: New file.
21410 * benchtests/bench-strcasecmp.c: New file.
21411 * benchtests/bench-strcasestr-ifunc.c: New file.
21412 * benchtests/bench-strcasestr.c: New file.
21413 * benchtests/bench-strcat-ifunc.c: New file.
21414 * benchtests/bench-strcat.c: New file.
21415 * benchtests/bench-strchr-ifunc.c: New file.
21416 * benchtests/bench-strchr.c: New file.
21417 * benchtests/bench-strchrnul-ifunc.c: New file.
21418 * benchtests/bench-strchrnul.c: New file.
21419 * benchtests/bench-strcmp-ifunc.c: New file.
21420 * benchtests/bench-strcmp.c: New file.
21421 * benchtests/bench-strcpy-ifunc.c: New file.
21422 * benchtests/bench-strcpy.c: New file.
21423 * benchtests/bench-strcspn-ifunc.c: New file.
21424 * benchtests/bench-strcspn.c: New file.
21425 * benchtests/bench-strlen-ifunc.c: New file.
21426 * benchtests/bench-strlen.c: New file.
21427 * benchtests/bench-strncasecmp-ifunc.c: New file.
21428 * benchtests/bench-strncasecmp.c: New file.
21429 * benchtests/bench-strncat-ifunc.c: New file.
21430 * benchtests/bench-strncat.c: New file.
21431 * benchtests/bench-strncmp-ifunc.c: New file.
21432 * benchtests/bench-strncmp.c: New file.
21433 * benchtests/bench-strncpy-ifunc.c: New file.
21434 * benchtests/bench-strncpy.c: New file.
21435 * benchtests/bench-strnlen-ifunc.c: New file.
21436 * benchtests/bench-strnlen.c: New file.
21437 * benchtests/bench-strpbrk-ifunc.c: New file.
21438 * benchtests/bench-strpbrk.c: New file.
21439 * benchtests/bench-strrchr-ifunc.c: New file.
21440 * benchtests/bench-strrchr.c: New file.
21441 * benchtests/bench-strspn-ifunc.c: New file.
21442 * benchtests/bench-strspn.c: New file.
21443 * benchtests/bench-strstr-ifunc.c: New file.
21444 * benchtests/bench-strstr.c: New file.
21445
c1f75dc3
SP
21446 * benchtests/Makefile: Disable parallel execution of targets.
21447 (string-bench): Add memcpy.
21448 (benchset): New variable to store a list of benchmark sets.
21449 (bench-func): Renamed from bench.
21450 (bench-set): New target.
21451 (bench): Depend on bench-func and bench-set.
21452 * benchtests/README: Add section on benchmark sets.
21453 * benchtests/bench-memcpy-ifunc.c: New file.
21454 * benchtests/bench-memcpy.c: New file.
21455 * benchtests/bench-string.h: New file.
21456
50fd745b
AS
214572013-06-11 Andreas Schwab <schwab@suse.de>
21458
21459 [BZ #15577]
21460 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21461 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21462 values in the triple.
21463 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21464 terminator in the group key.
21465
3ee7e9fe
AJ
214662013-06-11 Andreas Jaeger <aj@suse.de>
21467
21468 * po/zh_TW.po: Update Chinese (traditional) translation from
21469 translation project.
21470
89fb6835
SP
214712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21472
21473 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21474 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21475 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21476 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21477 (clock_getcpuclockid): Likewise.
21478 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21479 Add weak_alias and libc_hidden_def.
21480 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21481 * rt/clock_gettime.c (clock_gettime): Rename to
21482 __clock_gettime. Add weak_alias and libc_hidden_def.
21483 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21484 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21485 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21486 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21487 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21488 Likewise.
21489 * rt/clock_settime.c (clock_settime): Rename to
21490 __clock_settime. Add weak_alias and libc_hidden_def.
21491 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21492
0efa6f8b
JM
214932013-06-10 Joseph Myers <joseph@codesourcery.com>
21494
b8c61b4b
JM
21495 * mach/err_boot.sub: Remove trailing whitespace.
21496 * mach/err_ipc.sub: Likewise.
21497 * mach/err_mach.sub: Likewise.
21498
0efa6f8b
JM
21499 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21500 (ROUNDING_TESTS_double): Likewise.
21501 (ROUNDING_TESTS_long_double): Likewise.
21502 (ROUNDING_TESTS): Likewise.
21503 * math/libm-test.inc: Include <math-tests.h>.
21504 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21505 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21506 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21507 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21508
50b818bf
SP
215092013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21510
21511 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21512 of assigning.
21513
60d2f8f3
JM
215142013-06-08 Joseph Myers <joseph@codesourcery.com>
21515
4902d2c3
JM
21516 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21517 otherwise empty TRANS lines.
21518 * sysdeps/gnu/errlist.c: Regenerated.
21519
60d2f8f3
JM
21520 * catgets/gencat.c (error_print): Use (void) in function
21521 definition.
21522 * crypt/crypt_util.c (__init_des): Likewise.
21523 * crypt/speeds.c (Stop): Likewise.
21524 (main): Likewise.
21525 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21526 * inet/ruserpass.c (token): Likewise.
21527 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21528 * intl/localealias.c (extend_alias_table): Likewise.
21529 * intl/plural-exp.c (init_germanic_plural): Likewise.
21530 * libio/fcloseall.c (__fcloseall): Likewise.
21531 * libio/genops.c (_IO_flush_all): Likewise.
21532 (_IO_flush_all_linebuffered): Likewise.
21533 (_IO_cleanup): Likewise.
21534 (_IO_iter_begin): Likewise.
21535 (_IO_iter_end): Likewise.
21536 (_IO_list_lock): Likewise.
21537 (_IO_list_unlock): Likewise.
21538 (_IO_list_resetlock): Likewise.
21539 * libio/getchar.c (getchar): Likewise.
21540 * libio/getchar_u.c (getchar_unlocked): Likewise.
21541 * libio/getwchar.c (getwchar): Likewise.
21542 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21543 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21544 * login/getpt.c (__getpt): Likewise.
21545 * login/tst-utmp.c (main): Likewise.
21546 * malloc/hooks.c (__malloc_check_init): Likewise.
21547 * malloc/malloc.c (__malloc_stats): Likewise.
21548 * malloc/mtrace.c (tr_break): Likewise.
21549 (mtrace): Likewise.
21550 (muntrace): Likewise.
21551 * misc/fstab.c (endfsent): Likewise.
21552 * misc/getclktck.c (__getclktck): Likewise.
21553 * misc/getdtsz.c (__getdtablesize): Likewise.
21554 * misc/gethostid.c (gethostid): Likewise.
21555 * misc/getpagesize.c (__getpagesize): Likewise.
21556 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21557 (__get_nprocs): Likewise.
21558 (__get_phys_pages): Likewise.
21559 (__get_avphys_pages): Likewise.
21560 * misc/getttyent.c (getttyent): Likewise.
21561 (setttyent): Likewise.
21562 (endttyent): Likewise.
21563 * misc/getusershell.c (getusershell): Likewise.
21564 (endusershell): Likewise.
21565 (setusershell): Likewise.
21566 (initshells): Likewise.
21567 * misc/hsearch.c (__hdestroy): Likewise.
21568 * misc/sync.c (sync): Likewise.
21569 * misc/syslog.c (closelog_internal): Likewise.
21570 (closelog): Likewise.
21571 * misc/ttyslot.c (ttyslot): Likewise.
21572 * misc/vhangup.c (vhangup): Likewise.
21573 * posix/fork.c (__fork): Likewise.
21574 * posix/getegid.c (__getegid): Likewise.
21575 * posix/geteuid.c (__geteuid): Likewise.
21576 * posix/getgid.c (__getgid): Likewise.
21577 * posix/getpid.c (__getpid): Likewise.
21578 * posix/getppid.c (__getppid): Likewise.
21579 * posix/getuid.c (__getuid): Likewise.
21580 * posix/pause.c (pause): Likewise.
21581 * posix/setpgrp.c (setpgrp): Likewise.
21582 * posix/setsid.c (__setsid): Likewise.
21583 * posix/test-vfork.c (noop): Likewise.
21584 * resolv/gethnamaddr.c (_endhtent): Likewise.
21585 (_gethtent): Likewise.
21586 (ht_endhostent): Likewise.
21587 (gethostent): Likewise.
21588 (dns_service): Likewise.
21589 * stdlib/drand48.c (drand48): Likewise.
21590 * stdlib/lrand48.c (lrand48): Likewise.
21591 * stdlib/mrand48.c (mrand48): Likewise.
21592 * stdlib/rand.c (rand): Likewise.
21593 * stdlib/random.c (__random): Likewise.
21594 * stdlib/setenv.c (clearenv): Likewise.
21595 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21596 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21597 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21598 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21599 (__get_nprocs): Likewise.
21600 (__get_phys_pages): Likewise.
21601 (__get_avphys_pages): Likewise.
21602 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21603 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21604 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21605 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21606 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21607 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21608 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21609 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21610 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21611 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21612 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21613 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21614 * sysdeps/posix/clock.c (clock): Likewise.
21615 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21616 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21617 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21618 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21619 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21620 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21621 (__get_nprocs_conf): Likewise.
21622 (__get_phys_pages): Likewise.
21623 (__get_avphys_pages): Likewise.
21624 * time/clock.c (clock): Likewise.
21625 * time/tzset.c (__tzname_max): Likewise.
21626
2e09a79a
JM
216272013-06-07 Joseph Myers <joseph@codesourcery.com>
21628
21629 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21630 (__bswap_32): Do not use "register".
21631 * crypt/crypt.c (_ufc_doit_r): Likewise.
21632 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21633 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21634 * gmon/gmon.c (__monstartup): Likewise.
21635 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21636 * hurd/hurdmalloc.c (more_memory): Likewise.
21637 (malloc): Likewise.
21638 (free): Likewise.
21639 (realloc): Likewise.
21640 (malloc_fork_prepare): Likewise.
21641 (malloc_fork_parent): Likewise.
21642 (malloc_fork_child): Likewise.
21643 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21644 (_svcauth_des): Likewise.
21645 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21646 * inet/inet_net.c (inet_network): Likewise.
21647 * inet/inet_netof.c (inet_netof): Likewise.
21648 * inet/rcmd.c (__validuser2_sa): Likewise.
21649 * io/fts.c (fts_open): Likewise.
21650 (fts_load): Likewise.
21651 (fts_close): Likewise.
21652 (fts_read): Likewise.
21653 (fts_children): Likewise.
21654 (fts_build): Likewise.
21655 (fts_stat): Likewise.
21656 (fts_sort): Likewise.
21657 (fts_alloc): Likewise.
21658 (fts_lfree): Likewise.
21659 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21660 (_IO_file_xsgetn): Likewise.
21661 (_IO_file_xsgetn_mmap): Likewise.
21662 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21663 (_IO_cookie_write): Likewise.
21664 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21665 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21666 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21667 * malloc/obstack.c (_obstack_begin): Likewise.
21668 (_obstack_begin_1): Likewise.
21669 (_obstack_newchunk): Likewise.
21670 (_obstack_allocated_p): Likewise.
21671 (obstack_free): Likewise.
21672 (_obstack_memory_used): Likewise.
21673 * misc/getttyent.c (getttynam): Likewise.
21674 (getttyent): Likewise.
21675 (skip): Likewise.
21676 (value): Likewise.
21677 * misc/getusershell.c (initshells): Likewise.
21678 * misc/syslog.c (__vsyslog_chk): Likewise.
21679 * misc/ttyslot.c (ttyslot): Likewise.
21680 * nis/nis_hash.c (__nis_hash): Likewise.
21681 * posix/fnmatch_loop.c (FCT): Likewise.
21682 * posix/getconf.c (print_all): Likewise.
21683 (main): Likewise.
21684 * posix/getopt.c (exchange): Likewise.
21685 * posix/glob.c (globfree): Likewise.
21686 (prefix_array): Likewise.
21687 (__glob_pattern_type): Likewise.
21688 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21689 (NS_GET32): Likewise.
21690 (NS_PUT16): Likewise.
21691 (NS_PUT32): Likewise.
21692 * resolv/gethnamaddr.c (getanswer): Likewise.
21693 (gethostbyname2): Likewise.
21694 (gethostbyaddr): Likewise.
21695 (_gethtent): Likewise.
21696 (_gethtbyname2): Likewise.
21697 (_gethtbyaddr): Likewise.
21698 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21699 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21700 * resolv/res_init.c (__res_vinit): Likewise.
21701 (net_mask): Likewise.
21702 * resolv/res_mkquery.c (outchar): Likewise.
21703 (PRINT): Likewise.
21704 * stdio-common/printf_fp.c (outchar): Likewise.
21705 (PRINT): Likewise.
21706 * stdio-common/printf_fphex.c (outchar): Likewise.
21707 (PRINT): Likewise.
21708 * stdio-common/printf_size.c (outchar): Likewise.
21709 (PRINT): Likewise.
21710 * stdio-common/test_rdwr.c (main): Likewise.
21711 * stdio-common/tfformat.c (matches): Likewise.
21712 * stdio-common/vfprintf.c (outchar): Likewise.
21713 (printf_unknown): Likewise.
21714 (buffered_vfprintf): Likewise.
21715 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21716 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21717 (ReadFile): Likewise.
21718 * stdlib/qsort.c (SWAP): Likewise.
21719 (_quicksort): Likewise.
21720 * stdlib/setenv.c (__add_to_environ): Likewise.
21721 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21722 * stdlib/strtol_l.c (__strtol_l): Likewise.
21723 * stdlib/tst-strtod.c (main): Likewise.
21724 * stdlib/tst-strtol.c (main): Likewise.
21725 * stdlib/tst-strtoll.c (main): Likewise.
21726 * string/bits/string2.h (__strcmp_cc): Likewise.
21727 (__strcmp_cg): Likewise.
21728 (__strcspn_c1): Likewise.
21729 (__strcspn_c2): Likewise.
21730 (__strcspn_c3): Likewise.
21731 (__strspn_c1): Likewise.
21732 (__strspn_c2): Likewise.
21733 (__strspn_c3): Likewise.
21734 (__strsep_1c): Likewise.
21735 (__strsep_2c): Likewise.
21736 (__strsep_3c): Likewise.
21737 * string/memccpy.c (__memccpy): Likewise.
21738 * string/stpcpy.c (__stpcpy): Likewise.
21739 * string/strcmp.c (strcmp): Likewise.
21740 * string/strrchr.c (strrchr): Likewise.
21741 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21742 Likewise.
21743 * sysdeps/mach/hurd/getcwd.c
21744 (_hurd_canonicalize_directory_name_internal): Likewise.
21745 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21746 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21747 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21748 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21749 Likewise, in both definitions.
21750 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21751 definitions.
21752 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21753 64] (__bswap_64): Likewise.
21754 * time/test_time.c (main): Likewise.
21755 * time/tzfile.c (__tzfile_read): Likewise.
21756 (__tzfile_compute): Likewise.
21757 * time/tzset.c (__tzset_parse_tz): Likewise.
21758 (tzset_internal): Likewise.
21759 (compute_change): Likewise.
21760 * wcsmbs/wcscat.c (__wcscat): Likewise.
21761 * wcsmbs/wcschr.c (wcschr): Likewise.
21762 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21763 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21764 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21765 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21766 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21767 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21768 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21769 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21770 * wcsmbs/wmemset.c (wmemset): Likewise.
21771
9e54314b
JM
217722013-06-06 Joseph Myers <joseph@codesourcery.com>
21773
21774 * scripts/config.guess: Update to version 2013-05-16.
21775 * scripts/config.sub: Update to version 2013-04-24.
21776 * scripts/install-sh: Update to version 2011-11-20.07.
21777 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21778 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21779
350635a5
OB
217802013-06-06 Ondřej Bílka <neleai@seznam.cz>
21781
21782 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21783 * elf/sln.c: Likewise.
21784 * hurd/hurd/ioctl.h: Likewise.
21785 * hurd/hurdmalloc.c: Likewise.
21786 * hurd/xattr.c: Likewise.
21787 * include/shlib-compat.h: Likewise.
21788 * inet/ruserpass.c: Likewise.
21789 * libio/iofgets_u.c: Likewise.
21790 * libio/iofgetws_u.c: Likewise.
21791 * locale/programs/ld-identification.c: Likewise.
21792 * locale/programs/ld-time.c: Likewise.
21793 * mach/msg-destroy.c: Likewise.
21794 * nss/nss_files/files-netgrp.c: Likewise.
21795 * resolv/res_data.c: Likewise.
21796 * soft-fp/op-1.h: Likewise.
21797 * soft-fp/op-2.h: Likewise.
21798 * soft-fp/op-4.h: Likewise.
21799 * soft-fp/op-common.h: Likewise.
21800 * stdio-common/printf_fphex.c: Likewise.
21801 * stdlib/strtod_l.c: Likewise.
21802 * sunrpc/rpc/clnt.h: Likewise.
21803 * sysdeps/generic/framestate.c: Likewise.
21804 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21805 * sysdeps/i386/bsd-setjmp.S: Likewise.
21806 * sysdeps/i386/__longjmp.S: Likewise.
21807 * sysdeps/i386/setjmp.S: Likewise.
21808 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21809 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21815 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21818 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21819 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21820 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21824 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21825 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21826 * sysdeps/ieee754/support.c: Likewise.
21827 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21828 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21829 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21830 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21831 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21832 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21833 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21834 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21835 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21836 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21837 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21838 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21839 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21840 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21841 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21842 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21843 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21845
44a988af
OB
218462013-06-05 Ondřej Bílka <neleai@seznam.cz>
21847
25506f09 21848 * posix/transbug.c: Remove executable mode.
44a988af 21849
9c84384c
JM
218502013-06-05 Joseph Myers <joseph@codesourcery.com>
21851
21852 * crypt/speeds.c: Remove trailing whitespace.
21853 * dlfcn/default.c: Likewise.
21854 * elf/ifuncdep2.c: Likewise.
21855 * elf/ifuncmain1.c: Likewise.
21856 * elf/ifuncmain1vis.c: Likewise.
21857 * elf/testobj.h: Likewise.
21858 * elf/tst-stackguard1.c: Likewise.
21859 * gmon/sys/gmon.h: Likewise.
21860 * hurd/hurdmsg.c: Likewise.
21861 * hurd/new-fd.c: Likewise.
21862 * hurd/ports-get.c: Likewise.
21863 * iconvdata/ibm1008_420.c: Likewise.
21864 * inet/tst-getni1.c: Likewise.
21865 * inet/tst-getni2.c: Likewise.
21866 * libio/ioungetc.c: Likewise.
21867 * libio/wfiledoalloc.c: Likewise.
21868 * manual/libm-err-tab.pl: Likewise.
21869 * math/w_dremf.c: Likewise.
21870 * misc/ftruncate.c: Likewise.
21871 * posix/bug-glob2.c: Likewise.
21872 * posix/tst-pcre.c: Likewise.
21873 * posix/wait4.c: Likewise.
21874 * resolv/README: Likewise.
21875 * resolv/res_debug.h: Likewise.
21876 * resolv/tst-inet_ntop.c: Likewise.
21877 * setjmp/bug269-setjmp.c: Likewise.
21878 * soft-fp/extended.h: Likewise.
21879 * soft-fp/op-1.h: Likewise.
21880 * soft-fp/op-2.h: Likewise.
21881 * soft-fp/op-4.h: Likewise.
21882 * soft-fp/op-8.h: Likewise.
21883 * soft-fp/testit.c: Likewise.
21884 * stdio-common/bug16.c: Likewise.
21885 * stdlib/random.c: Likewise.
21886 * sunrpc/rpcsvc/rquota.x: Likewise.
21887 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21888 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21889 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21890 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21891 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21892 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21893 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21894 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21895 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21896 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21897 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21898 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21899 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21900 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21902 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21903 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21904 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21905 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21906 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21907 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21908 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21909 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21910 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21911 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21912 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21913 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21914 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21915 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21916 * sysdeps/ieee754/s_lib_version.c: Likewise.
21917 * sysdeps/mach/hurd/check_fds.c: Likewise.
21918 * sysdeps/mach/hurd/getsockname.c: Likewise.
21919 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21920 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21921 * sysdeps/powerpc/bits/link.h: Likewise.
21922 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21923 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21924 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21925 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21926 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21927 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21928 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21929 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21930 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21931 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21932 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21933 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21934 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21935 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21936 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21937 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21939 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21940 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21941 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21942 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21943 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21944 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21945 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21946 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21947 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21948 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21949 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21950 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21951 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21952 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21953 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21955 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21956 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21957 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21958 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21959 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21960 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21961 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21962 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21963 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21964 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21965 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21966 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21967 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21968 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21969 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21970 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21971 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21972 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21974 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21975 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21976 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21977 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21978 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21979 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21980 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21981 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21982 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21983 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21984 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21985 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21986 * sysdeps/powerpc/sysdep.h: Likewise.
21987 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21988 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21989 * sysdeps/sh/dl-trampoline.S: Likewise.
21990 * sysdeps/sh/memset.S: Likewise.
21991 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21992 * sysdeps/sh/strlen.S: Likewise.
21993 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21994 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21995 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21996 * sysdeps/sparc/sparc32/rem.S: Likewise.
21997 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21998 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21999 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22000 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22001 * sysdeps/sparc/sparc32/urem.S: Likewise.
22002 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22003 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22004 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22005 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22006 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22007 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22008 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22009 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22010 * sysdeps/unix/bsd/times.c: Likewise.
22011 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22012 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22016 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22017 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22018 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22019 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22020 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22021 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22022 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22023 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22024 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22025 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22026 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22027 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22028 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22029 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22030 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22031 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22032 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22033 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22034 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22035 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22036 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22037 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22038 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22039 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22040 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22041 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22042 * sysdeps/x86_64/strcspn.S: Likewise.
22043
869378a5
RA
220442013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22045
22046 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22047 generated file. Regenerate properly from gen-translit.pl.
22048 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22049 locale/C-translit.h.
22050
840e2943
AS
220512013-06-05 Andreas Schwab <schwab@suse.de>
22052
22053 [BZ #15100]
22054 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22055 week as 6 instead of -1.
22056 * time/tst-strptime.c (day_tests): Add test case.
22057
4c60cb0c
SP
220582013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22059
22060 * sysdeps/generic/math_private.h
22061 (libc_feholdexcept_setround_53bit): Replace with
22062 libc_feholdsetround_53bit.
22063 (libc_feupdateenv_53bit): Replace with
22064 libc_feresetround_53bit.
22065 (SET_RESTORE_ROUND_53BIT): Adjust.
22066
d180203e
SP
220672013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22068
96df079a
SP
22069 * string/test-strchrnul.c: Add copyright header.
22070
d180203e
SP
22071 * posix/tst-getaddrinfo4.c: Increase test timeout.
22072
8b0ccb2d
CD
220732013-06-03 Carlos O'Donell <carlos@redhat.com>
22074
22075 [BZ #15536]
22076 * math/libm-test.inc (MAX_EXP): Remove
22077 (MIN_EXP): Define.
22078 (ulp): Use MIN_EXP - MANT_DIG.
22079 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22080
3b3c4d40
CD
220812013-05-31 Carlos O'Donell <carlos@redhat.com>
22082
22083 * po/be.po: Revert last change.
22084 * po/zh_CN.po: Likewise.
22085 * po/header.pot: Likewise.
22086
fab7ce3f
JM
220872013-05-31 Joseph Myers <joseph@codesourcery.com>
22088
22089 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22090 link-libc-deps to empty as target-specific variable.
22091 * Makerules (link-libc-args): New variable.
22092 (libc-for-link): Likewise.
22093 (link-libc-deps): Likewise.
22094 (lib%.so): Depend on $(link-libc-deps). Link with
22095 $(link-libc-args).
22096 (build-module): Link with $(link-libc-args).
22097 (build-module-asneeded): Likewise.
22098 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22099 list of objects.
22100 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22101 target-specific variable.
22102 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22103 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22104 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22105 libc.
22106 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22107 libc and ld.so.
22108 ($(objpfx)libpcprofile.so): Likewise.
22109 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22110 libc_nonshared.a.
22111 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22112 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22113 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22114 $(link-libc-deps).
22115 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22116 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22117 * login/Makefile ($(objpfx)libutil.so): Likewise.
22118 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22119 * math/Makefile ($(objpfx)libm.so): Likewise.
22120 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22121 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22122 variable instead of depending directly on libc.
22123 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22124 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22125 $(link-libc-deps).
22126 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22127 libc.
22128 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22129 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22130 ($(objpfx)libanl.so): Likewise.
22131 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22132 ld.so.
22133 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22134 $(link-libc-deps).
22135 * sysdeps/i386/fpu/Makefile: Remove file.
22136 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22137 ($(objpfx)libm.so): Remove dependency on ld.so.
22138
eca5920c
PF
221392013-05-30 Patsy Franklin <pfrankli@redhat.com>
22140
22141 [BZ # 15553]
22142 * nis/yp_xdr.c (XDRMAXNAME): Define.
22143 (XDRMAXRECORD): Define.
22144 (xdr_domainname): Use XDRMAXNAME.
22145 (xdr_mapname): Likewise.
22146 (xdr_peername): Likewise.
22147 (xdr_keydat): Use XDRMAXRECORD.
22148 (xdr_valdat): Likewise.
22149
221502013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22151
22152 [BZ #14256]
22153 * manual/errno.texi (ESTALE): Update to account for more than
22154 just NFS file systems.
22155 * sysdeps/gnu/errlist.c: Regenerated.
22156
b9375348
SP
221572013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22158
22159 [BZ #15465]
22160 * elf/Makefile (tests): Add tst-null-argv.
22161 (modules-names): Add tst-null-argv-lib.
22162 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22163 (tst-null-argv-ENV): Set environment for tst-null-argv.
22164 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22165 (RTLD_PROGNAME): New macro.
22166 * elf/tst-null-argv.c: New test case.
22167 * elf/tst-null-argv-lib.c: Library for test case.
22168 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22169 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22170 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22171 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22172 * elf/dl-init.c (call_init): Likewise.
22173 (_dl_init): Likewise.
22174 * elf/dl-load.c (print_search_path): Likewise.
22175 (_dl_map_object): Likewise.
22176 * elf/dl-lookup.c (do_lookup_x): Likewise.
22177 (add_dependency): Likewise.
22178 (_dl_lookup_symbol_x): Likewise.
22179 (_dl_debug_bindings): Likewise.
22180 * elf/dl-open.c (_dl_show_scope): Likewise.
22181 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22182 * elf/dl-version.c (match_symbol): Likewise.
22183 (_dl_check_map_versions): Likewise.
22184 * elf/rtld.c (dl_main): Likewise.
22185 (print_unresolved): Use RTLD_PROGNAME.
22186 (print_missing_version): Likewise.
22187 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22188 (elf_machine_rela): Likewise.
22189 * sysdeps/powerpc/powerpc32/dl-machine.c
22190 (__process_machine_rela): Likewise.
22191 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22192 Likewise.
22193 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22194 Likewise.
22195 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22196 Likewise.
22197 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22199 Likewise.
22200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22201 Likewise.
22202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22203
8a9f20c8
CD
222042013-05-28 Carlos O'Donell <carlos@redhat.com>
22205
22206 * po/be.po: Add descriptive title.
22207 * po/zh_CN.po: Likewise.
22208 * po/header.pot: Likewise.
22209
0e60d68e
MF
222102013-05-28 Mike Frysinger <vapier@gentoo.org>
22211
22212 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22213 error message.
22214 (enlarge_archive): Likewise.
22215
56b672e9
BN
222162013-05-28 Ben North <ben@redfrontdoor.org>
22217
22218 * manual/arith.texi (frexp): It is the magnitude of the return
22219 value which lies in [0.5, 1), not the return value itself.
22220
5e056687
AZ
222212013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22222
22223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22224
2b66ef5d
TS
222252013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22226
528c2405
TS
22227 * stdio-common/bug26.c (main): Correct fscanf template.
22228
07b4c13d
TS
22229 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22230 declare _dl_skip_args.
22231
ec9dd97c
TS
22232 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22233 Don't declare.
22234
2b66ef5d
TS
22235 * manual/platform.texi: Add missing @end deftypefun.
22236
4f8dfe27
JM
222372013-05-24 Joseph Myers <joseph@codesourcery.com>
22238
0323d086
JM
22239 [BZ #15529]
22240 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22241 bit of mantissa of 2^16382.
22242 * math/libm-test.inc (hypot_test_data): Add more tests.
22243
dd4259b9
JM
22244 * math/libm-test.inc: Add drem and pow10 to list of tested
22245 functions.
22246 (pow10_test): New function.
22247 (drem_test): Likewise.
22248 (drem_test_tonearest): Likewise.
22249 (drem_test_towardzero): Likewise.
22250 (drem_test_downward): Likewise.
22251 (drem_test_upward): Likewise.
22252 (main): Call the new functions.
22253
4f8dfe27
JM
22254 * math/libm-test.inc (finite_test_data): Remove.
22255 (finite_test): Run tests from isfinite_test_data.
22256 (gamma_test_data): Remove.
22257 (gamma_test): Run tests from lgamma_test_data.
22258 * sysdeps/i386/fpu/libm-test-ulps: Update.
22259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22260
d116b7c4
AZ
222612013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22262
22263 * manual/platform.texi: Add PowerPC PPR function set documentation.
22264 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22265 implementation.
22266
e96e3767
CD
222672013-05-24 Carlos O'Donell <carlos@redhat.com>
22268
22269 * math/libm-test.inc (MAX_EXP): Define.
22270 (ULPDIFF): Define.
22271 (ulp): New function.
22272 (check_float_internal): Use ULPDIFF.
22273 (cpow_test): Disable failing test.
22274 (check_ulp): Test ulp() implemetnation.
22275 (main): Call check_ulp before starting tests.
22276
b679a606
JM
222772013-05-24 Joseph Myers <joseph@codesourcery.com>
22278
e8bdba36
JM
22279 * math/gen-libm-test.pl (generate_testfile): Do not handle
22280 START_DATA and END_DATA.
22281 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22282 END_DATA.
22283 (acos_tonearest_test_data): Likewise.
22284 (acos_towardzero_test_data): Likewise.
22285 (acos_downward_test_data): Likewise.
22286 (acos_upward_test_data): Likewise.
22287 (acosh_test_data): Likewise.
22288 (asin_test_data): Likewise.
22289 (asin_tonearest_test_data): Likewise.
22290 (asin_towardzero_test_data): Likewise.
22291 (asin_downward_test_data): Likewise.
22292 (asin_upward_test_data): Likewise.
22293 (asinh_test_data): Likewise.
22294 (atan_test_data): Likewise.
22295 (atanh_test_data): Likewise.
22296 (atan2_test_data): Likewise.
22297 (cabs_test_data): Likewise.
22298 (cacos_test_data): Likewise.
22299 (cacosh_test_data): Likewise.
22300 (carg_test_data): Likewise.
22301 (casin_test_data): Likewise.
22302 (casinh_test_data): Likewise.
22303 (catan_test_data): Likewise.
22304 (catanh_test_data): Likewise.
22305 (cbrt_test_data): Likewise.
22306 (ccos_test_data): Likewise.
22307 (ccosh_test_data): Likewise.
22308 (ceil_test_data): Likewise.
22309 (cexp_test_data): Likewise.
22310 (cimag_test_data): Likewise.
22311 (clog_test_data): Likewise.
22312 (clog10_test_data): Likewise.
22313 (conj_test_data): Likewise.
22314 (copysign_test_data): Likewise.
22315 (cos_test_data): Likewise.
22316 (cos_tonearest_test_data): Likewise.
22317 (cos_towardzero_test_data): Likewise.
22318 (cos_downward_test_data): Likewise.
22319 (cos_upward_test_data): Likewise.
22320 (cosh_test_data): Likewise.
22321 (cosh_tonearest_test_data): Likewise.
22322 (cosh_towardzero_test_data): Likewise.
22323 (cosh_downward_test_data): Likewise.
22324 (cosh_upward_test_data): Likewise.
22325 (cpow_test_data): Likewise.
22326 (cproj_test_data): Likewise.
22327 (creal_test_data): Likewise.
22328 (csin_test_data): Likewise.
22329 (csinh_test_data): Likewise.
22330 (csqrt_test_data): Likewise.
22331 (ctan_test_data): Likewise.
22332 (ctan_tonearest_test_data): Likewise.
22333 (ctan_towardzero_test_data): Likewise.
22334 (ctan_downward_test_data): Likewise.
22335 (ctan_upward_test_data): Likewise.
22336 (ctanh_test_data): Likewise.
22337 (ctanh_tonearest_test_data): Likewise.
22338 (ctanh_towardzero_test_data): Likewise.
22339 (ctanh_downward_test_data): Likewise.
22340 (ctanh_upward_test_data): Likewise.
22341 (erf_test_data): Likewise.
22342 (erfc_test_data): Likewise.
22343 (exp_test_data): Likewise.
22344 (exp_tonearest_test_data): Likewise.
22345 (exp_towardzero_test_data): Likewise.
22346 (exp_downward_test_data): Likewise.
22347 (exp_upward_test_data): Likewise.
22348 (exp10_test_data): Likewise.
22349 (exp2_test_data): Likewise.
22350 (expm1_test_data): Likewise.
22351 (fabs_test_data): Likewise.
22352 (fdim_test_data): Likewise.
22353 (finite_test_data): Likewise.
22354 (floor_test_data): Likewise.
22355 (fma_test_data): Likewise.
22356 (fma_towardzero_test_data): Likewise.
22357 (fma_downward_test_data): Likewise.
22358 (fma_upward_test_data): Likewise.
22359 (fmax_test_data): Likewise.
22360 (fmin_test_data): Likewise.
22361 (fmod_test_data): Likewise.
22362 (fpclassify_test_data): Likewise.
22363 (frexp_test_data): Likewise.
22364 (gamma_test_data): Likewise.
22365 (hypot_test_data): Likewise.
22366 (ilogb_test_data): Likewise.
22367 (isfinite_test_data): Likewise.
22368 (isgreater_test_data): Likewise.
22369 (isgreaterequal_test_data): Likewise.
22370 (isinf_test_data): Likewise.
22371 (isless_test_data): Likewise.
22372 (islessequal_test_data): Likewise.
22373 (islessgreater_test_data): Likewise.
22374 (isnan_test_data): Likewise.
22375 (isnormal_test_data): Likewise.
22376 (issignaling_test_data): Likewise.
22377 (isunordered_test_data): Likewise.
22378 (j0_test_data): Likewise.
22379 (j1_test_data): Likewise.
22380 (jn_test_data): Likewise.
22381 (ldexp_test_data): Likewise.
22382 (lgamma_test_data): Likewise.
22383 (lrint_test_data): Likewise.
22384 (lrint_tonearest_test_data): Likewise.
22385 (lrint_towardzero_test_data): Likewise.
22386 (lrint_downward_test_data): Likewise.
22387 (lrint_upward_test_data): Likewise.
22388 (llrint_test_data): Likewise.
22389 (llrint_tonearest_test_data): Likewise.
22390 (llrint_towardzero_test_data): Likewise.
22391 (llrint_downward_test_data): Likewise.
22392 (llrint_upward_test_data): Likewise.
22393 (log_test_data): Likewise.
22394 (log10_test_data): Likewise.
22395 (log1p_test_data): Likewise.
22396 (log2_test_data): Likewise.
22397 (logb_test_data): Likewise.
22398 (logb_downward_test_data): Likewise.
22399 (lround_test_data): Likewise.
22400 (llround_test_data): Likewise.
22401 (modf_test_data): Likewise.
22402 (nearbyint_test_data): Likewise.
22403 (nextafter_test_data): Likewise.
22404 (nexttoward_test_data): Likewise.
22405 (pow_test_data): Likewise.
22406 (pow_tonearest_test_data): Likewise.
22407 (pow_towardzero_test_data): Likewise.
22408 (pow_downward_test_data): Likewise.
22409 (pow_upward_test_data): Likewise.
22410 (remainder_test_data): Likewise.
22411 (remainder_tonearest_test_data): Likewise.
22412 (remainder_towardzero_test_data): Likewise.
22413 (remainder_downward_test_data): Likewise.
22414 (remainder_upward_test_data): Likewise.
22415 (remquo_test_data): Likewise.
22416 (rint_test_data): Likewise.
22417 (rint_tonearest_test_data): Likewise.
22418 (rint_towardzero_test_data): Likewise.
22419 (rint_downward_test_data): Likewise.
22420 (rint_upward_test_data): Likewise.
22421 (round_test_data): Likewise.
22422 (scalb_test_data): Likewise.
22423 (scalbn_test_data): Likewise.
22424 (scalbln_test_data): Likewise.
22425 (signbit_test_data): Likewise.
22426 (sin_test_data): Likewise.
22427 (sin_tonearest_test_data): Likewise.
22428 (sin_towardzero_test_data): Likewise.
22429 (sin_downward_test_data): Likewise.
22430 (sin_upward_test_data): Likewise.
22431 (sincos_test_data): Likewise.
22432 (sinh_test_data): Likewise.
22433 (sinh_tonearest_test_data): Likewise.
22434 (sinh_towardzero_test_data): Likewise.
22435 (sinh_downward_test_data): Likewise.
22436 (sinh_upward_test_data): Likewise.
22437 (sqrt_test_data): Likewise.
22438 (tan_test_data): Likewise.
22439 (tan_tonearest_test_data): Likewise.
22440 (tan_towardzero_test_data): Likewise.
22441 (tan_downward_test_data): Likewise.
22442 (tan_upward_test_data): Likewise.
22443 (tanh_test_data): Likewise.
22444 (tgamma_test_data): Likewise.
22445 (trunc_test_data): Likewise.
22446 (y0_test_data): Likewise.
22447 (y1_test_data): Likewise.
22448 (yn_test_data): Likewise.
22449 (significand_test_data): Likewise.
22450
b679a606
JM
22451 * math/gen-libm-test.pl (@functions): Remove variable.
22452 (generate_testfile): Don't handle START and END lines.
22453 * math/libm-test.inc (START): New macro.
22454 (END): Likewise.
22455 (END_COMPLEX): Likewise.
22456 (acos_test): Use END macro without arguments.
22457 (acos_test_tonearest): Likewise.
22458 (acos_test_towardzero): Likewise.
22459 (acos_test_downward): Likewise.
22460 (acos_test_upward): Likewise.
22461 (acosh_test): Likewise.
22462 (asin_test): Likewise.
22463 (asin_test_tonearest): Likewise.
22464 (asin_test_towardzero): Likewise.
22465 (asin_test_downward): Likewise.
22466 (asin_test_upward): Likewise.
22467 (asinh_test): Likewise.
22468 (atan_test): Likewise.
22469 (atanh_test): Likewise.
22470 (atan2_test): Likewise.
22471 (cabs_test): Likewise.
22472 (cacos_test): Use END_COMPLEX macro without arguments.
22473 (cacosh_test): Likewise.
22474 (carg_test): Use END macro without arguments.
22475 (casin_test): Use END_COMPLEX macro without arguments.
22476 (casinh_test): Likewise.
22477 (catan_test): Likewise.
22478 (catanh_test): Likewise.
22479 (cbrt_test): Use END macro without arguments.
22480 (ccos_test): Use END_COMPLEX macro without arguments.
22481 (ccosh_test): Likewise.
22482 (ceil_test): Use END macro without arguments.
22483 (cexp_test): Use END_COMPLEX macro without arguments.
22484 (cimag_test): Use END macro without arguments.
22485 (clog_test): Use END_COMPLEX macro without arguments.
22486 (clog10_test): Likewise.
22487 (conj_test): Likewise.
22488 (copysign_test): Use END macro without arguments.
22489 (cos_test): Likewise.
22490 (cos_test_tonearest): Likewise.
22491 (cos_test_towardzero): Likewise.
22492 (cos_test_downward): Likewise.
22493 (cos_test_upward): Likewise.
22494 (cosh_test): Likewise.
22495 (cosh_test_tonearest): Likewise.
22496 (cosh_test_towardzero): Likewise.
22497 (cosh_test_downward): Likewise.
22498 (cosh_test_upward): Likewise.
22499 (cpow_test): Use END_COMPLEX macro without arguments.
22500 (cproj_test): Likewise.
22501 (creal_test): Use END macro without arguments.
22502 (csin_test): Use END_COMPLEX macro without arguments.
22503 (csinh_test): Likewise.
22504 (csqrt_test): Likewise.
22505 (ctan_test): Likewise.
22506 (ctan_test_tonearest): Likewise.
22507 (ctan_test_towardzero): Likewise.
22508 (ctan_test_downward): Likewise.
22509 (ctan_test_upward): Likewise.
22510 (ctanh_test): Likewise.
22511 (ctanh_test_tonearest): Likewise.
22512 (ctanh_test_towardzero): Likewise.
22513 (ctanh_test_downward): Likewise.
22514 (ctanh_test_upward): Likewise.
22515 (erf_test): Use END macro without arguments.
22516 (erfc_test): Likewise.
22517 (exp_test): Likewise.
22518 (exp_test_tonearest): Likewise.
22519 (exp_test_towardzero): Likewise.
22520 (exp_test_downward): Likewise.
22521 (exp_test_upward): Likewise.
22522 (exp10_test): Likewise.
22523 (exp2_test): Likewise.
22524 (expm1_test): Likewise.
22525 (fabs_test): Likewise.
22526 (fdim_test): Likewise.
22527 (finite_test): Likewise.
22528 (floor_test): Likewise.
22529 (fma_test): Likewise.
22530 (fma_test_towardzero): Likewise.
22531 (fma_test_downward): Likewise.
22532 (fma_test_upward): Likewise.
22533 (fmax_test): Likewise.
22534 (fmin_test): Likewise.
22535 (fmod_test): Likewise.
22536 (fpclassify_test): Likewise.
22537 (frexp_test): Likewise.
22538 (gamma_test): Likewise.
22539 (hypot_test): Likewise.
22540 (ilogb_test): Likewise.
22541 (isfinite_test): Likewise.
22542 (isgreater_test): Likewise.
22543 (isgreaterequal_test): Likewise.
22544 (isinf_test): Likewise.
22545 (isless_test): Likewise.
22546 (islessequal_test): Likewise.
22547 (islessgreater_test): Likewise.
22548 (isnan_test): Likewise.
22549 (isnormal_test): Likewise.
22550 (issignaling_test): Likewise.
22551 (isunordered_test): Likewise.
22552 (j0_test): Likewise.
22553 (j1_test): Likewise.
22554 (jn_test): Likewise.
22555 (ldexp_test): Likewise.
22556 (lgamma_test): Likewise.
22557 (lrint_test): Likewise.
22558 (lrint_test_tonearest): Likewise.
22559 (lrint_test_towardzero): Likewise.
22560 (lrint_test_downward): Likewise.
22561 (lrint_test_upward): Likewise.
22562 (llrint_test): Likewise.
22563 (llrint_test_tonearest): Likewise.
22564 (llrint_test_towardzero): Likewise.
22565 (llrint_test_downward): Likewise.
22566 (llrint_test_upward): Likewise.
22567 (log_test): Likewise.
22568 (log10_test): Likewise.
22569 (log1p_test): Likewise.
22570 (log2_test): Likewise.
22571 (logb_test): Likewise.
22572 (logb_test_downward): Likewise.
22573 (lround_test): Likewise.
22574 (llround_test): Likewise.
22575 (modf_test): Likewise.
22576 (nearbyint_test): Likewise.
22577 (nextafter_test): Likewise.
22578 (nexttoward_test): Likewise.
22579 (pow_test): Likewise.
22580 (pow_test_tonearest): Likewise.
22581 (pow_test_towardzero): Likewise.
22582 (pow_test_downward): Likewise.
22583 (pow_test_upward): Likewise.
22584 (remainder_test): Likewise.
22585 (remainder_test_tonearest): Likewise.
22586 (remainder_test_towardzero): Likewise.
22587 (remainder_test_downward): Likewise.
22588 (remainder_test_upward): Likewise.
22589 (remquo_test): Likewise.
22590 (rint_test): Likewise.
22591 (rint_test_tonearest): Likewise.
22592 (rint_test_towardzero): Likewise.
22593 (rint_test_downward): Likewise.
22594 (rint_test_upward): Likewise.
22595 (round_test): Likewise.
22596 (scalb_test): Likewise.
22597 (scalbn_test): Likewise.
22598 (scalbln_test): Likewise.
22599 (signbit_test): Likewise.
22600 (sin_test): Likewise.
22601 (sin_test_tonearest): Likewise.
22602 (sin_test_towardzero): Likewise.
22603 (sin_test_downward): Likewise.
22604 (sin_test_upward): Likewise.
22605 (sincos_test): Likewise.
22606 (sinh_test): Likewise.
22607 (sinh_test_tonearest): Likewise.
22608 (sinh_test_towardzero): Likewise.
22609 (sinh_test_downward): Likewise.
22610 (sinh_test_upward): Likewise.
22611 (sqrt_test): Likewise.
22612 (tan_test): Likewise.
22613 (tan_test_tonearest): Likewise.
22614 (tan_test_towardzero): Likewise.
22615 (tan_test_downward): Likewise.
22616 (tan_test_upward): Likewise.
22617 (tanh_test): Likewise.
22618 (tgamma_test): Likewise.
22619 (trunc_test): Likewise.
22620 (y0_test): Likewise.
22621 (y1_test): Likewise.
22622 (yn_test): Likewise.
22623 (significand_test): Likewise.
22624
bae143d2
OB
226252013-05-24 Ondřej Bílka <neleai@seznam.cz>
22626
22627 [BZ #15381]
22628 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22629
9323d39b
EM
226302013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22631
d4ea44a0 22632 [BZ #14894]
9323d39b
EM
22633 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22634 __ppc_mdoio and __ppc_mdoom.
22635 * manual/platform.texi: Document new functions __ppc_yield,
22636 __ppc_mdoio and __ppc_mdoom.
22637
13e23af7
CD
226382013-05-22 Carlos O'Donell <carlos@redhat.com>
22639
22640 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22641 (main): Mention "tls" pseudo-hwcap is legacy.
22642 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22643
351fe550
JM
226442013-05-22 Joseph Myers <joseph@codesourcery.com>
22645
22646 * math/gen-libm-test.pl (parse_args): Output only string of
22647 arguments as text for test name, not full call or descriptions of
22648 tests for extra outputs.
22649 (generate_testfile): Do not pass function name to parse_args.
22650 Generate this_func variable from START.
22651 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22652 field to arg_str.
22653 (struct test_ff_f_data): Likewise.
22654 (test_ff_f_data_nexttoward): Likewise.
22655 (struct test_fi_f_data): Likewise.
22656 (struct test_fl_f_data): Likewise.
22657 (struct test_if_f_data): Likewise.
22658 (struct test_fff_f_data): Likewise.
22659 (struct test_c_f_data): Likewise.
22660 (struct test_f_f1_data): Likewise. Remove field extra_name.
22661 (struct test_fF_f1_data): Likewise.
22662 (struct test_ffI_f1_data): Likewise.
22663 (struct test_c_c_data): Rename test_name field to arg_str.
22664 (struct test_cc_c_data): Likewise.
22665 (struct test_f_i_data): Likewise.
22666 (struct test_ff_i_data): Likewise.
22667 (struct test_f_l_data): Likewise.
22668 (struct test_f_L_data): Likewise.
22669 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22670 and extra2_name.
22671 (COMMON_TEST_SETUP): New macro.
22672 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22673 (COMMON_TEST_CLEANUP): Likewise.
22674 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22675 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22676 macros.
22677 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22678 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22679 macros.
22680 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22681 (RUN_TEST_fff_f): Take argument string. Call new setup and
22682 cleanup macros.
22683 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22684 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22685 macros.
22686 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22687 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22688 macros.
22689 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22690 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22691 cleanup macros.
22692 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22693 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22694 cleanup macros.
22695 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22696 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22697 cleanup macros.
22698 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22699 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22700 macros.
22701 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22702 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22703 macros.
22704 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22705 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22706 macros.
22707 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22708 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22709 cleanup macros.
22710 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22711 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22712 cleanup macros.
22713 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22714 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22715 macros.
22716 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22717 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22718 cleanup macros.
22719 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22720 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22721 macros.
22722 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22723 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22724 macros.
22725 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22726 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22727 cleanup macros.
22728 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22729
85118d4d
EBM
227302013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22731
22732 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22733 to _sifields.sigfault.
22734 (si_addr_lsb): Define new macro.
22735 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22736 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22737 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22738
7a44c18f
CD
227392013-05-03 Carlos O'Donell <carlos at redhat.com>
22740
22741 [BZ #15441]
22742 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22743 returns -1.
22744 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22745 null return -1.
22746 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22747 loading the domain.
22748
b50a7181
JM
227492013-05-22 Joseph Myers <joseph@codesourcery.com>
22750
22751 * math/gen-libm-test.pl (parse_args): Do not include expected
22752 result in test name.
22753 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22754 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22755 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22756 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22757 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22759
051063c8
SP
227602013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22761
3ce9e010
SP
22762 * benchtests/Makefile: Sort function entries.
22763
051063c8
SP
22764 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22765 tanh, asinh, acosh, atanh.
22766 * benchtests/acos-inputs: New file.
22767 * benchtests/acosh-inputs: New file.
22768 * benchtests/asin-inputs: New file.
22769 * benchtests/asinh-inputs: New file.
22770 * benchtests/atanh-inputs: New file.
22771 * benchtests/cosh-inputs: New file.
22772 * benchtests/log-inputs: New file.
22773 * benchtests/sinh-inputs: New file.
22774 * benchtests/tanh-inputs: New file.
22775
47c22455
DL
227762013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22777
22778 [BZ #15339]
22779 * posix/tst-getaddrinfo4.c: New test.
22780 * posix/Makefile (tests): Add it.
22781
3d04f5db
SP
227822013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22783
22784 [BZ #15339]
22785 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22786 when no services were used.
22787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22788 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22789
d5dd6189
AS
227902013-05-21 Andreas Schwab <schwab@suse.de>
22791
22792 [BZ #15014]
22793 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22794 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22795 successful.
22796 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22797 redundant variable declarations and reallocation of buffer when
22798 parsing as IPv6 address. Always set NSS status when called from
22799 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22800 buffer too small. Correct computation of needed size.
22801 * nss/Makefile (tests): Add test-digits-dots.
22802 * nss/test-digits-dots.c: New test.
22803
fef94eab
SP
228042013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22805
22806 * benchtests/Makefile: Remove instructions for adding
22807 benchmark tests.
22808 * benchtests/README: New file to explain how to execute and
22809 enhance the benchmark tests.
22810
e39adf43
AS
228112013-05-21 Andreas Schwab <schwab@suse.de>
22812
22813 [BZ #15493]
22814 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22815 * setjmp/tst-sigsetjmp.c: New test.
22816
b2b671b6
OB
228172013-05-20 Ondřej Bílka <neleai@seznam.cz>
22818
22819 * sysdeps/x86_64/memset.S (memset): New implementation.
22820 (__bzero): Likewise.
22821 (__memset_tail): New function.
22822
2d48b41c
OB
228232013-05-20 Ondřej Bílka <neleai@seznam.cz>
22824
22825 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22826 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22827 __memcpy_sse2_unaligned ifunc selection.
22828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22829 Add memcpy-sse2-unaligned.S.
22830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22831 Add: __memcpy_sse2_unaligned.
22832
f16cc3eb
JM
228332013-05-19 Joseph Myers <joseph@codesourcery.com>
22834
3e694268
JM
22835 [BZ #15490]
22836 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22837 math_force_eval before restoring floating-point envrionment.
22838 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22840 Likewise.
22841 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22842 <math_private.h>.
22843 (__nearbyintl): Use math_force_eval before restoring
22844 floating-point environment.
22845 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22846
db62a907
JM
22847 * math/gen-libm-test.pl (special_functions): Remove.
22848 (parse_args): Don't handle TEST_extra. Handle functions with no
22849 return value.
22850 * math/libm-test.inc (struct test_sincos_data): Replace with
22851 struct test_fFF_11_data.
22852 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22853 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22854 (sincos_test_data): Change element type to struct
22855 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22856 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22857 RUN_TEST_LOOP_sincos.
22858 * math/README.libm-test: Don't mention special handling of
22859 individual functions.
22860 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22861 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22862 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22863 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22864 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22866
f16cc3eb
JM
22867 * math/gen-libm-test.pl (get_variable): Remove function.
22868 (parse_args): Don't show pointer parameters to call in test
22869 names. Use "extra output N" in test names for extra outputs
22870 rather than naming variables.
22871
3779b5b6
JM
228722013-05-18 Joseph Myers <joseph@codesourcery.com>
22873
2ee094ff
JM
22874 [BZ #15488]
22875 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22876 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22877 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22878 double tests.
22879 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22880 disable.
22881 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22882 check_long_double.
22883
3779b5b6
JM
22884 * math/gen-libm-test.pl (@tests): Remove variable.
22885 ($count): Likewise.
22886 (new_test): Remove function.
22887 (show_exceptions): New function.
22888 (special_functions): Use show_exceptions instead of new_test.
22889 (parse_args): Likewise.
22890 (generate_testfile): Pass only function name in generated call to
22891 print_max_error or print_complex_max_error.
22892 (get_ulps): Do not handle complex tests specially.
22893 (output_test): Rename to ...
22894 (get_all_ulps_for_test): ... this. Return a string rather than
22895 printing to a file. Require ulps to be present.
22896 (output_ulps): Generate arrays rather than #defines.
22897 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22898 (struct ulp_data): New type.
22899 (BUILD_COMPLEX_ULP): Remove macro.
22900 (compare_ulp_data): New function.
22901 (find_ulps): Likewise.
22902 (find_test_ulps): Likewise.
22903 (find_function_ulps): Likewise.
22904 (find_complex_function_ulps): Likewise.
22905 (print_max_error): Determine allowed ulps using
22906 find_function_ulps.
22907 (print_complex_max_error): Determine allowed ulps using
22908 find_complex_function_ulps.
22909 (check_float_internal): Determine max ulps using find_test_ulps.
22910 (check_float): Do not take max_ulp parameter. Update call to
22911 check_float_internal.
22912 (check_complex): Likewise.
22913 (check_int): Do not take max_ulp parameter.
22914 (check_long): Likewise.
22915 (check_bool): Likewise.
22916 (check_longlong): Likewise.
22917 (struct test_f_f_data): Remove max_ulp field.
22918 (struct test_ff_f_data): Likewise.
22919 (struct test_ff_f_data_nexttoward): Likewise.
22920 (struct test_fi_f_data): Likewise.
22921 (struct test_fl_f_data): Likewise.
22922 (struct test_if_f_data): Likewise.
22923 (struct test_fff_f_data): Likewise.
22924 (struct test_c_f_data): Likewise.
22925 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22926 (struct test_fF_f1_data): Likewise.
22927 (struct test_ffI_f1_data): Likewise.
22928 (struct test_c_c_data): Remove max_ulp field.
22929 (struct test_cc_c_data): Likewise.
22930 (struct test_f_i_data): Likewise.
22931 (struct test_ff_i_data): Likewise.
22932 (struct test_f_l_data): Likewise.
22933 (struct test_f_L_data): Likewise.
22934 (struct test_sincos_data): Likewise.
22935 (RUN_TEST_f_f): Do not handle ulps.
22936 (RUN_TEST_LOOP_f_f): Likewise.
22937 (RUN_TEST_2_f): Likewise.
22938 (RUN_TEST_LOOP_2_f): Likewise.
22939 (RUN_TEST_fff_f): Likewise.
22940 (RUN_TEST_LOOP_fff_f): Likewise.
22941 (RUN_TEST_c_f): Likewise.
22942 (RUN_TEST_LOOP_c_f): Likewise.
22943 (RUN_TEST_f_f1): Likewise.
22944 (RUN_TEST_LOOP_f_f1): Likewise.
22945 (RUN_TEST_fF_f1): Likewise.
22946 (RUN_TEST_LOOP_fF_f1): Likewise.
22947 (RUN_TEST_fI_f1): Likewise.
22948 (RUN_TEST_LOOP_fI_f1): Likewise.
22949 (RUN_TEST_ffI_f1): Likewise.
22950 (RUN_TEST_LOOP_ffI_f1): Likewise.
22951 (RUN_TEST_c_c): Likewise.
22952 (RUN_TEST_LOOP_c_c): Likewise.
22953 (RUN_TEST_cc_c): Likewise.
22954 (RUN_TEST_LOOP_cc_c): Likewise.
22955 (RUN_TEST_f_i): Likewise.
22956 (RUN_TEST_LOOP_f_i): Likewise.
22957 (RUN_TEST_f_i_tg): Likewise.
22958 (RUN_TEST_LOOP_f_i_tg): Likewise.
22959 (RUN_TEST_ff_i_tg): Likewise.
22960 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22961 (RUN_TEST_f_b): Likewise.
22962 (RUN_TEST_LOOP_f_b): Likewise.
22963 (RUN_TEST_f_b_tg): Likewise.
22964 (RUN_TEST_LOOP_f_b_tg): Likewise.
22965 (RUN_TEST_f_l): Likewise.
22966 (RUN_TEST_LOOP_f_l): Likewise.
22967 (RUN_TEST_f_L): Likewise.
22968 (RUN_TEST_LOOP_f_L): Likewise.
22969 (RUN_TEST_sincos): Likewise.
22970 (RUN_TEST_LOOP_sincos): Likewise.
22971
8269107f
JM
229722013-05-17 Joseph Myers <joseph@codesourcery.com>
22973
bb38759d
JM
22974 [BZ #15480]
22975 [BZ #15485]
22976 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22977 main case of finite arguments, set rounding mode to FE_TONEAREST
22978 and discard exceptions.
22979 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22980 exceptions.
22981 (remainder_tonearest_test_data): New variable.
22982 (remainder_test_tonearest): New function.
22983 (remainder_towardzero_test_data): New variable.
22984 (remainder_test_towardzero): New function.
22985 (remainder_downward_test_data): New variable.
22986 (remainder_test_downward): New function.
22987 (remainder_upward_test_data): New variable.
22988 (remainder_test_upward): New function.
22989 (main): Call the new test functions.
22990
a00bdcf0
JM
22991 * math/libm-test.inc (struct test_f_f1_data): Remove field
22992 extra_init.
22993 (struct test_fF_f1_data): Likewise.
22994 (struct test_ffI_f1_data): Likewise.
22995 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22996 based on value of EXTRA_EXPECTED.
22997 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22998 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22999 EXTRA_VAR based on value of EXTRA_EXPECTED.
23000 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23001 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23002 EXTRA_VAR based on value of EXTRA_EXPECTED.
23003 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23004 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23005 EXTRA_VAR based on value of EXTRA_EXPECTED.
23006 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23007 * math/gen-libm-test.pl (parse_args): Don't output initializers
23008 for extra output values.
23009
de407f79
JM
23010 * math/libm-test.inc (check_int): Expect result to be exactly
23011 equal to expected value and do not handle ulps.
23012 (check_long): Likewise.
23013 (check_longlong): Likewise.
23014
8269107f
JM
23015 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23016 exceptions.
23017 (cimag_test_data): Likewise.
23018 (conj_test_data): Likewise.
23019 (copysign_test_data): Likewise.
23020 (cproj_test_data): Likewise.
23021 (creal_test_data): Likewise.
23022 (fabs_test_data): Likewise.
23023 (fdim_test_data): Likewise.
23024 (finite_test_data): Likewise.
23025 (floor_test_data): Likewise.
23026 (fmax_test_data): Likewise.
23027 (fmin_test_data): Likewise.
23028 (fmod_test_data): Likewise.
23029 (fpclassify_test_data): Likewise.
23030 (frexp_test_data): Likewise.
23031 (ilogb_test_data): Likewise.
23032 (isfinite_test_data): Likewise.
23033 (isgreater_test_data): Likewise.
23034 (isgreaterequal_test_data): Likewise.
23035 (isinf_test_data): Likewise.
23036 (isless_test_data): Likewise.
23037 (islessequal_test_data): Likewise.
23038 (islessgreater_test_data): Likewise.
23039 (isnan_test_data): Likewise.
23040 (isnormal_test_data): Likewise.
23041 (issignaling_test_data): Likewise.
23042 (isunordered_test_data): Likewise.
23043 (ldexp_test_data): Likewise.
23044 (lrint_test_data): Likewise.
23045 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23046 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23047 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23048 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23049 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23050 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23051 test input.
23052 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23053 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23054 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23055 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23056 that test input.
23057 (lrint_downward_test_data): Test for "inexact" exceptions.
23058 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23059 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23060 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23061 test input.
23062 (lrint_upward_test_data): Test for "inexact" exceptions.
23063 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23064 test input.
23065 (llrint_test_data): Test for "inexact" exceptions.
23066 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23067 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23068 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23069 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23070 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23071 (llrint_downward_test_data): Test for "inexact" exceptions.
23072 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23073 (llrint_upward_test_data): Test for "inexact" exceptions.
23074 (logb_test_data): Likewise.
23075 (logb_downward_test_data): Likewise.
23076 (nextafter_test_data): Likewise.
23077 (nexttoward_test_data): Likewise.
23078 (remainder_test_data): Likewise.
23079 (remquo_test_data): Likewise.
23080 (scalbn_test_data): Likewise.
23081 (scalbln_test_data): Likewise.
23082 (signbit_test_data): Likewise.
23083 (sqrt_test_data): Likewise.
23084 (significand_test_data): Likewise.
23085
48a18de1
SP
230862013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23087
23088 [BZ #15424]
23089 * benchtests/bench-modf.c (struct args): Mark arg0 as
23090 volatile.
23091 * scripts/bench.pl: Mark members of struct args as volatile.
23092
13d3b41a
AZ
230932013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23094
68191c1d 23095 [BZ # 15497]
13d3b41a
AZ
23096 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23097 negative infinity on POWER6 or lower.
23098 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23099
2848b105
MR
231002013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23101
23102 [BZ #15442]
23103 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23104 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23105 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23106 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23107 (_FP_SETQNAN): New macro.
23108 (_FP_SETQNAN_SEMIRAW): Likewise.
23109 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23110 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23111 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23112 (FP_EXTEND): Use _FP_FRAC_SNANP.
23113 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23114 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23115 into account.
23116 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23117 New macro.
23118 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23119 Likewise.
23120
323e5cb7
JM
231212013-05-16 Joseph Myers <joseph@codesourcery.com>
23122
c58b274f
JM
23123 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23124 with DIVIDE_BY_ZERO_EXCEPTION.
23125 (gamma_test_data): Likewise.
23126 (lgamma_test_data): Likewise.
23127 (log_test_data): Likewise.
23128 (log10_test_data): Likewise.
23129 (log2_test_data): Likewise.
23130 (tgamma_test_data): Likewise.
23131
0ab34904
JM
23132 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23133 (acos_test_tonearest): Likewise.
23134 (acos_test_towardzero): Likewise.
23135 (acos_test_downward): Likewise.
23136 (acos_test_upward): Likewise.
23137 (acosh_test): Likewise.
23138 (asin_test): Likewise.
23139 (asin_test_tonearest): Likewise.
23140 (asin_test_towardzero): Likewise.
23141 (asin_test_downward): Likewise.
23142 (asin_test_upward): Likewise.
23143 (asinh_test): Likewise.
23144 (atan_test): Likewise.
23145 (atanh_test): Likewise.
23146 (atan2_test): Likewise.
23147 (cabs_test): Likewise.
23148 (cacos_test): Likewise.
23149 (cacosh_test): Likewise.
23150 (casin_test): Likewise.
23151 (casinh_test): Likewise.
23152 (catan_test): Likewise.
23153 (catanh_test): Likewise.
23154 (cbrt_test): Likewise.
23155 (ccos_test): Likewise.
23156 (ccosh_test): Likewise.
23157 (cexp_test): Likewise.
23158 (clog_test): Likewise.
23159 (clog10_test): Likewise.
23160 (cos_test): Likewise.
23161 (cos_test_tonearest): Likewise.
23162 (cos_test_towardzero): Likewise.
23163 (cos_test_downward): Likewise.
23164 (cos_test_upward): Likewise.
23165 (cosh_test): Likewise.
23166 (cosh_test_tonearest): Likewise.
23167 (cosh_test_towardzero): Likewise.
23168 (cosh_test_downward): Likewise.
23169 (cosh_test_upward): Likewise.
23170 (cpow_test): Likewise.
23171 (csin_test): Likewise.
23172 (csinh_test): Likewise.
23173 (csqrt_test): Likewise.
23174 (ctan_test): Likewise.
23175 (ctan_test_tonearest): Likewise.
23176 (ctan_test_towardzero): Likewise.
23177 (ctan_test_downward): Likewise.
23178 (ctan_test_upward): Likewise.
23179 (ctanh_test): Likewise.
23180 (ctanh_test_tonearest): Likewise.
23181 (ctanh_test_towardzero): Likewise.
23182 (ctanh_test_downward): Likewise.
23183 (ctanh_test_upward): Likewise.
23184 (erf_test): Likewise.
23185 (erfc_test): Likewise.
23186 (exp_test): Likewise.
23187 (exp_test_tonearest): Likewise.
23188 (exp_test_towardzero): Likewise.
23189 (exp_test_downward): Likewise.
23190 (exp_test_upward): Likewise.
23191 (exp10_test): Likewise.
23192 (exp2_test): Likewise.
23193 (expm1_test): Likewise.
23194 (fmod_test): Likewise.
23195 (gamma_test): Likewise.
23196 (hypot_test): Likewise.
23197 (j0_test): Likewise.
23198 (j1_test): Likewise.
23199 (jn_test): Likewise.
23200 (lgamma_test): Likewise.
23201 (log_test): Likewise.
23202 (log10_test): Likewise.
23203 (log1p_test): Likewise.
23204 (log2_test): Likewise.
23205 (logb_test_downward): Likewise.
23206 (pow_test): Likewise.
23207 (pow_test_tonearest): Likewise.
23208 (pow_test_towardzero): Likewise.
23209 (pow_test_downward): Likewise.
23210 (pow_test_upward): Likewise.
23211 (remainder_test): Likewise.
23212 (remquo_test): Likewise.
23213 (sin_test): Likewise.
23214 (sin_test_tonearest): Likewise.
23215 (sin_test_towardzero): Likewise.
23216 (sin_test_downward): Likewise.
23217 (sin_test_upward): Likewise.
23218 (sincos_test): Likewise.
23219 (sinh_test): Likewise.
23220 (sinh_test_tonearest): Likewise.
23221 (sinh_test_towardzero): Likewise.
23222 (sinh_test_downward): Likewise.
23223 (sinh_test_upward): Likewise.
23224 (sqrt_test): Likewise.
23225 (tan_test): Likewise.
23226 (tan_test_tonearest): Likewise.
23227 (tan_test_towardzero): Likewise.
23228 (tan_test_downward): Likewise.
23229 (tan_test_upward): Likewise.
23230 (tanh_test): Likewise.
23231 (tgamma_test): Likewise.
23232 (y0_test): Likewise.
23233 (y1_test): Likewise.
23234 (yn_test): Likewise.
23235
323e5cb7
JM
23236 * math/gen-libm-test.pl (adjust_arg): Remove function.
23237 (special_function): Remove argument $in_func. Only handle
23238 generating output for tables of tests, not inside functions.
23239 (parse_args): Likewise.
23240 (generate_testfile): Remove variable $in_func. Update call to
23241 parse_args.
23242 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23243 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23244 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23245 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23246 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23247 (MAX_VALUE_INIT): Rename macro to max_value.
23248 (MIN_VALUE_INIT): Rename macro to min_value.
23249 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23250 (plus_zero): Remove variable.
23251 (minus_zero): Likewise.
23252 (plus_infty): Likewise.
23253 (minus_infty): Likewise.
23254 (qnan_value): Likewise.
23255 (max_value): Likewise.
23256 (min_value): Likewise.
23257 (min_subnorm_value): Likewise.
23258
e054f494
RA
232592013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23260
23261 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23262 uint64_t or uint32_t usage.
23263 * crypt/sha256-block.c: Likewise.
23264 * crypt/sha256-crypt.c: Likewise.
23265 * crypt/sha256.c: Likewise.
23266 * crypt/sha512-block.c: Likewise.
23267 * crypt/sha512-crypt.c: Likewise.
23268 * crypt/sha512.c: Likewise.
23269 * debug/backtrace-tst.c: Likewise.
23270 * debug/pcprofiledump.c: Likewise.
23271 * elf/cache.c: Likewise.
23272 * elf/dl-cache.c: Likewise.
23273 * elf/dl-misc.c: Likewise.
23274 * elf/dl-profile.c: Likewise.
23275 * elf/dl-support.c: Likewise.
23276 * elf/ldconfig.c: Likewise.
23277 * elf/sprof.c: Likewise.
23278 * iconv/dummy-repertoire.c: Likewise.
23279 * iconv/iconv_charmap.c: Likewise.
23280 * iconv/skeleton.c: Likewise.
23281 * iconvdata/8bit-generic.c: Likewise.
23282 * iconvdata/cp737.h: Likewise.
23283 * iconvdata/cp775.h: Likewise.
23284 * iconvdata/ibm1008.h: Likewise.
23285 * iconvdata/ibm1025.h: Likewise.
23286 * iconvdata/ibm1046.h: Likewise.
23287 * iconvdata/ibm1097.h: Likewise.
23288 * iconvdata/ibm1112.h: Likewise.
23289 * iconvdata/ibm1122.h: Likewise.
23290 * iconvdata/ibm1123.h: Likewise.
23291 * iconvdata/ibm1124.h: Likewise.
23292 * iconvdata/ibm1129.h: Likewise.
23293 * iconvdata/ibm1130.h: Likewise.
23294 * iconvdata/ibm1132.h: Likewise.
23295 * iconvdata/ibm1133.h: Likewise.
23296 * iconvdata/ibm1137.h: Likewise.
23297 * iconvdata/ibm1140.h: Likewise.
23298 * iconvdata/ibm1141.h: Likewise.
23299 * iconvdata/ibm1142.h: Likewise.
23300 * iconvdata/ibm1143.h: Likewise.
23301 * iconvdata/ibm1144.h: Likewise.
23302 * iconvdata/ibm1145.h: Likewise.
23303 * iconvdata/ibm1146.h: Likewise.
23304 * iconvdata/ibm1147.h: Likewise.
23305 * iconvdata/ibm1148.h: Likewise.
23306 * iconvdata/ibm1149.h: Likewise.
23307 * iconvdata/ibm1153.h: Likewise.
23308 * iconvdata/ibm1154.h: Likewise.
23309 * iconvdata/ibm1155.h: Likewise.
23310 * iconvdata/ibm1156.h: Likewise.
23311 * iconvdata/ibm1157.h: Likewise.
23312 * iconvdata/ibm1158.h: Likewise.
23313 * iconvdata/ibm1160.h: Likewise.
23314 * iconvdata/ibm1161.h: Likewise.
23315 * iconvdata/ibm1162.h: Likewise.
23316 * iconvdata/ibm1163.h: Likewise.
23317 * iconvdata/ibm1164.h: Likewise.
23318 * iconvdata/ibm1166.h: Likewise.
23319 * iconvdata/ibm1167.h: Likewise.
23320 * iconvdata/ibm12712.h: Likewise.
23321 * iconvdata/ibm1390.h: Likewise.
23322 * iconvdata/ibm1399.h: Likewise.
23323 * iconvdata/ibm16804.h: Likewise.
23324 * iconvdata/ibm4517.h: Likewise.
23325 * iconvdata/ibm4899.h: Likewise.
23326 * iconvdata/ibm4909.h: Likewise.
23327 * iconvdata/ibm4971.h: Likewise.
23328 * iconvdata/ibm5347.h: Likewise.
23329 * iconvdata/ibm803.h: Likewise.
23330 * iconvdata/ibm856.h: Likewise.
23331 * iconvdata/ibm901.h: Likewise.
23332 * iconvdata/ibm902.h: Likewise.
23333 * iconvdata/ibm9030.h: Likewise.
23334 * iconvdata/ibm9066.h: Likewise.
23335 * iconvdata/ibm921.h: Likewise.
23336 * iconvdata/ibm922.h: Likewise.
23337 * iconvdata/ibm9448.h: Likewise.
23338 * iconvdata/isiri-3342.h: Likewise.
23339 * iconvdata/jis0201.h: Likewise.
23340 * include/link.h: Likewise.
23341 * include/netdb.h: Likewise.
23342 * inet/check_native.c: Likewise.
23343 * inet/check_pf.c: Likewise.
23344 * inet/getipv4sourcefilter.c: Likewise.
23345 * inet/getnameinfo.c: Likewise.
23346 * inet/getsourcefilter.c: Likewise.
23347 * inet/htonl.c: Likewise.
23348 * inet/setipv4sourcefilter.c: Likewise.
23349 * inet/setsourcefilter.c: Likewise.
23350 * inet/test-inet6_opt.c: Likewise.
23351 * inet/tst-network.c: Likewise.
23352 * locale/C-collate.c: Likewise.
23353 * locale/C-ctype.c: Likewise.
23354 * locale/C-time.c: Likewise.
23355 * locale/C-translit.h: Likewise.
23356 * locale/loadarchive.c: Likewise.
23357 * locale/programs/3level.h: Likewise.
23358 * locale/programs/charmap.c: Likewise.
23359 * locale/programs/charmap.h: Likewise.
23360 * locale/programs/ld-address.c: Likewise.
23361 * locale/programs/ld-collate.c: Likewise.
23362 * locale/programs/ld-ctype.c: Likewise.
23363 * locale/programs/ld-identification.c: Likewise.
23364 * locale/programs/ld-measurement.c: Likewise.
23365 * locale/programs/ld-messages.c: Likewise.
23366 * locale/programs/ld-monetary.c: Likewise.
23367 * locale/programs/ld-name.c: Likewise.
23368 * locale/programs/ld-numeric.c: Likewise.
23369 * locale/programs/ld-paper.c: Likewise.
23370 * locale/programs/ld-telephone.c: Likewise.
23371 * locale/programs/ld-time.c: Likewise.
23372 * locale/programs/linereader.c: Likewise.
23373 * locale/programs/locale.c: Likewise.
23374 * locale/programs/locarchive.c: Likewise.
23375 * locale/programs/locfile.h: Likewise.
23376 * locale/programs/repertoire.c: Likewise.
23377 * locale/programs/simple-hash.c: Likewise.
23378 * locale/programs/simple-hash.h: Likewise.
23379 * malloc/memusage.c: Likewise.
23380 * malloc/memusagestat.c: Likewise.
23381 * nis/nis_defaults.c: Likewise.
23382 * nis/nis_hash.c: Likewise.
23383 * nis/nis_print.c: Likewise.
23384 * nis/nis_xdr.c: Likewise.
23385 * nscd/connections.c: Likewise.
23386 * nscd/hstcache.c: Likewise.
23387 * nscd/nscd_gethst_r.c: Likewise.
23388 * nscd/nscd_getserv_r.c: Likewise.
23389 * nscd/nscd_helper.c: Likewise.
23390 * nscd/servicescache.c: Likewise.
23391 * nss/makedb.c: Likewise.
23392 * nss/nss_db/db-XXX.c: Likewise.
23393 * nss/nss_db/db-initgroups.c: Likewise.
23394 * nss/nss_db/db-netgrp.c: Likewise.
23395 * nss/nss_files/files-network.c: Likewise.
23396 * nss/nss_files/files-parse.c: Likewise.
23397 * posix/bug-regex5.c: Likewise.
23398 * posix/fnmatch_loop.c: Likewise.
23399 * posix/regcomp.c: Likewise.
23400 * posix/regexec.c: Likewise.
23401 * posix/tst-rfc3484-2.c: Likewise.
23402 * posix/tst-rfc3484-3.c: Likewise.
23403 * posix/tst-rfc3484.c: Likewise.
23404 * resolv/nss_dns/dns-canon.c: Likewise.
23405 * resolv/nss_dns/dns-network.c: Likewise.
23406 * resolv/res_init.c: Likewise.
23407 * resolv/res_mkquery.c: Likewise.
23408 * resolv/tst-aton.c: Likewise.
23409 * stdlib/cxa_atexit.c: Likewise.
23410 * stdlib/cxa_finalize.c: Likewise.
23411 * stdlib/gen-fpioconst.c: Likewise.
23412 * stdlib/strtol_l.c: Likewise.
23413 * string/tst-endian.c: Likewise.
23414 * sunrpc/auth_des.c: Likewise.
23415 * sunrpc/clnt_udp.c: Likewise.
23416 * sunrpc/rtime.c: Likewise.
23417 * sunrpc/svcauth_des.c: Likewise.
23418 * sunrpc/xdr.c: Likewise.
23419 * sunrpc/xdr_intXX_t.c: Likewise.
23420 * sunrpc/xdr_rec.c: Likewise.
23421 * sysdeps/generic/ldconfig.h: Likewise.
23422 * sysdeps/generic/ldsodefs.h: Likewise.
23423 * sysdeps/generic/memusage.h: Likewise.
23424 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23425 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23426 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23427 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23430 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23431 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23432 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23434 * sysdeps/posix/getaddrinfo.c: Likewise.
23435 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23436 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23437 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23438 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23439 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23440 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23441 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23442 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23443 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23444 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23445 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23446 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23447 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23448 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23449 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23450 * sysdeps/x86_64/dl-tls.h: Likewise.
23451 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23452 * time/alt_digit.c: Likewise.
23453 * time/era.c: Likewise.
23454 * wcsmbs/tst-c16c32-1.c: Likewise.
23455
8c75f674
JM
234562013-05-16 Joseph Myers <joseph@codesourcery.com>
23457
23458 * math/libm-test.inc (struct test_sincos_data): New type.
23459 (RUN_TEST_LOOP_sincos): New macro.
23460 (sincos_test_data): New variable.
23461 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23462
e6e49e59
RH
234632013-05-16 Richard Henderson <rth@redhat.com>
23464
23465 * math/atest-exp2.c (LIMB64): New macro.
23466 (CONSTSZ): New macro.
23467 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23468 (hexdig): Move ...
23469 (print_mpn_fp): ... to function scope.
23470 (read_mpn_hex): Remove.
23471 (get_log2): Remove.
23472 (exp2_mpn): Use mp_log2.
23473 (main): Use mp_exp1.
23474
15c7c18d
JM
234752013-05-16 Joseph Myers <joseph@codesourcery.com>
23476
105a07df
JM
23477 * math/libm-test.inc: Remove comment about not testing "inexact"
23478 exceptions.
23479 (INEXACT_EXCEPTION): New macro.
23480 (NO_INEXACT_EXCEPTION): Likewise.
23481 (INVALID_EXCEPTION_OK): Update value.
23482 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23483 (OVERFLOW_EXCEPTION_OK): Likewise.
23484 (UNDERFLOW_EXCEPTION_OK): Likewise.
23485 (IGNORE_ZERO_INF_SIGN): Likewise.
23486 (ERRNO_UNCHANGED): Likewise.
23487 (ERRNO_EDOM): Likewise.
23488 (ERRNO_ERANGE): Likewise.
23489 (test_exceptions): Handle testing "inexact" exceptions.
23490 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23491 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23492 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23493 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23494 INEXACT_EXCEPTION.
23495 (rint_towardzero_test_data): Likewise.
23496 (rint_downward_test_data): Likewise.
23497 (rint_upward_test_data): Likewise.
23498
e9eee333
JM
23499 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23500 with OVERFLOW_EXCEPTION.
23501 (exp10_test_data): Likewise.
23502 (exp2_test_data): Likewise.
23503 (expm1_test_data): Likewise.
23504 (lgamma_test_data): Likewise.
23505 (pow_test_data): Likewise.
23506 (tgamma_test_data): Likewise.
23507 (yn_test_data): Remove duplicate test of overflow.
23508
1c38ff73
JM
23509 * math/libm-test.inc (struct test_cc_c_data): New type.
23510 (RUN_TEST_LOOP_cc_c): New macro.
23511 (cpow_test_data): New variable.
23512 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23513
15c7c18d
JM
23514 * math/libm-test.inc (struct test_f_L_data): New type.
23515 (RUN_TEST_LOOP_f_L): New macro.
23516 (llrint_test_data): New variable.
23517 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23518 (llrint_tonearest_test_data): New variable.
23519 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23520 (llrint_towardzero_test_data): New variable.
23521 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23522 (llrint_downward_test_data): New variable.
23523 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23524 (llrint_upward_test_data): New variable.
23525 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23526 (llround_test_data): New variable.
23527 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23528
f137ff13
PC
235292013-05-13 Peter Collingbourne <pcc@google.com>
23530
23531 * math/atest-exp2.c (get_log2): Remove const attribute.
23532
3608cb24
JM
235332013-05-15 Joseph Myers <joseph@codesourcery.com>
23534
23535 * math/libm-test.inc (struct test_f_l_data): New type.
23536 (RUN_TEST_LOOP_f_l): New macro.
23537 (lrint_test_data): New variable.
23538 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23539 (lrint_tonearest_test_data): New variable.
23540 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23541 (lrint_towardzero_test_data): New variable.
23542 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23543 (lrint_downward_test_data): New variable.
23544 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23545 (lrint_upward_test_data): New variable.
23546 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23547 (lround_test_data): New variable.
23548 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23549
39b1f617
PC
235502013-05-15 Peter Collingbourne <pcc@google.com>
23551
1deff3dc
PC
23552 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23553 (EXTRACT_WORDS64) Use where appropriate.
23554 (INSERT_WORDS64) Likewise.
23555
791f3ba0
PC
23556 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23557 constraints with x constraints.
23558 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23559
39b1f617
PC
23560 * malloc/obstack.c (_obstack_compat): Add initializer.
23561
12fba011
EM
235622013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23563
23564 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23565 si_trapno and add si_addr_lsb to _sifields.sigfault.
23566 (si_trapno): Remove macro.
23567 (si_addr_lsb): Define new macro.
23568 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23569
d369f531
JM
235702013-05-15 Joseph Myers <joseph@codesourcery.com>
23571
b861c6c4
JM
23572 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23573 instead of TEST_f_l.
23574 (llrint_test_tonearest): Likewise.
23575 (llrint_test_towardzero): Likewise.
23576 (llrint_test_downward): Likewise.
23577 (llrint_test_upward): Likewise.
23578 (llround_test): Likewise.
23579
7abeee12
JM
23580 * math/libm-test.inc (struct test_f_i_data): Add comment.
23581 (RUN_TEST_LOOP_f_b): New macro.
23582 (RUN_TEST_LOOP_f_b_tg): Likewise.
23583 (finite_test_data): New variable.
23584 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23585 (isfinite_test_data): New variable.
23586 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23587 (isinf_test_data): New variable.
23588 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23589 (isnan_test_data): New variable.
23590 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23591 (isnormal_test_data): New variable.
23592 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23593 (issignaling_test_data): New variable.
23594 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23595 (signbit_test_data): New variable.
23596 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23597
cbe8c4d3
JM
23598 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23599 with INVALID_EXCEPTION.
23600 (acosh_test_data): Likewise.
23601 (asin_test_data): Likewise.
23602 (atanh_test_data): Likewise.
23603 (fmod_test_data): Likewise.
23604 (log_test_data): Likewise.
23605 (log10_test_data): Likewise.
23606 (log2_test_data): Likewise.
23607 (pow_test_data): Likewise.
23608 (sqrt_test_data): Likewise.
23609 (y0_test_data): Likewise.
23610 (y1_test_data): Likewise.
23611 (yn_test_data): Likewise.
23612
5575c0e5
JM
23613 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23614 function contents.
23615
d369f531
JM
23616 * math/libm-test.inc (struct test_ff_i_data): New type.
23617 (RUN_TEST_LOOP_ff_i_tg): New macro.
23618 (isgreater_test_data): New variable.
23619 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23620 (isgreaterequal_test_data): New variable.
23621 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23622 (isless_test_data): New variable.
23623 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23624 (islessequal_test_data): New variable.
23625 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23626 (islessgreater_test_data): New variable.
23627 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23628 (isunordered_test_data): New variable.
23629 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23630
781fd748
DM
236312013-05-14 David S. Miller <davem@davemloft.net>
23632
23633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23634
87aa21df
JM
236352013-05-14 Joseph Myers <joseph@codesourcery.com>
23636
5e908270
JM
23637 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23638
f71172e5
JM
23639 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23640 extra_test to int.
23641 (struct test_f_i_data): Change type of max_ulp to int.
23642
8cfa635a
JM
23643 * math/libm-test.inc (test_ffI_f1_data): New type.
23644 (RUN_TEST_LOOP_ffI_f1): New macro.
23645 (remquo_test_data): New variable.
23646 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23647
2bcb36b2
JM
23648 * setjmp/tst-setjmp-fp.c: New file.
23649 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23650 (link-libm): New variable.
23651 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23652
acbd839a
JM
23653 * math/libm-test.inc (struct test_f_i_data): New type.
23654 (RUN_TEST_LOOP_f_i): New macro.
23655 (RUN_TEST_LOOP_f_i_tg): Likewise.
23656 (fpclassify_test_data): New variable.
23657 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23658 (ilogb_test_data): New variable.
23659 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23660
e414d745
JM
23661 * math/libm-test.inc (scalbln_test): Correct function name in END
23662 call.
23663
d9c2a0fd
JM
23664 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23665 (RUN_TEST_LOOP_fI_f1): New macro.
23666 (frexp_test_data): New variable.
23667 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23668
9dc9095d
JM
23669 * math/libm-test.inc (struct test_fF_f1_data): New type.
23670 (RUN_TEST_LOOP_fF_f1): New macro.
23671 (modf_test_data): New variable.
23672 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23673
87aa21df
JM
23674 * math/libm-test.inc (struct test_f_f1_data): New type.
23675 (RUN_TEST_LOOP_f_f1): New macro.
23676 (gamma_test_data): New variable.
23677 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23678 (lgamma_test_data): New variable.
23679 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23680
141af660
CD
236812013-05-13 Carlos O'Donell <carlos@redhat.com>
23682
23683 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23684 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23685 (main): Comment "tls" pseudo-hwcap.
23686
6d33265c
JM
236872013-05-13 Joseph Myers <joseph@codesourcery.com>
23688
68fc074c
JM
23689 * math/libm-test.inc (struct test_fl_f_data): New type.
23690 (RUN_TEST_LOOP_fl_f): New variable.
23691 (scalbln_test_data): New variable.
23692 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23693
243216e1
JM
23694 * math/libm-test.inc (struct test_fi_f_data): New type.
23695 (RUN_TEST_LOOP_fi_f): New macro.
23696 (ldexp_test_data): New variable.
23697 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23698 (scalbn_test_data): New variable.
23699 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23700
6a1992e2
JM
23701 * math/libm-test.inc (struct test_c_f_data): New type.
23702 (RUN_TEST_LOOP_c_f): New macro.
23703 (cabs_test_data): New variable.
23704 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23705 (carg_test_data): New variable.
23706 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23707 (cimag_test_data): New variable.
23708 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23709 (creal_test_data): New variable.
23710 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23711
0e400df5
JM
23712 * math/libm-test.inc (struct test_if_f_data): New type.
23713 (RUN_TEST_LOOP_if_f): New macro.
23714 (jn_test_data): New variable.
23715 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23716 (yn_test_data): New variable.
23717 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23718
6d33265c
JM
23719 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23720
f98ece5f
AZ
237212013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23722
23723 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23724 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23725
0f7d347b
SP
237262013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23727
43fe811b
SP
23728 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23729 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23730 (bench-deps): Add bench-timing.h.
23731 * benchtests-bench-skeleton.c: Include bench-timing.h.
23732 (main): Use TIMING_* macros instead of clock_gettime.
23733 * benchtests/bench-timing.h: New file.
23734
0f7d347b
SP
23735 [BZ #14582]
23736 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23737 Renamed from _LIB_VERSION.
23738 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23739
601a3a5f
JM
237402013-05-12 Joseph Myers <joseph@codesourcery.com>
23741
4f184d30
JM
23742 * math/libm-test.inc (struct test_fff_f_data): New type.
23743 (RUN_TEST_LOOP_fff_f): New macro.
23744 (fma_test_data): New variable.
23745 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23746 (fma_towardzero_test_data): New variable.
23747 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23748 (fma_downward_test_data): New variable.
23749 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23750 (fma_upward_test_data): New variable.
23751 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23752
08198877
JM
23753 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23754 (struct test_c_c_data): New type.
23755 (RUN_TEST_LOOP_c_c): New macro.
23756 (cacos_test_data): New variable.
23757 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23758 (cacosh_test_data): New variable.
23759 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23760 (casin_test_data): New variable.
23761 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23762 (casinh_test_data): New variable.
23763 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23764 (catan_test_data): New variable.
23765 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23766 (catanh_test_data): New variable.
23767 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23768 (ccos_test_data): New variable.
23769 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23770 (ccosh_test_data): New variable.
23771 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23772 (cexp_test_data): New variable.
23773 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23774 (clog_test_data): New variable.
23775 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23776 (clog10_test_data): New variable.
23777 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23778 (conj_test_data): New variable.
23779 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23780 (cproj_test_data): New variable.
23781 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23782 (csin_test_data): New variable.
23783 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23784 (csinh_test_data): New variable.
23785 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23786 (csqrt_test_data): New variable.
23787 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23788 (ctan_test_data): New variable.
23789 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23790 (ctan_tonearest_test_data): New variable.
23791 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23792 (ctan_towardzero_test_data): New variable.
23793 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23794 (ctan_downward_test_data): New variable.
23795 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23796 (ctan_upward_test_data): New variable.
23797 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23798 (ctanh_test_data): New variable.
23799 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23800 (ctanh_tonearest_test_data): New variable.
23801 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23802 (ctanh_towardzero_test_data): New variable.
23803 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23804 (ctanh_downward_test_data): New variable.
23805 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23806 (ctanh_upward_test_data): New variable.
23807 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23808 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23809 of BUILD_COMPLEX.
23810
601a3a5f
JM
23811 * math/libm-test.inc (struct test_ff_f_data): New type.
23812 (struct test_ff_f_data_nexttoward): Likewise.
23813 (RUN_TEST_LOOP_2_f): New macro.
23814 (RUN_TEST_LOOP_ff_f): Likewise.
23815 (atan2_test_data): New variable.
23816 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23817 (copysign_test_data): New variable.
23818 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23819 (fdim_test_data): New variable.
23820 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23821 (fmax_test_data): New variable.
23822 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23823 (fmin_test_data): New variable.
23824 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23825 (fmod_test_data): New variable.
23826 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23827 (hypot_test_data): New variable.
23828 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23829 (nextafter_test_data): New variable.
23830 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23831 (nexttoward_test_data): New variable.
23832 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23833 (pow_test_data): New variable.
23834 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23835 (pow_tonearest_test_data): New variable.
23836 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23837 (pow_towardzero_test_data): New variable.
23838 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23839 (pow_downward_test_data): New variable.
23840 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23841 (pow_upward_test_data): New variable.
23842 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23843 (remainder_test_data): New variable.
23844 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23845 (scalb_test_data): New variable.
23846 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23847 * sysdeps/i386/fpu/libm-test-ulps: Update.
23848
74c57478
JM
238492013-05-11 Joseph Myers <joseph@codesourcery.com>
23850
8329e4da
JM
23851 * math/libm-test.inc (fma_test): Use max_value instead of local
23852 variable fltmax.
23853 (nextafter_test): Likewise.
23854
74c57478
JM
23855 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23856 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23857 (acos_downward_test_data): New variable.
23858 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23859 (acos_upward_test_data): New variable.
23860 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23861 (acosh_test_data): New variable.
23862 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23863 (asin_test_data): New variable.
23864 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23865 (asin_tonearest_test_data): New variable.
23866 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23867 (asin_towardzero_test_data): New variable.
23868 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23869 (asin_downward_test_data): New variable.
23870 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23871 (asin_upward_test_data): New variable.
23872 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23873 (asinh_test_data): New variable.
23874 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23875 (atan_test_data): New variable.
23876 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23877 (atanh_test_data): New variable.
23878 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23879 (cbrt_test_data): New variable.
23880 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23881 (ceil_test_data): New variable.
23882 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23883 (cos_test_data): New variable.
23884 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23885 (cos_tonearest_test_data): New variable.
23886 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23887 (cos_towardzero_test_data): New variable.
23888 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23889 (cos_downward_test_data): New variable.
23890 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23891 (cos_upward_test_data): New variable.
23892 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23893 (cosh_test_data): New variable.
23894 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23895 (cosh_tonearest_test_data): New variable.
23896 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23897 (cosh_towardzero_test_data): New variable.
23898 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23899 (cosh_downward_test_data): New variable.
23900 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23901 (cosh_upward_test_data): New variable.
23902 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23903 (erf_test_data): New variable.
23904 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23905 (erfc_test_data): New variable.
23906 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23907 (exp_test_data): New variable.
23908 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23909 (exp_tonearest_test_data): New variable.
23910 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23911 (exp_towardzero_test_data): New variable.
23912 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23913 (exp_downward_test_data): New variable.
23914 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23915 (exp_upward_test_data): New variable.
23916 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23917 (exp10_test_data): New variable.
23918 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23919 (exp2_test_data): New variable.
23920 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23921 (expm1_test_data): New variable.
23922 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23923 (fabs_test_data): New variable.
23924 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23925 (floor_test_data): New variable.
23926 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23927 (j0_test_data): New variable.
23928 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23929 (j1_test_data): New variable.
23930 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23931 (log_test_data): New variable.
23932 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23933 (log10_test_data): New variable.
23934 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23935 (log1p_test_data): New variable.
23936 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23937 (log2_test_data): New variable.
23938 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23939 (logb_test_data): New variable.
23940 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23941 (logb_downward_test_data): New variable.
23942 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23943 (nearbyint_test_data): New variable.
23944 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23945 (rint_test_data): New variable.
23946 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23947 (rint_tonearest_test_data): New variable.
23948 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23949 (rint_towardzero_test_data): New variable.
23950 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23951 (rint_downward_test_data): New variable.
23952 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23953 (rint_upward_test_data): New variable.
23954 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23955 (round_test_data): New variable.
23956 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23957 (sin_test_data): New variable.
23958 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23959 (sin_tonearest_test_data): New variable.
23960 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23961 (sin_towardzero_test_data): New variable.
23962 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23963 (sin_downward_test_data): New variable.
23964 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23965 (sin_upward_test_data): New variable.
23966 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23967 (sinh_test_data): New variable.
23968 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23969 (sinh_tonearest_test_data): New variable.
23970 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23971 (sinh_towardzero_test_data): New variable.
23972 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23973 (sinh_downward_test_data): New variable.
23974 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23975 (sinh_upward_test_data): New variable.
23976 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23977 (sqrt_test_data): New variable.
23978 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23979 (tan_test_data): New variable.
23980 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23981 (tan_tonearest_test_data): New variable.
23982 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23983 (tan_towardzero_test_data): New variable.
23984 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23985 (tan_downward_test_data): New variable.
23986 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23987 (tan_upward_test_data): New variable.
23988 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23989 (tanh_test_data): New variable.
23990 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23991 (tgamma_test_data): New variable.
23992 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23993 (trunc_test_data): New variable.
23994 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23995 (y0_test_data): New variable.
23996 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23997 (y1_test_data): New variable.
23998 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23999 (significand_test_data): New variable.
24000 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24001
7187d844
CG
240022013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24003
24004 [BZ #12387]
24005 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24006
f63fae73
PT
240072013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24008
24009 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24010
8a67a4b3
AJ
240112013-05-10 Andreas Jaeger <aj@suse.de>
24012
24013 [BZ #15448]
24014 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24015 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24016
51df539d
JM
240172013-05-10 Joseph Myers <joseph@codesourcery.com>
24018
24019 * math/gen-libm-test.pl (adjust_arg): New function.
24020 (special_functions): Handle generating output in both functions
24021 and arrays.
24022 (parse_args): Likewise.
24023 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24024 $in_func argument to parse_args.
24025 * math/libm-test.inc (struct test_f_f_data): New type.
24026 (IF_ROUND_INIT_): New macro.
24027 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24028 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24029 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24030 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24031 (ROUND_RESTORE_): Likewise.
24032 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24033 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24034 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24035 (ROUND_RESTORE_FE_UPWARD): Likewise.
24036 (RUN_TEST_LOOP_f_f): New macro.
24037 (acos_test_data): New variable.
24038 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24039 (acos_tonearest_test_data): New variable.
24040 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24041
5c637fe5
SP
240422013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24043
24044 * benchtests/bench-skeleton.c (startup): Fix coding style.
24045
ab2b9461
JM
240462013-05-10 Joseph Myers <joseph@codesourcery.com>
24047
24048 [BZ #6809]
24049 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24050 negative infinity argument.
24051 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24052 negative infinity argument.
24053 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24054 negative infinity argument.
24055 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24056 domain errors.
24057
4c0fe6fe
FW
240582013-05-10 Florian Weimer <fweimer@redhat.com>
24059
24060 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24061 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24062 * iconv/iconv_prog.c (main): Likewise.
24063 * locale/programs/charmap-dir.c (charmap_readdir)
24064 (fopen_uncompressed): Likewise.
24065 * locale/programs/locfile.c (siblings_uncached)
24066 (write_locale_data): Use lstat64 instead of lstat.
24067 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24068 stat.
24069
a3375d29
AJ
240702013-05-10 Andreas Jaeger <aj@suse.de>
24071
24072 [BZ #15395]
24073 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24074 localization.
24075 Include <locale.h>.
24076
36129722
CD
240772013-05-09 Carlos O'Donell <carlos@redhat.com>
24078
24079 * elf/dl-close.c (_dl_close_worker): Add comments.
24080
faa7f811
JM
240812013-05-09 Joseph Myers <joseph@codesourcery.com>
24082
ed41ffef
JM
24083 [BZ #15359]
24084 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24085 high part of pi/2.
24086 (__ieee754_rem_pio2l): Update comments.
24087
d0213cd0
JM
24088 [BZ #15429]
24089 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24090 high part of pi/2.
24091 (__ieee754_rem_pio2l): Update comments.
24092
0d3e777a
JM
24093 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24094 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24095
24f56066
JM
24096 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24097 M_PI_4l.
24098
faa7f811
JM
24099 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24100 (M_PI_34_LOG10El): Likewise.
24101 (M_PI2_LOG10El): Likewise.
24102 (M_PI4_LOG10El): Likewise.
24103 (M_PI_LOG10El): Likewise.
24104
e9a5e0fd
AZ
241052013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24106
24107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24108
d8cd06db
JM
241092013-05-08 Joseph Myers <joseph@codesourcery.com>
24110
a0d9f9d7
JM
24111 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24112 (MINUS_ZERO_INIT): Likewise.
24113 (PLUS_INFTY_INIT): Likewise.
24114 (MINUS_INFTY_INIT): Likewise.
24115 (QNAN_VALUE_INIT): Likewise.
24116 (MAX_VALUE_INIT): Likewise.
24117 (MIN_VALUE_INIT): Likewise.
24118 (MIN_SUBNORM_VALUE_INIT): Likewise.
24119 (plus_zero): Initialize with PLUS_ZERO_INIT.
24120 (minus_zero): Initialize with MINUS_ZERO_INIT.
24121 (plus_infty): Initialize with PLUS_INFTY_INIT.
24122 (minus_infty): Initialize with MINUS_INFTY_INIT.
24123 (qnan_value): Initialize with QNAN_VALUE_INIT.
24124 (max_value): Initialize with MAX_VALUE_INIT.
24125 (min_value): Initialize with MIN_VALUE_INIT.
24126 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24127
ae08db3b
JM
24128 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24129 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24130 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24131 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24132
f44bf14a
JM
24133 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24134 (RUN_TEST_2_f): Likewise.
24135 (RUN_TEST_ff_f): Likewise.
24136 (RUN_TEST_fi_f): Likewise.
24137 (RUN_TEST_fl_f): Likewise.
24138 (RUN_TEST_fff_f): Likewise.
24139 (RUN_TEST_c_f): Likewise.
24140 (RUN_TEST_f_f1): Likewise.
24141 (RUN_TEST_fF_f1): Likewise.
24142 (RUN_TEST_fI_f1): Likewise.
24143 (RUN_TEST_ffI_f1): Likewise.
24144 (RUN_TEST_c_c): Likewise.
24145 (RUN_TEST_cc_c): Likewise.
24146 (RUN_TEST_f_i): Likewise.
24147 (RUN_TEST_f_i_tg): Likewise.
24148 (RUN_TEST_ff_i_tg): Likewise.
24149 (RUN_TEST_f_b): Likewise.
24150 (RUN_TEST_f_b_tg): Likewise.
24151 (RUN_TEST_f_l): Likewise.
24152 (RUN_TEST_f_L): Likewise.
24153 (RUN_TEST_sincos): Likewise.
24154 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24155 whether to show exceptions. Do not include ");\n" in return
24156 value.
24157 (special_functions): Output call to RUN_TEST_sincos instead of
24158 check_float calls. Update calls to new_test.
24159 (parse_args): Output call to single RUN_TEST_* macro instead of
24160 check_* calls and other assignments. Update calls to new_test.
24161
d8cd06db
JM
24162 [BZ #2546]
24163 [BZ #2560]
24164 [BZ #5159]
24165 [BZ #15426]
24166 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24167 input to result for tgamma overflow.
24168 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24169 (gamma_coeff): New variable.
24170 (NCOEFF): New macro.
24171 (gamma_positive): New function.
24172 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24173 underflow here. Use gamma_positive instead of exp (lgamma) for
24174 other arguments.
24175 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24176 (gamma_coeff): New variable.
24177 (NCOEFF): New macro.
24178 (gammaf_positive): New function.
24179 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24180 underflow here. Use gamma_positive instead of exp (lgamma) for
24181 other arguments.
24182 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24183 (gamma_coeff): New variable.
24184 (NCOEFF): New macro.
24185 (gammal_positive): New function.
24186 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24187 underflow here. Use gamma_positive instead of exp (lgamma) for
24188 other arguments.
24189 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24190 (gamma_coeff): New variable.
24191 (NCOEFF): New macro.
24192 (gammal_positive): New function.
24193 (__ieee754_gammal_r): Handle positive infinity, overflow and
24194 underflow here. Handle NaN the same as positive infinity. Remove
24195 check x < 0xffffffff for negative integers. Use gamma_positive
24196 instead of exp (lgamma) for other arguments.
24197 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24198 (gamma_coeff): New variable.
24199 (NCOEFF): New macro.
24200 (gammal_positive): New function.
24201 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24202 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24206 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24207 * sysdeps/generic/math_private.h (__gamma_productf): New
24208 prototype.
24209 (__gamma_product): Likewise.
24210 (__gamma_productl): Likewise.
24211 * math/Makefile (libm-calls): Add gamma_product.
24212 * math/libm-test.inc (tgamma_test): Add more tests.
24213 * sysdeps/i386/fpu/libm-test-ulps: Update.
24214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24215
bb7cf681
OB
242162013-05-08 Ondřej Bílka <neleai@seznam.cz>
24217
24218 * benchtests/bench-skeleton.c (main): Preheat CPU.
24219
ba853947
AJ
242202013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24221
24222 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24223
8347c74c
RM
242242013-05-07 Roland McGrath <roland@hack.frob.com>
24225
24226 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24227 and _dl_skip_args_internal.
24228
e8dd4791
CD
242292013-05-07 Carlos O'Donell <carlos@redhat.com>
24230
24231 * manual/message.texi (Message Translation): Talk about users.
24232 Message to key mapping impacts design.
24233
c7405830
RM
242342013-05-06 Roland McGrath <roland@hack.frob.com>
24235
a9173057
RM
24236 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24237
976e2f03
RM
24238 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24239
9723ffc5
RM
24240 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24241 * sysdeps/wordsize-64/glob64.c: ... here.
24242
962e6658
RM
24243 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24244 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24245 New macros.
24246
ee586a6d
RM
24247 * debug/getlogin_r_chk.c: Moved to ...
24248 * login/getlogin_r_chk.c: ... here.
24249 * debug/Makefile (routines): Move getlogin_r_chk to ...
24250 * login/Makefile (routines): ... here.
24251 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24252 * login/Versions (libc: GLIBC_2.4): ... here.
24253
355f9165
RM
24254 * io/poll.c (__poll): Renamed from poll.
24255 Add libc_hidden_def.
24256 (poll): Define as weak alias.
24257
bd9ffde6
RM
24258 * debug/ptsname_r_chk.c: Moved to ...
24259 * login/ptsname_r_chk.c: ... here.
24260 * debug/Makefile (routines): Move ptsname_r_chk to ...
24261 * login/Makefile (routines): ... here.
24262 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24263 * login/Versions (libc: GLIBC_2.4): ... here.
24264
8fb16a04
RM
24265 * posix/getlogin.c: Moved to ...
24266 * login/getlogin.c: ... here.
24267 * posix/getlogin_r.c: Moved to ...
24268 * login/getlogin_r.c: ... here.
24269 * posix/getlogin_r.c: Moved to ...
24270 * login/getlogin_r.c: ... here.
24271 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24272 * login/Makefile (routines): ... here.
24273 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24274 * login/Versions (libc: GLIBC_2.0): ... here.
24275
b99b892f
RM
24276 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24277 (setrlimit): Define as weak alias.
24278
c7405830
RM
24279 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24280 Call __ names for open, ftruncate, and close.
24281 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24282 (truncate): Define as weak alias.
24283
5bf96de5
JM
242842013-05-06 Joseph Myers <joseph@codesourcery.com>
24285
9ea3513c
JM
24286 * math/gen-libm-test.pl (parse_args): Initialize x before each
24287 test of frexp, modf and remquo.
24288
5bf96de5
JM
24289 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24290 test signgam value.
24291
16e616a7
AZ
242922013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24293
24294 [BZ #15418]
24295 [BZ #15419]
24296 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24297 internal tests.
24298 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24299
d5e82754
RM
243002013-05-06 Roland McGrath <roland@hack.frob.com>
24301
24302 * elf/dl-writev.h: New file.
24303 * elf/dl-misc.c: Include it.
24304 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24305 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24306
a7548d41
JM
243072013-05-04 Joseph Myers <joseph@codesourcery.com>
24308
b7dab1e4
JM
24309 * math/libm-test.inc (noXFails): Remove variable.
24310 (noXPasses): Likewise.
24311 (BUILD_COMPLEX_INT): Remove macro.
24312 (print_screen): Remove xfail argument.
24313 (print_screen_max_error): Likewise.
24314 (update_stats): Likewise.
24315 (print_max_error): Likewise. Update calls to other affected
24316 functions.
24317 (print_complex_max_error): Likewise.
24318 (test_single_exception): Update calls to print_screen.
24319 (test_single_errno): Likewise.
24320 (check_float_internal): Remove xfail argument. Update calls to
24321 other affected functions.
24322 (check_float): Likewise.
24323 (check_complex): Likewise.
24324 (check_int): Likewise.
24325 (check_long): Likewise.
24326 (check_bool): Likewise.
24327 (check_longlong): Likewise.
24328 (main): Don't print noXFails and noXPasses.
24329 * math/gen-libm-test.pl (top level): Don't mention expected
24330 failure handling in comment.
24331 (new_test): Don't handle expected failures.
24332 (parse_args): Don't mention expected failure handling in comment.
24333 (generate_testfile): Don't handle expected failures.
24334 (parse_ulps): Likewise.
24335 (print_ulps_file): Likewise.
24336 (get_failure): Remove function.
24337 (output_test): Don't handle expected failures.
24338 * make/README.libm-test: Don't mention expected failure handling.
24339
a7548d41
JM
24340 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24341 (minus_zero): Likewise.
24342 (plus_infty): Likewise.
24343 (minus_infty): Likewise.
24344 (qnan_value): Likewise.
24345 (max_value): Likewise.
24346 (min_value): Likewise.
24347 (min_subnorm_value): Likewise.
24348 (initialize): Do not initialize those variables dynamically.
24349
60bfd54c
RM
243502013-05-03 Roland McGrath <roland@hack.frob.com>
24351
cc0e6ed8
RM
24352 * io/open.c (__open_2): Moved to ...
24353 * io/open_2.c: ... this new file.
24354 * io/open64.c (__open64_2): Moved to ...
24355 * io/open64_2.c: ... this new file.
24356 * io/openat.c (__openat_2): Moved to ...
24357 * io/openat_2.c: ... this new file.
24358 * io/openat64.c (__openat64_2): Moved to ...
24359 * io/openat64_2.c: ... this new file.
24360 * io/Makefile (routines): Add them.
24361 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24362 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24363 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24364 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24365 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24366 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24367 (__openat64): Add hidden_ver.
24368 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24369 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24370
60bfd54c
RM
24371 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24372 Separately conditionalize setting of GLRO(dl_sysinfo) so
24373 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24374 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24375
83e7640f
AZ
243762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24377
24378 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24379 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24380 definition.
24381 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24382 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24383 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24384 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24385 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24386
d5dc2af3
JM
243872013-05-03 Joseph Myers <joseph@codesourcery.com>
24388
c31a5b1e
JM
24389 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24390 test signgam value.
24391
d5dc2af3
JM
24392 * math/libm-test.inc (hypot_test): Do not use
24393 IGNORE_ZERO_INF_SIGN.
24394
164fd39d
AJ
243952013-05-03 Andreas Jaeger <aj@suse.de>
24396
24397 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24398 Linux 3.9.
24399 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24400 (PF_MAX): Adjust for VSOCK change.
24401
8237f48c
AZ
244022013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24403
24404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24405
9df02941
CD
244062013-05-02 Carlos O'Donell <carlos@redhat.com>
24407
24408 [BZ #15264]
24409 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24410 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24411 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24412
d422395e
DM
244132013-05-02 David S. Miller <davem@davemloft.net>
24414
24415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24416
a07c5731
OB
244172013-05-01 Ondřej Bílka <neleai@seznam.cz>
24418
24419 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24420
1324e37f
RM
244212013-05-01 Roland McGrath <roland@hack.frob.com>
24422
24423 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24424
0695940b
RS
244252013-05-01 Richard Smith <richard@metafoo.co.uk>
24426
bb5f27ad 24427 [BZ #14952]
0695940b
RS
24428 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24429 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24430 Use __attribute__ ((__gnu_inline__)).
24431 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24432 Don't use __attribute__ ((__gnu_inline__)).
24433
10de07f5
JM
244342013-05-01 Joseph Myers <joseph@codesourcery.com>
24435
24436 [BZ #15423]
24437 * math/s_catan.c (__catan): Handle small real or imaginary part of
24438 input specially to avoid spurious underflow.
24439 * math/s_catanf.c (__catanf): Likewise.
24440 * math/s_catanh.c (__catanh): Likewise.
24441 * math/s_catanhf.c (__catanhf): Likewise.
24442 * math/s_catanhl.c (__catanhl): Likewise.
24443 * math/s_catanl.c (__catanl): Likewise.
24444 * math/libm-test.inc (catan_test): Add more tests.
24445 (catanh_test): Likewise.
24446 * sysdeps/i386/fpu/libm-test-ulps: Update.
24447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24448
cb4d5414
AZ
244492013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24450
24451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24452
caf84319
JM
244532013-04-30 Joseph Myers <joseph@codesourcery.com>
24454
24455 [BZ #15416]
24456 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24457 accurately for denominator in atan2.
24458 * math/s_catanf.c (__catanf): Likewise.
24459 * math/s_catanh.c (__catanh): Likewise.
24460 * math/s_catanhf.c (__catanhf): Likewise.
24461 * math/s_catanhl.c (__catanhl): Likewise.
24462 * math/s_catanl.c (__catanl): Likewise.
24463 * math/libm-test.inc (catan_test): Add more tests.
24464 (catanh_test): Likewise.
24465 * sysdeps/i386/fpu/libm-test-ulps: Update.
24466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24467
d569c6ee
SP
244682013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24469
6dbe713d
SP
24470 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24471
f0ee064b
SP
24472 * benchtests/Makefile (bench): Remove slow benchmarks.
24473 * benchtests/atan-inputs: Add slow benchmark inputs.
24474 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24475 (BENCH_FUNC): Accept variant offset.
24476 (VARIANT): Define.
24477 * benchtests/bench-skeleton.c (main): Run benchmark for each
24478 variant.
24479 * benchtests/cos-inputs: Add slow benchmark inputs.
24480 * benchtests/exp-inputs: Likewise.
24481 * benchtests/pow-inputs: Likewise.
24482 * benchtests/sin-inputs: Likewise.
24483 * benchtests/slowatan-inputs: Remove.
24484 * benchtests/slowatan.c: Remove.
24485 * benchtests/slowcos-inputs: Remove.
24486 * benchtests/slowcos.c: Remove.
24487 * benchtests/slowexp-inputs: Remove.
24488 * benchtests/slowexp.c: Remove.
24489 * benchtests/slowpow-inputs: Remove.
24490 * benchtests/slowpow.c: Remove.
24491 * benchtests/slowsin-inputs: Remove.
24492 * benchtests/slowsin.c: Remove.
24493 * benchtests/slowtan-inputs: Remove.
24494 * benchtests/slowtan.c: Remove.
24495 * benchtests/tan-inputs: Add slow benchmark inputs.
24496 * scripts/bench.pl: Parse comments and directives.
24497
d569c6ee
SP
24498 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24499 in CPPFLAGS.
24500 ($(objpfx)bench-%.c): Remove *-ITER.
24501 * benchtests/bench-modf.c: Remove definition of ITER.
24502 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24503 (main): Loop for DURATION seconds instead of fixed number of
24504 iterations.
24505 * scripts/bench.pl: Don't expect iterations in parameters.
24506
a6a242fe
RM
245072013-04-29 Roland McGrath <roland@hack.frob.com>
24508
24509 * io/fchdir.c (__fchdir): Renamed from fchdir.
24510 (fchdir): Define as weak alias.
24511
f2da7793
JM
245122013-04-29 Joseph Myers <joseph@codesourcery.com>
24513
24514 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24515 (ERRNO_EDOM): Likewise.
24516 (ERRNO_ERANGE): Likewise.
24517 (noErrnoTests): New variable.
24518 (init_max_error): Set errno to 0.
24519 (test_single_errno): New function.
24520 (test_errno): Likewise.
24521 (check_float_internal): Call test_errno. Set errno to 0.
24522 (check_complex): Refer to errno tests in comment.
24523 (check_int): Call test_errno. Set errno to 0.
24524 (check_long): Likewise.
24525 (check_bool): Likewise.
24526 (check_longlong): Likewise.
24527 (cos_test): Use ERRNO_* flags for errno tests instead of
24528 check_int.
24529 (expm1_test): Likewise.
24530 (fmod_test): Likewise.
24531 (ilogb_test): Likewise.
24532 (lgamma_test): Likewise.
24533 (pow_test): Likewise.
24534 (remainder_test): Likewise.
24535 (sin_test): Likewise.
24536 (tan_test): Likewise.
24537 (yn_test): Likewise.
24538 (initialize): Set errno to 0.
24539 (main): Print number of errno tests.
24540 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24541
b1a36ceb
AJ
245422013-04-29 Andreas Jaeger <aj@suse.de>
24543
c3ed8088
AJ
24544 [BZ #15084]
24545 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24546 and RES_USEVC.
24547
f1a24198
AJ
24548 [BZ #15085]
24549 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24550 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24551 unimplemented.
24552
9ce3b2cb
AJ
24553 [BZ #15380]
24554 * stdlib/random.c (__initstate): Return NULL if
24555 __initstate fails.
24556
f1a24198 24557 [BZ #15086]
b1a36ceb
AJ
24558 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24559 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24560 RES_SNGLKUPREOP.
24561
7e7b6f36
AZ
245622013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24563
24564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24565
4d14f449
JM
245662013-04-29 Joseph Myers <joseph@codesourcery.com>
24567
24568 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24569 of individual tests.
24570 (casin_test): Likewise.
24571 (casinh_test): Likewise.
24572
5b4217d7
JM
245732013-04-27 Joseph Myers <joseph@codesourcery.com>
24574
24575 [BZ #15409]
24576 * math/s_catan.c (__catan): Handle arguments with large real or
24577 imaginary part separately without squaring.
24578 * math/s_catanf.c (__catanf): Likewise.
24579 * math/s_catanh.c (__catanh): Likewise.
24580 * math/s_catanhf.c (__catanhf): Likewise.
24581 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24582 and redefine.
24583 (__catanhl): Handle arguments with large real or imaginary part
24584 separately without squaring.
24585 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24586 and redefine.
24587 (__catanl): Handle arguments with large real or imaginary part
24588 separately without squaring.
24589 * math/libm-test.inc (catan_test): Add more tests.
24590 (catanh_test): Likewise.
24591 * sysdeps/i386/fpu/libm-test-ulps: Update.
24592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24593
4220c3ef
AJ
245942013-04-27 Andreas Jaeger <aj@suse.de>
24595
24596 [BZ #15007]
24597 * stdlib/stdlib.h: Update guards for qecvt.
24598 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24599 <stdlib.h>.
24600
4721b2d1
AM
246012013-04-27 Allan McRae <allan@archlinux.org>
24602
24603 * sysdeps/i386/fpu/libm-test-ulps: Update.
24604
f0302940
JM
246052013-04-26 Joseph Myers <joseph@codesourcery.com>
24606
9457fd95
JM
24607 [BZ #15406]
24608 * math/s_catan.c: Include <float.h>.
24609 (__catan): Ensure underflow exception occurs for underflowed
24610 result.
24611 * math/s_catanf.c: Include <float.h>.
24612 (__catanf): Ensure underflow exception occurs for underflowed
24613 result.
24614 * math/s_catanh.c: Include <float.h>.
24615 (__catanh): Ensure underflow exception occurs for underflowed
24616 result.
24617 * math/s_catanhf.c: Include <float.h>.
24618 (__catanhf): Ensure underflow exception occurs for underflowed
24619 result.
24620 * math/s_catanhl.c: Include <float.h>.
24621 (__catanhl): Ensure underflow exception occurs for underflowed
24622 result.
24623 * math/s_catanl.c: Include <float.h>.
24624 (__catanl): Ensure underflow exception occurs for underflowed
24625 result.
24626 * math/libm-test.inc (catan_test): Add more tests.
24627 (catanh_test): Likewise.
24628
f0302940
JM
24629 [BZ #15405]
24630 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24631 underflowed result.
24632 * math/s_ccoshf.c (__ccoshf): Likewise.
24633 * math/s_ccoshl.c (__ccoshl): Likewise.
24634 * math/s_csin.c (__csin): Likewise.
24635 * math/s_csinf.c (__csinf): Likewise.
24636 * math/s_csinh.c (__csinh): Likewise.
24637 * math/s_csinhf.c (__csinhf): Likewise.
24638 * math/s_csinhl.c (__csinhl): Likewise.
24639 * math/s_csinl.c (__csinl): Likewise.
24640 * math/libm-test.inc (ccos_test): Add more tests.
24641 (ccosh_test): Likewise.
24642 (csin_test): Likewise.
24643 (csinh_test): Likewise.
24644
aa630f59
AZ
246452013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24646
24647 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24648 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24649 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24650 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24651 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24652 powerpc/power5+/fpu folders.
24653 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24654
24655
1b835983
MT
246562013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24657
24658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24659
73709b26
JM
246602013-04-25 Joseph Myers <joseph@codesourcery.com>
24661
24662 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24663 additions to variable.
24664 [$(config-machine) = x86_64] (modules-names): Likewise.
24665 ($(objpfx)tst-audit3): Remove dependency.
24666 ($(objpfx)tst-audit3.out): Likewise.
24667 ($(objpfx)tst-audit4): Likewise.
24668 ($(objpfx)tst-audit4.out): Likewise.
24669 ($(objpfx)tst-audit5): Likewise.
24670 ($(objpfx)tst-audit5.out): Likewise.
24671 ($(objpfx)tst-audit6): Likewise.
24672 ($(objpfx)tst-audit6.out): Likewise.
24673 ($(objpfx)tst-audit7): Likewise.
24674 ($(objpfx)tst-audit7.out): Likewise.
24675 (tst-audit3-ENV): Remove variable.
24676 (tst-audit4-ENV): Likewise.
24677 (tst-audit5-ENV): Likewise.
24678 (tst-audit6-ENV): Likewise.
24679 (tst-audit7-ENV): Likewise.
24680 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24681 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24682 addition to variable.
24683 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24684 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24685 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24686 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24687 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24688 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24689 tst-audit3, tst-audit4 and tst-audit5.
24690 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24691 tst-audit6 and tst-audit7.
24692 [$(subdir) = elf] (modules-names): Add audit modules for those
24693 tests.
24694 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24695 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24696 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24697 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24698 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24699 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24700 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24701 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24702 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24703 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24704 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24705 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24706 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24707 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24708 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24709 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24710 Likewise.
24711 [$(subdir) = elf && $(config-cflags-avx) = yes]
24712 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24713 [$(subdir) = elf && $(config-cflags-avx) = yes]
24714 (CFLAGS-tst-auditmod4a.c): Likewise.
24715 [$(subdir) = elf && $(config-cflags-avx) = yes]
24716 (CFLAGS-tst-auditmod4b.c): Likewise.
24717 [$(subdir) = elf && $(config-cflags-avx) = yes]
24718 (CFLAGS-tst-auditmod6b.c): Likewise.
24719 [$(subdir) = elf && $(config-cflags-avx) = yes]
24720 (CFLAGS-tst-auditmod6c.c): Likewise.
24721 [$(subdir) = elf && $(config-cflags-avx) = yes]
24722 (CFLAGS-tst-auditmod7b.c): Likewise.
24723 * elf/tst-audit3.c: Move to ...
24724 * sysdeps/x86_64/tst-audit3.c: ... here.
24725 * elf/tst-audit4.c: Move to ...
24726 * sysdeps/x86_64/tst-audit4.c: ... here.
24727 * elf/tst-audit5.c: Move to ...
24728 * sysdeps/x86_64/tst-audit5.c: ... here.
24729 * elf/tst-audit6.c: Move to ...
24730 * sysdeps/x86_64/tst-audit6.c: ... here.
24731 * elf/tst-audit7.c: Move to ...
24732 * sysdeps/x86_64/tst-audit7.c: ... here.
24733 * elf/tst-auditmod3a.c: Move to ...
24734 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24735 * elf/tst-auditmod3b.c: Move to ...
24736 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24737 * elf/tst-auditmod4a.c: Move to ...
24738 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24739 * elf/tst-auditmod4b.c: Move to ...
24740 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24741 * elf/tst-auditmod5a.c: Move to ...
24742 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24743 * elf/tst-auditmod5b.c: Move to ...
24744 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24745 * elf/tst-auditmod6a.c: Move to ...
24746 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24747 * elf/tst-auditmod6b.c: Move to ...
24748 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24749 * elf/tst-auditmod6c.c: Move to ...
24750 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24751 * elf/tst-auditmod7a.c: Move to ...
24752 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24753 * elf/tst-auditmod7b.c: Move to ...
24754 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24755
1ef74943
PP
247562013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24757
24758 [BZ #15366]
24759 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24760 define unconditionally.
24761 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24762 define unconditionally.
24763 (INT8_C, INT16_C, etc.): Likewise.
24764
93fd48c5
MR
247652013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24766
ae9552cf
MR
24767 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24768 __ehdr_start with hidden visibility.
24769
93fd48c5
MR
24770 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24771
418601aa
CD
247722013-04-24 Carlos O'Donell <carlos@redhat.com>
24773
24774 * math/libm-test.inc (cos_test): Use accurate hex constants.
24775 (sincost_test): Likewise.
24776
2f38fbfe
JM
247772013-04-24 Joseph Myers <joseph@codesourcery.com>
24778
5e221800
JM
24779 * math/libm-test.inc (catan_test): Add more tests.
24780 (catanh_test): Likewise.
24781
77f143fd
JM
24782 * math/s_catanf.c (__catanf): Use suffixed floating-point
24783 constants.
24784 * math/s_catanhf.c (__catanhf): Likewise.
24785 * math/s_catanhl.c (__catanhl): Likewise.
24786 * math/s_catanl.c (__catanl): Likewise.
24787
2f38fbfe
JM
24788 [BZ #15394]
24789 * math/s_catan.c (__catan): Calculate imaginary part of result
24790 with log1p not log unless computing log of number close to 0.
24791 * math/s_catanf.c (__catanf): Likewise.
24792 * math/s_catanl.c (__catanl): Likewise.
24793 * math/s_catanh.c (__catanh): Calculate real part of result with
24794 log1p not log unless computing log of number close to 0.
24795 * math/s_catanhf.c (__catanhf): Likewise.
24796 * math/s_catanhl.c (__catanhl): Likewise.
24797 * math/libm-test.inc (catan_test): Add more tests.
24798 (catanh_test): Likewise.
24799 * sysdeps/i386/fpu/libm-test-ulps: Update.
24800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24801
45d69176
SP
248022013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24803
24804 * benchtests/Makefile: Mention files in which fast and slow
24805 paths of math functions are implemented.
24806
87f51853
RM
248072013-04-23 Roland McGrath <roland@hack.frob.com>
24808
24809 * sysdeps/posix/timespec_get.c: New file.
24810
3c026539
AZ
248112013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24812
24813 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24814 POWER.
24815 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24816 for POWER.
24817 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24818 powerpc/power5/fpu folders.
24819 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24820 * benchtests/Makefile: Add modf testcase.
24821 * benchtests/bench-modf.c: New file: Benchmark test for mo
24822
ff491d14
SP
248232013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24824
24825 [BZ #14888]
24826 * time/Makefile (tests): Add tst-strptime-whitespace.
24827 * time/strptime_l.c (get_number): Use ISSPACE.
24828 (__strptime_internal): Likewise.
24829 * time/tst-strptime-whitespace.c: New test case.
24830
7ed3f4e8
AS
248312013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24832
24833 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24834 member.
24835 (_nss_files_init): Set it here.
24836
5c95f7b6
HC
248372013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24838
24839 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24840 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24841 unsigned.
24842
d34c9158
JBG
248432013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24844
24845 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24846
2169712d
SP
248472013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24848
24849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24850 size just once.
24851
29c5de99
DM
248522013-04-21 David S. Miller <davem@davemloft.net>
24853
24854 * po/ru.po: Update Russion translation from translation project.
24855
ccdad15d
AC
248562013-04-17 Adam Conrad <adconrad@0c3.net>
24857
24858 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24859 and setfsgid.
24860
0f122b8d
CD
248612013-04-17 Carlos O'Donell <carlos@redhat.com>
24862
5c5b07da 24863 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24864 * configure: Regenerate.
5c5b07da 24865 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24866 Add example to error message.
24867 * sysdeps/i386/configure: Regenerate.
24868
037714dd
SP
248692013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24870
24871 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24872 slowtan.
24873 * benchtests/cos-inputs: New file.
24874 * benchtests/slowcos-inputs: New file.
24875 * benchtests/slowcos.c: New file.
24876 * benchtests/slowtan-inputs: New file.
24877 * benchtests/slowtan.c: New file.
24878 * benchtests/tan-inputs: New file.
24879
e913141d
RM
248802013-04-16 Roland McGrath <roland@hack.frob.com>
24881
24882 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24883 considered kosher.
24884
a2964074
SP
248852013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24886
4856bcd2
SP
24887 * benchtests/Makefile: Include cppflags-iterator.mk to add
24888 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24889
a2964074
SP
24890 * Makefile.in (bench-clean): New target.
24891 * benchtests/Makefile (bench-clean): Likewise.
24892
9fbf9aca
DH
248932013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24894
24895 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24896
207d1e2a
TS
248972013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24898
24899 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24900
306dfba9
AS
249012013-04-15 Andreas Schwab <schwab@suse.de>
24902
24903 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24904 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24905 * nscd/pwdcache.c (cache_addpw): Likewise.
24906 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24907 more than recsize.
24908
206a6699
SP
249092013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24910
24911 * benchtests/Makefile (bench): Write all output to
24912 bench-out.tmp together.
24913
0582f6b3
AS
249142013-04-15 Andreas Schwab <schwab@suse.de>
24915
24916 * nscd/nscd.c (main): Don't fork again after closing files.
24917
acb4325f
SP
249182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24919
5cb26d0a
SP
24920 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24921
acb4325f
SP
24922 * benchtests/Rules (bench-deps): Collect dependencies into a
24923 single variable. Add Makefile to dependencies.
24924 ($(objpfx)bench-%.c): Depend on bench-deps.
24925
47792506
RM
249262013-04-12 Roland McGrath <roland@hack.frob.com>
24927 Xavier Roche <roche+kml2@exalead.com>
24928
24929 [BZ #15361]
24930 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24931 just that it's a file descriptor.
24932 * manual/llio.texi (Synchronizing AIO Operations): Update description
24933 for EBADF error from aio_fsync.
24934
8fc1bee5
SP
249352013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24936
24937 * Rules (bench): Move target definition...
24938 * benchtests/Makefile: ... here.
24939
aba5e333
CD
249402013-04-11 Carlos O'Donell <carlos@redhat.com>
24941
24942 * math/libm-test.inc (cos_test): Fix PI/2 test.
24943 (sincos_test): Likewise.
24944 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24945 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24946
273cdee8
AS
249472013-04-11 Andreas Schwab <schwab@suse.de>
24948
6ecec3b6
AS
24949 [BZ #13988]
24950 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24951 accept exponent character only when digits were seen.
24952 * stdio-common/Makefile (tests): Add bug26.
24953 * stdio-common/bug26.c: New file.
24954
273cdee8
AS
24955 [BZ #14293]
24956 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24957 non-freeable.
24958
8da491f5
SP
249592013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24960
01dc6df9
SP
24961 * Makeconfig (rtld-prefix): Define built linker prefix.
24962 * Rules (run-bench): Use it.
24963 * math/Makefile (run-regen-ulps): Likewise.
24964
8da491f5
SP
24965 * Rules (bench): Remove eval.
24966
abe7f530
SP
249672013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24968 Roland McGrath <roland@hack.frob.com>
24969 Ondrej Bilka <neleai@seznam.cz>
24970
24971 [BZ #15346]
24972 * time/getdate.c: Include ctype.h and alloca.h.
24973 (__getdate_r): Trim leading and trailing spaces of input.
24974 * time/tst-getdate.c (tests): Add tests with leading and
24975 trailing spaces.
24976
61c23e62
RM
249772013-04-08 Roland McGrath <roland@hack.frob.com>
24978
24979 [BZ #14280]
24980 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24981 when computing value.
24982
7208a313
CD
249832013-04-06 Carlos O'Donell <carlos@redhat.com>
24984
085b2d41
CD
24985 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24986 Use testrun.sh to run libm tests.
24987
7208a313
CD
24988 [BZ #15309]
24989 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24990
872c0acd
MM
249912013-04-06 Marko Myllynen <myllynen@redhat.com>
24992
24993 [BZ #15264]
24994 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24995
26510bdd
CD
249962013-04-06 Carlos O'Donell <carlos@redhat.com>
24997
24998 * Makefile.in (regen-ulps): New target.
24999 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25000 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25001 [ifneq (no,$(PERL)] (regen-ulps): New target.
25002 [ifeq (no,$(PERL)] (regen-ulps): New target.
25003 * math/libm-test.inc (ulps_file_name): Define.
25004 (output_dir): New variable.
25005 (options): Add "output-dir" option.
25006 (parse_opt): Handle 'o' case.
25007 (main): If output_dir is non-NULL use it as a prefix
25008 otherwise use "".
25009 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25010
a01f19c8
CD
250112013-04-06 Carlos O'Donell <carlos@redhat.com>
25012
25013 [BZ #10060, #10062]
25014 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25015 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25016 fail configure if __sync_val_compare_and_swap is not inlined.
25017 * sysdeps/i386/configure: Regenerate.
25018 * configure.in: Build for i686 when configured for i386.
25019 * configure: Regenerate.
25020 * README: Remove i386 reference.
25021
b7a329a5
CD
250222013-04-06 Carlos O'Donell <carlos@redhat.com>
25023
25024 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25026
bf0f50df
TS
250272013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25028
ee091edf
TS
25029 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25030 (lmsnanval): New variables.
25031 (F): Add conversion tests.
25032 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25033 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25034
a8b792d6
TS
25035 * stdio-common/tstdiomisc.c (F): Properly collect individual
25036 tests' results.
25037
a1cbf437
TS
25038 [BZ #14686, #15336]
25039 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25040 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25041 Instead, use input NaN values or generate a qNaN by arithmetic
25042 operation. Also fix bugs to comply with the standard.
25043 * math/libm-test.inc (remainder_test): Add more tests.
25044
8b43a0c9
TS
25045 [BZ #15335, #15342]
25046 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25048 input NaN values or generate a qNaN by arithmetic operation.
25049
d91da4ce
TS
25050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25051 unreachable code.
25052
bf0f50df
TS
25053 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25054 definitions.
25055
05e166c8
JM
250562013-04-03 Joseph Myers <joseph@codesourcery.com>
25057
25058 [BZ #14478]
25059 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25060 underflowed result.
25061 * math/s_cexpf.c (__cexpf): Likewise.
25062 * math/s_cexpl.c (__cexpl): Likewise.
25063 * math/libm-test.inc (cexp_test): Add more tests.
25064
1cef1b19
AS
250652013-04-03 Andreas Schwab <schwab@suse.de>
25066
25067 [BZ #15330]
25068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25069 order arrays from heap if bigger than alloca cutoff.
25070
74d87055
TS
250712013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25072
25073 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25074 (SNAN_TESTS_double): Refer to GCC PR56831.
25075 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25076 GCC PR56828.
25077
d755bba4
SP
250782013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25079
90d5d5bb
SP
25080 * Rules (bench): Move bench.out after the run is complete.
25081
73e0cd5d
SP
25082 * Rules (bench): Echo currently running benchmark.
25083
64aabd4b
SP
25084 * benchtests/Makefile (bench): Add atan and slowatan.
25085 * benchtests/atan-inputs: New file.
25086 * benchtests/slowatan-inputs: New file.
25087 * benchtests/slowatan.c: New file.
25088
c871eccd
SP
25089 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25090 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25091 its value.
25092
d755bba4
SP
25093 [BZ #15305]
25094 * sysdeps/unix/sysv/linux/kernel-features.h
25095 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25096 __ASSUME_XFS_RESTRICTED_CHOWN.
25097 * sysdeps/unix/sysv/linux/pathconf.c
25098 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25099 Save and restore errno.
25100
52ce4860
JM
251012013-04-02 Joseph Myers <joseph@codesourcery.com>
25102
25103 [BZ #15327]
25104 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25105 arguments using __kernel_casinh.
25106 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25107 arguments using __kernel_casinhf.
25108 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25109 arguments using __kernel_casinhl.
25110 * math/libm-test.inc (cacosh_test): Add more tests.
25111 * sysdeps/i386/fpu/libm-test-ulps: Update.
25112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25113
81f311c2
SP
251142013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25115
e7906a47
SP
25116 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25117 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25118
92e3664b
SP
25119 * bench/Makefile (bench): Add sin and slowsin.
25120 * benchtests/sin-inputs: New file.
25121 * benchtests/slowsin-inputs: New file.
25122 * benchtests/slowsin.c: New file.
25123
81f311c2
SP
25124 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25125 (bench): Add slowexp and slowpow.
25126 (exp-ITER): Increase iterations.
25127 (pow-ITER): Likewise.
25128 * benchtests/exp-inputs: Change input.
25129 * benchtests/pow-inputs: Likewise.
25130 * benchtests/slowexp-inputs: New file.
25131 * benchtests/slowexp.c: New file.
25132 * benchtests/slowpow-inputs: New file.
25133 * benchtests/slowpow.c: New file.
25134
ab0f1aa9
AZ
251352013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25136
25137 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25138 instructions.
25139 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25140 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25141 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25142 * benchtests/Makefile: Add rint benchtest.
25143 * benchtests/rint-inputs: Input for rint benchtest.
25144
57267616
TS
251452013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25146
25147 * Versions.def (libm): Add GLIBC_2.18.
25148 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25149 hidden libm prototypes.
25150 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25151 * math/Makefile (libm-calls): Add s_issignaling.
25152 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25153 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25154 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25155 declaration.
25156 * math/math.h [__USE_GNU] (issignaling): New macro.
25157 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25158 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25159 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25160 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25161 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25162 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25163 * manual/arith.texi (issignaling): New section.
25164 * manual/libm-err-tab.pl (@all_functions): Update comment.
25165 * math/gen-libm-test.pl (parse_args): Apply special handling for
25166 issignaling.
25167 * math/libm-test.inc (print_float, issignaling_test): New
25168 functions.
25169 (check_float_internal): Add issignaling checks.
25170 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25171 default definition.
25172 * sysdeps/powerpc/math-tests.h: New file.
25173 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25174 tests.
25175 * math/test-snan.c (TEST_FUNC): Likewise.
25176
6142896d
DM
251772013-03-30 David S. Miller <davem@davemloft.net>
25178
25179 * po/de.po: Update from translation team.
25180
ccc8cadf
JM
251812013-03-30 Joseph Myers <joseph@codesourcery.com>
25182
25183 [BZ #10357]
25184 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25185 imaginary part less than 1.0 and real part less than 0.5
25186 specially.
25187 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25188 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25189 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25190 (cacos_test): Add more tests.
25191 (casin_test): Likewise.
25192 (casinh_test): Likewise.
25193 * sysdeps/i386/fpu/libm-test-ulps: Update.
25194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25195
0f6a8d4b
SP
251962013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25197
0d1029de
SP
25198 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25199 ONE with its value.
25200
c2d94018
SP
25201 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25202 (__pow_mp): Replace ONE and MONE with their values.
25203 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25206 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25207 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25208 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25209
27ec37f1
SP
25210 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25211
a64d7e0e
SP
25212 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25213 (__pow_mp): Replace ZERO and MZERO with their values.
25214 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25215 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25216 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25218 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25219 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25220 (__sqr): Likewise.
25221
d26dd3eb
SP
25222 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25223
0f6a8d4b
SP
25224 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25225
e57b0c61
RM
252262013-03-28 Roland McGrath <roland@hack.frob.com>
25227
25228 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25229 Declare with __attribute__ ((weak)).
25230 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25231 Call __call_tls_dtors only if it's not NULL.
25232
356b3480
RM
252332013-03-28 Roland McGrath <roland@hack.frob.com>
25234
288f7d79
RM
25235 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25236 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25237 magic __ehdr_start linker symbol if it's defined.
25238 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25239 them up here if it was already done.
25240
dc0a0263
RM
25241 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25242 (_dl_aux_init): Use const in cast when setting it.
25243 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25244 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25245 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25246
3d3436ae
RM
25247 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25248 Declare them here.
25249 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25250 * csu/libc-tls.c: Nor here.
25251 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25252
356b3480
RM
25253 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25254 (__libc_message): Never call vsyslog.
25255
b0f1246a
AM
252562013-03-28 Alan Modra <amodra@gmail.com>
25257
25258 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25259 Define as empty.
25260 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25261 Likewise.
25262
fbbe2b9a
AZ
252632013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25264
25265 [BZ #15214]
25266 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25267 underflow.
25268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25269
1728ab37
SP
252702013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25271
7a86be6e
SP
25272 [BZ #15304]
25273 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25274 Don't add gid passed as argument.
25275
1728ab37
SP
25276 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25277
3a7182a1
JM
252782013-03-27 Joseph Myers <joseph@codesourcery.com>
25279
25280 [BZ #15307]
25281 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25282 imaginary part between 1.0 and 1.5 and real part less than 0.5
25283 specially.
25284 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25285 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25286 * math/libm-test.inc (cacos_test): Add more tests.
25287 (casin_test): Likewise.
25288 (casinh_test): Likewise.
25289 * sysdeps/i386/fpu/libm-test-ulps: Update.
25290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25291
6f2e90e7
SP
252922013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25293
5739f705
SP
25294 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25295 constants.
25296 (norm): Likewise.
25297 (denorm): Likewise.
25298 (__dbl_mp): Likewise.
25299 (add_magnitudes): Likewise.
25300 (sub_magnitudes): Likewise.
25301 (__add): Likewise.
25302 (__sub): Likewise.
25303 (__mul): Likewise.
25304 (__sqr): Likewise.
25305 (__inv): Likewise.
25306 (__dvd): Likewise.
25307
e375e83d
SP
25308 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25309 commented code.
25310 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25311 (__dubcos): Likewise.
25312 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25313 (__ieee754_acos): Likewise.
25314 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25315 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25316 (__exp1): Likewise.
25317 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25319 (log1): Likewise.
25320 (my_log2): Likewise.
25321 (checkint): Likewise.
25322 * sysdeps/ieee754/dbl-64/e_remainder.c
25323 (__ieee754_remainder): Likewise.
25324 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25325 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25326 (bsloww): Likewise.
25327 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25328
6f2e90e7
SP
25329 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25330 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25331 MANTISSA_STORE_T to store computations on mantissa. Use
25332 macros for rounding and division.
25333 (denorm): Likewise.
25334 (__dbl_mp): Likewise.
25335 (add_magnitudes): Likewise.
25336 (sub_magnitudes): Likewise.
25337 (__mul): Likewise.
25338 (__sqr): Likewise.
25339 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25340 powers of two in terms of TWOPOW macro.
25341 (mp_no): Make type of mantissa as MANTISSA_T.
25342 [!RADIXI]: Define RADIXI.
25343 [!TWO52]: Define TWO52.
25344 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25345
fce14d4e
AZ
253462013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25347
25348 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25349 llroundl symbol when building for PPC32.
25350
9ad027fb
MW
253512013-03-24 Mark H Weaver <mhw@netris.org>
25352
25353 * manual/arith.texi (Normalization Functions): Fix prototypes for
25354 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25355
e42a38dd
AZ
253562013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25357
25358 [BZ #13889]
25359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25360 high value to check if expl overflow.
25361 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25362 to check for underflow and overflow.
25363 * math/libm-test.inc: Add exp test.
25364
2e0fb521
DL
253652013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25366
25367 [BZ #11120]
25368 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25369 with NOT_IN_libc.
25370
b5784d95
AZ
253712013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25372
25373 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25374 symbol.
25375
5aa4a1a1
TS
253762013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25377
bdef0be7
TS
25378 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25379 wrap blocks consisting of several statements.
25380
5aa4a1a1
TS
25381 * sysdeps/generic/math-tests.h: New file.
25382 * sysdeps/i386/fpu/math-tests.h: Likewise.
25383 * math/test-snan.c: Include it.
25384 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25385
98c48fe5
JM
253862013-03-21 Joseph Myers <joseph@codesourcery.com>
25387
25388 [BZ #15285]
25389 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25390 (__ieee754_j0l): Do not improve calculations using cos of twice
25391 input for inputs above LDBL_MAX / 2.0L.
25392 (__ieee754_y0l): Likewise.
25393 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25394 (__ieee754_j1l): Do not improve calculations using cos of twice
25395 input for inputs above LDBL_MAX / 2.0L.
25396 (__ieee754_y1l): Likewise.
25397 * math/libm-test.inc (j0_test): Add another test.
25398 (j1_test): Likewise.
25399 (y0_test): Likewise.
25400 (y1_test): Likewise.
25401 * sysdeps/i386/fpu/libm-test-ulps: Update.
25402
3775a8bc
SP
254032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25404
25405 * Rules ($(objpfx)bench-%.c): Include code from a C source
25406 file.
25407
0a1b2ae6
JM
254082013-03-21 Joseph Myers <joseph@codesourcery.com>
25409
25410 [BZ #15287]
25411 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25412 imaginary part 1.0 and real part less than 0.5 specially.
25413 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25414 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25415 * math/libm-test.inc (cacos_test): Add more tests.
25416 (casin_test): Likewise.
25417 (casinh_test): Likewise.
25418 * sysdeps/i386/fpu/libm-test-ulps: Update.
25419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25420
b33d4ce4
SP
254212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25422
25423 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25424 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25425
bef0b507
JM
254262013-03-20 Joseph Myers <joseph@codesourcery.com>
25427
25428 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25429 * config.make.in (config-cflags-sse4): Remove variable.
25430 (config-cflags-avx): Likewise.
25431 (config-cflags-sse2avx): Likewise.
25432 (config-cflags-novzeroupper): Likewise.
25433 (config-asflags-i686): Likewise.
25434 (have-mfma4): Likewise.
25435 (have-as-vis3): Likewise.
25436 (MIG): Likewise.
25437 * configure.in (MIG): Do not AC_SUBST.
25438 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25439 (libc_cv_cc_sse4): Do not AC_SUBST.
25440 (libc_cv_cc_avx): Likewise.
25441 (libc_cv_cc_sse2avx): Likewise.
25442 (libc_cv_cc_novzeroupper): Likewise.
25443 (libc_cv_cc_fma4): Likewise.
25444 (libc_cv_as_i686): Likewise.
25445 (libc_cv_sparc_as_vis3): Likewise.
25446 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25447 LIBC_CONFIG_VAR.
25448 (config-asflags-i686): Likewise.
25449 (config-cflags-avx): Likewise.
25450 (config-cflags-sse2avx): Likewise.
25451 (have-mfma4): Likewise.
25452 (config-cflags-novzeroupper): Likewise.
25453 * sysdeps/mach/configure.in (MIG): Likewise.
25454 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25455 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25456 LIBC_CONFIG_VAR.
25457 (config-cflags-avx): Likewise.
25458 (config-cflags-sse2avx): Likewise.
25459 (have-mfma4): Likewise.
25460 (config-cflags-novzeroupper): Likewise.
25461 * configure: Regenerated.
25462 * sysdeps/i386/configure: Likewise.
25463 * sysdeps/mach/configure: Likewise.
25464 * sysdeps/sparc/configure: Likewise.
25465 * sysdeps/x86_64/configure: Likewise.
25466
912cc4b3
RM
254672013-03-20 Roland McGrath <roland@hack.frob.com>
25468
25469 [BZ #14812]
25470 * locale/programs/localedef.c (options): Put N_ translation marker
25471 on argument names, not just descriptions.
25472
04eed2b0
MS
254732013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25474
25475 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25476
a065ceff
OB
254772013-03-20 Ondřej Bílka <neleai@seznam.cz>
25478
9bb2a810 25479 [BZ #14176]
a065ceff
OB
25480 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25481
a600e5ce
RM
254822013-03-19 Roland McGrath <roland@hack.frob.com>
25483
25484 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25485 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25486 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25487 [!BEFORE_ABORT] (before_abort): New function.
25488 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25489 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25490 (writev_for_fatal): New function.
25491 (WRITEV_FOR_FATAL): New macro; call that.
25492 (backtrace_and_maps): New function.
25493 (BEFORE_ABORT): New macro; call that.
25494 (struct str_list): Type removed.
25495 (__libc_message, __libc_fatal): Functions removed.
25496 Include <sysdeps/posix/libc_fatal.c> instead.
25497
6b18bea6
JM
254982013-03-19 Joseph Myers <joseph@codesourcery.com>
25499
25500 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25501 constants.
25502 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25503 double constants.
25504
aaa8cb4b
AS
255052013-03-19 Andreas Schwab <schwab@suse.de>
25506
44673770
AS
25507 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25508 * sysdeps/gnu/configure: Regenerate.
25509
aaa8cb4b
AS
25510 * configure.in: Substitute libc_cv_rtlddir.
25511 * configure: Regenerate.
25512 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25513 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25514 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25515 * elf/Makefile (install-others, CFLAGS-interp.c)
25516 (ldso_install, common-ldd-rewrite): Likewise.
25517 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25518 $(inst_slibdir)/$(rtld-installed-name).
25519 * scripts/rellns-sh: Add -p option.
25520 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25521 for source.
25522
d3cfc668
SP
255232013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25524
25525 * manual/nptl.texi: Renamed to ...
25526 * manual/threads.texi: ... this.
25527 * manual/Makefile (chapters): Update.
25528
0e2b9cdd
RM
255292013-03-18 Roland McGrath <roland@hack.frob.com>
25530
25531 [BZ #14812]
25532 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25533 on argument names, not just descriptions.
0e2b9cdd
RM
25534 * malloc/memusagestat.c (options): Likewise.
25535 * nss/getent.c (options): Likewise.
63270c24
RM
25536
255372013-03-18 Benno Schulenberg <bensberg@justemail.net>
25538
25539 [BZ #14812]
25540 * iconv/iconv_prog.c (options): Put N_ translation marker
25541 on argument names, not just descriptions.
25542 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25543
b2e1393c
OB
255442013-03-18 Ondrej Bilka <neleai@seznam.cz>
25545
25546 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25547 implementation which is faster on all x86_64 architectures.
25548 Tested on AMD, Intel Nehalem, SNB, IVB.
25549 * sysdeps/x86_64/strnlen.S: Likewise.
25550
25551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25552 Remove all multiarch strlen and strnlen versions.
25553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25554 Remove strlen and strnlen related parts.
25555
25556 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25557 Inline strlen part.
25558 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25559
25560 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25561 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25562 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25563 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25564 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25565 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25566
ec4ff04d
CD
255672013-03-17 Carlos O'Donell <carlos@redhat.com>
25568
25569 * manual/memory.texi (Malloc Tunable Parameters):
25570 Sort parameters alphabetically. Add comments for missing entries.
25571
cd18e90a
DM
255722013-03-17 David S. Miller <davem@davemloft.net>
25573
25574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25575
2a185d32
JM
255762013-03-16 Joseph Myers <joseph@codesourcery.com>
25577
d2f9799e
JM
25578 [BZ #15283]
25579 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25580 for arguments at most half maximum finite value.
25581 * math/libm-test.inc (j0_test): Add more tests.
25582 (j1_test): Likewise.
25583 (y0_test): Likewise.
25584 (y1_test): Likewise.
25585 * sysdeps/i386/fpu/libm-test-ulps: Update.
25586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25587
2a185d32
JM
25588 [BZ #14155]
25589 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25590 1 / x and functions P and Q for arguments above 0x1p256L.
25591 (__ieee754_y0l): Likewise.
25592 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25593 (__ieee754_y1l): Likewise.
25594 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25595 (j1_test): Likewise.
25596 (y0_test): Likewise.
25597 (y1_test): Likewise.
25598
6cbec759
TS
255992013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25600
25601 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25602 variable.
25603
bc16e260
RM
256042013-03-15 Roland McGrath <roland@hack.frob.com>
25605
aefc9b8c
RM
25606 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25607 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25608 zero since it's initialized to EXEC_PAGESIZE.
25609
bc16e260
RM
25610 * sysdeps/unix/sysv/linux/ldsodefs.h
25611 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25612 * sysdeps/generic/ldsodefs.h: ... here.
25613
a57da955
TS
256142013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25615
af00a34d
TS
25616 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25617
495ded2c
TS
25618 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25619 math/test-snan.c.
25620 * math/test-snan.c: Renamed from
25621 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25622 * math/Makefile (tests): Add test-snan.
25623 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25624 test-powerpc-snan.
25625
777b0332
TS
25626 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25627 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25628 functions.
25629 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25630 __builtin_nan family of functions.
25631 * math/libm-test.inc (initialize): Initialize qnan_value with
25632 __builtin_nan family of functions.
25633 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25634 Remove variables.
25635 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25636 Remove functions.
25637 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25638 storage class. Initialize qNaN_var and sNaN_var with
25639 __builtin_nan and __builtin_nans families of functions,
25640 respectively.
25641
64d063b8
TS
25642 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25643 (sqrt_test): Remove duplicate test with qNaN input.
25644 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25645 (round_test, signbit_test, significand_test): Note missing +/-Inf
25646 as well as qNaN tests.
25647
67e971f1
TS
25648 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25649 qNaN_var. Fix a few strings, too.
25650 * math/libm-test.inc (nan_value): Rename to qnan_value.
25651 * math/gen-libm-test.pl (%beautify): Adjust to that.
25652 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25653 * math/test-misc.c (main): Likewise.
25654 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25655 to __qnan_bytes, and __qnan_union, respectively.
25656 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25657 Likewise.
25658 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25659 and lqnanval, respectively.
25660 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25661 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25662 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25663 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25664
64487e12
TS
25665 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25666 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25667 doubles.
25668
e015e27b
TS
25669 * math/test-misc.c (main): Fix copy'n'pastos.
25670 * misc/tst-efgcvt.c (special): Likewise.
25671
a57da955
TS
25672 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25673 Remove declarations.
25674
1e380345
SP
256752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25676
25677 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25678 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25679 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25680 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25681
ef26eece
AZ
256822013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25683
25684 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25685 macro to return vdso values correctly in IFUNC implementations.
25686 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25687 Optimization by using IFUNC.
25688
8cfdb7e0
SP
256892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25690 Richard Henderson <rth@redhat.com>
25691 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25692
25693 * Makefile.in (bench): New target.
25694 * NEWS: Mention the benchmark framework.
25695 * Rules (bench): Likewise.
25696 (binaries-bench): Generate binaries for functions to
25697 benchmark.
25698 * benchtests/Makefile: New makefile for benchmark tests.
25699 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25700 programs.
25701 * benchtests/exp-inputs: New input file for EXP function.
25702 * benchtests/pow-inputs: New input file for POW function.
25703 * scripts/bench.pl: New script to generate source files for
25704 benchmark programs.
25705
bcda9880
SP
257062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25707
d22ca8cd
SP
25708 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25709 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25710 computations on mantissa. Use macros for rounding and
25711 division.
25712 (denorm): Likewise.
25713 (__dbl_mp): Likewise.
25714 (add_magnitudes): Likewise.
25715 (sub_magnitudes): Likewise.
25716 (__mul): Likewise.
25717 (__sqr): Likewise.
25718 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25719 powers of two in terms of TWOPOW macro.
25720 (mp_no): Make type of mantissa as MANTISSA_T.
25721 [!RADIXI]: Define RADIXI.
25722 [!TWO52]: Define TWO52.
25723 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25724
bcda9880
SP
25725 * manual/nptl.texi (cindex): Modify threads to pthreads.
25726
06d5adfb
JM
257272013-03-15 Joseph Myers <joseph@codesourcery.com>
25728
25729 * sysdeps/x86_64/preconfigure: Regenerated.
25730
41c7328e
JM
257312013-03-14 Joseph Myers <joseph@codesourcery.com>
25732
25733 [BZ #14155]
25734 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25735 0x1p28 and above.
25736 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25737 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25738 0x1p28 and above.
25739 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25740 * math/libm-test.inc (j0_test): Do not allow one spurious
25741 underflow exception.
25742 (y1_test): Likewise.
25743
e25cfa60
SP
257442013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25745
0409959c
SP
25746 * manual/Makefile (chapters): Add nptl.
25747 * manual/debug.texi (Debugging Support): Add link to Threads
25748 chapter.
25749 * manual/nptl.texi: New file.
25750
e25cfa60
SP
25751 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25752
58a1335e
PB
257532013-03-14 Petr Baudis <pasky@ucw.cz>
25754
25755 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25756 for non-NULL pointer before the memory validity test. Pointed
25757 out by Holger Brunck <holger.brunck@keymile.com>.
25758
9dc7c64f
AS
257592013-03-13 Andreas Schwab <schwab@suse.de>
25760
25761 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25762 instead of .os.
25763
54206aa6
JM
257642013-03-13 Joseph Myers <joseph@codesourcery.com>
25765
25766 * timezone/zic.c: Update from tzcode 2013b.
25767
e98cdb38
CD
257682013-03-12 Carlos O'Donell <carlos@redhat.com>
25769
25770 * manual/install.texi (Configuring and compiling):
25771 Mention i686 and i586.
25772 * INSTALL: Regenerate.
25773
9967e003
RM
257742013-03-12 Roland McGrath <roland@hack.frob.com>
25775
25776 * sysdeps/init_array/elf-init.c: New file.
25777 * csu/elf-init.c
25778 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25779 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25780
25781 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25782 __gmon_start__ as global, but as static with a .preinit_array pointer.
25783 * sysdeps/init_array/gmon-start.c: New file. Use that.
25784 * sysdeps/init_array/crti.S: New file, empty except for comments.
25785 * sysdeps/init_array/crtn.S: Likewise.
25786
e6b5a293 257872013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25788
25789 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25790 definining bcopy.
80f844c9
OB
25791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25792 Remove Prefer_SSE_for_memop.
25793 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25794 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25795 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25797 memset-x86-64.
80f844c9 25798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25799 Remove bzero, memset ifunc support.
80f844c9
OB
25800 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25801 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25802 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25803 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25804
fb6b0fcb
AS
258052013-03-11 Andreas Schwab <schwab@suse.de>
25806
25807 [BZ #15234]
25808 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25809 by SHLIB_COMPAT.
25810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25811 (GLIBC_2.16): Remove pthread_atfork.
25812
3e6bd4b1
PP
258132013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25814
25815 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25816 (ptestcases.h): Likewise.
25817
222d7f00
RM
258182013-03-08 Roland McGrath <roland@hack.frob.com>
25819
25820 * Makeconfig ($(common-objpfx)config.status): Depend on
25821 sysdeps/*/preconfigure{,.in} too.
25822
1ba4f030
JM
258232013-03-08 Joseph Myers <joseph@codesourcery.com>
25824
a222d91a
JM
25825 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25826 (__free_hook): Use void * instead of __malloc_ptr_t.
25827 (__malloc_hook): Likewise.
25828 (__realloc_hook): Likewise.
25829 (__memalign_hook): Likewise.
25830 (__after_morecore_hook): Likewise.
25831 * malloc/arena.c (save_malloc_hook): Likewise.
25832 (save_free_hook): Likewise.
25833 * malloc/hooks.c (malloc_hook_ini): Likewise.
25834 (realloc_hook_ini): Likewise.
25835 (memalign_hook_ini): Likewise.
25836 * malloc/malloc.c (malloc_hook_ini): Likewise.
25837 (realloc_hook_ini): Likewise.
25838 (memalign_hook_ini): Likewise.
25839 (__free_hook): Likewise.
25840 (__malloc_hook): Likewise.
25841 (__realloc_hook): Likewise.
25842 (__memalign_hook): Likewise.
25843 (__libc_malloc): Likewise.
25844 (__libc_free): Likewise.
25845 (__libc_realloc): Likewise.
25846 (__libc_memalign): Likewise.
25847 (__libc_valloc): Likewise.
25848 (__libc_pvalloc): Likewise.
25849 (__libc_calloc): Likewise.
25850 (__posix_memalign): Likewise.
25851 * malloc/morecore.c (__sbrk): Likewise.
25852 (__default_morecore): Likewise.
25853
5cc45e10
JM
25854 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25855
dd54b864
JM
25856 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25857 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25858 __malloc_ptrdiff_t.
25859
1ba4f030
JM
25860 * malloc/malloc.h (__malloc_size_t): Remove macro.
25861 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25862 __malloc_size_t.
25863 (old_memalign_hook): Likewise.
25864 (old_realloc_hook): Likewise.
25865 (struct hdr): Likewise.
25866 (flood): Likewise.
25867 (mallochook): Likewise.
25868 (memalignhook): Likewise.
25869 (reallochook): Likewise.
25870 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25871 (tr_old_realloc_hook): Likewise.
25872 (tr_old_memalign_hook): Likewise.
25873 (tr_mallochook): Likewise.
25874 (tr_reallochook): Likewise.
25875 (tr_memalignhook): Likewise.
25876
edf66e57
AZ
258772013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25878
25879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25880 default_ldbl_pack and using as default implementation.
25881 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25882 implementation.
25883 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25884 redundant definition.
25885 (ldbl_insert_mantissa): Likewise.
25886 (ldbl_canonicalize): Likewise.
25887 (ldbl_nearbyint): Likewise.
25888 (ldbl_pack): Rename to ldbl_pack_ppc.
25889 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25890 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25891 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25892
6d9145d8
SP
258932013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25894
25895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25896 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25897 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25898 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25900 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25901 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25902 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25903
4dd4e157
AJ
259042013-03-07 Andreas Jaeger <aj@suse.de>
25905
25906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25907 bits/mman-linux.h.
25908
adbb8027
SP
259092013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25910
ce544b5b
SP
25911 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25912 Include mpa.h and declare __MPEXP.
25913 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25914 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25915 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25916 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25917 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25918 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25919 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25920
4cc149fd
SP
25921 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25922 (__slowpow): Use long double EXPL and LOGL functions to
25923 compute POW.
25924 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25925 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25926 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25927 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25928 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25929 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25930
e6ebd4a7
SP
25931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25932 intermediate variable to calculate exponent.
25933 (__sqr): Likewise.
25934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25935 Likewise.
25936 (__sqr): Likewise.
25937
82a9811d
SP
25938 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25939 [!NO__SQR]: Define __sqr.
25940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25941 and NO__SQR. Remove all code except __mul and __sqr. Include
25942 sysdeps/ieee754/dbl-64/mpa.c.
25943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25944
adbb8027
SP
25945 [BZ #12723]
25946 * posix/Makefile (tests): Add tst-pathconf.
25947 * posix/tst-pathconf.c: New test case.
25948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25949 _PC_PIPE_BUF.
25950 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25951
39120df9
PF
259522013-03-06 Patsy Franklin <pfrankli@redhat.com>
25953
25954 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25955
67525cb8
AJ
259562013-03-06 Andreas Jaeger <aj@suse.de>
25957
664a9ce4
AJ
25958 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25959 definition via __MAP_ANONYMOUS.
25960
8e39047d
AJ
25961 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25962 it's not part of Linux headers.
25963
67525cb8
AJ
25964 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25965 (MAP_HUGE_MASK): Define.
25966
25967 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25968 Define.
25969 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25971 Define.
25972 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25973 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25974 Define.
25975 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25976 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25977 Define.
25978 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25979
25980 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25981 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25982 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25983 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25984 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25985 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25986
25987 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25988 Handle f2fs.
25989
25990 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25991 Handle f2fs and efivarfs.
25992
25993 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25994 f2fs.
25995
25996 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25997 (EFIVARFS_MAGIC): Add.
25998 (F2FS_LINK_MAX): Add.
25999
e1b42695
PP
260002013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26001
26002 * stdio-common/vfprintf.c: Replace __builtin_expect with
26003 __glibc_unlikely.
26004
2d67d91a
JM
260052013-03-06 Joseph Myers <joseph@codesourcery.com>
26006
26007 [BZ #13550]
26008 * sysdeps/generic/bp-sym.h: Remove file.
26009 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26010 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26011 <bp-sym.h> and <bp-asm.h>.
26012 (__longjmp): Don't use BP_SYM.
26013 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26014 and <bp-asm.h>.
26015 (memcpy): Don't use BP_SYM.
26016 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26017 <bp-sym.h> and <bp-asm.h>.
26018 (memcpy): Don't use BP_SYM.
26019 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26020 <bp-asm.h>.
26021 (memcpy): Don't use BP_SYM.
26022 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26023 <bp-asm.h>.
26024 (memset): Don't use BP_SYM.
26025 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26026 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26027 (__bzero): Don't use BP_SYM.
26028 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26029 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26030 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26031 <bp-sym.h> and <bp-asm.h>.
26032 (memcmp): Don't use BP_SYM. Remove comment about bounded
26033 pointers.
26034 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26035 <bp-sym.h> and <bp-asm.h>.
26036 (memcpy): Don't use BP_SYM.
26037 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26038 <bp-sym.h> and <bp-asm.h>.
26039 (memset): Don't use BP_SYM.
26040 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26041 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26042 (__bzero): Don't use BP_SYM.
26043 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26044 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26045 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26046 <bp-sym.h> and <bp-asm.h>.
26047 (strncmp): Don't use BP_SYM. Remove comment about bounded
26048 pointers.
26049 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26050 <bp-sym.h> and <bp-asm.h>.
26051 (memcpy): Don't use BP_SYM.
26052 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26053 <bp-sym.h> and <bp-asm.h>.
26054 (memset): Don't use BP_SYM.
26055 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26056 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26057 (__bzero): Don't use BP_SYM.
26058 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26059 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26061 <bp-sym.h> and <bp-asm.h>.
26062 (__memchr): Don't use BP_SYM.
26063 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26064 <bp-sym.h> and <bp-asm.h>.
26065 (memcmp): Don't use BP_SYM. Remove comment about bounded
26066 pointers.
26067 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26068 <bp-sym.h> and <bp-asm.h>.
26069 (memcpy): Don't use BP_SYM.
26070 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26071 <bp-sym.h> and <bp-asm.h>.
26072 (__mempcpy): Don't use BP_SYM.
26073 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26074 <bp-sym.h> and <bp-asm.h>.
26075 (__memrchr): Don't use BP_SYM.
26076 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26077 <bp-sym.h> and <bp-asm.h>.
26078 (memset): Don't use BP_SYM.
26079 (__bzero): Likewise.
26080 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26081 <bp-sym.h> and <bp-asm.h>.
26082 (__rawmemchr): Don't use BP_SYM.
26083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26084 <bp-sym.h> and <bp-asm.h>.
26085 (__STRCMP): Don't use BP_SYM.
26086 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26087 <bp-sym.h> and <bp-asm.h>.
26088 (strchr): Don't use BP_SYM.
26089 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26090 <bp-sym.h> and <bp-asm.h>.
26091 (__strchrnul): Don't use BP_SYM.
26092 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26093 <bp-sym.h> and <bp-asm.h>.
26094 (strlen): Don't use BP_SYM.
26095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26096 <bp-sym.h> and <bp-asm.h>.
26097 (strncmp): Don't use BP_SYM. Remove comment about bounded
26098 pointers.
26099 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26100 <bp-sym.h> and <bp-asm.h>.
26101 (__strnlen): Don't use BP_SYM.
26102 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26103 <bp-sym.h> and <bp-asm.h>.
26104 (__GI__setjmp): Don't use BP_SYM.
26105 (_setjmp): Likewise.
26106 (__sigsetjmp): Likewise.
26107 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26108 (L(start_addresses)): Don't use BP_SYM.
26109 (_start): Likewise.
26110 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26111 <bp-asm.h>.
26112 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26113 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26114 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26115 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26116 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26117 <bp-asm.h>.
26118 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26119 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26120 about bounded pointers.
26121 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26122 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26123 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26124 <bp-asm.h>.
26125 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26126 about bounded pointers. Remove GKM FIXME comments.
26127 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26128 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26129 <bp-asm.h>.
26130 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26131 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26132 Remove GKM FIXME comments.
26133 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26134 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26135 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26136 <bp-asm.h>.
26137 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26138 about bounded pointers. Remove GKM FIXME comment.
26139 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26140 and <bp-asm.h>.
26141 (strncmp): Don't use BP_SYM. Remove comment about bounded
26142 pointers.
26143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26144 <bp-sym.h> and <bp-asm.h>.
26145 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26147 <bp-sym.h> and <bp-asm.h>.
26148 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26149 comment.
26150
cdcf361f
PP
261512013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26152
26153 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26154 call free(NULL).
26155
3c4a2b15
DM
261562013-03-05 David S. Miller <davem@davemloft.net>
26157
26158 * po/es.po: Update from translation team.
26159
cdcf361f 261602013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26161
26162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26163 <bits/mman-linux.h>.
26164 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26165 is fine.
26166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26167 <bits/mman-linux.h> to end of file.
26168 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26169 is fine.
26170 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26171 <bits/mman-linux.h> to end of file.
26172 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26173 is fine.
26174 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26175 <bits/mman-linux.h> to end of file.
26176
26177 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26178 (MCL_CURRENT, MCL_FUTURE): Define here.
26179
5f67c04f
AK
261802013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26181
8a4473cc 26182 [BZ #15232]
5f67c04f
AK
26183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26184 attribute_hidden.
26185 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26186
c3e94a95
AK
261872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26188
26189 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26190 fourth parameter needed for rt_sigprocmask syscall.
26191 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26192 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26193 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26194 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26195 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26196 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26197
cfb6382a
JM
261982013-03-04 Joseph Myers <joseph@codesourcery.com>
26199
26200 [BZ #13550]
26201 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26202 comment about bounded pointers.
26203 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26204 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26205
539d8e01
AJ
262062013-03-04 Andreas Jaeger <aj@suse.de>
26207
26208 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26209 common definitions.
26210
26211 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26212 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26213 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26214 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26216 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26217
2e167a70 262182013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26219
26220 [BZ #15055]
26221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26222 __ieee754_sqrl instead of __sqrl.
26223
68508633
JM
262242013-03-01 Joseph Myers <joseph@codesourcery.com>
26225
26226 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26227 * sysdeps/powerpc/fpu_control.h: ... here.
26228 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26229 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26230 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26231 * sysdeps/powerpc/bits/mathinline.h: ... here.
26232
7775448e
RM
262332013-03-01 Roland McGrath <roland@hack.frob.com>
26234
26235 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26236 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26237 to just [NEED_DL_SYSINFO_DSO].
26238 * elf/dl-support.c: Likewise.
26239 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26240 * elf/rtld.c (dl_main): Likewise.
26241 * elf/setup-vdso.h (setup_vdso): Likewise.
26242 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26243 * sysdeps/unix/sysv/linux/dl-sysdep.c
26244 (_dl_discover_osversion): Likewise.
26245
4e9b5995
CD
262462013-03-01 Carlos O'Donell <carlos@redhat.com>
26247
26248 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26249 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26250
e23872c8
SP
262512013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26252
e5c74c63
SP
26253 * NEWS: Mention libm performance improvements and non-x86 PI
26254 futex support.
26255
e23872c8
SP
26256 * csu/libc-start.c (__pthread_initialize_minimal): Change
26257 function arguments.
26258 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26259
b5510883
JM
262602013-02-28 Joseph Myers <joseph@codesourcery.com>
26261
26262 [BZ #13550]
26263 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26264 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26265 <bp-sym.h> and <bp-asm.h>.
26266 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26267 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26268 and <bp-asm.h>.
26269 (memcpy): Don't use BP_SYM.
26270 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26271 <bp-asm.h>.
26272 (__mpn_add_n): Don't use BP_SYM.
26273 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26274 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26275 and <bp-asm.h>.
26276 (__mpn_addmul_1): Don't use BP_SYM.
26277 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26278 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26279 <bp-sym.h>.
26280 (_setjmp): Don't use BP_SYM.
26281 (__novmx_setjmp): Likewise.
26282 (__GI__setjmp): Likewise.
26283 (__vmx_setjmp): Likewise.
26284 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26285 <bp-sym.h>.
26286 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26287 (__bzero): Don't use BP_SYM.
26288 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26289 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26290 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26291 <bp-sym.h> and <bp-asm.h>.
26292 (memcpy): Don't use BP_SYM.
26293 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26294 <bp-sym.h> and <bp-asm.h>.
26295 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26296 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26297 <bp-sym.h> and <bp-asm.h>.
26298 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26299 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26300 <bp-asm.h>.
26301 (__mpn_lshift): Don't use BP_SYM.
26302 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26303 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26304 <bp-asm.h>.
26305 (memset): Don't use BP_SYM.
26306 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26307 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26308 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26309 <bp-asm.h>.
26310 (__mpn_mul_1): Don't use BP_SYM.
26311 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26313 <bp-sym.h> and <bp-asm.h>.
26314 (memcmp): Don't use BP_SYM.
26315 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26316 <bp-sym.h> and <bp-asm.h>.
26317 (memcpy): Don't use BP_SYM.
26318 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26319 <bp-sym.h> and <bp-asm.h>.
26320 (memset): Don't use BP_SYM.
26321 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26322 <bp-sym.h> and <bp-asm.h>.
26323 (strncmp): Don't use BP_SYM.
26324 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26325 <bp-sym.h> and <bp-asm.h>.
26326 (memcpy): Don't use BP_SYM.
26327 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26328 <bp-sym.h> and <bp-asm.h>.
26329 (memset): Don't use BP_SYM.
26330 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26331 <bp-sym.h> and <bp-asm.h>.
26332 (__memchr): Don't use BP_SYM.
26333 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26334 <bp-sym.h> and <bp-asm.h>.
26335 (memcmp): Don't use BP_SYM.
26336 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26337 <bp-sym.h> and <bp-asm.h>.
26338 (memcpy): Don't use BP_SYM.
26339 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26340 <bp-sym.h> and <bp-asm.h>.
26341 (__mempcpy): Don't use BP_SYM.
26342 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26343 <bp-sym.h> and <bp-asm.h>.
26344 (__memrchr): Don't use BP_SYM.
26345 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26346 <bp-sym.h> and <bp-asm.h>.
26347 (memset): Don't use BP_SYM.
26348 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26349 <bp-sym.h> and <bp-asm.h>.
26350 (__rawmemchr): Don't use BP_SYM.
26351 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26352 <bp-sym.h> and <bp-asm.h>.
26353 (__STRCMP): Don't use BP_SYM.
26354 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26355 <bp-sym.h> and <bp-asm.h>.
26356 (strchr): Don't use BP_SYM.
26357 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26358 <bp-sym.h> and <bp-asm.h>.
26359 (__strchrnul): Don't use BP_SYM.
26360 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26361 <bp-sym.h> and <bp-asm.h>.
26362 (strlen): Don't use BP_SYM.
26363 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26364 <bp-sym.h> and <bp-asm.h>.
26365 (strncmp): Don't use BP_SYM.
26366 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26367 <bp-sym.h> and <bp-asm.h>.
26368 (__strnlen): Don't use BP_SYM.
26369 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26370 <bp-asm.h>.
26371 (__mpn_rshift): Don't use BP_SYM.
26372 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26373 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26374 <bp-sym.h> and <bp-asm.h>.
26375 (__sigsetjmp): Don't use BP_SYM.
26376 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26377 (L(start_addresses)): Don't use BP_SYM.
26378 (_start): Likewise.
26379 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26380 <bp-asm.h>.
26381 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26382 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26383 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26384 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26385 <bp-asm.h>.
26386 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26387 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26388 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26389 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26390 <bp-asm.h>.
26391 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26392 comments.
26393 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26394 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26395 <bp-asm.h>.
26396 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26397 FIXME comments.
26398 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26399 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26400 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26401 <bp-asm.h>.
26402 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26403 comment.
26404 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26405 and <bp-asm.h>.
26406 (strncmp): Don't use BP_SYM,
26407 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26408 <bp-asm.h>.
26409 (__mpn_sub_n): Don't use BP_SYM.
26410 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26411 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26412 and <bp-asm.h>.
26413 (__mpn_submul_1): Don't use BP_SYM.
26414 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26416 <bp-sym.h> and <bp-asm.h>.
26417 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26419 <bp-sym.h> and <bp-asm.h>.
26420 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26421 comment.
26422
8d19fe64
SP
264232013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26424
26425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26426 Use ZK to minimize writes to Z.
26427 (sub_magnitudes): Simplify code a bit.
26428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26429 Use ZK to minimize writes to Z.
26430 (sub_magnitudes): Simplify code a bit.
26431
85bd816a
RM
264322013-02-27 Roland McGrath <roland@hack.frob.com>
26433
26434 * csu/gmon-start.c: Add special exception to license text.
26435
b5977bf2
RH
264362013-02-27 Richard Henderson <rth@redhat.com>
26437
26438 * scripts/config.guess: Update from config.git.
26439 * scripts/config.sub: Likewise.
26440
11d6e2f2
SP
264412013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26442
09c14ed2
SP
26443 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26444
a688864e
SP
26445 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26446
6295157a
SP
26447 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26448
b8de2202
SP
26449 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26450
11d6e2f2
SP
26451 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26452
7e80ddb8
RM
264532013-02-26 Roland McGrath <roland@hack.frob.com>
26454
26455 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26456 [$(build-shared = yes].
7e80ddb8 26457
7da6d9ed
SP
264582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26459
45f05884
SP
26460 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26461 (__mul): Reduce iterations for calculating mantissa.
26462
2236d359
SP
26463 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26464 MPTWO.
26465 (__mpranred): Likewise.
26466
7da6d9ed
SP
26467 [BZ #15160]
26468 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26469 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26470
b7688c42
PE
264712013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26472
26473 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26474 Define __attribute__.
26475
53a5c423
SP
264762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26477
26478 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26479 unused.
26480 * posix/regex_internal.h (__attribute): Remove.
26481 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26482 (re_string_context_at): Likewise.
26483 (bitset_not): Use __attribute__ and mark function as possibly
26484 unused.
26485 (bitset_merge): Likewise.
26486 (bitset_mask): Likewise.
26487 (re_string_char_size_at): Likewise.
26488 (re_string_wchar_at): Likewise.
26489 (re_string_elem_size_at): Likewise.
26490
60f5a8b5
SP
264912013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26492
2a983a2e
SP
26493 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26494 code.
26495 (cc32): Likewise.
26496
e69804d1
SP
26497 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26498 (__acr): Likewise.
26499 (__cpy): Likewise.
26500 (norm): Likewise.
26501 (denorm): Likewise.
26502 (__dbl_mp): Likewise.
26503 (add_magnitudes): Likewise.
26504 (sub_magnitudes): Likewise.
26505 (__mul): Likewise.
26506 (__inv): Likewise.
26507
2f22a1e8
SP
26508 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26509 style.
26510
8930ddc7
SP
26511 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26512 style.
26513
dc60cb11
SP
26514 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26515 code.
26516
60f5a8b5
SP
26517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26518 up changes with default code.
26519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26520 Likewise.
26521
b4d1fd33
AM
265222013-02-24 Allan McRae <allan@archlinux.org>
26523
faf6f8bc
AM
26524 * manual/socket.texi (The Internet Namespace): Order menu items
26525 to match that in the file.
26526
b4d1fd33
AM
26527 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26528 node listing of the info page menu.
26529
2366713d
JM
265302013-02-21 Joseph Myers <joseph@codesourcery.com>
26531
26532 [BZ #13550]
26533 * sysdeps/i386/bp-asm.h: Remove file.
26534 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26535 (PARMS): Do not use macros from bp-asm.h.
26536 (S1): Likewise.
26537 (S2): Likewise.
26538 (SIZE): Likewise.
26539 (__mpn_add_n): Do not use BP_SYM
26540 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26541 "bp-asm.h".
26542 (PARMS): Do not use macros from bp-asm.h.
26543 (S1): Likewise.
26544 (SIZE): Likewise.
26545 (__mpn_addmul_1): Do not use BP_SYM
26546 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26547 "bp-asm.h".
26548 (PARMS): Do not use macros from bp-asm.h.
26549 (SIGMSK): Likewise.
26550 (_setjmp): Likewise. Do not use BP_SYM.
26551 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26552 "bp-asm.h".
26553 (PARMS): Do not use macros from bp-asm.h.
26554 (SIGMSK): Likewise.
26555 (setjmp): Likewise. Do not use BP_SYM.
26556 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26557 "bp-asm.h".
26558 (PARMS): Do not use macros from bp-asm.h.
26559 (__frexp): Do not use BP_SYM.
26560 (frexp): Likewise.
26561 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26562 "bp-asm.h".
26563 (PARMS): Do not use macros from bp-asm.h.
26564 (__frexpf): Do not use BP_SYM.
26565 (frexpf): Likewise.
26566 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26567 "bp-asm.h".
26568 (PARMS): Do not use macros from bp-asm.h.
26569 (__frexpl): Do not use BP_SYM.
26570 (frexpl): Likewise.
26571 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26572 "bp-asm.h".
26573 (PARMS): Do not use macros from bp-asm.h.
26574 (__remquo): Do not use BP_SYM.
26575 (remquo): Likewise.
26576 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26577 "bp-asm.h".
26578 (PARMS): Do not use macros from bp-asm.h.
26579 (__remquof): Do not use BP_SYM.
26580 (remquof): Likewise.
26581 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26582 "bp-asm.h".
26583 (PARMS): Do not use macros from bp-asm.h.
26584 (__remquol): Do not use BP_SYM.
26585 (remquol): Likewise.
26586 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26587 "bp-asm.h".
26588 (PARMS): Do not use macros from bp-asm.h.
26589 (DEST): Likewise.
26590 (SRC): Likewise.
26591 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26592 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26593 "bp-asm.h".
26594 (PARMS): Do not use macros from bp-asm.h.
26595 (strlen): Do not use BP_SYM.
26596 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26597 "bp-asm.h".
26598 (PARMS): Do not use macros from bp-asm.h.
26599 (S1): Likewise.
26600 (S2): Likewise.
26601 (SIZE): Likewise.
26602 (__mpn_add_n): Do not use BP_SYM.
26603 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26604 "bp-asm.h".
26605 (PARMS): Do not use macros from bp-asm.h.
26606 (S1): Likewise.
26607 (SIZE): Likewise.
26608 (__mpn_addmul_1): Do not use BP_SYM.
26609 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26610 weak_alias.
26611 (bzero): Likewise.
26612 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26613 "bp-asm.h".
26614 (PARMS): Do not use macros from bp-asm.h.
26615 (S): Likewise.
26616 (SIZE): Likewise.
26617 (__mpn_lshift): Do not use BP_SYM.
26618 * sysdeps/i386/i586/memcpy.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 (SRC): Likewise.
26623 (LEN): Likewise.
26624 (memcpy): Likewise. Do not use BP_SYM.
26625 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26626 libc_hidden_def and weak_alias.
26627 (mempcpy): Do not use BP_SYM in weak_alias.
26628 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26629 "bp-asm.h".
26630 (PARMS): Do not use macros from bp-asm.h.
26631 (DEST): Likewise.
26632 (LEN): Likewise.
26633 [!BZERO_P] (CHR): Likewise.
26634 (memset): Likewise. Do not use BP_SYM.
26635 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26636 "bp-asm.h".
26637 (PARMS): Do not use macros from bp-asm.h.
26638 (S1): Likewise.
26639 (SIZE): Likewise.
26640 (__mpn_mul_1): Do not use BP_SYM.
26641 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26642 "bp-asm.h".
26643 (PARMS): Do not use macros from bp-asm.h.
26644 (S): Likewise.
26645 (SIZE): Likewise.
26646 (__mpn_rshift): Do not use BP_SYM.
26647 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26648 "bp-asm.h".
26649 (PARMS): Do not use macros from bp-asm.h.
26650 (STR): Likewise.
26651 (CHR): Likewise.
26652 (strchr): Likewise. Do not use BP_SYM.
26653 (index): Do not use BP_SYM in weak_alias.
26654 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26655 "bp-asm.h".
26656 (PARMS): Do not use macros from bp-asm.h.
26657 (DEST): Likewise.
26658 (SRC): Likewise.
26659 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26660 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26661 "bp-asm.h".
26662 (PARMS): Do not use macros from bp-asm.h.
26663 (strlen): Do not use BP_SYM.
26664 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26665 "bp-asm.h".
26666 (PARMS): Do not use macros from bp-asm.h.
26667 (S1): Likewise.
26668 (S2): Likewise.
26669 (SIZE): Likewise.
26670 (__mpn_sub_n): Do not use BP_SYM.
26671 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26672 "bp-asm.h".
26673 (PARMS): Do not use macros from bp-asm.h.
26674 (S1): Likewise.
26675 (SIZE): Likewise.
26676 (__mpn_submul_1): Do not use BP_SYM.
26677 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26678 "bp-asm.h".
26679 (PARMS): Do not use macros from bp-asm.h.
26680 (S1): Likewise.
26681 (S2): Likewise.
26682 (SIZE): Likewise.
26683 (__mpn_add_n): Do not use BP_SYM.
26684 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26685 weak_alias.
26686 (bzero): Likewise.
26687 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26688 "bp-asm.h".
26689 (PARMS): Do not use macros from bp-asm.h.
26690 (BLK2): Likewise.
26691 (LEN): Likewise.
26692 (memcmp): Do not use BP_SYM.
26693 (bcmp): Do not use BP_SYM in weak_alias.
26694 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26695 "bp-asm.h".
26696 (PARMS): Do not use macros from bp-asm.h.
26697 (DEST): Likewise.
26698 (SRC): Likewise.
26699 (LEN): Likewise.
26700 (memcpy): Likewise. Do not use BP_SYM.
26701 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26702 "bp-asm.h".
26703 (PARMS): Do not use macros from bp-asm.h.
26704 (DEST): Likewise.
26705 (SRC): Likewise.
26706 (LEN): Likewise.
26707 (memmove): Likewise. Do not use BP_SYM.
26708 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26709 "bp-asm.h".
26710 (PARMS): Do not use macros from bp-asm.h.
26711 (DEST): Likewise.
26712 (SRC): Likewise.
26713 (LEN): Likewise.
26714 (__mempcpy): Likewise. Do not use BP_SYM.
26715 (mempcpy): Do not use BP_SYM in weak_alias.
26716 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26717 "bp-asm.h".
26718 (PARMS): Do not use macros from bp-asm.h.
26719 (DEST): Likewise.
26720 (LEN): Likewise.
26721 [!BZERO_P] (CHR): Likewise.
26722 (memset): Likewise. Do not use BP_SYM.
26723 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26724 "bp-asm.h".
26725 (PARMS): Do not use macros from bp-asm.h.
26726 (STR2): Likewise.
26727 (strcmp): Do not use BP_SYM.
26728 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26729 "bp-asm.h".
26730 (PARMS): Do not use macros from bp-asm.h.
26731 (STR): Likewise.
26732 (DELIM): Likewise.
26733 [USE_AS_STRTOK_R] (SAVE): Likewise.
26734 (FUNCTION): Likewise. Do not use BP_SYM.
26735 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26736 aliases.
26737 (strtok_r): Likewise.
26738 (__GI___strtok_r): Likewise.
26739 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26740 (PARMS): Do not use macros from bp-asm.h.
26741 (S): Likewise.
26742 (SIZE): Likewise.
26743 (__mpn_lshift): Do not use BP_SYM.
26744 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26745 (PARMS): Do not use macros from bp-asm.h.
26746 (STR): Likewise.
26747 (CHR): Likewise.
26748 (__memchr): Do not use BP_SYM.
26749 (memchr): Do not use BP_SYM in weak_alias.
26750 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26751 (PARMS): Do not use macros from bp-asm.h.
26752 (BLK2): Likewise.
26753 (LEN): Likewise.
26754 (memcmp): Do not use BP_SYM.
26755 (bcmp): Do not use BP_SYM in weak_alias.
26756 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26757 (PARMS): Do not use macros from bp-asm.h.
26758 (S1): Likewise.
26759 (SIZE): Likewise.
26760 (__mpn_mul_1): Do not use BP_SYM.
26761 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26762 "bp-asm.h".
26763 (PARMS): Do not use macros from bp-asm.h.
26764 (STR): Likewise.
26765 (CHR): Likewise.
26766 (__rawmemchr): Do not use BP_SYM.
26767 (rawmemchr): Do not use BP_SYM in weak_alias.
26768 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26769 (PARMS): Do not use macros from bp-asm.h.
26770 (S): Likewise.
26771 (SIZE): Likewise.
26772 (__mpn_rshift): Do not use BP_SYM.
26773 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26774 (PARMS): Do not use macros from bp-asm.h.
26775 (SIGMSK): Likewise.
26776 (__sigsetjmp): Likewise. Do not use BP_SYM.
26777 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26778 (_start): Do not use BP_SYM.
26779 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26780 (PARMS): Do not use macros from bp-asm.h.
26781 (DEST): Likewise.
26782 (SRC): Likewise.
26783 (__stpcpy): Likewise. Do not use BP_SYM.
26784 (stpcpy): Do not use BP_SYM in weak_alias.
26785 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26786 "bp-asm.h".
26787 (PARMS): Do not use macros from bp-asm.h.
26788 (DEST): Likewise.
26789 (SRC): Likewise.
26790 (LEN): Likewise.
26791 (__stpncpy): Likewise. Do not use BP_SYM.
26792 (stpncpy): Do not use BP_SYM in weak_alias.
26793 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26794 (PARMS): Do not use macros from bp-asm.h.
26795 (STR): Likewise.
26796 (CHR): Likewise.
26797 (strchr): Likewise. Do not use BP_SYM.
26798 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26799 "bp-asm.h".
26800 (PARMS): Do not use macros from bp-asm.h.
26801 (STR): Likewise.
26802 (CHR): Likewise.
26803 (__strchrnul): Likewise. Do not use BP_SYM.
26804 (strchrnul): Do not use BP_SYM in weak_alias.
26805 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26806 "bp-asm.h".
26807 (PARMS): Do not use macros from bp-asm.h.
26808 (STOP): Likewise.
26809 (strcspn): Do not use BP_SYM.
26810 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26811 "bp-asm.h".
26812 (PARMS): Do not use macros from bp-asm.h.
26813 (STR): Likewise.
26814 (STOP): Likewise.
26815 (strpbrk): Likewise. Do not use BP_SYM.
26816 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26817 "bp-asm.h".
26818 (PARMS): Do not use macros from bp-asm.h.
26819 (STR): Likewise.
26820 (CHR): Likewise.
26821 (strrchr): Likewise. Do not use BP_SYM.
26822 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26823 (PARMS): Do not use macros from bp-asm.h.
26824 (SKIP): Likewise.
26825 (strspn): Do not use BP_SYM.
26826 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26827 (PARMS): Do not use macros from bp-asm.h.
26828 (STR): Likewise.
26829 (DELIM): Likewise.
26830 (SAVE): Likewise.
26831 (FUNCTION): Likewise. Do not use BP_SYM.
26832 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26833 aliases.
26834 (strtok_r): Likewise.
26835 (__GI___strtok_r): Likewise.
26836 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26837 (PARMS): Do not use macros from bp-asm.h.
26838 (S1): Likewise.
26839 (S2): Likewise.
26840 (SIZE): Likewise.
26841 (__mpn_sub_n): Do not use BP_SYM.
26842 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26843 "bp-asm.h".
26844 (PARMS): Do not use macros from bp-asm.h.
26845 (S1): Likewise.
26846 (SIZE): Likewise.
26847 (__mpn_submul_1): Do not use BP_SYM.
26848 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26849 <bp-sym.h>.
26850 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26851 and <bp-asm.h>.
26852 (PARMS): Do not use macros from bp-asm.h.
26853 (FLAGS): Likewise.
26854 (PTID): Likewise.
26855 (TLS): Likewise.
26856 (CTID): Likewise.
26857 (__clone): Do not use BP_SYM.
26858 (clone): Do not use BP_SYM in weak_alias.
26859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26860 and <bp-asm.h>.
26861 (PARMS): Do not use macros from bp-asm.h.
26862 (LEN): Likewise.
26863 (__mmap64): Do not use BP_SYM.
26864 (mmap64): Do not use BP_SYM in weak_alias.
26865 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26866 <bp-sym.h> and <bp-asm.h>.
26867 (PARMS): Do not use macros from bp-asm.h.
26868 (__posix_fadvise64_l64): Do not use BP_SYM.
26869 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26870 (PARMS): Do not use macros from bp-asm.h.
26871 (NSOPS): Likewise.
26872 (semtimedop): Do not use BP_SYM.
26873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26874 and <bp-asm.h>.
26875
582a3cff
AM
268762013-02-21 Allan McRae <allan@archlinux.org>
26877
26878 * manual/message.texi (Charset conversion in gettext):
26879 Move @end statement to beginning of line.
26880
bab8a695
SP
268812013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26882
80945231
SP
26883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26884 static.
26885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26886 Likewise.
26887
bab8a695
SP
26888 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26889 (denorm): Likewise.
26890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26892
e21d7aa7
AK
268932013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26894
26895 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26896 tail-call to the resolved function if pltexit isn't needed.
26897
4c7a4263
SP
268982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26899
26900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26901 or Y being zero as being unlikely.
26902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26903 Likewise.
26904
41f49342
CD
269052013-02-20 Carlos O'Donell <carlos@redhat.com>
26906
26907 * manual/nss.texi (System Databases and Name Service Switch):
26908 Remove frobnicate @pxref.
26909
50022a93
TS
269102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26911
26912 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26913 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26914
08cbd996
PM
269152013-02-20 Petr Machata <pmachata@redhat.com>
26916
26917 * elf/elf.h (R_ARM_TARGET1): New macro.
26918 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26919 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26920 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26921 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26922 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26923 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26924 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26925 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26926 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26927 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26928 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26929 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26930 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26931 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26932 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26933 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26934 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26935 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26936 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26937 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26938 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26939 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26940 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26941 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26942 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26943 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26944 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26945 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26946 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26947 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26948 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26949 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26950 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26951 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26952 (R_ARM_THM_GOT_BREL12): Likewise.
26953 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26954 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26955 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26956 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26957 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26958 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26959 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26960 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26961 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26962
c7b275d6
TS
269632013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26964
26965 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26966 __attribute_used__ to __attribute__ ((unused)).
26967
20cd7fb3
SP
269682013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26969
26970 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26971 powerpc mpa.c.
26972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26973 comment formatting.
26974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26975
92945b52
JM
269762013-02-19 Joseph Myers <joseph@codesourcery.com>
26977
26978 [BZ #13550]
26979 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26980 Remove macro.
26981 (ENTER): Remove both macro definitions.
26982 (LEAVE): Likewise.
26983 (CHECK_BOUNDS_LOW): Likewise.
26984 (CHECK_BOUNDS_HIGH): Likewise.
26985 (CHECK_BOUNDS_BOTH): Likewise.
26986 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26987 (RETURN_BOUNDED_POINTER): Likewise.
26988 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26989 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26990 (POP_ERRNO_LOCATION_RETURN): Likewise.
26991 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26992 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26993 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26994 macros.
26995 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26996 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26997 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26998 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26999 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27000 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27001 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27002 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27003 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27004 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27005 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27006 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27007 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27008 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27009 removed macros.
27010 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27011 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27012 macros.
27013 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27014 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27015 * sysdeps/i386/i586/memset.S (memset): Likewise.
27016 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27017 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27018 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27019 macros.
27020 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27021 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27022 Change uses of L(2) to L(out).
27023 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27024 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27025 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27026 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27027 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27028 removed macros.
27029 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27030 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27031 macros.
27032 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27033 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27034 (RETURN): Do not use macro LEAVE.
27035 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27036 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27037 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27038 * sysdeps/i386/i686/memset.S (memset): Likewise.
27039 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27040 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27041 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27042 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27043 Likewise.
27044 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27045 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27046 L(1_2) and L(1_3) into L(1).
27047 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27048 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27049 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27050 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27051 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27052 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27053 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27054 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27055 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27056 macros.
27057 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27058 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27059 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27060 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27061 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27062 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27063 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27064 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27065 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27066 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27067 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27068 * sysdeps/i386/strspn.S (strspn): Likewise.
27069 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27070 conditional code.
27071 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27072 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27073 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27074 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27075 L(1_3) into L(1_1).
27076 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27077 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27078 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27079 macros.
27080 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27081
2389741a
JJ
270822013-02-19 Jakub Jelinek <jakub@redhat.com>
27083
27084 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27085 macro.
27086
2016b3cd
SP
270872013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27088
e4f22324
SP
27089 * math/atest-exp.c (exp_mpn): Remove ROUND.
27090 * math/atest-exp2.c (exp_mpn): Likewise.
27091 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27092
2016b3cd
SP
27093 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27094 * stdlib/tst-tls-atexit-lib.c: Likewise.
27095 * stdlib/tst-tls-atexit.c: Likewise.
27096
4be9b544
MF
270972013-02-18 Mike Frysinger <vapier@gentoo.org>
27098
27099 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27100 and __attribute_alloc_size__.
27101
2f62b9ee
MF
271022013-02-18 Mike Frysinger <vapier@gentoo.org>
27103
27104 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27105 __attribute_alloc_size__.
27106 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27107 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27108
6ff444c4
MF
271092013-02-18 Mike Frysinger <vapier@gentoo.org>
27110
27111 * include/programs/xmalloc.h: New file.
27112 * catgets/gencat.c: Include it.
27113 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27114 * elf/pldd.c: Likewise.
27115 * iconv/iconv_charmap.c: Likewise.
27116 * iconv/iconvconfig.c: Likewise.
27117 * iconv/strtab.c: Likewise.
27118 * locale/programs/locale.c: Likewise.
27119 * locale/programs/localedef.h: Likewise.
27120 * locale/programs/simple-hash.c: Likewise.
27121 * nscd/nscd.h: Likewise.
27122 * nss/makedb.c: Likewise.
27123 * sysdeps/generic/ldconfig.h: Likewise.
27124
be179c8a
SP
271252013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27126
ba384f6e
SP
27127 * Versions.def: Add GLIBC_2.18.
27128 * include/link.h (struct link_map): New member l_tls_dtor_count.
27129 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27130 (__call_tls_dtors): Likewise.
27131 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27132 __cxa_thread_atexit_impl.
27133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27134 Likewise.
27135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27136 Likewise.
27137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27138 Likewise.
27139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27140 Likewise.
27141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27143 Likewise.
27144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27145 Likewise.
27146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27148 Likewise.
27149 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27150 (tests): Add test case tst-tls-atexit.
27151 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27152 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27153 (GLIBC_PRIVATE): Add __call_tls_dtors.
27154 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27155 for libstdc++.
27156 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27157 * stdlib/tst-tls-atexit.c: New test case.
27158 * stdlib/tst-tls-atexit-lib.c: New test case.
27159
ffaa74cf 27160 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27161
be179c8a
SP
27162 * elf/Versions (ld): Add _dl_find_dso_for_object.
27163 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27164 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27165 (dl_open_worker): Use _dl_find_dso_for_object.
27166 * elf/dl-sym.c (do_sym): Likewise.
27167 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27168
f78b5caa
AK
271692013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27170
27171 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27172 Syntactic changes only.
27173 (_dl_runtime_profile): Do a tail-call to the resolved function.
27174
29691210
JM
271752013-02-17 Joseph Myers <joseph@codesourcery.com>
27176
27177 [BZ #13550]
27178 * sysdeps/x86_64/bp-asm.h: Remove file.
27179 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27180 <bp-sym.h> and <bp-asm.h>.
27181 (__clone): Do not use BP_SYM.
27182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27183 <bp-sym.h> and <bp-asm.h>.
27184 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27185 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27186 "bp-asm.h".
27187 (_setjmp): Do not use BP_SYM.
27188 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27189 "bp-asm.h".
27190 (setjmp): Do not use BP_SYM.
27191 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27192 libc_hidden_def.
27193 (mempcpy): Do not use BP_SYM in weak_alias.
27194 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27195 "bp-asm.h".
27196 (strchr): Do not use BP_SYM.
27197 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27198 "bp-asm.h".
27199 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27200 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27201 (_start): Do not use BP_SYM.
27202 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27203 "bp-asm.h".
27204 (strcat): Do not use BP_SYM.
27205 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27206 "bp-asm.h".
27207 (STRCMP): Do not use BP_SYM.
27208 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27209 "bp-asm.h".
27210 (STRCPY): Do not use BP_SYM.
27211 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27212 "bp-asm.h".
27213 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27214 "bp-asm.h".
27215 (FUNCTION): Do not use BP_SYM.
27216 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27217 weak_alias.
27218 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27219
f238fd19
AJ
272202013-02-17 Andreas Jaeger <aj@suse.de>
27221
27222 * time/Versions: Sort entries.
27223 * string/Versions: Likewise.
27224 * resolv/Versions: Likewise.
27225 * posix/Versions: Likewise.
27226 * iconv/Versions: Likewise.
27227 * elf/Versions: Likewise.
27228 * wcsmbs/Versions: Likewise.
27229
bd07f23c 272302013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27231
22af19f9
SP
27232 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27233 loop termination condition.
27234
4709fe76
SP
27235 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27236 variable to calculate EZ.
27237 (__sqr): Likewise.
2d0e0f29
SP
27238
27239 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27240 the lower precision input.
27241
daaa7713
JM
272422013-02-15 Joseph Myers <joseph@codesourcery.com>
27243
27244 [BZ #13550]
27245 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27246 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27247 (run-via-rtld-prefix): Do not handle %-bp tests.
27248 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27249 (all-object-suffixes): Remove .ob.
27250 (bppfx): Remove variable.
27251 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27252 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27253 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27254 [$(build-bounded) = yes] (libtype.ob): Likewise.
27255 * Makerules (elide-routines.ob): Remove variable.
27256 (do-tests-clean): Do not handle *-bp.out.
27257 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27258 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27259 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27260 (tests): Do not include $(tests-bp.out).
27261 (xtests): Do not include $(xtests-bp.out).
27262 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27263 [$(build-bounded) = yes] ($(addprefix
27264 $(objpfx),$(binaries-bounded))): Remove rule.
27265 ($(objpfx)%-bp.out): Remove rule.
27266 * config.make.in (build-bounded): Remove variable.
27267 * crypt/Makefile [$(build-bounded) = yes]
27268 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27269 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27270 append to variable.
27271 [$(build-bounded) = yes] (install-lib): Likewise.
27272 [$(build-bounded) = yes] (generated): Likewise.
27273 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27274 Remove rule.
27275 * intl/Makefile [$(build-bounded) = yes]
27276 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27277 * math/Makefile [$(build-bounded) = yes]
27278 ($(tests:%=$(objpfx)%-bp): Likewise.
27279 * misc/Makefile [$(build-bounded) = yes]
27280 ($(objpfx)tst-tsearch-bp): Likewise.
27281 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27282 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27283 Remove dependency.
27284 * string/Makefile (o-objects.ob): Remove variable.
27285 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27286 (CFLAGS-.ob): Remove variable.
27287 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27288 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27289 both definitions of variable.
27290 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27291 (ASFLAGS-.ob): Remove variable.
27292
e97ed6dd
JM
272932013-02-14 Joseph Myers <joseph@codesourcery.com>
27294
2bdd4ca6
JM
27295 [BZ #13550]
27296 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27297 Remove __BOUNDED_POINTERS__ from condition.
27298 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27299 * string/bits/string2.h [!__NO_STRING_INLINES &&
27300 !__BOUNDED_POINTERS__]: Likewise.
27301 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27302 Likewise.
27303 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27304 Remove conditional code.
27305 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27306 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27307 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27308 condition.
27309
e97ed6dd
JM
27310 [BZ #13550]
27311 * csu/libc-start.c: Do not include <bp-sym.h>.
27312 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27313 * elf/dl-open.c: Do not include <bp-sym.h>.
27314 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27315 * math/fegetenv.c: Do not include <bp-sym.h>.
27316 (fegetenv): Do not use BP_SYM in versioned symbols.
27317 * nptl/sysdeps/pthread/bits/libc-lockP.h
27318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27319 <bp-sym.h>.
27320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27321 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27323 (__pthread_mutex_destroy): Likewise.
27324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27325 (__pthread_mutex_lock): Likewise.
27326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27327 (__pthread_mutex_trylock): Likewise.
27328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27329 (__pthread_mutex_unlock): Likewise.
27330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27331 (__pthread_mutexattr_init): Likewise.
27332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27333 (__pthread_mutexattr_destroy): Likewise.
27334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27335 (__pthread_mutexattr_settype): Likewise.
27336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27337 (__pthread_rwlock_init): Likewise.
27338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27339 (__pthread_rwlock_destroy): Likewise.
27340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27341 (__pthread_rwlock_rdlock): Likewise.
27342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27343 (__pthread_rwlock_tryrdlock): Likewise.
27344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27345 (__pthread_rwlock_wrlock): Likewise.
27346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27347 (__pthread_rwlock_trywrlock): Likewise.
27348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27349 (__pthread_rwlock_unlock): Likewise.
27350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27351 (__pthread_key_create): Likewise.
27352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27353 (__pthread_setspecific): Likewise.
27354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27355 (__pthread_getspecific): Likewise.
27356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27357 Likewise.
27358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27359 (_pthread_cleanup_push_defer): Likewise.
27360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27361 (_pthread_cleanup_pop_restore): Likewise.
27362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27363 (pthread_setcancelstate): Likewise.
27364 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27365 <bp-sym.h>.
27366 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27367 (memchr): Do not use BP_SYM in weak_alias.
27368 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27369 (fegetenv): Do not use BP_SYM in versioned symbols.
27370 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27371 (fesetenv): Do not use BP_SYM in versioned symbols.
27372 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27373 (feupdateenv): Do not use BP_SYM in versioned symbols.
27374 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27375 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27376 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27377 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27378 (open64): Do not use BP_SYM in weak_alias.
27379 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27380 (fegetenv): Do not use BP_SYM in versioned symbols.
27381 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27382 (fesetenv): Do not use BP_SYM in versioned symbols.
27383 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27384 (feupdateenv): Do not use BP_SYM in versioned symbols.
27385 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27386 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27387 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27388 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27389 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27390 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27391 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27392 <bp-sym.h>.
27393 (__libc_start_main): Do not use BP_SYM.
27394
d6752ccd
SP
273952013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27396
cb57ce60
SP
27397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27398 redundant return line.
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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27409 (norm): Likewise.
27410 (denorm): Likewise.
27411 (dbl_mp): Likewise.
27412 (sub_magnitudes): Likewise.
27413 (__add): Likewise.
27414 (__sub): Likewise.
27415 (__mul): Likewise.
27416 (__inv): Likewise.
27417 (__dvd): Likewise.
27418
f414520d
SP
27419 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27420 instead of __mul.
27421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27422 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27423 (cc32): Likewise.
27424
d6752ccd
SP
27425 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27426 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27428 of __mul for squares.
27429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27430 function
27431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27432 Likewise.
27433 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27434 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27435
70d9946a
JM
274362013-02-13 Joseph Myers <joseph@codesourcery.com>
27437
27438 [BZ #13550]
27439 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27440 code.
27441 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27442 prototype or function definition. Rename ubp_* variables and
27443 parameters. Remove argv definitions conditional on
27444 [__BOUNDED_POINTERS__].
27445 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27446 * elf/dl-runtime.c (_dl_fixup): Likewise.
27447 * include/set-hooks.h (RUN_HOOK): Likewise.
27448 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27449 definition.
27450 * string/strcpy.c (strcpy): Do not use __unbounded.
27451 * sysdeps/generic/frame.h (struct layout): Likewise.
27452 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27453 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27454 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27455 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27456 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27457 (__backtrace): Likewise.
27458 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27459 use __ptrvalue.
27460 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27461 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27462 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27463 Likewise.
27464 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27465 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27466 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27467 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27468 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27469 Do not use __unbounded.
27470 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27471 Rename __unboundedrlimits parameter to rlimits in prototype.
27472 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27473 Do not use __unbounded.
27474 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27475 not use __ptrvalue.
27476 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27477 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27478 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27479 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27480 __ptrvalue or __unbounded.
27481 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27482 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27483 use __unbounded.
27484 (__new_msgctl): Do not use __ptrvalue.
27485 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27486 __unbounded.
27487 (__libc_msgrcv): Do not use __ptrvalue.
27488 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27489 startup_info): Do not use __unbounded.
27490 (__libc_start_main): Likewise. Rename ubp_* variables and
27491 parameters. Remove argv definitions conditional on
27492 [__BOUNDED_POINTERS__].
27493 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27494 __ptrvalue.
27495 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27496 use __unbounded.
27497 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27498 or __ptrvalue.
27499 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27500 use __unbounded.
27501 (__new_shmctl): Do not use __ptrvalue.
27502 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27503 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27504 Likewise.
27505 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27507 (__libc_sigaction): Likewise.
27508 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27509 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27510 Likewise.
27511 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27512
cc7834d6
OB
275132013-02-13 Ondřej Bílka <neleai@seznam.cz>
27514
ffb1ec7b 27515 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27516
27517 * string/mempcpy.c: Implement by calling memcpy.
27518
bdf02814
SP
275192013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27520
c2af38aa
SP
27521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27522
4e92d59e
SP
27523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27524 evaluation.
27525
909279a5
SP
27526 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27527 values in the mantissa.
27528
bdf02814
SP
27529 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27530 minimize writes to Z.
27531 (sub_magnitudes): Simplify code a bit.
27532
cd525923
RM
275332013-02-12 Roland McGrath <roland@hack.frob.com>
27534
27535 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27536 from the message. The linker prefixes all warnings with that already.
27537
7e2f0d2d
AS
275382013-02-12 Andreas Schwab <schwab@suse.de>
27539
a445af0b
AS
27540 [BZ #15078]
27541 * posix/regexec.c (extend_buffers): Add parameter min_len.
27542 (check_matching): Pass minimum needed length.
27543 (clean_state_log_if_needed): Likewise.
27544 (get_subexp): Likewise.
27545 * posix/Makefile (tests): Add bug-regex34.
27546 (bug-regex34-ENV): Define.
27547 * posix/bug-regex34.c: New file.
27548
7e2f0d2d
AS
27549 [BZ #11561]
27550 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27551 elements compare against the byte sequence of it, not its name.
27552 * posix/Makefile (tests): Add bug-regex35.
27553 (bug-regex35-ENV): Define.
27554 * posix/bug-regex35.c: New file.
27555
a175b684
TV
275562013-02-11 Tom de Vries <tom@codesourcery.com>
27557
27558 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27559 comment.
27560 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27561 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27562 (CHECK_EOL): Add undef.
27563
310998fe 275642013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27565
27566 * bits/stdlib-bsearch.h: New file.
27567 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27568 * stdlib/stdlib.h: Likewise.
41eda41d 27569
8ded91fb
RM
275702013-02-11 Roland McGrath <roland@hack.frob.com>
27571
27572 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27573 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27574 declaration.
27575 * manual/search.texi (Array Search Function): Add missing const in
27576 lfind prototype.
27577 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27578 declaration to use rlim_t.
27579 (Basic Scheduling Functions): Remove erroneous const from
27580 sched_getparam prototype. Remove erroneous * from
27581 sched_get_priority_max and sched_get_priority_min prototypes.
27582 (Resource Usage): Fix summary @comment on vtimes to refer to
27583 sys/vtimes.h rather than vtimes.h.
27584 Add missing *s in vtimes prototype.
27585 (Limits on Resources): Fix ulimit prototype to return long int.
27586 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27587 prototypes to use long int rather than double.
27588 (BSD Random): Fix initstate and setstate to use char *, not void *.
27589 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27590 prototype to make second argument 'struct aiocb64 *const[]'.
27591 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27592 (Status of AIO Operations): Remove erroneous const in aio_return and
27593 aio_return64 prototypes.
27594 (Synchronizing I/O): Fix sync prototype to return void.
27595 * manual/startup.texi (Suboptions): Remove an erroneous const in
27596 getsubopt prototype.
27597 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27598 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27599 use size_t rather than int.
27600 (Scanning All Users): Likewise for getpwent_r.
27601 (Setting Groups): Add missing const to setgroups prototype.
27602 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27603 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27604 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27605 'const void *' rather than 'const char *'.
27606 (Host Address Functions): Likewise for inet_ntop.
27607 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27608 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27609 ssize_t for return value.
27610 (Sending Data): Likewise for send, sendto, sendmsg.
27611 (Socket Option Functions): Add a missing const in setsockopt prototype.
27612 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27613 use wchar_t for the argument.
27614 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27615 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27616 take no arguments.
27617 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27618 double/float/long double for second argument.
27619 Fix return types of significand, significandf, significandl.
27620 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27621 argument in fchmod prototype.
27622 (File Owner): Use uid_t and gid_t in fchown prototype.
27623 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27624 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27625 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27626 use 'const struct dirent **' as argument types to CMP function pointer
27627 argument.
27628 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27629 (File Times): Fix summary magic @comment for struct utimbuf and utime
27630 to refer to utime.h, not time.h.
27631 * manual/string.texi (Argz Functions): Add missing const in
27632 argz_extract and argz_next prototypes.
27633 (Finding Tokens in a String): Likewise for basename.
27634 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27635 (Copying and Concatenation): Fix typo in wmemmove prototype.
27636 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27637 (Signal Stack): Remove erroneous const in sigstack prototype.
27638 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27639 prototype.
27640 (Simple Calendar Time): Likewise for stime.
27641 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27642 prototype.
27643 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27644 say sys/sysctl.h instead.
27645 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27646 and vsyslog prototypes.
27647
fe77fe6d
TV
276482013-02-11 Tom de Vries <tom@codesourcery.com>
27649
27650 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27651 Remove.
27652
3a09b620
RM
276532013-02-11 Roland McGrath <roland@hack.frob.com>
27654
27655 * misc/sys/mman.h: Fix typo in mremap comment.
27656
550a0b89
RM
276572013-02-08 Roland McGrath <roland@hack.frob.com>
27658
27659 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27660 the '\0' terminator.
27661
a2da1673
JM
276622013-02-08 Joseph Myers <joseph@codesourcery.com>
27663
27664 [BZ #13550]
27665 * debug/segfault.c: Don't include <bp-checks.h>.
27666 * sysdeps/generic/bp-checks.h: Remove file.
27667 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27668 (__GETDENTS): Don't use CHECK_N.
27669 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27670 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27671 (__getgroups): Don't use CHECK_N.
27672 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27673 (setgroups): Don't use CHECK_N.
27674 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27675 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27676 (__libc_msgrcv): Don't use CHECK_N.
27677 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27678 (__libc_msgsnd): Don't use CHECK_N.
27679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27680 <bp-checks.h>.
27681 (__libc_pread): Don't use CHECK_N.
27682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27683 include <bp-checks.h>.
27684 (__libc_pread64): Don't use CHECK_N.
27685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27686 include <bp-checks.h>.
27687 (__libc_pwrite): Don't use CHECK_N.
27688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27689 include <bp-checks.h>.
27690 (__libc_pwrite64): Don't use CHECK_N.
27691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27692 <bp-checks.h>.
27693 (__libc_pread): Don't use CHECK_N.
27694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27695 include <bp-checks.h>.
27696 (__libc_pread64): Don't use CHECK_N.
27697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27698 include <bp-checks.h>.
27699 (__libc_pwrite): Don't use CHECK_N.
27700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27701 include <bp-checks.h>.
27702 (__libc_pwrite64): Don't use CHECK_N.
27703 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27704 (do_pread): Don't use CHECK_N.
27705 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27706 (do_pread64): Don't use CHECK_N.
27707 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27708 (do_pwrite): Don't use CHECK_N.
27709 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27710 (do_pwrite64): Don't use CHECK_N.
27711 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27712 (__libc_readv): Don't use CHECK_N.
27713 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27714 (semop): Don't use CHECK_N.
27715 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27716 <bp-checks.h>.
27717 (semtimedop): Don't use CHECK_N.
27718 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27719 (__libc_pread): Don't use CHECK_N.
27720 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27721 <bp-checks.h>.
27722 (__libc_pread64): Don't use CHECK_N.
27723 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27724 <bp-checks.h>.
27725 (__libc_pwrite): Don't use CHECK_N.
27726 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27727 <bp-checks.h>.
27728 (__libc_pwrite64): Don't use CHECK_N.
27729 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27730 <bp-checks.h>.
27731 (__libc_msgrcv): Don't use CHECK_N.
27732 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27733 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27734 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27735 (__libc_writev): Don't use CHECK_N.
27736
b84660a8
RM
277372013-02-08 Roland McGrath <roland@hack.frob.com>
27738
7f3e75f8
RM
27739 * string/strcpy.c: Removed unused variable.
27740
b84660a8
RM
27741 * Makeconfig (+sysdep-includes): Define with := rather than =.
27742 Use an existing include/ subdir of each sysdeps dir before it.
27743
471514d3
CD
277442013-02-08 Carlos O'Donell <carlos@redhat.com>
27745
27746 * nscd/connection.c (register_traced_file): Comment function.
27747 [HAVE_INOTIFY] (union __inev): Define.
27748 [HAVE_INOTIFY] (inotify_check_files): New function.
27749 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27750 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27751 clear_db_cache.
27752 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27753
b2d3c3be
CD
277542013-02-08 Carlos O'Donell <carlos@redhat.com>
27755
27756 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27757 loaded if not already and that a failure is permanent.
27758
b39949d2
CD
277592013-02-08 Carlos O'Donell <carlos@redhat.com>
27760
ddacd1db 27761 [BZ #15006]
b39949d2
CD
27762 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27763 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27764
b2c9eff4
JM
277652013-02-08 Joseph Myers <joseph@codesourcery.com>
27766
f3aae3f3
JM
27767 [BZ #13550]
27768 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27769 (CHECK_1_NULL_OK): Likewise.
27770 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27771 (__fxstat): Do not use CHECK_1.
27772 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27773 <bp-checks.h>.
27774 (___fxstat64): Do not use CHECK_1.
27775 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27776 <bp-checks.h>.
27777 (__fxstatat): Do not use CHECK_1.
27778 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27779 <bp-checks.h>.
27780 (__fxstatat64): Do not use CHECK_1.
27781 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27782 <bp-checks.h>.
27783 (__fxstat): Do not use CHECK_1.
27784 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27785 <bp-checks.h>.
27786 (__fxstatat): Do not use CHECK_1.
27787 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27788 <bp-checks.h>.
27789 (__getresgid): Do not use CHECK_1.
27790 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27791 <bp-checks.h>.
27792 (__getresuid): Do not use CHECK_1.
27793 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27794 <bp-checks.h>.
27795 (__lxstat): Do not use CHECK_1.
27796 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27797 <bp-checks.h>.
27798 (__old_msgctl): Do not use CHECK_1.
27799 (__new_msgctl): Likewise.
27800 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27801 <bp-checks.h>.
27802 (__new_setrlimit): Do not use CHECK_1.
27803 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27804 <bp-checks.h>.
27805 (__old_shmctl): Do not use CHECK_1.
27806 (__new_shmctl): Likewise.
27807 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27808 <bp-checks.h>.
27809 (__xstat): Do not use CHECK_1.
27810 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27811 (__lxstat): Do not use CHECK_1.
27812 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27813 <bp-checks.h>.
27814 (___lxstat64): Do not use CHECK_1.
27815 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27816 (__old_msgctl): Do not use CHECK_1.
27817 (__new_msgctl): Likewise.
27818 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27819 <bp-checks.h>.
27820 (__gettimeofday): Do not use CHECK_1.
27821 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27822 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27823 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27824 <bp-checks.h>.
27825 (__gettimeofday): Do not use CHECK_1.
27826 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27827 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27828 (__new_shmctl): Do not use CHECK_1.
27829 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27830 <bp-checks.h>.
27831 (do_sigtimedwait): Do not use CHECK_1.
27832 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27833 <bp-checks.h>.
27834 (do_sigwaitinfo): Do not use CHECK_1.
27835 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27836 <bp-checks.h>.
27837 (msgctl): Do not use CHECK_1.
27838 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27839 <bp-checks.h>.
27840 (shmctl): Do not use CHECK_1.
27841 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27842 (ustat): Do not use CHECK_1.
27843 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27844 <bp-checks.h>.
27845 (__fxstat): Do not use CHECK_1.
27846 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27847 <bp-checks.h>.
27848 (__fxstatat): Do not use CHECK_1.
27849 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27850 <bp-checks.h>.
27851 (__lxstat): Do not use CHECK_1.
27852 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27853 <bp-checks.h>.
27854 (__xstat): Do not use CHECK_1.
27855 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27856 (__xstat): Do not use CHECK_1.
27857 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27858 (___xstat64): Do not use CHECK_1.
27859
b2c9eff4
JM
27860 [BZ #13550]
27861 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27862 definitions.
27863 (CHECK_BOUNDS_HIGH): Likewise.
27864 * string/strcpy.c: Do not include <bp-checks.h>.
27865 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27866
f1d70dad
RM
278672013-02-07 Roland McGrath <roland@hack.frob.com>
27868
27869 * nscd/nscd-client.h (__nscd_drop_map_ref):
27870 Add __attribute__ ((unused)).
27871 * nis/nss-nisplus.h (niserr2nss): Likewise.
27872
27873 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27874 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27875
27876 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27877 Remove inline keyword.
27878 * include/rounding-mode.h (round_away): Likewise.
27879 * libio/wfileops.c (adjust_wide_data): Likewise.
27880 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27881 (__m128i_strloadu_tolower): Likewise.
27882 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27883 (__m128i_strloadu_tolower): Likewise.
27884 * time/mktime.c (ydhms_diff): Likewise.
27885 * locale/elem-hash.h (elem_hash): Likewise.
27886 * locale/setlocale.c (setdata): Likewise.
27887 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27888 (re_string_wchar_at): Likewise.
27889 (bitset_not, bitset_merge, bitset_mask): Likewise.
27890 [!(__GNUC__ > 3)] (inline): Remove macro.
27891 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27892 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27893 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27894 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27895 * string/memcmp.c (memcmp_bytes): Likewise.
27896 * locale/programs/locarchive.c (compute_hashval): Likewise.
27897 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27898 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27899 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27900 * nss/getent.c (print_rpc, print_protocols): Likewise.
27901 (print_passwd, print_group, print_aliases): Likewise.
27902 * nis/nss-nisplus.h (niserr2nss): Likewise.
27903 * nscd/connections.c (restart_p): Likewise.
27904 Change return type to bool.
27905
eab55bfb
RM
279062013-02-05 Roland McGrath <roland@hack.frob.com>
27907
7bd642f5
RM
27908 * Makeconfig (all-Depend-files): Add existing
27909 $(sorted-subdirs:=/Depend) files.
27910 (all-subdirs): Remove nss.
27911 * sysdeps/unix/inet/Subdirs: Add it here instead.
27912 * hesiod/Depend: New file.
27913
573c29b2
RM
27914 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27915 instead of calling alloca.
27916
b2e25af0
RM
27917 * io/lseek.c (__lseek): Rename to __libc_lseek.
27918 Define __lseek as an alias.
27919
eab55bfb
RM
27920 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27921
9a0d1941
CD
279222013-02-04 Carlos O'Donell <carlos@redhat.com>
27923
27924 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27925 else clause and remove check for non-standard endianness.
27926
b83bbec4
DM
279272013-02-04 David S. Miller <davem@davemloft.net>
27928
27929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27930
6277fdab
JM
279312013-02-04 Joseph Myers <joseph@codesourcery.com>
27932
27933 [BZ #13550]
27934 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27935 (__ubp_memchr): Remove prototype.
27936 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27937 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27938 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27939 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27940 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27941 Remove alias.
27942 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27943 (__ubp_memchr): Likewise.
27944 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27945 (__ubp_memchr): Likewise.
27946 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27947 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27948 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27949 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27950 CHECK_STRING.
27951 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27952 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27953 (__getcwd): Do not use CHECK_STRING.
27954 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27955 <bp-checks.h>.
27956 (__real_chown): Do not use CHECK_STRING.
27957 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27958 <bp-checks.h>.
27959 (fchownat): Do not use CHECK_STRING.
27960 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27961 CHECK_STRING.
27962 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27963 <bp-checks.h>.
27964 (__lchown): Do not use CHECK_STRING.
27965 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27966 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27967 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27968 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27970 include <bp-checks.h>.
27971 (truncate64): Do not use CHECK_STRING.
27972 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27973 <bp-checks.h>.
27974 (__real_chown): Do not use CHECK_STRING.
27975 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27976 <bp-checks.h>.
27977 (__lchown): Do not use CHECK_STRING.
27978 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27979 <bp-checks.h>.
27980 (__chown): Do not use CHECK_STRING.
27981 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27982 <bp-checks.h>.
27983 (truncate64): Do not use CHECK_STRING.
27984 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27985 Likewise.
27986 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27987 (__xmknod): Do not use CHECK_STRING.
27988 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27989 <bp-checks.h>.
27990 (__xmknodat): Do not use CHECK_STRING.
27991 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27992 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27993
903ae060
AS
279942013-02-04 Andreas Schwab <schwab@suse.de>
27995
27996 [BZ #14142]
27997 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27998 * include/netdb.h: Likewise for h_errno.
27999 * elf/tst-stackguard1.c: Include <tls.h>.
28000
542f9466
JK
280012013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28002
28003 * elf/link.h (struct link_map): Extend the l_addr comment.
28004 * include/link.h (struct link_map): Likewise.
28005
e782a927
JM
280062013-02-01 Joseph Myers <joseph@codesourcery.com>
28007
28008 [BZ #13550]
28009 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28010 (BOUNDED_1): Remove macro.
28011 * debug/backtrace.c: Don't include <bp-checks.h>.
28012 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28013 (__backtrace): Likewise.
28014 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28015 <bp-checks.h>.
28016 (__backtrace): Don't use BOUNDED_1.
28017 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28018 <bp-checks.h>.
28019 (__backtrace): Don't use BOUNDED_1.
28020 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28021 (__backtrace): Don't use BOUNDED_1.
28022 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28023 (shmat): Don't use BOUNDED_N.
28024
8cf28c5e
JM
280252013-01-31 Joseph Myers <joseph@codesourcery.com>
28026
3a7ac8a0
JM
28027 [BZ #13550]
28028 * sysdeps/generic/bp-start.h: Remove file.
28029 * csu/libc-start.c: Don't include <bp-start.h>.
28030 (LIBC_START_MAIN): Set up __environ directly instead of using
28031 INIT_ARGV_and_ENVIRON.
28032 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28033 <bp-start.h>.
28034
f3499f95
JM
28035 [BZ #13550]
28036 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28037 definitions.
28038 (CHECK_FCNTL): Likewise.
28039 (CHECK_N_PAGES): Likewise.
28040
32a45bea
JM
28041 [BZ #13550]
28042 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28043 definitions.
28044 (CHECK_SIGSET_NULL_OK): Likewise.
28045 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28046 <bp-checks.h>.
28047 (sigpending): Don't use CHECK_SIGSET.
28048 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28049 <bp-checks.h>.
28050 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28051 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28052 <bp-checks.h>.
28053 (do_sigsuspend): Don't use CHECK_SIGSET.
28054 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28055 use CHECK_SIGSET.
28056 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28057 (do_sigwait): Don't use CHECK_SIGSET.
28058 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28059 use CHECK_SIGSET.
28060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28061 include <bp-checks.h>.
28062 (sigpending): Don't use CHECK_SIGSET.
28063 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28064 include <bp-checks.h>.
28065 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28066 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28067 <bp-checks.h>.
28068 (sigpending): Don't use CHECK_SIGSET.
28069 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28070 <bp-checks.h>.
28071 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28072
2e8a5c8c
JM
28073 [BZ #13550]
28074 * sysdeps/generic/bp-semctl.h: Remove file.
28075 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28076 <bp-checks.h> and <bp-semctl.h>.
28077 (__old_semctl): Don't use CHECK_SEMCTL.
28078 (__new_semctl): Likewise.
28079 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28080 and <bp-semctl.h>.
28081 (__old_semctl): Don't use CHECK_SEMCTL.
28082 (__new_semctl): Likewise.
28083 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28084 <bp-checks.h> and <bp-semctl.h>.
28085 (__old_semctl): Don't use CHECK_SEMCTL.
28086 (__new_semctl): Likewise.
28087 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28088 <bp-checks.h> and <bp-semctl.h>.
28089 (semctl): Don't use CHECK_SEMCTL.
28090
c2d54929
JM
28091 [BZ #13550]
28092 * Makerules (elide-bp-thunks): Remove variable.
28093 (elide-routines.oS): Don't use $(elide-bp-thunks).
28094 (elide-routines.os): Likewise.
28095 (elide-routines.o): Likewise.
28096 (elide-routines.op): Likewise.
28097 (elide-routines.og): Likewise.
28098 (objects): Don't use $(bp-thunks).
28099 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28100 include.
28101 (common-generated): Do not add s-proto-bp.d.
28102 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28103 (int): Likewise.
28104 (typ): Likewise.
28105 Do not generate makefile rules for bounded-pointer thunks.
28106 * sysdeps/generic/bp-thunks.h: Remove file.
28107 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28108 * sysdeps/unix/s-proto-bp.S: Likewise.
28109
8cf28c5e
JM
28110 [BZ #15062]
28111 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28112 parts of result separately when argument is not close to line from
28113 -i to i and one part of argument is small.
28114 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28115 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28116 * math/libm-test.inc (cacos_test): Add more tests.
28117 (casin_test): Likewise.
28118 (casinh_test): Likewise.
28119 * sysdeps/i386/fpu/libm-test-ulps: Update.
28120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28121
c4e33b8d
DM
281222013-01-31 David S. Miller <davem@davemloft.net>
28123
28124 * po/de.po: Update from translation team.
28125
3b60b421
MK
281262013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28127
28128 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28129
bb931195
TS
281302013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28131
b5a5da23
TS
28132 * configure.in (_AC_PROG_CC_C89): New definition.
28133 * configure: Regenerate.
28134
bb931195
TS
28135 * configure.in (AC_PROG_CPP): New definition.
28136 * configure: Regenerate.
28137
8c53a12c
JM
281382013-01-23 Joseph Myers <joseph@codesourcery.com>
28139
28140 * debug/tst-backtrace.h: New file.
28141 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28142 (ret): Remove variable.
28143 (x): Likewise.
28144 (FAIL): Remove macro.
28145 (NO_INLINE): Likewise.
28146 (fn1): Use match function instead of strstr.
28147 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28148 (ret): Remove variable.
28149 (x): Likewise.
28150 (FAIL): Remove macro.
28151 (NO_INLINE): Likewise.
28152 (fn): Use match function instead of strstr.
28153 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28154 (ret): Remove variable.
28155 (x): Likewise.
28156 (FAIL): Remove macro.
28157 (NO_INLINE): Likewise.
28158 (handle_signal): Use match function instead of strstr.
28159 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28160 (ret): Remove variable.
28161 (x): Likewise.
28162 (FAIL): Remove macro.
28163 (NO_INLINE): Likewise.
28164 (handle_signal): Use match function instead of strstr.
28165
4858fa2a
RM
281662013-01-23 Roland McGrath <roland@hack.frob.com>
28167
28168 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28169
bae8e7f5
DM
281702013-01-23 David S. Miller <davem@davemloft.net>
28171
28172 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28173 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28174 argument of CAS if possible.
28175 * sysdeps/sparc/sparc64/bits/atomic.h
28176 (__arch_compare_and_exchange_val_32_acq): Likewise.
28177 (__arch_compare_and_exchange_val_64_acq): Likewise.
28178
9cbbc4ae
PT
281792013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28180
28181 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28182 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28183 Include <limits.h>.
67b3f58c 28184 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28185
5655a0b5
AC
281862013-01-23 Adam Conrad <adconrad@0c3.net>
28187
28188 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28189 (LDFLAGS-tst-array5): Likewise.
28190
052aff95
JM
281912013-01-23 Joseph Myers <joseph@codesourcery.com>
28192
28193 [BZ #15036]
28194 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28195 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28196 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28197 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28198
7c1e01aa
DM
281992013-01-21 David S. Miller <davem@davemloft.net>
28200
28201 * sysdeps/sparc/backtrace.c: New file.
28202 * sysdeps/sparc/sparc32/backtrace.h: New file.
28203 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28204 * sysdeps/sparc/sparc64/backtrace.h: New file.
28205 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28206 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28207 -funwind-tables.
28208
ab087e0a
AS
282092013-01-21 Andreas Schwab <schwab@suse.de>
28210
28211 [BZ #15020]
28212 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28213 closed its stdout.
28214
ed689c2f
AS
282152013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28216
28217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28218 "mpa2.h".
28219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28220
31d470ac
JM
282212013-01-18 Joseph Myers <joseph@codesourcery.com>
28222 Mark Mitchell <mark@codesourcery.com>
28223 Tom de Vries <tom@codesourcery.com>
28224 Paul Pluzhnikov <ppluzhnikov@google.com>
28225
28226 * debug/tst-backtrace2.c: New file.
28227 * debug/tst-backtrace3.c: Likewise.
28228 * debug/tst-backtrace4.c: Likewise.
28229 * debug/tst-backtrace5.c: Likewise.
28230 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28231 (CFLAGS-tst-backtrace3.c): Likewise.
28232 (CFLAGS-tst-backtrace4.c): Likewise.
28233 (CFLAGS-tst-backtrace5.c): Likewise.
28234 (LDFLAGS-tst-backtrace2): Likewise.
28235 (LDFLAGS-tst-backtrace3): Likewise.
28236 (LDFLAGS-tst-backtrace4): Likewise.
28237 (LDFLAGS-tst-backtrace5): Likewise.
28238 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28239 tst-backtrace4 and tst-backtrace5.
28240
90567f30 282412013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28242 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28243
28244 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28245 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28246 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28247 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28249 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28250 "+r" and remove output regs list as redundant. Add explicit inline
28251 asm to specify register of return val to work around compiler codegen
28252 bug. Remove (int) cast on return value. Add return type parameter to
28253 use in macro so that this macro does not truncate return value for
28254 64-bit values.
28255 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28256 pass to INTERNAL_VSYSCALL_NCS.
28257 (INLINE_VSYSCALL): Add 'long int' as return type to
28258 INTERNAL_VSYSCALL_NCS macro invocation.
28259 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28260 INTERNAL_VSYSCALL_NCS macro invocation.
28261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28262
d3b9ea61
SP
282632013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28264
0b57daeb
SP
28265 [BZ #14496]
28266 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28267 Fix application of SIMD FP exception mask.
28268
caa99d06
SP
28269 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28270 mp_no from a power of two.
28271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28272 __mpexp_twomm1. Use __pow_mp.
28273
d3b9ea61
SP
28274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28275 multiplication.
28276
1dbaee3c
DM
282772013-01-17 David S. Miller <davem@davemloft.net>
28278
28279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28280
728d7b43
JM
282812013-01-17 Joseph Myers <joseph@codesourcery.com>
28282
28283 [BZ #15023]
28284 * include/complex.h: Condition contents on [!_COMPLEX_H].
28285 (__kernel_casinhf): New prototype.
28286 (__kernel_casinh): Likewise.
28287 (__kernel_casinhl): Likewise.
28288 * math/Makefile (libm_calls): Add k_casinh.
28289 * math/k_casinh.c: New file.
28290 * math/k_casinhf.c: Likewise.
28291 * math/k_casinhl.c: Likewise.
28292 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28293 finite nonzero arguments.
28294 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28295 finite nonzero arguments.
28296 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28297 finite nonzero arguments.
28298 * math/s_casinh.c: Do not include <float.h>.
28299 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28300 * math/s_casinhf.c: Do not include <float.h>.
28301 (__casinhf): Move code for finite nonzero arguments to
28302 k_casinhf.c.
28303 * math/s_casinhl.c: Do not include <float.h>.
28304 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28305 redefine.
28306 (__casinhl): Move code for finite nonzero arguments to
28307 k_casinhl.c.
28308 * math/libm-test.inc (cacos_test): Add more tests.
28309 * sysdeps/i386/fpu/libm-test-ulps: Update.
28310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28311
2a26ef3a
PT
283122013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28313
28314 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28315 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28316 [!HAVE_MREMAP]: Remove [defined linux] case.
28317 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28318
a897655d
SP
283192013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28320
28321 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28322
881ebe89 283232013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28324
28325 * elf/elf.h (R_386_SIZE32): New relocation.
28326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28327 R_386_SIZE32.
28328 (elf_machine_rela): Likewise.
28329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28330 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28331
59981e9b
JM
283322013-01-17 Joseph Myers <joseph@codesourcery.com>
28333
28334 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28335 (FP_FAST_FMA): Do not define.
28336 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28337 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28338 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28339 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28340 !_SOFT_FLOAT]: Likewise.
28341 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28342 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28343 value.
28344 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28345 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28346 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28347 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28348 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28349 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28350 file.
28351
cfa8054f
AS
283522013-01-16 Andreas Schwab <schwab@suse.de>
28353
28354 [BZ #14327]
28355 * include/stdlib.h (__mktemp): Add declaration.
28356 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28357 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28358
dd930cc5
SP
283592013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28360
881ebe89
SP
28361 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28362 definitions.
28363 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28364 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28365 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28366 definitions here.
28367 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28368 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28369 definitions.
28370 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28371 and ONE.
28372 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28373 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28374 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28375 definitions.
28376 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28377 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28378 definitions.
28379 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28380
dd930cc5
SP
28381 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28382
c19a9f89
DM
283832013-01-15 David S. Miller <davem@davemloft.net>
28384
1aa61767
DM
28385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28386 trunc{,f} to libm-sysdep_routes.
28387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28389 file.
28390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28392 file.
28393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28394 file.
28395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28397 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28398 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28399 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28400 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28401 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28402 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28403
c42d5e98
DM
28404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28405 nearbyint{,f} to libm-sysdep_routes.
28406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28408 New file.
28409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28410 file.
28411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28412 New file.
28413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28414 file.
28415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28418 file.
28419 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28420 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28421 file.
28422 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28423 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28424 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28425
c19a9f89
DM
28426 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28427 libc_feholdexcept and libc_fesetenv.
28428
357679d2
MF
284292013-01-15 Mike Frysinger <vapier@gentoo.org>
28430
28431 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28432
65a82e3d
DM
284332013-01-14 David S. Miller <davem@davemloft.net>
28434
8b954ab9
DM
28435 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28436 (SPARC_ASM_VIS2_IFUNC): Likewise.
28437 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28439 use of 'siam' instruction.
28440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28441 Likewise.
28442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28443 Likewise.
28444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28445 Likewise.
28446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28451 file.
28452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28453 file.
28454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28455 file.
28456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28457 file.
28458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28463 new VIS2 routines.
28464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28467 Likewise.
28468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28473 routines to libm-sysdep_routines.
28474 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28475
65a82e3d
DM
28476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28477 fdim/fdimf to libm-sysdep_routines.
28478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28479 file.
28480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28482 file.
28483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28486 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28487 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28488 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28489 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28490
e34ab705
SP
284912013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28492
2a91b573
SP
28493 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28494 to optimize copies.
28495
1066a534
SP
28496 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28499
e34ab705
SP
28500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28501 local variable MPTWO.
28502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28503 Likewise.
28504
aba5e596
MF
285052013-01-13 Mike Frysinger <vapier@gentoo.org>
28506
28507 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28508 GLOB_NOESCAPE.
28509
e557e9e5
MF
285102013-01-13 Mike Frysinger <vapier@gentoo.org>
28511
28512 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28513
0428cec9
MF
285142013-01-13 Mike Frysinger <vapier@gentoo.org>
28515
28516 * manual/pattern.texi (glob_t): Document gl_flags.
28517 (glob64_t): Likewise.
28518
8794a964
DM
285192013-01-11 David S. Miller <davem@davemloft.net>
28520
66438c3f
RM
28521 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28522 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28523 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28524 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28525 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28526 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28527 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28528 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28529 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28530 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28531 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28532 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28533 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28534
4ae4244d
DM
28535 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28536 sparc V9 rather than using V8 code.
28537 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28538 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28539
8794a964
DM
28540 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28541 Move to...
28542 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28543 Here.
28544
6270516e
RM
285452013-01-11 Roland McGrath <roland@hack.frob.com>
28546
28547 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28548 not in the main loop.
28549 * configure: Regenerated.
28550
6a57d931
JM
285512013-01-11 Joseph Myers <joseph@codesourcery.com>
28552
28553 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28554 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28555 to just #else.
28556 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28557 [!__GLIBC_HAVE_LONG_LONG] case.
28558 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28559 condition to just #else.
28560 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28561 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28562 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28563 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28564 unconditional.
28565 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28566 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28567 #elif condition to just #else.
28568 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28569 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28570 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28571 #elif condition to just #else.
28572
0e8529e9
SE
285732013-01-11 Steve Ellcey <sellcey@mips.com>
28574
28575 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28576 (EF_MIPS_ARCH_64): Fix value.
28577 (EF_MIPS_ARCH_32R2): New.
28578 (EF_MIPS_ARCH_64R2): New.
28579
740b3dbe
L
285802013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28581
28582 * Makeconfig (+link-pie-before-libc): New.
28583 (+link-pie-after-libc): Likewise.
28584 (+link-pie-tests): Likewise.
28585 (+link-pie): Rewritten.
28586 (link-before-libc): Remove $(config-LDFLAGS).
28587 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28588 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28589 (config-LDFLAGS): Renamed to ...
28590 (rtld-LDFLAGS): This.
28591 (rtld-tests-LDFLAGS): New macro.
28592 (link-libc-rpath-link): Likewise.
28593 (link-libc-tests-rpath-link): Likewise.
28594 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28595 (link-libc): Prepand $(link-libc-rpath-link).
28596 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28597 (test-program-prefix): New macro.
28598 (test-via-rtld-prefix): Likewise.
28599 (test-program-cmd): Likewise.
28600 (host-test-program-cmd): Likewise.
28601 * Makefile ($(common-objpfx)testrun.sh): Replace
28602 $(run-program-prefix) with $(test-program-prefix).
28603 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28604 $(rtld-LDFLAGS).
28605 ($(common-objpfx)shlib.lds): Likewise.
28606 (build-module-helper): Likewise.
28607 ($(common-objpfx)format.lds): Likewise.
28608 * Rules (binaries-pie-tests): New.
28609 (binaries-pie-notests): Likewise.
28610 (binaries-pie): Rewritten.
28611 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28612 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28613 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28614 (make-test-out): Replace $(host-built-program-cmd) with
28615 $(host-test-program-cmd).
28616 * config.make.in (build-hardcoded-path-in-tests): New variable.
28617 * configure.in (--enable-hardcoded-path-in-tests): New configure
28618 option.
28619 (hardcoded_path_in_tests): New AC_SUBST.
28620 * configure: Regenerated.
28621 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28622 $(built-program-cmd) with $(test-program-cmd).
28623 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28624 (test_program_cmd): This.
28625 * elf/Makefile ($(objpfx)order.out): Run test with
28626 $(test-program-prefix).
28627 ($(objpfx)order2.out): Likewise.
28628 ($(objpfx)tst-initorder.out): Likewise.
28629 ($(objpfx)tst-initorder2.out): Likewise.
28630 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28631 $(test-program-cmd).
28632 ($(objpfx)tst-array1-static.out): Likewise.
28633 ($(objpfx)tst-array2.out): Likewise.
28634 ($(objpfx)tst-array3.out): Likewise.
28635 ($(objpfx)tst-array4.out): Likewise.
28636 ($(objpfx)tst-array5.out): Likewise.
28637 ($(objpfx)tst-array5-static.out): Likewise.
28638 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28639 $(test-program-cmd).
28640 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28641 $(run-program-prefix) with $(test-program-prefix).
28642 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28643 (test_program_prefix): This.
28644 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28645 $(run-program-prefix) with $(test-program-prefix).
28646 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28647 (test_program_prefix): This.
28648 * iconvdata/tst-tables.sh: Likewise.
28649 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28650 $(run-program-prefix) with $(test-program-prefix).
28651 ($(objpfx)tst-translit.out): Likewise.
28652 ($(objpfx)tst-gettext2.out): Likewise.
28653 ($(objpfx)tst-gettext4.out): Likewise.
28654 ($(objpfx)tst-gettext6.out): Likewise.
28655 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28656 (test_program_prefix): This.
28657 * intl/tst-gettext2.sh: Likewise.
28658 * intl/tst-gettext4.sh Likewise.
28659 * intl/tst-gettext6.sh: Likewise.
28660 * intl/tst-translit.sh: Likewise.
28661 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28662 with $(test-program-cmd).
28663 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28664 $(run-program-prefix) with $(test-program-prefix).
28665 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28666 (test_program_prefix): This.
28667 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28668 $(run-program-prefix) with $(test-program-prefix).
28669 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28670 (test_program_prefix): This.
28671 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28672 * posix/Makefile ($(objpfx)globtest.out): Replace
28673 $(run-via-rtld-prefix) and $(test-wrapper) with
28674 $(test-program-prefix) and $(test-via-rtld-prefix).
28675 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28676 $(test-program-prefix).
28677 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28678 $(host-test-program-cmd).
28679 (tst-spawn-ARGS): Likewise.
28680 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28681 $(test-program-prefix).
28682 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28683 (test_via_rtld_prefix): This.
28684 (test_wrapper): Renamed to ...
28685 (test_program_prefix): This.
28686 (run_program_prefix): Replaced by test_program_prefix.
28687 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28688 (test_program_prefix): This.
28689 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28690 with $(host-test-program-cmd).
28691 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28692 $(run-program-prefix) with $(test-program-prefix).
28693 ($(objpfx)tst-printf.out): Likewise.
28694 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28695 $(test-program-cmd).
28696 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28697 (test_program_prefix): This.
28698 * stdio-common/tst-unbputc.sh: Likewise.
28699 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28700 $(run-program-prefix) with $(test-program-prefix).
28701 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28702 (test_program_prefix): This.
28703 * string/Makefile ($(objpfx)tst-svc.out): Replace
28704 $(built-program-cmd) with $(test-program-cmd).
28705
c6fe55cf
AJ
287062013-01-11 Andreas Jaeger <aj@suse.de>
28707
28708 [BZ #15003]
28709 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28710 value. Sync with Linux 3.7.
28711
9e6919c8
DM
287122013-01-10 David S. Miller <davem@davemloft.net>
28713
28714 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28715 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28716 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28717
1c9f1a02
RM
287182013-01-10 Roland McGrath <roland@hack.frob.com>
28719
28720 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28721 never set.
28722 * configure: Regenerated.
28723
b9de2dde
DM
287242013-01-10 David S. Miller <davem@davemloft.net>
28725
28726 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28727 sparc V9 rather than using V8 code.
28728 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28729 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28730
e7f68ef4
RM
287312013-01-10 Roland McGrath <roland@hack.frob.com>
28732
28733 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28734 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28735 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28736 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28737 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28738 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28739 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28740 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28741 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28742 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28743 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28744 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28745 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28746 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28747 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28748 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28749 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28750 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28751 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28752 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28753 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28754 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28755 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28756 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28757 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28758 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28759 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28760
5a47cc9c
DM
287612013-01-10 David S. Miller <davem@davemloft.net>
28762
28763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28764
4cf8f209
L
287652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28766
28767 * posix/Makefile (tests-static): New variable.
28768 (tests): Add $(tests-static).
28769 (tst-exec-static-ARGS): New variable.
28770 (tst-spawn-static-ARGS): Likewise.
28771 * posix/tst-exec-static.c: New file.
28772 * posix/tst-spawn-static.c: Likewise.
28773 * posix/tst-exec.c: Support run directly.
28774 * posix/tst-spawn.c: Likewise.
28775
fed0faa1
JM
287762013-01-10 Joseph Myers <joseph@codesourcery.com>
28777
828beb13
JM
28778 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28779 long.
28780 * math/bits/mathcalls.h (llrint): Likewise.
28781 (llround): Likewise.
28782 * stdlib/stdlib.h (struct drand48_data): Likewise.
28783 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28784 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28785 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28786 Likewise.
28787 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28788 Likewise.
28789 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28790 (elf_greg_t): Likewise.
28791 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28792 (__jmp_buf): Likewise.
28793 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28794 definitions.
28795 (llrint): Likewise, for all definitions.
28796 (llrintl): Likewise.
28797
fed0faa1
JM
28798 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28799 Remove [__GNUC__] condition.
28800 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28801 condition to just [__USE_ISOC99].
28802 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28803
1a20cb20
L
288042013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28805
28806 [BZ #14200]
28807 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28808 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28809 defined.
28810 (_POSIX_V6_ILP32_OFF32): Likewise.
28811 (_XBS5_ILP32_OFF32): Likewise.
28812 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28813 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28814
751b85f7
SP
288152013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28816
7490eb81
SP
28817 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28818
751b85f7
SP
28819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28820 doubles __mpexp_twomm1. Adjust usage.
28821 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28822 Remove.
28823
988197f0
AS
288242013-01-10 Andreas Schwab <schwab@suse.de>
28825
28826 [BZ #14964]
28827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28828 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28829
e83d7298
DM
288302013-01-09 David S. Miller <davem@davemloft.net>
28831
034ed64b 28832 [BZ #15003]
57f41c40
AS
28833 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28834 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28835 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28836 (TCP_FASTOPEN): Define.
e83d7298
DM
28837 (tcp_repair_opt): New structure.
28838 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28839 enum values.
57f41c40
AS
28840 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28841 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28842 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28843 (tcp_cookie_transactions): New structure.
28844
d5e0b9bd
AB
288452013-01-09 Anton Blanchard <anton@samba.org>
28846
28847 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28848 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28849 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28850 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28851
0c07e3ea
JM
288522013-01-09 Joseph Myers <joseph@codesourcery.com>
28853
28854 * include/features.h (__USE_ANSI): Remove.
28855
232f7002
RM
288562013-01-09 Roland McGrath <roland@hack.frob.com>
28857
ad98e30c
RM
28858 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28859
232f7002
RM
28860 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28861
950c99ca
SP
288622013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28863
b5792741
SP
28864 * sysdeps/s390/fpu/libm-test-ulps: Update.
28865
47cf2278
SP
28866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28867
950c99ca
SP
28868 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28869 (__acr): Likewise.
28870 (__cpy): Likewise.
28871 (norm): Likewise.
28872 (denorm): Likewise.
28873 (__mp_dbl): Likewise.
28874 (__dbl_mp): Likewise.
28875 (add_magnitudes): Likewise.
28876 (sub_magnitudes): Likewise.
28877 (__add): Likewise.
28878 (__sub): Likewise.
28879 (__mul): Likewise.
28880 (__inv): Likewise.
28881 (__dvd): Likewise.
28882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28883 (__acr): Likewise.
28884 (__cpy): Likewise.
28885 (norm): Likewise.
28886 (denorm): Likewise.
28887 (__mp_dbl): Likewise.
28888 (__dbl_mp): Likewise.
28889 (add_magnitudes): Likewise.
28890 (sub_magnitudes): Likewise.
28891 (__add): Likewise.
28892 (__sub): Likewise.
28893 (__mul): Likewise.
28894 (__inv): Likewise.
28895 (__dvd): Likewise.
28896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28897 (__acr): Likewise.
28898 (__cpy): Likewise.
28899 (norm): Likewise.
28900 (denorm): Likewise.
28901 (__mp_dbl): Likewise.
28902 (__dbl_mp): Likewise.
28903 (add_magnitudes): Likewise.
28904 (sub_magnitudes): Likewise.
28905 (__add): Likewise.
28906 (__sub): Likewise.
28907 (__mul): Likewise.
28908 (__inv): Likewise.
28909 (__dvd): Likewise.
28910
eede9df9
JM
289112013-01-08 Joseph Myers <joseph@codesourcery.com>
28912
28913 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28914 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28915 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28916 2 && __USE_EXTERN_INLINES]: Likewise.
28917
c40ea3d9
AJ
289182013-01-08 Andreas Jaeger <aj@suse.de>
28919
28920 [BZ# 14985]
28921 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28922 Remove.
28923 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28924 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28925
2ccdea26
AB
289262013-01-07 Anton Blanchard <anton@samba.org>
28927
28928 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28929 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28930 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28931 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28932 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28933 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28934 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28935 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28937 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28938 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28939 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28940 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28941 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28942 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28943 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28944 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28945 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28946 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28947 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28948 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28949 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28951 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28952 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28953 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28954 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28955 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28956 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28957 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28958 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28960 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28961 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28962 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28963 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28964 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28965 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28966 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28967 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28968 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28969 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28970 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28971
a9708fed
JM
289722013-01-07 Joseph Myers <joseph@codesourcery.com>
28973
375607b9
JM
28974 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28975 (__MALLOC_PMT): Likewise.
28976 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28977 [__GNUC__], only on [_LIBC].
28978 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28979 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28980 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28981 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28982 forward declaration.
28983 (realloc_hook_ini): Likewise.
28984 (memalign_hook_ini): Likewise.
28985 (__libc_memalign): Do not use __MALLOC_PMT in variable
28986 declaration.
28987 (__libc_valloc): Likewise.
28988 (__libc_pvalloc): Likewise.
28989 (__libc_calloc): Likewise.
28990 (__posix_memalign): Likewise.
28991
a9708fed
JM
28992 [BZ #14996]
28993 * math/s_casinh.c: Include <float.h>.
28994 (__casinh): Do not do computation with squaring and square root
28995 for large arguments.
28996 * math/s_casinhf.c: Include <float.h>.
28997 (__casinhf): Do not do computation with squaring and square root
28998 for large arguments.
28999 * math/s_casinhl.c: Include <float.h>.
29000 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29001 (__casinhl): Do not do computation with squaring and square root
29002 for large arguments.
29003 * math/libm-test.inc (casin_test): Add more tests.
29004 (casinh_test): Likewise.
29005 * sysdeps/i386/fpu/libm-test-ulps: Update.
29006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29007
afec409a
L
290082013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29009
29010 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29011 (__x86_64_raw_data_cache_size): Likewise.
29012 (__x86_64_data_cache_size_half): Likewise.
29013 (__x86_64_raw_data_cache_size_half): Likewise.
29014 (__x86_64_shared_cache_size): Likewise.
29015 (__x86_64_raw_shared_cache_size): Likewise.
29016 (__x86_64_shared_cache_size_half): Likewise.
29017 (__x86_64_raw_shared_cache_size_half): Likewise.
29018 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29019 to ...
29020 (__x86_data_cache_size): This.
29021 (__x86_64_raw_data_cache_size): Renamed to ...
29022 (__x86_raw_data_cache_size): This.
29023 (__x86_64_data_cache_size_half): Renamed to ...
29024 (__x86_data_cache_size_half): This.
29025 (__x86_64_raw_data_cache_size_half): Renamed to ...
29026 (__x86_raw_data_cache_size_half): This.
29027 (__x86_64_shared_cache_size): Renamed to ...
29028 (__x86_shared_cache_size): This.
29029 (__x86_64_raw_shared_cache_size): Renamed to ...
29030 (__x86_raw_shared_cache_size): This.
29031 (__x86_64_shared_cache_size_half): Renamed to ...
29032 (__x86_shared_cache_size_half): This.
29033 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29034 (__x86_raw_shared_cache_size_half): This.
29035 * sysdeps/x86_64/memcpy.S: Updated.
29036 * sysdeps/x86_64/memset.S: Likewise.
29037 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29038 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29039 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29040
0b3986d0
DM
290412013-01-04 David S. Miller <davem@davemloft.net>
29042
29043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29044
e47686e9
AS
290452013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29046
d643bac1
AS
29047 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29048 1 to avoid redefinition warning.
29049 (__USE_GNU): Don't define.
29050 (init_signaling_nan): Protoize.
29051
e47686e9
AS
29052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29053
b18decba
SP
290542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29055
fffb407f
SP
29056 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29058 (__cpymn): Likewise.
29059 (norm): Remove commented code.
29060 (denorm): Likewise.
29061 (__mp_dbl): Likewise.
29062 (__inv): Likewise.
29063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29064 (__cpymn): Likewise.
29065 (norm): Remove commented code.
29066 (denorm): Likewise.
29067 (__mp_dbl): Likewise.
29068 (__inv): Likewise.
29069
b18decba
SP
29070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29071 mp_no value for 1.0 and 2.0.
29072 (norm): Use RADIXI instead of radixi.d.
29073 (denorm): Likewise.
29074 (__mul): Use 0.0 instead of zero.d.
29075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29076 mp_no value for 1.0 and 2.0.
29077 (norm): Use RADIXI instead of radixi.d.
29078 (denorm): Likewise.
29079 (__mul): Use 0.0 instead of zero.d.
29080
cdc1c96f
JM
290812013-01-04 Joseph Myers <joseph@codesourcery.com>
29082
29083 [BZ #14994]
29084 * math/s_casinh.c (__casinh): Reduce finite argument to first
29085 quadrant then set signs of results at the end.
29086 * math/s_casinhf.c (__casinhf): Likewise.
29087 * math/s_casinhl.c (__casinhl): Likewise.
29088 * math/libm-test.inc (casin_test): Add more tests.
29089 (casinh_test): Likewise.
29090 * sysdeps/i386/fpu/libm-test-ulps: Update.
29091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29092
302913e1
SP
290932013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29094
6420d207
SP
29095 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29096
a9e48ab4
SP
29097 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29098
b7837264
SP
29099 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29100 declarations.
29101 (denorm): Likewise.
29102 (__mp_dbl): Likewise.
29103 (__inv): Likewise.
29104
f8af25d2
SP
29105 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29106 and adjust the header comment.
29107
302913e1
SP
29108 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29109 variable name from declaration.
29110
5d7dd1ca
L
291112013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29112
29113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29114 Initialize COMMON_CPUID_INDEX_7 element.
29115 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29116 (CPUID_RTM): Likewise.
29117 (HAS_RTM): Likewise.
29118 (COMMON_CPUID_INDEX_7): New enum.
29119
2f5f40f4
AS
291202013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29121
29122 [BZ #14981]
29123 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29124 size is zero, record memory as freed.
29125
4056f4a0
AJ
291262013-01-03 Andreas Jaeger <aj@suse.de>
29127
29128 * po/ia.po: Add new Interlingua translation.
29129
ab15736f 291302012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
29131
29132 * locale/programs/localedef.c: Fix description of '--posix' flag.
29133
568035b7
JM
291342013-01-02 Joseph Myers <joseph@codesourcery.com>
29135
e6898b8d
JM
29136 * NEWS: Update dates in second copyright notice.
29137 * README: Update copyright dates in example.
29138 * manual/libc.texinfo: Update copyright dates.
29139 * scripts/test-installation.pl: Update copyright date in --version
29140 output.
29141
0e2f9562
JM
29142 * hurd/ctty-input.c: Fix copyright notice formatting.
29143 * hurd/ctty-output.c: Likewise.
29144 * hurd/dtable.c: Likewise.
29145 * hurd/hurd-raise.c: Likewise.
29146 * hurd/hurdprio.c: Likewise.
29147 * hurd/msgportdemux.c: Likewise.
29148 * misc/sys/file.h: Likewise.
29149 * misc/sys/ioctl.h: Likewise.
29150 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29151 * sysdeps/mach/hurd/chdir.c: Likewise.
29152 * sysdeps/mach/hurd/fchdir.c: Likewise.
29153 * sysdeps/mach/hurd/rename.c: Likewise.
29154 * sysdeps/mach/hurd/rmdir.c: Likewise.
29155 * sysdeps/mach/hurd/seekdir.c: Likewise.
29156 * sysdeps/mach/hurd/setsid.c: Likewise.
29157 * sysdeps/posix/wait3.c: Likewise.
29158
568035b7
JM
29159 * All files with FSF copyright notices: Update copyright dates
29160 using scripts/update-copyrights.
29161 * intl/plural.c: Regenerated.
29162 * locale/programs/charmap-kw.h: Likewise.
29163 * locale/programs/locfile-kw.h: Likewise.
29164
da08f647
SP
291652013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29166
0f5477af
SP
29167 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29168 four values.
29169
44e0d4c2
SP
29170 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29171 calculation loop and add branch prediction.
29172
4d55b4e5
SP
29173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29174 check access beyond bounds of m1np.
29175
da08f647
SP
29176 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29177 MPTWO.
29178 (__inv): Remove local variable MPTWO to use the global
29179 constant.
29180 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29181 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29182 variable MPTWO.
29183 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29184 MP3HALFS static const.
29185
8e051029
DM
291862013-01-01 David S. Miller <davem@davemloft.net>
29187
29188 * po/ca.po: Update from translation team.
29189
f4cf5f2d
JM
291902013-01-01 Joseph Myers <joseph@codesourcery.com>
29191
29192 * scripts/update-copyrights: New file.
29193 * Makeconfig: Reformat copyright notice.
29194 * ctype/ctype.h: Likewise.
29195 * debug/swprintf_chk.c: Likewise.
29196 * elf/dl-cache.c: Likewise.
29197 * elf/dl-debug.c: Likewise.
29198 * elf/dl-object.c: Likewise.
29199 * grp/initgroups.c: Likewise.
29200 * hurd/Makefile: Likewise.
29201 * hurd/hurd/signal.h: Likewise.
29202 * hurd/hurdfault.c: Likewise.
29203 * hurd/hurdioctl.c: Likewise.
29204 * hurd/hurdlookup.c: Likewise.
29205 * hurd/intr-msg.c: Likewise.
29206 * iconv/gconv_open.c: Likewise.
29207 * libio/swprintf.c: Likewise.
29208 * locale/lc-ctype.c: Likewise.
29209 * locale/nl_langinfo.c: Likewise.
29210 * mach/Machrules: Likewise.
29211 * mach/Makefile: Likewise.
29212 * malloc/obstack.h: Likewise.
29213 * manual/Makefile: Likewise.
29214 * manual/tsort.awk: Likewise.
29215 * misc/bits/stab.def: Likewise.
29216 * nis/nis_print_group_entry.c: Likewise.
29217 * nis/nis_table.c: Likewise.
29218 * nis/nss_compat/compat-pwd.c: Likewise.
29219 * nis/nss_compat/compat-spwd.c: Likewise.
29220 * po/Makefile: Likewise.
29221 * posix/fnmatch.c: Likewise.
29222 * posix/regex.h: Likewise.
29223 * resolv/Makefile: Likewise.
29224 * resolv/nss_dns/dns-network.c: Likewise.
29225 * resolv/res_hconf.c: Likewise.
29226 * scripts/gen-sorted.awk: Likewise.
29227 * soft-fp/soft-fp.h: Likewise.
29228 * stdio-common/printf.h: Likewise.
29229 * stdlib/monetary.h: Likewise.
29230 * stdlib/random.c: Likewise.
29231 * stdlib/random_r.c: Likewise.
29232 * sysdeps/generic/Makefile: Likewise.
29233 * sysdeps/gnu/Makefile: Likewise.
29234 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29235 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29236 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29241 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29245 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29247 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29248 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29252 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29254 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29255 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29256 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29257 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29258 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29262 * sysdeps/mach/hurd/errnos.awk: Likewise.
29263 * sysdeps/mach/hurd/fork.c: Likewise.
29264 * sysdeps/mach/hurd/getcwd.c: Likewise.
29265 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29266 * sysdeps/mach/hurd/mmap.c: Likewise.
29267 * sysdeps/mach/hurd/utimes.c: Likewise.
29268 * sysdeps/mach/hurd/xmknod.c: Likewise.
29269 * sysdeps/posix/profil.c: Likewise.
29270 * sysdeps/posix/readdir_r.c: Likewise.
29271 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29272 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29273 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29274 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29276 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29277 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29278 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29280 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29281 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29282 * sysdeps/pthread/lio_listio.c: Likewise.
29283 * sysdeps/sparc/dl-procinfo.h: Likewise.
29284 * sysdeps/unix/i386/sysdep.S: Likewise.
29285 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29286 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29287 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29288 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29290 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29291 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29292 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29293 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29294 * sysdeps/wordsize-32/divdi3.c: Likewise.
29295 * time/sys/time.h: Likewise.
29296 * wcsmbs/Makefile: Likewise.
29297
0549fbba
DM
292982013-01-01 David S. Miller <davem@davemloft.net>
29299
a141f1a7
DM
29300 * po/fr.po: Update from translation team.
29301
0549fbba
DM
29302 * catgets/gencat.c: Update copyright year.
29303 * csu/version.c: Likewise.
29304 * debug/catchsegv.sh: Likewise.
29305 * debug/pcprofiledump.c: Likewise.
29306 * debug/xtrace.sh: Likewise.
29307 * elf/ldconfig.c: Likewise.
29308 * elf/ldd.bash.in: Likewise.
29309 * elf/pldd.c: Likewise.
29310 * elf/sotruss.ksh: Likewise.
29311 * elf/sprof.c: Likewise.
29312 * iconv/iconv_prog.c: Likewise.
29313 * iconv/iconvconfig.c: Likewise.
29314 * locale/programs/locale.c: Likewise.
29315 * locale/programs/localedef.c: Likewise.
29316 * login/programs/pt_chown.c: Likewise.
29317 * malloc/memusage.sh: Likewise.
29318 * malloc/memusagestat.c: Likewise.
29319 * malloc/mtrace.pl: Likewise.
29320 * nscd/nscd.c: Likewise.
29321 * nss/getent.c: Likewise.
29322 * nss/makedb.c: Likewise.
29323 * posix/getconf.c: Likewise.
29324
18ea052c
SP
293252012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29326
29327 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29328 numbers.
29329
9c89fca6
MF
293302012-12-30 Mike Frysinger <vapier@gentoo.org>
29331
29332 * math/bits/mathcalls.h (modf): Use __nonnull.
29333
085ec079
SP
293342012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29335
29336 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29337 (split): Use macro CN instead of the bare value.
29338 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29339 could be used.
29340 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29341 instead of the bare value.
29342 (power1): Likewise.
29343
6d9f97e1
SP
293442012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29345
d63f73be
SP
29346 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29347 __ATAN_TWOM.
29348 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29349
6d9f97e1
SP
29350 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29351 their values.
29352 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29353 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29354 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29355 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29356
4c4febf5
AJ
293572012-12-28 Andreas Jaeger <aj@suse.de>
29358
af5843ef
AJ
29359 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29360 values are from Linux 3.7.
29361
4c4febf5
AJ
29362 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29363 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29364
99136f82
SP
293652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29366
2f216c3c 29367 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29368 TRUE case.
29369
99136f82
SP
29370 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29371 (norm): Likewise.
29372 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29373 variables with preprocessor constants.
29374 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29375 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29376 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29377
7fffbdff
BH
293782012-12-27 Bruno Haible <bruno@clisp.org>
29379
29380 [BZ #14317]
29381 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29382 only if needed.
29383
b76eb5f0
SP
293842012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29385
31a7fe5c
SP
29386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29387 and use variable directly.
29388 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29389
b76eb5f0
SP
29390 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29391 MPONE.
29392 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29393 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29394 variable MPONE.
29395 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29397 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29398 include directive. Remove local variable MPONE.
29399 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29400 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29401 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29402
2c8bfe7d
DM
294032012-12-25 David S. Miller <davem@davemloft.net>
29404
29405 * version.h (RELEASE): Set to "development".
29406 (VERSION): Set to "2.17.90".
29407 * NEWS: Add 2.18 section.
29408
147d03b0
DM
294092012-12-21 David S. Miller <davem@davemloft.net>
29410
29411 * po/hr.po: Update from translation team.
29412
a8ebb2b9
AK
294132012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29414
29415 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29416
95b4f1b6
SE
294172012-12-19 Steve Ellcey <sellcey@mips.com>
29418
b2d94007 29419 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29420
cedb2a90
MS
294212012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29422
29423 * manual/contrib.texi (Contributors): Spelling correction.
29424
bbf527d6
DM
294252012-12-15 David S. Miller <davem@davemloft.net>
29426
29427 * po/ru.po: Update from translation team.
29428
bc38c906
DM
294292012-12-13 David S. Miller <davem@davemloft.net>
29430
85429b1a
DM
29431 * NEWS: Mention IFUNC testsuite enhancements.
29432
d283e353
DM
29433 * po/pl.po: Update from translation team.
29434 * po/bg.po: Likewise.
29435
bc38c906
DM
29436 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29437 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29438
a181b0d7
DM
294392012-12-11 David S. Miller <davem@davemloft.net>
29440
4641d57e
DM
29441 * po/sv.po: Update from translation team.
29442
f7bc6495
DM
29443 * po/vi.po: Update from translation team.
29444
6fc9048f
DM
29445 * po/cs.po: Update from translation team.
29446
a181b0d7
DM
29447 * po/de.po: Update from translation team.
29448 * po/eo.po: Likewise.
29449 * po/nl.po: Likewise.
29450
f70bfe80
SP
294512012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29452
3c8b4190
SP
29453 [BZ #14246]
29454 * manual/argp.texi (Argp Helper Functions): Move node to follow
29455 Argp Parsing State.
29456
f70bfe80
SP
29457 [BZ #14872]
29458 * manual/conf.texi (Limits on File System Capacity): Mention if
29459 terminating null is included in the max size.
29460
188f0adf
AJ
294612012-12-10 Andreas Jaeger <aj@suse.de>
29462
29463 * po/cs.po: Update from translation team.
29464
56e7d3ad
SP
294652012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29466
29467 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29468 void pointer and cast to uintptr_t.
29469 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29470 path.
29471 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29472 * sysdeps/s390/s390-64/memset.S: Likewise.
29473
76f2d2ea 294742012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29475
29476 [BZ #14833]
29477 * menual/message.texi (Message Translation): Fix typos.
29478 (Helper programs for gettext): Likewise.
29479
67cbf9a2
AS
294802012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29481
29482 [BZ #14898]
29483 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29484 Change to -1.
29485
682d0e9a
DM
294862012-12-07 David S. Miller <davem@davemloft.net>
29487
29488 * po/libc.pot: Update.
29489
573cd484
RH
294902012-12-07 Richard Henderson <rth@redhat.com>
29491
7e9da188 29492 [BZ #10114]
573cd484
RH
29493 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29494 normal/normal case to before the switch.
29495 (_FP_DIV): Likewise.
29496
e933a943
MF
294972012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29498 Mike Frysinger <vapier@gentoo.org>
29499
29500 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29501 check for __NR_fadvise64_64.
29502
82123268
CM
295032012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29504
29505 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29506 0, not just to plain "0" as a statement.
29507 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29508 with cw.
29509
d9814526
JM
295102012-12-06 Joseph Myers <joseph@codesourcery.com>
29511
29512 * NEWS: Use sourceware.org in Bugzilla URL.
29513
7728c574
SP
295142012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29515
f16946dd
SP
29516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29517 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29518
5704bbcb
SP
29519 * stdio-common/tst-put-error.c (do_test): Add newline to the
29520 padded test to ensure flush.
29521
17aa0516
JL
295222012-12-05 Jeff Law <law@redhat.com>
29523
29524 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29525
363313b5
JM
295262012-12-05 Joseph Myers <joseph@codesourcery.com>
29527
effbd42a
JM
29528 * README: Don't refer to ports add-on as distributed separately.
29529 Mention AArch64 in list of systems supported in the ports add-on.
29530
87600365
JM
29531 * LICENSES: Add more non-FSF copyright and license notices.
29532
a0d7066a
JM
29533 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29534 ((unused)).
29535
66ca5a5b
JM
29536 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29537
363313b5
JM
29538 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29539 10000 as width of padded output.
29540
b37984ad
JM
295412012-12-04 Joseph Myers <joseph@codesourcery.com>
29542
9003570a
JM
29543 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29544
b37984ad
JM
29545 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29546 variable LX with __attribute__ ((unused)).
29547 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29548 Likewise.
29549 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29550 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29551 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29552 with __attribute__ ((unused)).
29553
c8df52ec
DM
295542012-12-04 David S. Miller <davem@abraco.davemloft.net>
29555
29556 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29557
b3b099af
JM
295582012-12-04 Joseph Myers <joseph@codesourcery.com>
29559
c33aa6e3
JM
29560 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29561 (CFLAGS-nldbl-acos.c): New variable.
29562 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29563 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29564 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29565 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29566 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29567 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29568 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29569 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29570 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29571 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29572 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29573 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29574 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29575 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29576 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29577 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29578 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29579 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29580 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29581 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29582 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29583 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29584 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29585 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29586 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29587 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29588 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29589 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29590 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29591 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29592 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29593 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29594 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29595 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29596 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29597 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29598 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29599 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29600 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29601 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29602 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29603 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29604 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29605 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29606 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29607 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29608 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29609 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29610 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29611 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29612 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29613 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29614 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29615 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29616 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29617 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29618 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29619 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29620 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29621 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29622 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29623 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29624 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29625 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29626 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29627 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29628 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29629 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29630 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29631 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29632 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29633 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29634 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29635 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29636 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29637 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29638 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29639 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29640 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29641 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29642 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29643 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29644 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29645 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29646 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29647 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29648 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29649 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29650 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29651 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29652 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29653 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29654 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29655 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29656 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29657 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29658 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29659
20f0018d
JM
29660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29661 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29662
b3b099af
JM
29663 [BZ #14914]
29664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29665 whole low double instead of just low 47 bits when splitting values
29666 into two parts.
29667
029264d1
AM
296682012-12-03 Allan McRae <allan@archlinux.org>
29669
29670 * manual/stdio.texi (Predefined Printf Handlers): Remove
29671 @hsep and @vsep usage.
29672
c9d6789e
MF
296732012-12-03 Mike Frysinger <vapier@gentoo.org>
29674
29675 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29676 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29677
4b7634a5
JL
296782012-12-03 Jeff Law <law@redhat.com>
29679
29680 * time/sys/time.h (settimeofday): Do not mark TV argument
29681 as __nonnull.
29682
eb6cbd24
MF
296832012-12-01 Mike Frysinger <vapier@gentoo.org>
29684
29685 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29686 when currently writing and seek to current position when not.
29687 * libio/Makefile (tests): Remove bug-fclose1.
29688 * libio/bug-fclose1.c: Delete.
29689
f638872a
JM
296902012-12-01 Joseph Myers <joseph@codesourcery.com>
29691
29692 * manual/arith.texi (feenableexcept): Fix typo.
29693 (fedisableexcept): Likewise.
29694
48085d14
RM
296952012-11-30 Roland McGrath <roland@hack.frob.com>
29696
29697 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29698 second, differently-typed declaration, rather than a cast.
29699
1a538b9f
SP
297002012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29701
29702 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29703 * include/rpc/svc.h: ... here.
29704
d07f2ff1 297052012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29706
29707 [BZ #13013]
29708 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29709 depending n and resplen2 to catch cases where answer
29710 equals answerp2.
29711
c93ec1f0
CD
297122012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29713
29714 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29715 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29716
37db69de
MF
297172012-11-29 Mike Frysinger <vapier@gentoo.org>
29718
29719 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29720
e10c4e4f
RM
297212012-11-29 Roland McGrath <roland@hack.frob.com>
29722
29723 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29724
2af1b328
JL
297252012-11-28 Jeff Law <law@redhat.com>
29726
29727 [BZ #13761]
29728 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29729 dataset_temporary. Track alloca usage into alloca_used.
29730 If dataset is large allocate and release it via malloc/free.
29731
111db5b1
FW
297322012-06-04 Florian Weimer <fweimer@redhat.com>
29733
f06cc227 29734 [BZ #14197]
111db5b1
FW
29735 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29736
dd694abd
DM
297372012-11-28 David S. Miller <davem@davemloft.net>
29738
29739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29740
9984dd01
JM
297412012-11-28 Joseph Myers <joseph@codesourcery.com>
29742
29743 [BZ #14803]
29744 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29745 of pi/2 rounded to nearest to 64 bits.
29746 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29747 nearest to 64 bits.
29748 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29749 bits.
29750
14bc93a9
JL
297512012-11-28 Jeff Law <law@redhat.com>
29752 Martin Osvald <mosvald@redhat.com>
29753
29754 [BZ #14889]
29755 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29756 * sunrpc/svc.c: Include time.h.
29757 (__svc_accept_failed): New function.
29758 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29759 any reason other than EINTR, call __svc_accept_failed.
29760 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29761 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29762
e3c6aa3a
AS
297632012-11-28 Andreas Schwab <schwab@suse.de>
29764
29765 * scripts/abilist.awk: Also handle indirect functions in .opd
29766 section.
29767
1bead169
JM
297682012-11-28 Joseph Myers <joseph@codesourcery.com>
29769
29770 [BZ #13881]
29771 * sysdeps/x86/fpu/powl_helper.c: New file.
29772 * sysdeps/x86/fpu/Makefile: Likewise.
29773 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29774 (p3): New object.
29775 (__ieee754_powl): Use __powl_helper for finite arguments except
29776 integer exponents below 8.
29777 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29778 (p3): New object.
29779 (__ieee754_powl): Use __powl_helper for finite arguments except
29780 integer exponents below 8.
29781 * math/libm-test.inc (pow_test): Add more tests and enable some
29782 previously disabled tests.
29783 * sysdeps/i386/fpu/libm-test-ulps: Update.
29784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29785
0817d63d
SP
297862012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29787 Carlos O'Donell <carlos_odonell@mentor.com>
29788
29789 * nss/makedb.c (is_prime): Assert that input is odd and greater
29790 than 4. Note that fact in a comment too.
29791 (next_prime): Add 4 to input.
29792
de2fd463
SP
297932012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29794
29795 [BZ #11741]
29796 * libio/Makefile (tests): Add test case tst-fwrite-error.
29797 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29798 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29799 * libio/tst-fwrite-error.c: New test case.
29800
c515fb51
L
298012012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29802
29803 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29804 before casting to void *.
29805 * include/libc-internal.h (__pointer_type): New macro.
29806 (__integer_if_pointer_type_sub): Likewise.
29807 (__integer_if_pointer_type): Likewise.
29808 (cast_to_integer): Likewise.
29809 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29810 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29811 before casting to atomic64_t.
29812 (atomic_exchange_acq): Likewise.
29813 (__arch_exchange_and_add_body): Likewise.
29814 (__arch_add_body): Likewise.
29815 (atomic_add_negative): Likewise.
29816 (atomic_add_zero): Likewise.
29817
4cf77aa9
JM
298182012-11-26 Joseph Myers <joseph@codesourcery.com>
29819
29820 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29821 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29822 (add_fdes): Likewise.
29823 (linear_search_fdes): Likewise.
29824 (binary_search_unencoded_fdes): Likewise.
29825
d260b3b4
AS
298262012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29827
29828 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29829
67060746
AC
298302012-11-24 Adam Conrad <adconrad@0c3.net>
29831
29832 * configure.in: Autodetect C++ header directories.
29833 * configure: Regenerated.
29834
800938a1
MF
298352012-11-23 Mike Frysinger <vapier@gentoo.org>
29836
29837 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29838
4e6e34e6
AS
298392012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29840
29841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29842
7c7feb47
JM
298432012-11-22 Joseph Myers <joseph@codesourcery.com>
29844
7184dcdf
JM
29845 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29846 LDBL_MANT_DIG == 106]: Disable some tests.
29847 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29848 Likewise.
29849 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29850 Likewise.
29851
0a42601f
JM
29852 [BZ #14871]
29853 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29854 input for small inputs. Return +/- pi/2 for large inputs.
29855 * math/libm-test.inc (atan_test): Add more tests.
29856
79c9b9fe
JM
29857 * sysdeps/generic/unwind-dw2-fde-glibc.c
29858 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29859 __attribute__ ((unused)).
29860
c60d3bf2
JM
29861 [BZ #14645]
29862 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29863 x * y if x and y are nonzero and z is zero.
29864
ef1e0867
JM
29865 [BZ #14811]
29866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29867 nonzero exponents with absolute value below 0x1p-117 to +/-
29868 0x1p-117.
29869
1468ded3
JM
29870 [BZ #14869]
29871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29872 up arguments below 2**-450, not just those below 2**-500.
29873 * math/libm-test.inc (hypot_test): Add another test.
29874
8e27e3cc
JM
29875 [BZ #14868]
29876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29877 Return a+b for ratio over 2**120, not 2**60.
29878 * math/libm-test.inc (hypot_test): Add another test.
29879
c9c0279b
JM
29880 * math/libm-test.inc (clog_test): Use
29881 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29882 (clog10_test): Likewise.
29883
7c7feb47
JM
29884 [BZ #6778]
29885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29886
fff1530e
AS
298872012-11-22 Andreas Schwab <schwab@suse.de>
29888
29889 * sysdeps/i386/fpu/libm-test-ulps: Update.
29890
94558d30
PT
298912012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29892
29893 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29894 printf output with newline.
29895
7e1be741
L
298962012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29897
6bfea974
L
29898 [BZ #14865]
29899 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29900 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29901 -z nodlopen, -z initfirst and -z execstack support.
29902 * configure: Regenerated.
29903
7e1be741
L
29904 * elf/elf.h (DF_1_NODIRECT): New macro.
29905 (DF_1_IGNMULDEF): Likewise.
29906 (DF_1_NOKSYMS): Likewise.
29907 (DF_1_NOHDR): Likewise.
29908 (DF_1_EDITED): Likewise.
29909 (DF_1_NORELOC): Likewise.
29910 (DF_1_SYMINTPOSE): Likewise.
29911 (DF_1_GLOBAUDIT): Likewise.
29912 (DF_1_SINGLETON): Likewise.
29913 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29914 DT_1_SUPPORTED_MASK bits.
29915 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29916
105ce2ce
CD
299172012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29918
29919 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29920
123be9de
TS
299212012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29922
d072f3f7
TS
29923 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29924 macro.
29925
123be9de
TS
29926 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29927 (sendmmsg): Move declarations...
29928 * socket/sys/socket.h: ... here.
29929 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29930 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29931 include it from...
29932 * socket/recvmmsg.c: ... this new file.
29933 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29934 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29935 definition of __sendmmsg hidden.
29936 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29937 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29938 Move ENOSYS stub into and include it from...
29939 * socket/sendmmsg.c: ... this new file.
29940 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29941 (sysdep_routines): Move recvmmsg and sendmmsg...
29942 * socket/Makefile (routines): ... here.
29943 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29944 (GLIBC_PRIVATE): Add __sendmmsg.
29945 * include/sys/socket.h (__sendmmsg): Add declarations.
29946 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29947 sendmmsg.
29948
cf9a5d18
JM
299492012-11-20 Joseph Myers <joseph@codesourcery.com>
29950
29951 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29952 variable I1 with __attribute__ ((unused)).
29953 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29954
ecd4caf9
JM
299552012-11-19 Joseph Myers <joseph@codesourcery.com>
29956
be14d48f
JM
29957 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29958 DUMMY variables with __attribute__ ((unused)).
29959
ecd4caf9
JM
29960 * bits/byteswap.h: Include <bits/types.h>.
29961 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29962
986cab95
PT
299632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29964
29965 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29966 string_t. Do not manually set errno.
29967 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29968 length with __strnlen. Make sure to both set errno and return it on
29969 failure.
29970
6d33cc9d
DM
299712012-11-19 David S. Miller <davem@davemloft.net>
29972
29973 With help from Joseph Myers.
29974 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29975 very large arguments properly.
29976 * math/libm-test.inc (atan_test): New tests.
29977 (atan2_test): New tests.
29978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29980
ee663277
JM
299812012-11-19 Joseph Myers <joseph@codesourcery.com>
29982
877f2d8e
JM
29983 [BZ #14856]
29984 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29985 Define to 3.
29986
116fc08a
JM
29987 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29988 [POSIX] (EADDRNOTAVAIL): Likewise.
29989 [POSIX] (EAFNOSUPPORT): Likewise.
29990 [POSIX] (EALREADY): Likewise.
29991 [POSIX] (ECONNABORTED): Likewise.
29992 [POSIX] (ECONNREFUSED): Likewise.
29993 [POSIX] (ECONNRESET): Likewise.
29994 [POSIX] (EDESTADDRREQ): Likewise.
29995 [POSIX] (EDQUOT): Likewise.
29996 [POSIX] (EHOSTUNREACH): Likewise.
29997 [POSIX] (EIDRM): Likewise.
29998 [POSIX] (EISCONN): Likewise.
29999 [POSIX] (ELOOP): Likewise.
30000 [POSIX] (EMULTIHOP): Likewise.
30001 [POSIX] (ENETDOWN): Likewise.
30002 [POSIX] (ENETUNREACH): Likewise.
30003 [POSIX] (ENOBUFS): Likewise.
30004 [POSIX] (ENODATA): Likewise.
30005 [POSIX] (ENOLINK): Likewise.
30006 [POSIX] (ENOMSG): Likewise.
30007 [POSIX] (ENOPROTOOPT): Likewise.
30008 [POSIX] (ENOSR): Likewise.
30009 [POSIX] (ENOSTR): Likewise.
30010 [POSIX] (ENOTCONN): Likewise.
30011 [POSIX] (ENOTSOCK): Likewise.
30012 [POSIX] (EOPNOTSUPP): Likewise.
30013 [POSIX] (EOVERFLOW): Likewise.
30014 [POSIX] (EPROTO): Likewise.
30015 [POSIX] (EPROTONOSUPPORT): Likewise.
30016 [POSIX] (EPROTOTYPE): Likewise.
30017 [POSIX] (ESTALE): Likewise.
30018 [POSIX] (ETIME): Likewise.
30019 [POSIX] (ETXTBSY): Likewise.
30020 [POSIX] (EWOULDBLOCK): Likewise.
30021 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30022 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30023 [POSIX] (SEEK_CUR): Likewise.
30024 [POSIX] (SEEK_END): Likewise.
30025 [POSIX || UNIX98] (mode_t): Do not require.
30026 [POSIX] (off_t): Likewise.
30027 [POSIX] (pid_t): Likewise.
30028 [POSIX] (sys/stat.h): Do not allow header.
30029 [POSIX] (unistd.h): Likewise.
30030 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30031 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30032 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30033 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30034 require.
30035 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30036 sigevent): Specify elements.
30037 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30038 entry.
30039 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30040 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30041
a483863f
JM
30042 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30043 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30044 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30045 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30046 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30047 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30048 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30049 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30050 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30051 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30052 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30053 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30054 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30055 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30056 Likewise.
30057 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30058 Likewise.
30059 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30060 Likewise.
30061 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30062 Likewise.
30063 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30064 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30065 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30066 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30067 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30068 Specify lower bound on value.
30069 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30070 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30071 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30072 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30073 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30074 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30075 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30076 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30077 value.
30078 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30079 as optional.
30080 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30081 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30082 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30083 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30084 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30085 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30086 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30087 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30088 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30089 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30090 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30091 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30092 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30093 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30094 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30095 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30096 entry.
30097 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30098 optional.
30099 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30100 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30101 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30102 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30103 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30104 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30105 Likewise.
30106 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30107 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30108 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30109 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30110 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30111 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30112 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30113 as optional.
30114 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30115 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30116 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30117 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30118 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30119 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30120 specify as optional.
30121 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30122 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30123 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30124 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30125 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30126 [XPG3] (NL_LANGMAX): Likewise.
30127 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30128 [POSIX || XPG3] (NL_NMAX): Likewise.
30129 [POSIX || XPG3] (NL_SETMAX): Likewise.
30130 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30131 [XPG3] (NZERO): Likewise.
30132 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30133 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30134 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30135 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30136 (REG_ERANGE): Expect.
30137 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30138 optional-constant.
30139 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30140 Use (void) in prototype.
30141 [POSIX] (*_t): Allow.
30142 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30143 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30144 (WRDE_BADVAL): Expect.
30145
5ba924e3
JM
30146 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30147 expect.
30148 [XPG3 || XPG4] (O_RSYNC): Likewise.
30149 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30150 Likewise.
30151 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30152 [XPG3 || XPG4] (sigqueue): Likewise.
30153 [XPG3 || XPG4] (sigtimedwait): Likewise.
30154 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30155 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30156 [XPG3 || XPG4] (vsnprintf): Likewise.
30157 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30158 Likewise.
30159 [XPG3 || XPG4] (blksize_t): Likewise.
30160 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30161 Likewise.
30162 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30163 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30164 [XPG3 || XPG4] (struct itimerspec): Likewise.
30165 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30166 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30167 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30168 [XPG3 || XPG4] (clockid_t): Likewise.
30169 [XPG3 || XPG4] (timer_t): Likewise.
30170 [XPG3 || XPG4] (clock_getres): Likewise.
30171 [XPG3 || XPG4] (clock_gettime): Likewise.
30172 [XPG3 || XPG4] (clock_settime): Likewise.
30173 [XPG3 || XPG4] (nanosleep): Likewise.
30174 [XPG3 || XPG4] (timer_create): Likewise.
30175 [XPG3 || XPG4] (timer_delete): Likewise.
30176 [XPG3 || XPG4] (timer_gettime): Likewise.
30177 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30178 [XPG3 || XPG4] (timer_settime): Likewise.
30179 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30180 [XPG3 || XPG4] (getlogin_r): Likewise.
30181 [XPG3 || XPG4] (pread): Likewise.
30182 [XPG3 || XPG4] (pthread_atfork): Likewise.
30183 [XPG3 || XPG4] (pwrite): Likewise.
30184
ee663277
JM
30185 [BZ #14835]
30186 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30187 <bits/siginfo.h>.
30188
942caa16
PT
301892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30190
e19af380
PT
30191 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30192 finalizing MALLSTREAM.
30193
942caa16
PT
30194 * sysdeps/mach/hurd/syncfs.c: New file.
30195
cfde9b46
SP
301962012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30197
30198 [BZ #14719]
30199 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30200 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30201 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30202 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30203 (_nss_dns_gethostbyname4_r): Likewise.
30204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30205 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30206
f6da27e5
PH
302072012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30208
30209 [BZ #13763]
30210 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30211
6665d4a2
SM
302122012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30213
1f51ee92
SM
30214 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30215 * elf/cache.c (print_entry): Print ",AArch64" for
30216 FLAG_AARCH64_LIB64
30217
6665d4a2
SM
30218 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30219 * elf/cache.c (print_entry): Print ",hard-float" for
30220 FLAG_ARM_LIBHF.
30221
05b227bd
DM
302222012-11-18 David S. Miller <davem@davemloft.net>
30223
30224 With help from Joseph Myers.
30225 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30226 cutoff to 2**-13.
30227 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30228 cutoff to 2**-25.
30229 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30230 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30231 small.
30232 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30233 * math/libm-test.inc (y0_test): New tests.
30234 (y1_test): New tests.
30235 * sysdeps/i386/fpu/libm-test-ulps: Update.
30236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30238
786b0b67
AS
302392012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30240
30241 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30242 64-bit targets.
30243 * configure: Regenerated.
30244
8e18b86d
DM
302452012-11-17 David S. Miller <davem@davemloft.net>
30246
30247 [BZ #14811]
30248 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30249 nonzero exponents with absolute value below 0x1p-128 to +/-
30250 0x1p-128.
30251
531f1ae0
JM
302522012-11-17 Joseph Myers <joseph@codesourcery.com>
30253
12df29e2
JM
30254 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30255
150dc1a0
JM
30256 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30257
531f1ae0
JM
30258 * posix/getconf-speclist.c: New file.
30259 * posix/posix-envs.def: Likewise.
30260 * posix/confstr.c (START_ENV_GROUP): New macro.
30261 (END_ENV_GROUP): Likewise.
30262 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30263 (KNOWN_PRESENT_ENV_STRING): Likewise.
30264 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30265 (UNKNOWN_ENVIRONMENT): Likewise.
30266 (confstr): Include posix-envs.def instead of handling
30267 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30268 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30269 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30270 (END_ENV_GROUP): Likewise.
30271 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30272 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30273 (UNKNOWN_ENVIRONMENT): Likewise.
30274 (__sysconf): Include posix-envs.def instead of handling associated
30275 cases directly here.
30276 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30277 preprocessing getconf-speclist.c rather than running getconf or
30278 generating empty file.
30279
a93f9cbc
PT
302802012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30281
30282 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30283
d64d9f87
AL
302842012-11-16 Andrej Lajovic <natrij@gmail.com>
30285
30286 [BZ #14672]
30287 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30288
447885eb
DM
302892012-11-16 David S. Miller <davem@davemloft.net>
30290
30291 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30292 smaller than LDBL_EPSILON/2.0L, just return xm1.
30293
bcbf9830
L
302942012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30295
30296 * elf/tst-array1.c (init): Set constructor priority to 1000.
30297 (fini): Set destructor priority to 1000.
30298 * elf/tst-array2dep.c: Likewise.
30299
2b766585
SP
303002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30301
30302 [BZ #11741]
30303 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30304 (_IO_new_file_xsputn): Also return EOF if none of the input
30305 data was written when overflow failed.
30306 * libio/iopadn.c (_IO_padn): Likewise.
30307 * libio/iowpadn.c (_IO_wpadn): Likewise.
30308 * stdio-common/tst-put-error.c: Add copyright notice.
30309 (do_test): Add case for printing padded string.
30310 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30311 _IO_padn returned error.
30312 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30313 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30314 return EOF.
30315
b1848fde
SP
303162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30317
30318 * libio/libioP.h: Add comment note that the references to C++
30319 bits are now obsolete.
30320
2fd89785
MS
303212012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30322
30323 * math/libm-test.inc (check_complex): Use asprintf.
30324
e3ea5409
JM
303252012-11-14 Joseph Myers <joseph@codesourcery.com>
30326
30327 * debug/pcprofiledump.c (print_version): Update copyright year.
30328 * malloc/memusagestat.c (print_version): Likewise.
30329
2e64d265
L
303302012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30331
30332 [BZ #14831]
30333 * elf/Makefile (tests): Add tst-audit8.
30334 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30335 ($(objpfx)tst-audit8.out): New target.
30336 (tst-audit8-ENV): New variable.
30337 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30338 audit if l_reloc_result is NULL.
30339 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30340 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30341 * elf/tst-audit8.c: New file.
30342
c485e4d2
MS
303432012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30344
30345 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30346 * misc/Makefile (CFLAGS-select.c): Define.
30347 * posix/Makefile (CFLAGS-pause.c): Define.
30348
3a0d900a
DM
303492012-11-13 David S. Miller <davem@davemloft.net>
30350
30351 * crypt/Makefile: Move test targets after toplevel Rules
30352 inclusion. Grab any necessary sysdep routines when linking.
30353 * crypt/md5.c (md5_process_block): Remove define, we will always
30354 name it __md5_process_block.
30355 (md5_finish_ctx): Update md5_process_block call.
30356 (md5_stream): Likewise.
30357 (md5_process_bytes): Likewise.
30358 (md5_process_block): Rename to __md5_process_block and move to ...
30359 * crypt/md5-block.c: ... here.
30360 * crypt/sha256.c (sha256_process_block): Move to ...
30361 * crypt/sha256-block.c: ... here.
30362 * crypt/sha512.c (sha512_process_block): Move to ...
30363 * crypt/sha512-block.c: ... here.
30364 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30365 path.
30366 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30367 * sysdeps/sparc/sparc64/multiarch/Makefile
30368 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30369 crypt subdir.
30370 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30371 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30372 multiarch changes.
30373 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30374 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30375 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30376 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30377 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30378 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30379 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30380 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30381 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30382 file.
30383 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30384 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30385 file.
30386 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30387
8ca89318
JM
303882012-11-13 Joseph Myers <joseph@codesourcery.com>
30389
e27d476a
JM
30390 * timezone/tzselect.ksh: Update from tzcode git revision
30391 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30392 * timezone/zdump.c: Likewise.
30393 * timezone/zic.c: Likewise.
30394 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30395 in TZVERSION setting, not $(PKGVERSION).
30396 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30397 REPORT_BUGS_TO settings.
30398
8ca89318
JM
30399 [BZ #14838]
30400 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30401 macro.
30402
47594329
MS
304032012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30404
30405 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30406 detection to immediately after _FP_ROUND().
30407 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30408 bits are 0.
30409
640ac3f1
DM
304102012-11-11 David S. Miller <davem@davemloft.net>
30411
30412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30413 inttypes.h
30414 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30415 __close rather than their public counterparts.
30416
3d2577bb
JM
304172012-11-10 Joseph Myers <joseph@codesourcery.com>
30418
30419 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30420 file.
30421 [UNIX98] (sem_timedwait): Do not expect.
30422 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30423 [XPG4 || UNIX98] (sockatmark): Do not expect.
30424 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30425 (clock_getcpuclockid): Do not expect.
30426 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30427 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30428 Do not expect.
30429 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30430 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30431 [UNIX98] (vwscanf): Likewise.
30432 [UNIX98] (vswscanf): Likewise.
30433
fb1ae1ee
JM
304342012-11-09 Joseph Myers <joseph@codesourcery.com>
30435
9ec6f8bd
JM
30436 * timezone/version.h: Remove file.
30437 * timezone/README: Do not refer to version.h.
30438 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30439 $(objpfx)version.h.
30440 ($(objpfx)zdump.o): Likewise.
c3f81911 30441 ($(objpfx)version.h): New target.
9ec6f8bd 30442
0aa8f8a1
JM
30443 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30444 2012i.
30445 * timezone/README: Don't mention modification to tzselect.ksh.
30446 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30447 work on unmodified tzselect.ksh. Substitute version numbers in
30448 tzselect.ksh.
30449
4e87147f
JM
30450 * Makefile (format-me): Remove.
30451 (INSTALL): Adjust indentation. Use commands directly instead of
30452 using $(format-me).
30453
8b748aed
JM
30454 * aclocal.m4 (ACX_PKGVERSION): New macro.
30455 (ACX_BUGURL): Likewise.
30456 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30457 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30458 (REPORT_BUGS_TO): Likewise.
30459 * configure: Regenerated.
30460 * config.h.in (PKGVERSION): New macro.
30461 (REPORT_BUGS_TO): Likewise.
30462 * config.make.in (PKGVERSION): New variable.
30463 (PKGVERSION_TEXI): Likewise.
30464 (REPORT_BUGS_TO): Likewise.
30465 (REPORT_BUGS_TEXI): Likewise.
30466 * Makefile (format-me): Use -I$(common-objpfx)manual.
30467 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30468 ($(common-objpfx)manual/%): New target.
30469 (manual/%): Remove target.
30470 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30471 (print_version): Use PKGVERSION.
30472 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30473 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30474 and REPORT_BUGS_TO.
30475 ($(objpfx)xtrace): Likewise.
30476 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30477 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30478 (print_version): Use PKGVERSION.
30479 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30480 (do_version): Use PKGVERSION.
30481 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30482 REPORT_BUGS_TO.
30483 (common-ldd-rewrite): Likewise.
30484 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30485 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30486 (print_version): Use PKGVERSION.
30487 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30488 * elf/pldd.c (argp_program_bug_address): Remove variable.
30489 (more_help): New function.
30490 (argp): Use more_help.
30491 (print_version): Use PKGVERSION.
30492 * elf/sln.c (main): Use PKGVERSION.
30493 (usage): Use REPORT_BUGS_TO.
30494 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30495 (top level): Use PKGVERSION.
30496 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30497 (print_version): Use PKGVERSION.
30498 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30499 (print_version): Use PKGVERSION.
30500 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30501 (print_version): Use PKGVERSION.
30502 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30503 (print_version): Use PKGVERSION.
30504 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30505 (print_version): Use PKGVERSION.
30506 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30507 (print_version): Use PKGVERSION.
30508 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30509 and BUGURL.
30510 ($(objpfx)memusage): Likewise.
30511 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30512 (do_version): Use PKGVERSION.
30513 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30514 (print_version): Use PKGVERSION.
30515 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30516 ($PKGVERSION): New variable.
30517 ($REPORT_BUGS_TO): Likewise.
30518 (usage): Use $REPORT_BUGS_TO.
30519 (top level): Use $PKGVERSION.
30520 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30521 ($(objpfx)pkgvers.texi): New rule.
30522 ($(objpfx)stamp-pkgvers): Likewise.
30523 * manual/install.texi: Include pkgvers.texi.
30524 (--with-pkgversion): Document new configure option.
30525 (--with-bugurl): Likewise.
30526 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30527 than necessarily for this particular distribution. Use
30528 REPORT_BUGS_TO for where to report bugs.
30529 * INSTALL: Regenerated.
30530 * manual/libc.texinfo: Include pkgvers.texi.
30531 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30532 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30533 (print_version): Use PKGVERSION.
30534 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30535 (print_version): Use PKGVERSION.
30536 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30537 (print_version): Use PKGVERSION.
30538 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30539 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30540 macro.
30541 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30542 (print_version): Use PKGVERSION.
30543 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30544 (print_version): Use PKGVERSION.
30545 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30546 and PKGVERSION.
30547
92e4b6a9
JM
30548 * timezone/checktab.awk: Update from tzcode 2012i.
30549 * timezone/ialloc.c: Likewise.
30550 * timezone/private.h: Likewise.
30551 * timezone/scheck.c: Likewise.
30552 * timezone/tzfile.h: Likewise.
30553 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30554 (TZVERSION): Hardcode tzcode version number.
30555 * timezone/zdump.c: Update from tzcode 2012i.
30556 * timezone/zic.c: Likewise.
30557 * timezone/version.h: New file.
30558 * timezone/README: Describe version.h. Update upstream location.
30559
9bde902c
JM
30560 [BZ #14824]
30561 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30562 (mktemp): Enable declaration.
30563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30567 Likewise.
30568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30569 Likewise.
30570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30571 Likewise.
30572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30573 Likewise.
30574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30575 Likewise.
30576 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30577 Likewise.
30578
fb1ae1ee
JM
30579 [BZ #14821]
30580 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30581 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30582 for copies of such integer values.
30583 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30584 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30585
2c1adbcb
AJ
305862012-11-09 Andreas Jaeger <aj@suse.de>
30587
30588 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30589 definitions and declarations that are provided by
30590 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30591
d0f8457e
AK
305922012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30593
3a235abb 30594 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30595 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30596 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30597 definition.
30598
57241e26
MS
305992012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30600
30601 * elf/elf.h: Update comment before AArch64 relocations.
30602
60e8270d
DM
306032012-11-07 David S. Miller <davem@davemloft.net>
30604
30605 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30606 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30607 (__start_context): Declare.
30608 (__makecontext_ret): Delete.
30609 (__makecontext): Hook up __start_context instead of
30610 __makecontext_ret.
30611 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30612 (sysdep_routines): Add __start_context when in stdlib.
30613
0fbb0fbc
JM
306142012-11-07 Joseph Myers <joseph@codesourcery.com>
30615
30616 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30617 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30618 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30619 hardcoded "nm".
30620 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30621 (READELF): New variable. Use it instead of hardcoded "readelf".
30622
eb48db7e
L
306232012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30624
30625 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30626 * sysdeps/x86/Makefile: Here.
30627 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30628 * sysdeps/x86/tst-xmmymm.sh: This.
30629
05bcf62a
JM
306302012-11-07 Joseph Myers <joseph@codesourcery.com>
30631
c4b6cf53
JM
30632 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30633 expectations.
30634 [UNIX98] (pthread_barrier_t): Do not expect.
30635 [UNIX98] (pthread_barrierattr_t): Likewise.
30636 [UNIX98] (pthread_spinlock_t): Likewise.
30637 [UNIX98] (pthread_barrier_destroy): Likewise.
30638 [UNIX98] (pthread_barrier_init): Likewise.
30639 [UNIX98] (pthread_barrier_wait): Likewise.
30640 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30641 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30642 [UNIX98] (pthread_barrierattr_init): Likewise.
30643 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30644 [UNIX98] (pthread_getcpuclockid): Likewise.
30645 [UNIX98] (pthread_mutex_timedlock): Likewise.
30646 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30647 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30648 [UNIX98] (pthread_sigmask): Likewise.
30649 [UNIX98] (pthread_spin_destroy): Likewise.
30650 [UNIX98] (pthread_spin_init): Likewise.
30651 [UNIX98] (pthread_spin_lock): Likewise.
30652 [UNIX98] (pthread_spin_trylock): Likewise.
30653 [UNIX98] (pthread_spin_unlock): Likewise.
30654 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30655 Do not expect.
30656 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30658 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30659 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30660 [XPG3 || XPG4] (pthread_key_t): Likewise.
30661 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30662 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30663 [XPG3 || XPG4] (pthread_once_t): Likewise.
30664 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30665 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30667 [XPG3 || XPG4] (pthread_t): Likewise.
30668
cbe6e120
JM
30669 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30670 not expect.
30671 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30672
1b126443
JM
30673 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30674 Change function return type to int.
30675
b961a573
JM
30676 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30677 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30678 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30679 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30680 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30681 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30682 [!POSIX] (posix_madvise): Likewise.
30683 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30684 && !UNIX98].
30685 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30686 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30687 (mode_t): Likewise.
30688 (posix_mem_offset): Likewise.
30689 (posix_typed_mem_get_info): Likewise.
30690 (posix_typed_mem_open): Likewise.
30691
9e188909
JM
30692 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30693 Change condition to [XOPEN2K8].
30694
05bcf62a
JM
30695 * conform/conformtest.pl: Preprocess allow-header data with -x c
30696 instead of from stdin.
30697 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30698 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30699 [C99-based standards] (cerfc): Likewise.
30700 [C99-based standards] (cexp2): Likewise.
30701 [C99-based standards] (cexpm1): Likewise.
30702 [C99-based standards] (clog10): Likewise.
30703 [C99-based standards] (clog1p): Likewise.
30704 [C99-based standards] (clog2): Likewise.
30705 [C99-based standards] (clgamma): Likewise.
30706 [C99-based standards] (ctgamma): Likewise.
30707 [C99-based standards] (cerff): Likewise.
30708 [C99-based standards] (cerfcf): Likewise.
30709 [C99-based standards] (cexp2f): Likewise.
30710 [C99-based standards] (cexpm1f): Likewise.
30711 [C99-based standards] (clog10f): Likewise.
30712 [C99-based standards] (clog1pf): Likewise.
30713 [C99-based standards] (clog2f): Likewise.
30714 [C99-based standards] (clgammaf): Likewise.
30715 [C99-based standards] (ctgammaf): Likewise.
30716 [C99-based standards] (cerfl): Likewise.
30717 [C99-based standards] (cerfcl): Likewise.
30718 [C99-based standards] (cexp2l): Likewise.
30719 [C99-based standards] (cexpm1l): Likewise.
30720 [C99-based standards] (clog10l): Likewise.
30721 [C99-based standards] (clog1pl): Likewise.
30722 [C99-based standards] (clog2l): Likewise.
30723 [C99-based standards] (clgammal): Likewise.
30724 [C99-based standards] (ctgammal): Likewise.
30725 * conform/data/inttypes.h-data [C99-based standards]: Include
30726 stdint.h-data. Remove all expectations for stdint.h contents.
30727 [C99-based standards] (PRI*): Do not allow.
30728 [C99-based standards] (SCN*): Likewise.
30729 [C99-based standards] (*_t): Likewise.
30730 [C99-based-standards] (PRId8): Expect macro.
30731 [C99-based-standards] (PRIi8): Likewise.
30732 [C99-based-standards] (PRIo8): Likewise.
30733 [C99-based-standards] (PRIu8): Likewise.
30734 [C99-based-standards] (PRIx8): Likewise.
30735 [C99-based-standards] (PRIX8): Likewise.
30736 [C99-based-standards] (SCNd8): Likewise.
30737 [C99-based-standards] (SCNi8): Likewise.
30738 [C99-based-standards] (SCNo8): Likewise.
30739 [C99-based-standards] (SCNu8): Likewise.
30740 [C99-based-standards] (SCNx8): Likewise.
30741 [C99-based-standards] (PRIdLEAST8): Likewise.
30742 [C99-based-standards] (PRIiLEAST8): Likewise.
30743 [C99-based-standards] (PRIoLEAST8): Likewise.
30744 [C99-based-standards] (PRIuLEAST8): Likewise.
30745 [C99-based-standards] (PRIxLEAST8): Likewise.
30746 [C99-based-standards] (PRIXLEAST8): Likewise.
30747 [C99-based-standards] (SCNdLEAST8): Likewise.
30748 [C99-based-standards] (SCNiLEAST8): Likewise.
30749 [C99-based-standards] (SCNoLEAST8): Likewise.
30750 [C99-based-standards] (SCNuLEAST8): Likewise.
30751 [C99-based-standards] (SCNxLEAST8): Likewise.
30752 [C99-based-standards] (PRIdFAST8): Likewise.
30753 [C99-based-standards] (PRIiFAST8): Likewise.
30754 [C99-based-standards] (PRIoFAST8): Likewise.
30755 [C99-based-standards] (PRIuFAST8): Likewise.
30756 [C99-based-standards] (PRIxFAST8): Likewise.
30757 [C99-based-standards] (PRIXFAST8): Likewise.
30758 [C99-based-standards] (SCNdFAST8): Likewise.
30759 [C99-based-standards] (SCNiFAST8): Likewise.
30760 [C99-based-standards] (SCNoFAST8): Likewise.
30761 [C99-based-standards] (SCNuFAST8): Likewise.
30762 [C99-based-standards] (SCNxFAST8): Likewise.
30763 [C99-based-standards] (PRId16): Likewise.
30764 [C99-based-standards] (PRIi16): Likewise.
30765 [C99-based-standards] (PRIo16): Likewise.
30766 [C99-based-standards] (PRIu16): Likewise.
30767 [C99-based-standards] (PRIx16): Likewise.
30768 [C99-based-standards] (PRIX16): Likewise.
30769 [C99-based-standards] (SCNd16): Likewise.
30770 [C99-based-standards] (SCNi16): Likewise.
30771 [C99-based-standards] (SCNo16): Likewise.
30772 [C99-based-standards] (SCNu16): Likewise.
30773 [C99-based-standards] (SCNx16): Likewise.
30774 [C99-based-standards] (PRIdLEAST16): Likewise.
30775 [C99-based-standards] (PRIiLEAST16): Likewise.
30776 [C99-based-standards] (PRIoLEAST16): Likewise.
30777 [C99-based-standards] (PRIuLEAST16): Likewise.
30778 [C99-based-standards] (PRIxLEAST16): Likewise.
30779 [C99-based-standards] (PRIXLEAST16): Likewise.
30780 [C99-based-standards] (SCNdLEAST16): Likewise.
30781 [C99-based-standards] (SCNiLEAST16): Likewise.
30782 [C99-based-standards] (SCNoLEAST16): Likewise.
30783 [C99-based-standards] (SCNuLEAST16): Likewise.
30784 [C99-based-standards] (SCNxLEAST16): Likewise.
30785 [C99-based-standards] (PRIdFAST16): Likewise.
30786 [C99-based-standards] (PRIiFAST16): Likewise.
30787 [C99-based-standards] (PRIoFAST16): Likewise.
30788 [C99-based-standards] (PRIuFAST16): Likewise.
30789 [C99-based-standards] (PRIxFAST16): Likewise.
30790 [C99-based-standards] (PRIXFAST16): Likewise.
30791 [C99-based-standards] (SCNdFAST16): Likewise.
30792 [C99-based-standards] (SCNiFAST16): Likewise.
30793 [C99-based-standards] (SCNoFAST16): Likewise.
30794 [C99-based-standards] (SCNuFAST16): Likewise.
30795 [C99-based-standards] (SCNxFAST16): Likewise.
30796 [C99-based-standards] (PRId32): Likewise.
30797 [C99-based-standards] (PRIi32): Likewise.
30798 [C99-based-standards] (PRIo32): Likewise.
30799 [C99-based-standards] (PRIu32): Likewise.
30800 [C99-based-standards] (PRIx32): Likewise.
30801 [C99-based-standards] (PRIX32): Likewise.
30802 [C99-based-standards] (SCNd32): Likewise.
30803 [C99-based-standards] (SCNi32): Likewise.
30804 [C99-based-standards] (SCNo32): Likewise.
30805 [C99-based-standards] (SCNu32): Likewise.
30806 [C99-based-standards] (SCNx32): Likewise.
30807 [C99-based-standards] (PRIdLEAST32): Likewise.
30808 [C99-based-standards] (PRIiLEAST32): Likewise.
30809 [C99-based-standards] (PRIoLEAST32): Likewise.
30810 [C99-based-standards] (PRIuLEAST32): Likewise.
30811 [C99-based-standards] (PRIxLEAST32): Likewise.
30812 [C99-based-standards] (PRIXLEAST32): Likewise.
30813 [C99-based-standards] (SCNdLEAST32): Likewise.
30814 [C99-based-standards] (SCNiLEAST32): Likewise.
30815 [C99-based-standards] (SCNoLEAST32): Likewise.
30816 [C99-based-standards] (SCNuLEAST32): Likewise.
30817 [C99-based-standards] (SCNxLEAST32): Likewise.
30818 [C99-based-standards] (PRIdFAST32): Likewise.
30819 [C99-based-standards] (PRIiFAST32): Likewise.
30820 [C99-based-standards] (PRIoFAST32): Likewise.
30821 [C99-based-standards] (PRIuFAST32): Likewise.
30822 [C99-based-standards] (PRIxFAST32): Likewise.
30823 [C99-based-standards] (PRIXFAST32): Likewise.
30824 [C99-based-standards] (SCNdFAST32): Likewise.
30825 [C99-based-standards] (SCNiFAST32): Likewise.
30826 [C99-based-standards] (SCNoFAST32): Likewise.
30827 [C99-based-standards] (SCNuFAST32): Likewise.
30828 [C99-based-standards] (SCNxFAST32): Likewise.
30829 [C99-based-standards] (PRId64): Likewise.
30830 [C99-based-standards] (PRIi64): Likewise.
30831 [C99-based-standards] (PRIo64): Likewise.
30832 [C99-based-standards] (PRIu64): Likewise.
30833 [C99-based-standards] (PRIx64): Likewise.
30834 [C99-based-standards] (PRIX64): Likewise.
30835 [C99-based-standards] (SCNd64): Likewise.
30836 [C99-based-standards] (SCNi64): Likewise.
30837 [C99-based-standards] (SCNo64): Likewise.
30838 [C99-based-standards] (SCNu64): Likewise.
30839 [C99-based-standards] (SCNx64): Likewise.
30840 [C99-based-standards] (PRIdLEAST64): Likewise.
30841 [C99-based-standards] (PRIiLEAST64): Likewise.
30842 [C99-based-standards] (PRIoLEAST64): Likewise.
30843 [C99-based-standards] (PRIuLEAST64): Likewise.
30844 [C99-based-standards] (PRIxLEAST64): Likewise.
30845 [C99-based-standards] (PRIXLEAST64): Likewise.
30846 [C99-based-standards] (SCNdLEAST64): Likewise.
30847 [C99-based-standards] (SCNiLEAST64): Likewise.
30848 [C99-based-standards] (SCNoLEAST64): Likewise.
30849 [C99-based-standards] (SCNuLEAST64): Likewise.
30850 [C99-based-standards] (SCNxLEAST64): Likewise.
30851 [C99-based-standards] (PRIdFAST64): Likewise.
30852 [C99-based-standards] (PRIiFAST64): Likewise.
30853 [C99-based-standards] (PRIoFAST64): Likewise.
30854 [C99-based-standards] (PRIuFAST64): Likewise.
30855 [C99-based-standards] (PRIxFAST64): Likewise.
30856 [C99-based-standards] (PRIXFAST64): Likewise.
30857 [C99-based-standards] (SCNdFAST64): Likewise.
30858 [C99-based-standards] (SCNiFAST64): Likewise.
30859 [C99-based-standards] (SCNoFAST64): Likewise.
30860 [C99-based-standards] (SCNuFAST64): Likewise.
30861 [C99-based-standards] (SCNxFAST64): Likewise.
30862 [C99-based-standards] (PRIdMAX): Likewise.
30863 [C99-based-standards] (PRIiMAX): Likewise.
30864 [C99-based-standards] (PRIoMAX): Likewise.
30865 [C99-based-standards] (PRIuMAX): Likewise.
30866 [C99-based-standards] (PRIxMAX): Likewise.
30867 [C99-based-standards] (PRIXMAX): Likewise.
30868 [C99-based-standards] (SCNdMAX): Likewise.
30869 [C99-based-standards] (SCNiMAX): Likewise.
30870 [C99-based-standards] (SCNoMAX): Likewise.
30871 [C99-based-standards] (SCNuMAX): Likewise.
30872 [C99-based-standards] (SCNxMAX): Likewise.
30873 [C99-based-standards] (PRIdPTR): Likewise.
30874 [C99-based-standards] (PRIiPTR): Likewise.
30875 [C99-based-standards] (PRIoPTR): Likewise.
30876 [C99-based-standards] (PRIuPTR): Likewise.
30877 [C99-based-standards] (PRIxPTR): Likewise.
30878 [C99-based-standards] (PRIXPTR): Likewise.
30879 [C99-based-standards] (SCNdPTR): Likewise.
30880 [C99-based-standards] (SCNiPTR): Likewise.
30881 [C99-based-standards] (SCNoPTR): Likewise.
30882 [C99-based-standards] (SCNuPTR): Likewise.
30883 [C99-based-standards] (SCNxPTR): Likewise.
30884 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30885 allow.
30886 * conform/data/stdint.h-data: Update comments to clarify
30887 requirements.
30888 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30889 type.
30890 [C99-based standards] (INT8_MAX): Likewise.
30891 [C99-based standards] (INT16_MIN): Likewise.
30892 [C99-based standards] (INT16_MAX): Likewise.
30893 [C99-based standards] (INT32_MIN): Likewise.
30894 [C99-based standards] (INT32_MAX): Likewise.
30895 [C99-based standards] (INT64_MIN): Likewise.
30896 [C99-based standards] (INT64_MAX): Likewise.
30897 [C99-based standards] (UINT8_MAX): Likewise.
30898 [C99-based standards] (UINT16_MAX): Likewise.
30899 [C99-based standards] (UINT32_MAX): Likewise.
30900 [C99-based standards] (UINT64_MAX): Likewise.
30901 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30902 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30903 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30904 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30905 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30906 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30907 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30908 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30909 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30910 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30911 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30912 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30913 [C99-based standards] (INT_FAST8_MIN): Likewise.
30914 [C99-based standards] (INT_FAST8_MAX): Likewise.
30915 [C99-based standards] (INT_FAST16_MIN): Likewise.
30916 [C99-based standards] (INT_FAST16_MAX): Likewise.
30917 [C99-based standards] (INT_FAST32_MIN): Likewise.
30918 [C99-based standards] (INT_FAST32_MAX): Likewise.
30919 [C99-based standards] (INT_FAST64_MIN): Likewise.
30920 [C99-based standards] (INT_FAST64_MAX): Likewise.
30921 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30922 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30923 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30924 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30925 [C99-based standards] (INTPTR_MIN): Likewise.
30926 [C99-based standards] (INTPTR_MAX): Likewise.
30927 [C99-based standards] (UINTPTR_MAX): Likewise.
30928 [C99-based standards] (INTMAX_MIN): Likewise.
30929 [C99-based standards] (INTMAX_MAX): Likewise.
30930 [C99-based standards] (UINTMAX_MAX): Likewise.
30931 [C99-based standards] (PTRDIFF_MIN): Likewise.
30932 [C99-based standards] (PTRDIFF_MAX): Likewise.
30933 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30934 [C99-based standards] (SIZE_MAX): Likewise.
30935 [C99-based standards] (WCHAR_MAX): Likewise.
30936 [C99-based standards] (WINT_MAX): Likewise.
30937 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30938 constraint on value.
30939 [C99-based standards] (WCHAR_MIN): Likewise.
30940 [C99-based standards] (WINT_MIN): Likewise.
30941 [C99-based standards] (*_t): Allow.
30942 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30943 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30944 Include math.h-data and complex.h-data. Remove all expectations
30945 of math.h and complex.h contents.
30946 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30947 at end of line.
30948 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30949 (struct tm): Expect tag.
30950 [C99-based-standards] (wcstof): Expect function.
30951 [C99-based-standards] (wcstold): Likewise.
30952 [C99-based-standards] (wcstoll): Likewise.
30953 [C99-based-standards] (wcstoull): Likewise.
30954 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30955 macro-int-constant. Specify type.
30956 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30957 constraint on value.
30958 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30959 Specify type.
30960 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30961 Specify value.
30962 [ISO C standards]: Do not allow headers.
30963 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30964 wcs[abcdefghijklmnopqrstuvwxyz]*.
30965 [ISO C standards] (*_t): Do not allow.
30966 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30967 Expect function.
30968 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30969 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30970 Specify type.
30971 [ISO C standards]: Do not allow headers.
30972 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30973 is[abcdefghijklmnopqrstuvwxyz]*.
30974 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30975 to[abcdefghijklmnopqrstuvwxyz]*.
30976 [ISO C standards] (*_t): Do not allow.
30977 * conform/data/stdalign.h-data: New file.
30978 * conform/data/stdbool.h-data: Likewise.
30979 * conform/data/stdnoreturn.h-data: Likewise.
30980
7514feb8
RM
309812012-11-07 Roland McGrath <roland@hack.frob.com>
30982
30983 [BZ #14815]
30984 * manual/filesys.texi (Directory Entries): Typo fix.
30985 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30986
19b2ecfc
MS
309872012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30988
30989 * elf/elf.h (EM_AARCH64): New macro.
30990 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30991 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30992 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30993 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30994 (R_AARCH64_TLSDESC): Likewise.
30995 (NT_ARM_TLS): Likewise.
30996 (NT_ARM_HW_BREAK): Likewise.
30997 (NT_ARM_HW_WATCH): Likewise.
30998
60e235ee
JM
309992012-11-07 Joseph Myers <joseph@codesourcery.com>
31000
31001 [BZ #14811]
31002 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31003 (__ieee754_powl): Saturate nonzero exponents with absolute value
31004 below 0x1p-79 to +/- 0x1p-79.
31005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31006 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31007 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31008 nonzero exponents with absolute value below 0x1p-32 to +/-
31009 0x1p-32.
31010 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31011 (__ieee754_powl): Saturate nonzero exponents with absolute value
31012 below 0x1p-79 to +/- 0x1p-79.
31013 * math/libm-test.inc (pow_test): Add more tests.
31014
0ab234b7
AK
310152012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31016
31017 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31018 _dl_s390_cap_flags with kernel. Increase string length.
31019 (_dl_s390_platforms): Add z196 and zEC12.
31020
45832f74
JM
310212012-11-07 Joseph Myers <joseph@codesourcery.com>
31022
31023 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31024 Change XOPEN21K to XOPEN2K.
31025
19218757
MK
310262012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31027
31028 * string/memmove.c: Use memcpy when possible.
31029
c5f45721
AJ
310302012-11-06 Andreas Jaeger <aj@suse.de>
31031
31032 * po/eo.po: Update from translation team.
31033
82477c28
JM
310342012-11-06 Joseph Myers <joseph@codesourcery.com>
31035
31036 [BZ #14793]
31037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31038 exponent and small x and y exponents, scale x or y up. Increase
31039 by 2 the exponent used in scaling up.
31040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31042 * math/libm-test.inc (fma_test): Add more tests.
31043 (fma_test_towardzero): Likewise.
31044 (fma_test_downward): Likewise.
31045 (fma_test_upward): Likewise.
31046
99252c8c
JM
310472012-11-05 Joseph Myers <joseph@codesourcery.com>
31048
acfa885f
JM
31049 [BZ #14805]
31050 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31051 fenv_t *.
31052
99252c8c
JM
31053 [BZ #14801]
31054 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31055 namespace for names of struct fields.
31056 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31057 fenv_t fields.
31058 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31059 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31060
d6d98dea
ST
310612012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31062
31063 [BZ #3665]
31064 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31065
e10bb107
TS
310662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31067
31068 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31069 PTR_DEMANGLE.
31070
31071 [BZ #5246]
31072 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31073 PTR_DEMANGLE.
31074
a0c2940d
JM
310752012-11-04 Joseph Myers <joseph@codesourcery.com>
31076
31077 [BZ #14797]
31078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31079 definitely overflow as x * y not x * y + z.
31080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31081 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31082 * math/libm-test.inc (fma_test): Add more tests.
31083 (fma_test_towardzero): Likewise.
31084 (fma_test_downward): Likewise.
31085 (fma_test_upward): Likewise.
31086
b830319d
TS
310872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31088
31089 [BZ #157]
31090
31091 * include/stub-tag.h: Remove file.
31092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31093 '#include' of it.
31094 * manual/maint.texi (Porting): Don't reference it.
31095 * Makerules ($(objpfx)stubs): Likewise.
31096 * dirent/closedir.c: Don't include <stub-tag.h>.
31097 * dirent/dirfd.c: Likewise.
31098 * dirent/fdopendir.c: Likewise.
31099 * dirent/getdents.c: Likewise.
31100 * dirent/getdents64.c: Likewise.
31101 * dirent/opendir.c: Likewise.
31102 * dirent/readdir.c: Likewise.
31103 * dirent/readdir64.c: Likewise.
31104 * dirent/readdir64_r.c: Likewise.
31105 * dirent/readdir_r.c: Likewise.
31106 * dirent/rewinddir.c: Likewise.
31107 * dirent/seekdir.c: Likewise.
31108 * dirent/telldir.c: Likewise.
31109 * gmon/profil.c: Likewise.
31110 * grp/setgroups.c: Likewise.
31111 * inet/if_index.c: Likewise.
31112 * io/access.c: Likewise.
31113 * io/chdir.c: Likewise.
31114 * io/chmod.c: Likewise.
31115 * io/chown.c: Likewise.
31116 * io/close.c: Likewise.
31117 * io/dup.c: Likewise.
31118 * io/dup2.c: Likewise.
31119 * io/dup3.c: Likewise.
31120 * io/euidaccess.c: Likewise.
31121 * io/faccessat.c: Likewise.
31122 * io/fchdir.c: Likewise.
31123 * io/fchmod.c: Likewise.
31124 * io/fchmodat.c: Likewise.
31125 * io/fchown.c: Likewise.
31126 * io/fchownat.c: Likewise.
31127 * io/fcntl.c: Likewise.
31128 * io/flock.c: Likewise.
31129 * io/fstatfs.c: Likewise.
31130 * io/fstatfs64.c: Likewise.
31131 * io/fstatvfs.c: Likewise.
31132 * io/fstatvfs64.c: Likewise.
31133 * io/futimens.c: Likewise.
31134 * io/fxstat.c: Likewise.
31135 * io/fxstat64.c: Likewise.
31136 * io/fxstatat.c: Likewise.
31137 * io/fxstatat64.c: Likewise.
31138 * io/getcwd.c: Likewise.
31139 * io/isatty.c: Likewise.
31140 * io/lchmod.c: Likewise.
31141 * io/lchown.c: Likewise.
31142 * io/link.c: Likewise.
31143 * io/linkat.c: Likewise.
31144 * io/lseek.c: Likewise.
31145 * io/lseek64.c: Likewise.
31146 * io/lxstat64.c: Likewise.
31147 * io/mkdir.c: Likewise.
31148 * io/mkdirat.c: Likewise.
31149 * io/mkfifo.c: Likewise.
31150 * io/mkfifoat.c: Likewise.
31151 * io/open.c: Likewise.
31152 * io/open64.c: Likewise.
31153 * io/openat.c: Likewise.
31154 * io/openat64.c: Likewise.
31155 * io/pipe.c: Likewise.
31156 * io/pipe2.c: Likewise.
31157 * io/poll.c: Likewise.
31158 * io/posix_fadvise.c: Likewise.
31159 * io/posix_fadvise64.c: Likewise.
31160 * io/posix_fallocate.c: Likewise.
31161 * io/posix_fallocate64.c: Likewise.
31162 * io/read.c: Likewise.
31163 * io/readlink.c: Likewise.
31164 * io/readlinkat.c: Likewise.
31165 * io/rmdir.c: Likewise.
31166 * io/sendfile.c: Likewise.
31167 * io/sendfile64.c: Likewise.
31168 * io/statfs.c: Likewise.
31169 * io/statfs64.c: Likewise.
31170 * io/statvfs.c: Likewise.
31171 * io/statvfs64.c: Likewise.
31172 * io/symlink.c: Likewise.
31173 * io/symlinkat.c: Likewise.
31174 * io/ttyname.c: Likewise.
31175 * io/ttyname_r.c: Likewise.
31176 * io/umask.c: Likewise.
31177 * io/unlink.c: Likewise.
31178 * io/unlinkat.c: Likewise.
31179 * io/utime.c: Likewise.
31180 * io/utimensat.c: Likewise.
31181 * io/write.c: Likewise.
31182 * io/xmknod.c: Likewise.
31183 * io/xmknodat.c: Likewise.
31184 * io/xstat.c: Likewise.
31185 * io/xstat64.c: Likewise.
31186 * login/getpt.c: Likewise.
31187 * login/grantpt.c: Likewise.
31188 * login/unlockpt.c: Likewise.
31189 * math/e_acoshl.c: Likewise.
31190 * math/e_acosl.c: Likewise.
31191 * math/e_asinl.c: Likewise.
31192 * math/e_atan2l.c: Likewise.
31193 * math/e_atanhl.c: Likewise.
31194 * math/e_coshl.c: Likewise.
31195 * math/e_expl.c: Likewise.
31196 * math/e_fmodl.c: Likewise.
31197 * math/e_gammal_r.c: Likewise.
31198 * math/e_hypotl.c: Likewise.
31199 * math/e_j0l.c: Likewise.
31200 * math/e_j1l.c: Likewise.
31201 * math/e_jnl.c: Likewise.
31202 * math/e_lgammal_r.c: Likewise.
31203 * math/e_log10l.c: Likewise.
31204 * math/e_log2l.c: Likewise.
31205 * math/e_logl.c: Likewise.
31206 * math/e_powl.c: Likewise.
31207 * math/e_rem_pio2l.c: Likewise.
31208 * math/e_sinhl.c: Likewise.
31209 * math/e_sqrtl.c: Likewise.
31210 * math/fclrexcpt.c: Likewise.
31211 * math/fedisblxcpt.c: Likewise.
31212 * math/feenablxcpt.c: Likewise.
31213 * math/fegetenv.c: Likewise.
31214 * math/fegetexcept.c: Likewise.
31215 * math/fegetround.c: Likewise.
31216 * math/feholdexcpt.c: Likewise.
31217 * math/fesetenv.c: Likewise.
31218 * math/fesetround.c: Likewise.
31219 * math/feupdateenv.c: Likewise.
31220 * math/fgetexcptflg.c: Likewise.
31221 * math/fraiseexcpt.c: Likewise.
31222 * math/fsetexcptflg.c: Likewise.
31223 * math/ftestexcept.c: Likewise.
31224 * math/k_cosl.c: Likewise.
31225 * math/k_rem_pio2l.c: Likewise.
31226 * math/k_sinl.c: Likewise.
31227 * math/k_tanl.c: Likewise.
31228 * math/s_asinhl.c: Likewise.
31229 * math/s_atanl.c: Likewise.
31230 * math/s_cbrtl.c: Likewise.
31231 * math/s_erfl.c: Likewise.
31232 * math/s_expm1l.c: Likewise.
31233 * math/s_log1pl.c: Likewise.
31234 * math/s_tanhl.c: Likewise.
31235 * misc/acct.c: Likewise.
31236 * misc/brk.c: Likewise.
31237 * misc/chflags.c: Likewise.
31238 * misc/chroot.c: Likewise.
31239 * misc/fchflags.c: Likewise.
31240 * misc/fgetxattr.c: Likewise.
31241 * misc/flistxattr.c: Likewise.
31242 * misc/fremovexattr.c: Likewise.
31243 * misc/fsetxattr.c: Likewise.
31244 * misc/fsync.c: Likewise.
31245 * misc/ftruncate.c: Likewise.
31246 * misc/futimes.c: Likewise.
31247 * misc/futimesat.c: Likewise.
31248 * misc/getdomain.c: Likewise.
31249 * misc/getdtsz.c: Likewise.
31250 * misc/gethostid.c: Likewise.
31251 * misc/gethostname.c: Likewise.
31252 * misc/getloadavg.c: Likewise.
31253 * misc/getpagesize.c: Likewise.
31254 * misc/getsysstats.c: Likewise.
31255 * misc/getxattr.c: Likewise.
31256 * misc/gtty.c: Likewise.
31257 * misc/ioctl.c: Likewise.
31258 * misc/lgetxattr.c: Likewise.
31259 * misc/listxattr.c: Likewise.
31260 * misc/llistxattr.c: Likewise.
31261 * misc/lremovexattr.c: Likewise.
31262 * misc/lsetxattr.c: Likewise.
31263 * misc/lutimes.c: Likewise.
31264 * misc/madvise.c: Likewise.
31265 * misc/mincore.c: Likewise.
31266 * misc/mlock.c: Likewise.
31267 * misc/mlockall.c: Likewise.
31268 * misc/mmap.c: Likewise.
31269 * misc/mprotect.c: Likewise.
31270 * misc/msync.c: Likewise.
31271 * misc/munlock.c: Likewise.
31272 * misc/munlockall.c: Likewise.
31273 * misc/munmap.c: Likewise.
31274 * misc/preadv.c: Likewise.
31275 * misc/preadv64.c: Likewise.
31276 * misc/ptrace.c: Likewise.
31277 * misc/pwritev.c: Likewise.
31278 * misc/pwritev64.c: Likewise.
31279 * misc/readv.c: Likewise.
31280 * misc/reboot.c: Likewise.
31281 * misc/remap_file_pages.c: Likewise.
31282 * misc/removexattr.c: Likewise.
31283 * misc/revoke.c: Likewise.
31284 * misc/select.c: Likewise.
31285 * misc/setdomain.c: Likewise.
31286 * misc/setegid.c: Likewise.
31287 * misc/seteuid.c: Likewise.
31288 * misc/sethostid.c: Likewise.
31289 * misc/sethostname.c: Likewise.
31290 * misc/setregid.c: Likewise.
31291 * misc/setreuid.c: Likewise.
31292 * misc/setxattr.c: Likewise.
31293 * misc/sstk.c: Likewise.
31294 * misc/stty.c: Likewise.
31295 * misc/swapoff.c: Likewise.
31296 * misc/swapon.c: Likewise.
31297 * misc/sync.c: Likewise.
31298 * misc/syncfs.c: Likewise.
31299 * misc/syscall.c: Likewise.
31300 * misc/truncate.c: Likewise.
31301 * misc/ualarm.c: Likewise.
31302 * misc/usleep.c: Likewise.
31303 * misc/ustat.c: Likewise.
31304 * misc/utimes.c: Likewise.
31305 * misc/vhangup.c: Likewise.
31306 * misc/writev.c: Likewise.
31307 * posix/_exit.c: Likewise.
31308 * posix/alarm.c: Likewise.
31309 * posix/execve.c: Likewise.
31310 * posix/fexecve.c: Likewise.
31311 * posix/fork.c: Likewise.
31312 * posix/fpathconf.c: Likewise.
31313 * posix/getaddrinfo.c: Likewise.
31314 * posix/getegid.c: Likewise.
31315 * posix/geteuid.c: Likewise.
31316 * posix/getgid.c: Likewise.
31317 * posix/getgroups.c: Likewise.
31318 * posix/getlogin.c: Likewise.
31319 * posix/getlogin_r.c: Likewise.
31320 * posix/getpgid.c: Likewise.
31321 * posix/getpid.c: Likewise.
31322 * posix/getppid.c: Likewise.
31323 * posix/getresgid.c: Likewise.
31324 * posix/getresuid.c: Likewise.
31325 * posix/getsid.c: Likewise.
31326 * posix/getuid.c: Likewise.
31327 * posix/glob64.c: Likewise.
31328 * posix/nanosleep.c: Likewise.
31329 * posix/pathconf.c: Likewise.
31330 * posix/pause.c: Likewise.
31331 * posix/posix_madvise.c: Likewise.
31332 * posix/pread.c: Likewise.
31333 * posix/pread64.c: Likewise.
31334 * posix/pwrite.c: Likewise.
31335 * posix/pwrite64.c: Likewise.
31336 * posix/sched_getaffinity.c: Likewise.
31337 * posix/sched_getp.c: Likewise.
31338 * posix/sched_gets.c: Likewise.
31339 * posix/sched_primax.c: Likewise.
31340 * posix/sched_primin.c: Likewise.
31341 * posix/sched_rr_gi.c: Likewise.
31342 * posix/sched_setaffinity.c: Likewise.
31343 * posix/sched_setp.c: Likewise.
31344 * posix/sched_sets.c: Likewise.
31345 * posix/sched_yield.c: Likewise.
31346 * posix/setgid.c: Likewise.
31347 * posix/setlogin.c: Likewise.
31348 * posix/setpgid.c: Likewise.
31349 * posix/setresgid.c: Likewise.
31350 * posix/setresuid.c: Likewise.
31351 * posix/setsid.c: Likewise.
31352 * posix/setuid.c: Likewise.
31353 * posix/sleep.c: Likewise.
31354 * posix/spawni.c: Likewise.
31355 * posix/sysconf.c: Likewise.
31356 * posix/times.c: Likewise.
31357 * posix/wait.c: Likewise.
31358 * posix/wait3.c: Likewise.
31359 * posix/wait4.c: Likewise.
31360 * posix/waitpid.c: Likewise.
31361 * resolv/gai_sigqueue.c: Likewise.
31362 * resource/getpriority.c: Likewise.
31363 * resource/getrlimit.c: Likewise.
31364 * resource/getrusage.c: Likewise.
31365 * resource/nice.c: Likewise.
31366 * resource/setpriority.c: Likewise.
31367 * resource/setrlimit.c: Likewise.
31368 * resource/ulimit.c: Likewise.
31369 * rt/aio_cancel.c: Likewise.
31370 * rt/aio_fsync.c: Likewise.
31371 * rt/aio_read.c: Likewise.
31372 * rt/aio_sigqueue.c: Likewise.
31373 * rt/aio_suspend.c: Likewise.
31374 * rt/aio_write.c: Likewise.
31375 * rt/clock_getres.c: Likewise.
31376 * rt/clock_gettime.c: Likewise.
31377 * rt/clock_nanosleep.c: Likewise.
31378 * rt/clock_settime.c: Likewise.
31379 * rt/lio_listio.c: Likewise.
31380 * rt/mq_close.c: Likewise.
31381 * rt/mq_getattr.c: Likewise.
31382 * rt/mq_notify.c: Likewise.
31383 * rt/mq_open.c: Likewise.
31384 * rt/mq_receive.c: Likewise.
31385 * rt/mq_send.c: Likewise.
31386 * rt/mq_setattr.c: Likewise.
31387 * rt/mq_timedreceive.c: Likewise.
31388 * rt/mq_timedsend.c: Likewise.
31389 * rt/mq_unlink.c: Likewise.
31390 * rt/shm_open.c: Likewise.
31391 * rt/shm_unlink.c: Likewise.
31392 * rt/timer_create.c: Likewise.
31393 * rt/timer_delete.c: Likewise.
31394 * rt/timer_getoverr.c: Likewise.
31395 * rt/timer_gettime.c: Likewise.
31396 * rt/timer_settime.c: Likewise.
31397 * setjmp/__longjmp.c: Likewise.
31398 * setjmp/setjmp.c: Likewise.
31399 * signal/kill.c: Likewise.
31400 * signal/killpg.c: Likewise.
31401 * signal/raise.c: Likewise.
31402 * signal/sigaction.c: Likewise.
31403 * signal/sigaltstack.c: Likewise.
31404 * signal/sigblock.c: Likewise.
31405 * signal/sigignore.c: Likewise.
31406 * signal/sigintr.c: Likewise.
31407 * signal/signal.c: Likewise.
31408 * signal/sigpause.c: Likewise.
31409 * signal/sigpending.c: Likewise.
31410 * signal/sigqueue.c: Likewise.
31411 * signal/sigreturn.c: Likewise.
31412 * signal/sigset.c: Likewise.
31413 * signal/sigsetmask.c: Likewise.
31414 * signal/sigstack.c: Likewise.
31415 * signal/sigsuspend.c: Likewise.
31416 * signal/sigtimedwait.c: Likewise.
31417 * signal/sigvec.c: Likewise.
31418 * signal/sigwait.c: Likewise.
31419 * signal/sigwaitinfo.c: Likewise.
31420 * signal/sysv_signal.c: Likewise.
31421 * socket/accept.c: Likewise.
31422 * socket/accept4.c: Likewise.
31423 * socket/bind.c: Likewise.
31424 * socket/connect.c: Likewise.
31425 * socket/getpeername.c: Likewise.
31426 * socket/getsockname.c: Likewise.
31427 * socket/getsockopt.c: Likewise.
31428 * socket/isfdtype.c: Likewise.
31429 * socket/listen.c: Likewise.
31430 * socket/recv.c: Likewise.
31431 * socket/recvfrom.c: Likewise.
31432 * socket/recvmsg.c: Likewise.
31433 * socket/send.c: Likewise.
31434 * socket/sendmsg.c: Likewise.
31435 * socket/sendto.c: Likewise.
31436 * socket/setsockopt.c: Likewise.
31437 * socket/shutdown.c: Likewise.
31438 * socket/sockatmark.c: Likewise.
31439 * socket/socket.c: Likewise.
31440 * socket/socketpair.c: Likewise.
31441 * stdio-common/ctermid.c: Likewise.
31442 * stdio-common/cuserid.c: Likewise.
31443 * stdio-common/remove.c: Likewise.
31444 * stdio-common/rename.c: Likewise.
31445 * stdio-common/renameat.c: Likewise.
31446 * stdio-common/tempname.c: Likewise.
31447 * stdlib/getcontext.c: Likewise.
31448 * stdlib/makecontext.c: Likewise.
31449 * stdlib/setcontext.c: Likewise.
31450 * stdlib/swapcontext.c: Likewise.
31451 * stdlib/system.c: Likewise.
31452 * streams/fattach.c: Likewise.
31453 * streams/fdetach.c: Likewise.
31454 * streams/getmsg.c: Likewise.
31455 * streams/getpmsg.c: Likewise.
31456 * streams/putmsg.c: Likewise.
31457 * streams/putpmsg.c: Likewise.
31458 * sysdeps/unix/bsd/getpt.c: Likewise.
31459 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31460 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31461 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31463 Likewise.
31464 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31465 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31466 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31467 * sysvipc/msgctl.c: Likewise.
31468 * sysvipc/msgget.c: Likewise.
31469 * sysvipc/msgrcv.c: Likewise.
31470 * sysvipc/msgsnd.c: Likewise.
31471 * sysvipc/semctl.c: Likewise.
31472 * sysvipc/semget.c: Likewise.
31473 * sysvipc/semop.c: Likewise.
31474 * sysvipc/semtimedop.c: Likewise.
31475 * sysvipc/shmat.c: Likewise.
31476 * sysvipc/shmctl.c: Likewise.
31477 * sysvipc/shmdt.c: Likewise.
31478 * sysvipc/shmget.c: Likewise.
31479 * termios/tcdrain.c: Likewise.
31480 * termios/tcflow.c: Likewise.
31481 * termios/tcflush.c: Likewise.
31482 * termios/tcgetattr.c: Likewise.
31483 * termios/tcgetpgrp.c: Likewise.
31484 * termios/tcsendbrk.c: Likewise.
31485 * termios/tcsetattr.c: Likewise.
31486 * termios/tcsetpgrp.c: Likewise.
31487 * time/adjtime.c: Likewise.
31488 * time/clock.c: Likewise.
31489 * time/getitimer.c: Likewise.
31490 * time/gettimeofday.c: Likewise.
31491 * time/setitimer.c: Likewise.
31492 * time/settimeofday.c: Likewise.
31493 * time/stime.c: Likewise.
31494 * time/time.c: Likewise.
31495
314962012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31497
a20492cf
PT
31498 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31499 /usr/old/bin.
31500
72e182e3
PT
31501 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31502 instead of spaces.
31503 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31504
fbeafede
JM
315052012-11-03 Joseph Myers <joseph@codesourcery.com>
31506
5b5b04d6
JM
31507 [BZ #14796]
31508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31509 FE_TONEAREST before applying Dekker multiplication and Knuth
31510 addition. Clear inexact exceptions and check for exact zero
31511 results afterwards.
31512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31513 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31515 * math/libm-test.inc (fma_test): Add more tests.
31516 (fma_test_towardzero): Likewise.
31517 (fma_test_downward): Likewise.
31518 (fma_test_upward): Likewise.
31519 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31520 function.
31521 (libc_fesetround): New macro.
31522 (libc_fesetroundf): Likewise.
31523 (libc_fesetroundl): Likewise.
31524 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31525 function.
31526 (libc_fesetround_387): Likewise.
31527 (libc_fesetroundf): New macro.
31528 (libc_fesetround): Likewise.
31529 (libc_fesetroundl): Likewise.
31530 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31531 function.
31532 (libc_fesetroundf): New macro.
31533 (libc_fesetround): Likewise.
31534 (libc_fesetroundl): Likewise.
31535 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31536 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31537 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31538 libm_hidden_ver.
31539 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31540 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31541 libm_hidden_def.
31542 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31543 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31544 libm_hidden_ver.
31545 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31546 libm_hidden_def.
31547
fbeafede
JM
31548 [BZ #3439]
31549 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31550 integer constant usable in #if and use that to give value to enum
31551 constant.
31552 (FE_DIVBYZERO): Likewise.
31553 (FE_UNDERFLOW): Likewise.
31554 (FE_OVERFLOW): Likewise.
31555 (FE_INVALID): Likewise.
31556 (FE_INVALID_SNAN): Likewise.
31557 (FE_INVALID_ISI): Likewise.
31558 (FE_INVALID_IDI): Likewise.
31559 (FE_INVALID_ZDZ): Likewise.
31560 (FE_INVALID_IMZ): Likewise.
31561 (FE_INVALID_COMPARE): Likewise.
31562 (FE_INVALID_SOFTWARE): Likewise.
31563 (FE_INVALID_SQRT): Likewise.
31564 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31565 (FE_TONEAREST): Likewise.
31566 (FE_TOWARDZERO): Likewise.
31567 (FE_UPWARD): Likewise.
31568 (FE_DOWNWARD): Likewise.
31569 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31570 (FE_DIVBYZERO): Likewise.
31571 (FE_OVERFLOW): Likewise.
31572 (FE_UNDERFLOW): Likewise.
31573 (FE_INEXACT): Likewise.
31574 (FE_TONEAREST): Likewise.
31575 (FE_DOWNWARD): Likewise.
31576 (FE_UPWARD): Likewise.
31577 (FE_TOWARDZERO): Likewise.
31578 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31579 (FE_UNDERFLOW): Likewise.
31580 (FE_OVERFLOW): Likewise.
31581 (FE_DIVBYZERO): Likewise.
31582 (FE_INVALID): Likewise.
31583 (FE_TONEAREST): Likewise.
31584 (FE_TOWARDZERO): Likewise.
31585 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31586 (FE_OVERFLOW): Likewise.
31587 (FE_UNDERFLOW): Likewise.
31588 (FE_DIVBYZERO): Likewise.
31589 (FE_INEXACT): Likewise.
31590 (FE_TONEAREST): Likewise.
31591 (FE_TOWARDZERO): Likewise.
31592 (FE_UPWARD): Likewise.
31593 (FE_DOWNWARD): Likewise.
31594 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31595 (FE_DIVBYZERO): Likewise.
31596 (FE_OVERFLOW): Likewise.
31597 (FE_UNDERFLOW): Likewise.
31598 (FE_INEXACT): Likewise.
31599 (FE_TONEAREST): Likewise.
31600 (FE_DOWNWARD): Likewise.
31601 (FE_UPWARD): Likewise.
31602 (FE_TOWARDZERO): Likewise.
31603
105ca950
CM
316042012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31605
31606 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31607
a542b389
AS
316082012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31609
31610 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31611 commands. Quote $PWD.
31612 (blacklist_exports): Don't use remove_newlines. Replace "declare
31613 -x" by "export".
31614 (remove_newlines): Remove.
31615
f62c8abc
L
316162012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31617
31618 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31619 * stdlib/stdlib.h (atof): Moved to ...
31620 * include/bits/stdlib-float.h: Here. New file.
31621 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31622 * stdlib/bits/stdlib-float.h: New file.
31623 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31624 -mno-sse -mno-mmx.
31625 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31626 <xmmintrin.h>.
31627
0155d5b2
JM
316282012-11-02 Joseph Myers <joseph@codesourcery.com>
31629
a68d0680
JM
31630 * conform/conformtest.pl (@headers): Add fenv.h.
31631 * conform/data/fenv.h-data: New file.
31632 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31633 include of <math/fenv.h>.
31634
caf7f573
JM
31635 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31636 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31637 && !UNIX98]. Enables tests for XOPEN2K8.
31638 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31639 POSIX2008]: Likewise.
31640
6c073ad6
JM
31641 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31642 (struct rusage): Do not expect type or its members.
31643
0155d5b2
JM
31644 [BZ #3439]
31645 * math/math.h (FP_NAN): Define macro to integer constant usable in
31646 #if and use that to give value to enum constant.
31647 (FP_INFINITE): Likewise.
31648 (FP_ZERO): Likewise.
31649 (FP_SUBNORMAL): Likewise.
31650 (FP_NORMAL): Likewise.
31651
b5dcacb4
AS
316522012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31653
31654 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31655 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31656 arguments.
31657
f7934be8
RM
316582012-11-02 Roland McGrath <roland@hack.frob.com>
31659
31660 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31661 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31662 autoconf-time if not.
31663 * configure.in: Remove AC_PREREQ.
31664
d7d08bde
TMQMF
316652012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31666
31667 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31668 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31669 of the internal implementation.
31670
dcdae19a
JM
316712012-11-02 Joseph Myers <joseph@codesourcery.com>
31672
31673 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31674 except include of <misc/sys/syslog.h>.
31675
d6cffd3e
AS
316762012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31677
31678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31679 function returns with a NULL context exit with zero.
31680
b3563932
TMQMF
316812012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31682
31683 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31684
b288a93d
L
316852012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31686
31687 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31688 (run_program_cmd): This.
31689 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31690 (tst_langinfo): New variable. Use it.
31691
a2421a68
SAS
316922012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31693
31694 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31695 floating point opcodes.
31696
6f796e1b
TS
316972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31698
7402596b
TS
31699 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31700 variable.
31701
d0d4f868
TS
31702 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31703
6f796e1b
TS
31704 * sysdeps/mach/hurd/powerpc: Remove directory.
31705 * sysdeps/mach/powerpc: Likewise.
31706
4da224a2
AS
317072012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31708
31709 * scripts/check-local-headers.sh: Ignore c++ headers.
31710
341dd673
TS
317112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31712
31713 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31714 __libc_cleanup_region_start argument.
31715
473611b2
JM
317162012-11-01 Joseph Myers <joseph@codesourcery.com>
31717
31718 [BZ #14784]
31719 [BZ #14785]
31720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31721 x * y using scaling, not as x * y + z.
31722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31724 * math/libm-test.inc (fma_test): Add more tests.
31725 (fma_test_towardzero): Likewise.
31726 (fma_test_downward): Likewise.
31727 (fma_test_upward): Likewise.
31728
4078da3d
TS
317292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31730
31731 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31732
903252aa
JM
317332012-10-31 Joseph Myers <joseph@codesourcery.com>
31734
31735 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31736 New variable.
31737
cbc818d0
TS
317382012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31739
31740 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31741
5a03cb1e
AS
317422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31743
31744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31745 Fix sort order.
31746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31747 Likewise.
31748
90aff2ff
TMQMF
317492012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31750
31751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31752 Fix the order of the list for glibc 2.17.
31753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31754 Likewise.
31755
1818fcb7
AS
317562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31757
31758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31759
ef82f4da
JM
317602012-10-31 Joseph Myers <joseph@codesourcery.com>
31761
16a0e2ec
JM
31762 [BZ #14610]
31763 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31764 for low part of x being zero before using __atanl (y).
31765 * math/libm-test.inc (atan2_test): Add another test.
31766
0eb69512
JM
31767 * manual/install.texi (Configuring and compiling): Document
31768 general use of test-wrapper and test-wrapper-env.
31769 * INSTALL: Regenerated.
31770
ef82f4da
JM
31771 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31772 (__fma): Do not extract and scale down low bits on after-rounding
31773 systems when result rounded to normal precision would have normal
31774 exponent.
31775 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31776 (__fmal): Do not extract and scale down low bits on after-rounding
31777 systems when result rounded to normal precision would have normal
31778 exponent.
31779 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31780 (__fmal): Do not extract and scale down low bits on after-rounding
31781 systems when result rounded to normal precision would have normal
31782 exponent.
31783 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31784 macro.
31785 (fma_test): Add more tests.
31786 (fma_test_towardzero): Likewise.
31787 (fma_test_downward): Likewise.
31788 (fma_test_upward): Likewise.
31789
954ef0d9
L
317902012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31791
31792 * sysdeps/i386/tininess.h: Renamed to ...
31793 * sysdeps/x86/tininess.h: This.
31794 * sysdeps/x86_64/tininess.h: Removed.
31795
df61ffb2
JM
317962012-10-30 Joseph Myers <joseph@codesourcery.com>
31797
31798 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31799 input. Use $(build-program-cmd).
31800 ($(objpfx)tst-array1-static.out): Likewise.
31801 ($(objpfx)tst-array2.out): Likewise.
31802 ($(objpfx)tst-array3.out): Likewise.
31803 ($(objpfx)tst-array4.out): Likewise.
31804 ($(objpfx)tst-array5.out): Likewise.
31805 ($(objpfx)tst-array5-static.out): Likewise.
31806
01767843
CM
318072012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31808
47cc1490
CM
31809 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31810 if defined.
31811
01767843
CM
31812 * nss/nsswitch.h (nss_interface_function): Provide new
31813 macro for use with NSS functions.
31814 * grp/initgroups.c: Use new macro.
31815 * nss/getXXbyYY.c: Likewise.
31816 * nss/getXXbyYY_r.c: Likewise.
31817 * nss/getXXent.c: Likewise.
31818 * nss/getXXent_r.c: Likewise.
31819 * sysdeps/posix/getaddrinfo.c: Likewise.
31820
8321aa97
AJ
318212012-10-30 Andreas Jaeger <aj@suse.de>
31822
31823 * po/ru.po: Update Russion translation from translation project.
31824
2a27fd6d
JM
318252012-10-30 Joseph Myers <joseph@codesourcery.com>
31826
8627a232
JM
31827 [BZ #14152]
31828 [BZ #14783]
31829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31830 result and shift together with sticky bit instead of replicating
31831 round-to-nearest rounding.
31832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31833 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31834 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31835 missing underflow exceptions.
31836 (fma_test_towardzero): Add more tests.
31837 (fma_test_downward): Likewise.
31838 (fma_test_upward): Likewise.
31839
2a27fd6d
JM
31840 [BZ #14047]
31841 * sysdeps/generic/tininess.h: New file.
31842 * sysdeps/i386/tininess.h: Likewise.
31843 * sysdeps/sh/tininess.h: Likewise.
31844 * sysdeps/x86_64/tininess.h: Likewise.
31845 * stdlib/tst-strtod-underflow.c: Likewise.
31846 * stdlib/tst-tininess.c: Likewise.
31847 * stdlib/strtod_l.c: Include <tininess.h>.
31848 (round_and_return): Do not set errno for exact underflow cases.
31849 Force an underflow exception when setting errno for underflow.
31850 Determine underflow based on rounding to normal precision if
31851 TININESS_AFTER_ROUNDING.
31852 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31853 ERANGE for exact underflow cases.
31854 * stdlib/Makefile (tests): Add tst-tininess and
31855 tst-strtod-underflow.
31856 ($(objpfx)tst-tininess): Use $(link-libm).
31857 ($(objpfx)tst-strtod-underflow): Likewise.
31858
e7170363
AJ
318592012-10-30 Andreas Jaeger <aj@suse.de>
31860
e5088dc6
AJ
31861 [BZ#14767]
31862 * elf/Makefile (tests): Remove conditional for have-initfini-array
31863 since this is now always required and the variable does not exist
31864 anymore.
31865 (tests-static): Likewise.
31866 (modules-names): Likewise.
31867
e7170363 31868 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31869
31870 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31871 merged with constructor/destructor.
31872 (init_array): Likewise.
31873 * elf/tst-array2dep.c (fini_array): Likewise.
31874 (init_array): Likewise.
31875
60457d8a
MF
318762012-10-29 Mike Frysinger <vapier@gentoo.org>
31877
31878 * manual/message.texi: Delete @cartouche tags.
31879
8bece752
PT
318802012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31881
94ce799f
PT
31882 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31883 EOPNOTSUPP.
31884 * sysdeps/mach/hurd/fsync.c: Likewise.
31885
8bece752
PT
31886 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31887 [_POSIX_REALTIME_SIGNALS]: Change condition to
31888 [_POSIX_REALTIME_SIGNALS > 0].
31889
86ebe6b1
AJ
318902012-10-27 Andreas Jaeger <aj@suse.de>
31891
31892 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31893 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31895 [__WORDSIZE != 64]: Likewise.
31896
54399c08
L
318972012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31898
31899 * iconvdata/tst-table.sh: Remove ${SHELL}.
31900 * iconvdata/tst-tables.sh: Likewise.
31901
e2211bed
DM
319022012-10-25 David S. Miller <davem@davemloft.net>
31903
31904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31905 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31906 of strtoull.
31907
f303f97c
DM
31908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31909 ifunc-impl-list.c
31910 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31911 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31912 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31913 file.
31914
1e9d84cd
RM
319152012-10-25 Roland McGrath <roland@hack.frob.com>
31916
31917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31918 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31919 __getdirentries.
31920
df381762
JM
319212012-10-25 Joseph Myers <joseph@codesourcery.com>
31922 Jim Blandy <jimb@codesourcery.com>
31923
31924 * scripts/cross-test-ssh.sh: New file.
31925 * manual/install.texi (Configuring and compiling): Document use of
31926 cross-test-ssh.sh.
31927 * INSTALL: Regenerated.
31928
bff64913
PT
319292012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31930
31931 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31932 EOPNOTSUPP.
31933
25fe8932
JM
319342012-10-25 Joseph Myers <joseph@codesourcery.com>
31935
31936 * Makeconfig (run-program-prefix): Fix comment.
31937
cc1290d0
JM
319382012-10-24 Joseph Myers <joseph@codesourcery.com>
31939 Jim Blandy <jimb@codesourcery.com>
31940
31941 * Makeconfig (test-wrapper): New variable,
31942 (test-wrapper-env): Likewise.
31943 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31944 (run-built-tests): Define to yes.
31945 (run-program-prefix): Use $(test-wrapper).
31946 (built-program-cmd): Likewise.
31947 * Rules (make-test-out): Use $(test-wrapper-env) and
31948 $(host-built-program-cmd).
31949 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31950 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31951 tst-pathopt.sh.
31952 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31953 $(test-wrapper-env) to tst-rtld-load-self.sh.
31954 ($(objpfx)order2.out): Use $(test-wrapper).
31955 ($(objpfx)tst-initorder.out): Likewise.
31956 ($(objpfx)tst-initorder2.out): Likewise.
31957 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31958 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31959 (test_wrapper_env): New variable. Use it to run ld.so.
31960 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31961 Use it to run ld.so.
31962 (test_wrapper_env): Likewise.
31963 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31964 $(test-wrapper) to run-iconv-test.sh.
31965 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31966 (ICONV): Use $test_wrapper.
31967 * posix/Makefile ($(objpfx)globtest.out): Pass
31968 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31969 globtest.sh, not $(run-program-prefix).
31970 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31971 (test_wrapper): Likewise.
31972 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31973 set together with run_via_rtld_prefix.
31974 (run_program_prefix): Define in terms of test_wrapper and
31975 run_via_rtld_prefix.
31976
6e6249d0
RM
319772012-10-24 Roland McGrath <roland@hack.frob.com>
31978
31979 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31980 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31981 Targets removed.
31982
31983 [BZ #14743]
31984 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31985 Declare __clock_getres, __clock_gettime, __clock_settime,
31986 __clock_nanosleep, and __clock_getcpuclockid.
31987 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31988 Remove librt_hidden_def (clock_gettime).
31989 * sysdeps/unix/clock_gettime.c: Likewise.
31990 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31991 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31992 * rt/clock_getres.c: Define __clock_getres as an alias.
31993 * sysdeps/posix/clock_getres.c: Likewise.
31994 * rt/clock_settime.c: Define __clock_settime as an alias.
31995 * sysdeps/unix/clock_settime.c: Likewise.
31996 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31997 * sysdeps/unix/clock_nanosleep.c: Likewise.
31998 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31999 * rt/clock-compat.c: New file.
32000 * rt/Makefile (librt-routines): Add clock-compat and move
32001 $(clock-routines) to ...
32002 (routines): ... here, new variable.
32003 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32004 Don't add get_clockfreq here.
32005 * rt/Versions (libc: GLIBC_2.17): New version set.
32006 Add clock_* symbols here.
32007 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32009 (GLIBC_2.17): Add clock_* symbols.
32010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32014 Likewise.
32015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32016 Likewise.
32017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32021 * NEWS: Mention the move.
32022
32023 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32024 Use __open, __read, __close rather than their public counterparts.
32025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32026 (__get_clockfreq_via_cpuinfo): Likewise.
32027 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32028 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32029
32030 * config.h.in (HAVE_IFUNC): New #undef.
32031 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32032 was successful.
32033 * configure: Regenerated.
32034
0cae3f4b
MF
320352012-10-24 Mike Frysinger <vapier@gentoo.org>
32036
32037 * configure.in: Move READELF check to start of file.
32038 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32039 libc_cv_asm_gnu_indirect_function in the process.
32040 * configure: Regenerated.
32041
8175a253
MF
320422012-10-24 Mike Frysinger <vapier@gentoo.org>
32043
32044 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32045 send the output to /dev/null.
32046 (libc_cv_cc_with_libunwind): Likewise.
32047 (libc_cv_as_noexecstack): Likewise.
32048 * configure: Regenerate.
32049
0708a7d1
JM
320502012-10-24 Joseph Myers <joseph@codesourcery.com>
32051
10b40d85
JM
32052 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32053
0708a7d1
JM
32054 * posix/globtest.sh (TMPDIR): Do not set.
32055 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32056 (testout): Likewise.
32057
9fddec1a
AJ
320582012-10-24 Andreas Jaeger <aj@suse.de>
32059
3a8db22f
AJ
32060 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32061 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32062 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32063 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32064 posix_fadvise64, posix_fallocate64.
32065
9fddec1a
AJ
32066 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32067 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32068 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32069 Likewise.
32070 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32071 Likewise.
32072 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32073
32074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32075 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32076 <bits/fcntl-linux.h>.
32077 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32078
32079 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32080 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32081 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32082 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32083 [__WORDSIZE != 64]: Likewise.
32084
ebfd1bbd
JM
320852012-10-23 Joseph Myers <joseph@codesourcery.com>
32086
03ac099f
JM
32087 * Makeconfig (run-built-tests): New variable.
32088 * Rules [$(cross-compiling) = yes]: Change condition to
32089 [$(run-built-tests) = no].
32090 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32091 to [$(run-built-tests) = yes].
32092 * elf/Makefile [$(cross-compiling) = no]: Likewise
32093 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32094 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32095 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32096 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32097 * io/Makefile [$(cross-compiling) = no]: Likewise.
32098 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32099 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32100 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32101 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32102 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32103 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32104 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32105 * string/Makefile [$(cross-compiling) = no]: Likewise.
32106
ebfd1bbd
JM
32107 * posix/Makefile ($(objpfx)globtest.out): Pass
32108 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32109 $(rtld-installed-name).
32110 * posix/globtest.sh (elf_objpfx): Remove variable.
32111 (rtld_installed_name): Likewise.
32112 (library_path): Likewise.
32113 (run_program_prefix): New variable. Use for running globtest
32114 binary.
32115
166bca24
JB
321162012-10-23 Jim Blandy <jimb@codesourcery.com>
32117 Joseph Myers <joseph@codesourcery.com>
32118
32119 * Makeconfig (host-built-program-cmd): New variable.
32120 * elf/Makefile (tst-stackguard1-ARGS): Use
32121 $(host-built-program-cmd).
32122 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32123 (tst-spawn-ARGS): Likewise.
32124 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32125
88866099
JM
321262012-10-23 Joseph Myers <joseph@codesourcery.com>
32127 Jim Blandy <jimb@codesourcery.com>
32128
32129 * Makeconfig (run-via-rtld-prefix): New variable.
32130 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32131 (built-program-cmd): Likewise.
32132
b4b4c296
AJ
321332012-10-22 Andreas Jaeger <aj@suse.de>
32134
32135 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32136 __O_RSYNC if it exists, otherwise to O_SYNC.
32137
6fb54a22
JB
321382012-10-22 Jim Blandy <jimb@codesourcery.com>
32139 Joseph Myers <joseph@codesourcery.com>
32140
32141 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32142 /dev/null.
32143 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32144 from /dev/null
32145 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32146 /dev/null.
32147
481b90b9
AJ
321482012-10-22 Andreas Jaeger <aj@suse.de>
32149
2a0e2669
AJ
32150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32151 Define always.
32152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32153
76e38f9a
AJ
32154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32155 bits/fcntl-linux.h.
32156
7cd37b43
AJ
32157 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32158 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32159
481b90b9
AJ
32160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32161 to __O_LARGEFILE.
32162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32163 to __O_LARGEFILE.
32164
aba75984
JB
321652012-10-21 Jim Blandy <jimb@codesourcery.com>
32166 Joseph Myers <joseph@codesourcery.com>
32167
32168 * config.make.in (NM): New variable.
32169
88d4247f
AJ
321702012-10-21 Andreas Jaeger <aj@suse.de>
32171
32172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32173 definitions and declarations that are provided by
32174 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32175
f2eed205
L
321762012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32177
32178 [BZ #14683]
32179 * elf/Makefile (tests-static): Add tst-leaks1-static.
32180 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32181 ($(objpfx)tst-leaks1-static): New rule.
32182 ($(objpfx)tst-leaks1-static-mem): Likewise.
32183 (tst-leaks1-static-ENV): New macro.
32184 * elf/dl-open.c (dl_open_worker): Check the main application
32185 only if SHARED is defined.
32186 * elf/tst-leaks1-static.c: New file.
32187
335e6931
AJ
321882012-10-20 Andreas Jaeger <aj@suse.de>
32189
32190 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32191 generic values for Linux.
32192 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32193 and declarations that are provided by <bits/fcntl-linux.h> and
32194 include <bits/fcntl-linux.h>.
32195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32197
ac5c94d3
RM
321982012-10-20 Roland McGrath <roland@hack.frob.com>
32199
32200 * io/fcntl.h: Move include of <bits/types.h> to the top and
32201 include it unconditionally.
32202
de54b33a
L
322032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32204
228cfb01
L
32205 * wcsmbs/Makefile (tests-ifunc): New variable.
32206 (tests): Add $(tests-ifunc).
32207 * wcsmbs/test-wcschr-ifunc.c: New file.
32208 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32209 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32210 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32211 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32212 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32213
69f07e5f
L
32214 * string/Makefile (tests-ifunc): New variable.
32215 (tests): Add $(tests-ifunc).
32216 * string/test-memccpy.c (TEST_NAME): New macro.
32217 * string/test-memchr.c (TEST_NAME): Likewise.
32218 * string/test-memcmp.c (TEST_NAME): Likewise.
32219 * string/test-memcpy.c (TEST_NAME): Likewise.
32220 * string/test-memmem.c (TEST_NAME): Likewise.
32221 * string/test-memmove.c (TEST_NAME): Likewise.
32222 * string/test-memset.c (TEST_NAME): Likewise.
32223 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32224 * string/test-stpcpy.c (TEST_NAME): Likewise.
32225 * string/test-stpncpy.c (TEST_NAME): Likewise.
32226 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32227 * string/test-strcasestr.c (TEST_NAME): Likewise.
32228 * string/test-strcat.c (TEST_NAME): Likewise.
32229 * string/test-strchr.c (TEST_NAME): Likewise.
32230 * string/test-strcmp.c(TEST_NAME): Likewise.
32231 * string/test-strcpy.c (TEST_NAME): Likewise.
32232 * string/test-strcspn.c (TEST_NAME): Likewise.
32233 * string/test-strlen.c (TEST_NAME): Likewise.
32234 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32235 * string/test-strncmp.c (TEST_NAME): Likewise.
32236 * string/test-strncpy.c (TEST_NAME): Likewise.
32237 * string/test-strnlen.c (TEST_NAME): Likewise.
32238 * string/test-strpbrk.c (TEST_NAME): Likewise.
32239 * string/test-strrchr.c (TEST_NAME): Likewise.
32240 * string/test-strspn.c (TEST_NAME): Likewise.
32241 * string/test-strstr.c (TEST_NAME): Likewise.
32242 * string/test-bcopy-ifunc.c: New file.
32243 * string/test-bzero-ifunc.c: Likewise.
32244 * string/test-memccpy-ifunc.c: Likewise.
32245 * string/test-memchr-ifunc.c: Likewise.
32246 * string/test-memcmp-ifunc.c: Likewise.
32247 * string/test-memcpy-ifunc.c: Likewise.
32248 * string/test-memmem-ifunc.c: Likewise.
32249 * string/test-memmove-ifunc.c: Likewise.
32250 * string/test-mempcpy-ifunc.c: Likewise.
32251 * string/test-memset-ifunc.c: Likewise.
32252 * string/test-rawmemchr-ifunc.c: Likewise.
32253 * string/test-stpcpy-ifunc.c: Likewise.
32254 * string/test-stpncpy-ifunc.c: Likewise.
32255 * string/test-strcasecmp-ifunc.c: Likewise.
32256 * string/test-strcasestr-ifunc.c: Likewise.
32257 * string/test-strcat-ifunc.c: Likewise.
32258 * string/test-strchr-ifunc.c: Likewise.
32259 * string/test-strchrnul-ifunc.c: Likewise.
32260 * string/test-strcmp-ifunc.c: Likewise.
32261 * string/test-strcpy-ifunc.c: Likewise.
32262 * string/test-strcspn-ifunc.c: Likewise.
32263 * string/test-strlen-ifunc.c: Likewise.
32264 * string/test-strncasecmp-ifunc.c: Likewise.
32265 * string/test-strncat-ifunc.c: Likewise.
32266 * string/test-strncmp-ifunc.c: Likewise.
32267 * string/test-strncpy-ifunc.c: Likewise.
32268 * string/test-strnlen-ifunc.c: Likewise.
32269 * string/test-strpbrk-ifunc.c: Likewise.
32270 * string/test-strrchr-ifunc.c: Likewise.
32271 * string/test-strspn-ifunc.c: Likewise.
32272 * string/test-strstr-ifunc.c: Likewise.
32273
de54b33a
L
32274 * debug/Makefile (tests-ifunc): New variable.
32275 (tests): Add $(tests-ifunc).
32276 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32277 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32278 * debug/test-stpcpy_chk-ifunc.c: New file.
32279 * debug/test-strcpy_chk-ifunc.c: Likewise.
32280
88481c16
SP
322812012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32282
32283 [BZ #13601]
32284 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32285 header is not read in.
32286
135948bd
JM
322872012-10-19 Joseph Myers <joseph@codesourcery.com>
32288
89f1c388
JM
32289 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32290 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32291 directly. Pass built executable to script as
32292 $(built-program-cmd).
32293 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32294 $testprogram without using LD_LIBRARY_PATH and $ldso.
32295
e40a0d21
JM
32296 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32297 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32298 $(rtld-installed-name).
32299 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32300 (rtld_installed_name): Likewise.
32301 (library_path): Likewise.
32302 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32303 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32304 $(run-program-prefix) to tst-tables.sh.
32305 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32306 it to run tst-table-from and tst-table-to.
32307 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32308 Pass it to tst-table.sh.
32309 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32310 $(run-program-prefix) to tst-gettext.sh.
32311 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32312 tst-translit.sh.
32313 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32314 tst-gettext2.sh.
32315 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32316 to run tst-gettext.
32317 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32318 to run tst-gettext2.
32319 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32320 to run tst-translit.
32321 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32322 $(run-program-prefix) to tst-mtrace.sh.
32323 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32324 to run tst-mtrace.
32325 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32326 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32327 $(rtld-installed-name).
32328 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32329 (rtld_installed_name): Likewise.
32330 (run_program_prefix): New variable. Use it to run wordexp-test.
32331
728e272a
JM
32332 * Makeconfig (ARCH): Remove all definitions.
32333 (machine): Likewise.
32334 [ARCH]: Remove conditional code.
32335 [!objdir]: Give error.
32336 [!objdir] (objpfx): Remove.
32337 [!objdir] (common-objpfx): Likewise.
32338 [!objdir] (common-objdir): Likewise.
32339 * configure.in (config_makefile): Remove. Hardcode Makefile in
32340 AC_CONFIG_FILES call.
32341 * configure: Regenerated.
32342
d528cdcf
JM
32343 [BZ #13888]
32344 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32345 or TMPDIR.
32346 (testout): Likewise.
32347
135948bd
JM
32348 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32349 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32350 $(rtld-installed-name).
32351 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32352 (rtld_installed_name): Likwise.
32353 (runit): Remove function.
32354 (run_getconf): New variable, Use it for running getconf binary.
32355
38c78296
L
323562012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32357
32358 [BZ #14716]
32359 * string/test-memmem.c (check_result): New function.
32360 (do_one_test): Use it.
32361 (check1): New function.
32362 (test_main): Use it.
32363
d077f65f
MT
323642012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32365
32366 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32367
ced52c71
JM
323682012-10-18 Joseph Myers <joseph@codesourcery.com>
32369
32370 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32371 (_G_LSEEK64): Likewise.
32372 (_G_MMAP64): Likewise.
32373 (_G_FSTAT64): Likewise.
32374 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32375 (_G_LSEEK64): Likewise.
32376 (_G_MMAP64): Likewise.
32377 (_G_FSTAT64): Likewise.
32378 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32379 unconditional. Call __mmap64 directly.
32380 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32381 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32382 __lseek64 directly.
32383 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32384 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32385 __mmap64 directly.
32386 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32387 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32388 __lseek64 directly.
32389 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32390 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32391 __lseek64 directly.
32392 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32393 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32394 __lseek64 directly.
32395 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32396 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32397 __fxstat64 directly.
32398 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32399 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32400 unconditional.
32401 (freopen64) [!_G_OPEN64]: Remove conditional code.
32402 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32403 unconditional.
32404 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32405 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32406 unconditional.
32407 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32408 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32409 unconditional.
32410 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32411 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32412 unconditional.
32413 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32414 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32415 unconditional.
32416 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32417 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32418 unconditional.
32419 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32420 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32421 unconditional.
32422 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32423
b741de23
SP
324242012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32425
32426 [BZ #12140]
32427 * manual/memory.texi (Malloc Tunable Parameters): Add note
32428 about free list pointers overwriting some perturb bytes.
32429 Wording suggested by Roland McGrath.
32430
f9b9d9c9
JM
324312012-10-17 Joseph Myers <joseph@codesourcery.com>
32432
32433 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32434 (lgamma_test): Likewise.
32435 (tgamma_test): Likewise.
32436
172a631a
FW
324372012-10-16 Florian Weimer <fweimer@redhat.com>
32438
32439 [BZ #14700]
32440 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32441 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32442
e9f37252
MK
324432012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32444
32445 * NEWS: Mention BZ #14716.
32446 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32447 when removing AVAILABLE1_USES_J macro.
32448
d394eb74
L
324492012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32450
32451 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32452 (__bswap_64): __uint64_t for unsigned 64-bit int.
32453
ca38dc17
AS
324542012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32455
32456 * include/string.h (memmem): Declare libc hidden alias.
32457 * string/memmem.c (memmem): Define libc hidden alias.
32458 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32459 __read, __close instead of open, read, close.
32460
9a387d1f
L
324612012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32462
ac49ecaf
L
32463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32464 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32465 global and hidden.
32466 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32467 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32468 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32469 Likewise.
32470 (__rawmemchr_sse2): Likewise.
32471 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32472 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32473 (__strchr_sse2): Likewise.
32474 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32475 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32476 (__strcasecmp_sse2): Likewise.
32477 (__strncasecmp_sse2): Likewise.
32478 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32479 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32480 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32481 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32482 (__strrchr_sse2): Likewise.
32483 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32484 ifunc-impl-list.c.
32485 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32486 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32487 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32488 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32489 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32490 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32491 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32492 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32493 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32494 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32495 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32496 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32497 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32498 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32499 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32500 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32501 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32502 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32503 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32504 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32505 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32506 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32507 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32508 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32509 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32510 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32511 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32512 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32513 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32514 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32515
b090e8ea
L
32516 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32517 global and hidden.
32518 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32519 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32520 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32521 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32522 Likewise.
32523 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32524 Likewise.
32525 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32526 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32527 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32528 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32529 ifunc-impl-list.c.
32530 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32533 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32534 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32535 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32536 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32537 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32538 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32539 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32540 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32541 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32542 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32543 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32544 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32545 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32546 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32547 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32548 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32549 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32550 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32551 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32552 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32553 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32554 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32555 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32556 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32557 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32558 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32559 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32560 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32561 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32562 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32563 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32564 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32565 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32566 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32567 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32568 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32569 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32570 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32571
11dd4af6
L
32572 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32573 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32574 * include/ifunc-impl-list.h: New file.
32575 * misc/ifunc-impl-list.c: Likewise.
32576 * misc/Makefile (routines): Add ifunc-impl-list.
32577 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32578 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32579 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32580 TEST_NAME]: New variables.
11dd4af6
L
32581 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32582 are defined.
32583 (test_init): Call __libc_ifunc_impl_list to initialize
32584 func_list if TEST_IFUNC and TEST_NAME are defined.
32585
9a387d1f
L
32586 * string/Makefile (strop-tests): Add bcopy and bzero.
32587 * string/test-bcopy.c: New file.
32588 * string/test-bzero.c: Likewise.
32589 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32590 defined.
32591 * string/test-memset.c: Support bzero test if TEST_BZERO is
32592 defined.
32593 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32594 __libc_memmove.
32595 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32596 __libc_memset.
32597 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32598 of memset.
32599
472371b9
JM
326002012-10-10 Joseph Myers <joseph@codesourcery.com>
32601
1e4a9536
JM
32602 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32603 * configure: Regenerated.
32604
d173d12e
JM
32605 * Makeconfig (+link-static-before-libc): Don't include
32606 $(link-static-libc).
32607
472371b9
JM
32608 * libio/libio.h (_IO_pos_t): Remove.
32609
89a3ad0b
AO
326102012-10-10 Alexandre Oliva <aoliva@redhat.com>
32611
32612 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32613 McGrath.
32614
e7451425
AO
326152012-10-10 Alexandre Oliva <aoliva@redhat.com>
32616
32617 * crypt/crypt-entry.c: Include fips-private.h.
32618 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32619 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32620 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32621 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32622
4ba74a35
AO
326232012-10-10 Alexandre Oliva <aoliva@redhat.com>
32624
32625 * crypt/crypt-private.h: Include stdbool.h.
32626 (_ufc_setup_salt_r): Return bool.
32627 * crypt/crypt-entry.c: Include errno.h.
32628 (__crypt_r): Return NULL with EINVAL for bad salt.
32629 * crypt/crypt_util.c (bad_for_salt): New.
32630 (_ufc_setup_salt_r): Check that salt is long enough and within
32631 the specified alphabet.
32632 * crypt/badsalttest.c: New file.
32633 * crypt/Makefile (tests): Add it.
32634 ($(objpfx)badsalttest): New.
32635
f96f1242
MK
326362012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32637
32638 * NEWS: Add entry for BZ #14602.
32639
0e8e0c1c
JM
326402012-10-09 Joseph Myers <joseph@codesourcery.com>
32641
32642 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32643 type-generic.
32644 * math/libm-test.inc: Update comment listing what functions and
32645 macros are tested.
32646 (isgreater_test): New function.
32647 (isgreaterequal_test): Likewise.
32648 (isless_test): Likewise.
32649 (islessequal_test): Likewise.
32650 (islessgreater_test): Likewise.
32651 (isunordered_test): Likewise.
32652 (main): Call the new functions.
32653
273edc5e
RM
326542012-10-09 Roland McGrath <roland@hack.frob.com>
32655
b8493de0
RM
32656 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32657 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32658 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32659 * sysdeps/i386/configure: Regenerated.
32660 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32661 * sysdeps/mach/configure: Regenerated.
32662 * sysdeps/mach/hurd/configure: Regenerated.
32663 * sysdeps/powerpc/configure: Regenerated.
32664 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32665 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32666 * sysdeps/s390/s390-32/configure: Regenerated.
32667 * sysdeps/s390/s390-64/configure: Regenerated.
32668 * sysdeps/sh/configure: Regenerated.
32669 * sysdeps/sparc/configure: Regenerated.
32670 * sysdeps/unix/sysv/linux/configure: Regenerated.
32671 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32672 * sysdeps/x86_64/configure: Regenerated.
32673
273edc5e
RM
32674 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32675 defined. Don't check if MAP is NULL.
32676
c8450f70
JM
326772012-10-09 Joseph Myers <joseph@codesourcery.com>
32678
32679 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32680 (_G_stat64): Likewise.
32681 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32682 (_G_stat64): Likewise.
32683 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32684 instead of struct _G_stat64.
32685 * libio/fileops.c (mmap_remap_check): Likewise.
32686 (decide_maybe_mmap): Likewise.
32687 (_IO_new_file_seekoff): Likewise.
32688 (_IO_file_stat): Likewise.
32689 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32690 _G_off64_t.
32691 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32692 instead of struct _G_stat64.
32693 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32694
57e605ba
MK
326952012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32696
32697 [BZ #14602]
32698 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32699 Replace with ...
32700 (CHECK_EOL): New macro.
32701 (two_way_short_needle): Check beginning of haystack for EOL. Use
32702 CHECK_EOL.
32703 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32704 Replace with CHECK_EOL.
32705 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32706 Replace with CHECK_EOL.
32707
ef1bb361
JM
327082012-10-08 Joseph Myers <joseph@codesourcery.com>
32709
32710 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32711 type-generic.
32712 * math/libm-test.inc: Update comment listing what functions and
32713 macros are tested.
32714 (finite_test): New function.
32715 (isinf_test): Likewise.
32716 (isnan_test): Likewise.
32717 (fpclassify_test): Test subnormal input.
32718 (isfinite_test): Likewise.
32719 (isnormal_test): Likewise.
32720 (main): Call the new functions.
32721
55f11534
JN
327222012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32723
32724 [BZ #14660]
32725 * Makerules (%.dynsym): Force C locale when running
32726 $(OBJDUMP) --dynamic-syms.
32727
1ab29350
AS
327282012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32729
32730 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32731 <stdint.h>.
32732
f1ecb7ef
DM
327332012-10-06 David S. Miller <davem@davemloft.net>
32734
32735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32736 upper 32-bits of the length value in %o2 since we use branch-on-register
32737 tests which consider the entire 64-bit register.
32738
5d41d91a
L
327392012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32740
32741 * string/test-strstr.c (check2): Add a test for page boundary.
32742
3baddb72
DM
327432012-10-05 David S. Miller <davem@davemloft.net>
32744
32745 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32746 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32747 file.
32748 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32749 sysdep_routines.
32750 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32751 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32752 and bzero when HWCAP_SPARC_CRYPTO is present.
32753
9cee5585
L
327542012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32755
d7e0dab9
L
32756 [BZ #14602]
32757 * string/test-strstr.c (check2): New function.
32758 (test_main): Call check2.
32759
03759f47
L
32760 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32761 and bug-strchr1.
32762 * string/bug-strcasestr1.c (do_test): Moved to ...
32763 * string/test-strcasestr.c (check1): Here. New function.
32764 (do_one_test): Break out result checking code into ...
32765 (check_result): This. New function.
32766 (do_one_test): Call check_result.
32767 (test_main): Call check1.
32768 * string/bug-strchr1.c (do_test): Moved to ...
32769 * string/test-strchr.c (check1): Here. New function.
32770 (do_one_test): Break out result checking code into ...
32771 (check_result): This. New function.
32772 (do_one_test): Call check_result.
32773 (test_main): Call check1.
32774 * string/bug-strstr1.c (main): Moved to ...
046f153e 32775 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32776 (do_one_test): Break out result checking code into ...
32777 (check_result): This. New function.
32778 (do_one_test): Call check_result.
32779 (test_main): Call check1.
32780 * string/bug-strcasestr1.c: Removed.
32781 * string/bug-strchr1.c: Likewise.
32782 * string/bug-strstr1.c: Likewise.
32783
53cea63e
L
32784 * elf/Makefile (dl-routines): Add hwcaps.
32785 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32786 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32787 (_dl_important_hwcaps): Moved to ...
32788 * elf/dl-hwcaps.c: Here. New file.
32789 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32790
9cee5585 32791 [BZ #14557]
bb859b06
L
32792 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32793 if IS_IN_rtld isn't defined.
32794
9cee5585
L
32795 * elf/dl-support.c (_dl_sysinfo_map): New.
32796 Include "get-dynamic-info.h" and "setup-vdso.h".
32797 (_dl_non_dynamic_init): Call setup_vdso.
32798 * elf/dynamic-link.h: Don't include <assert.h>.
32799 (elf_get_dynamic_info): Moved to ...
32800 * elf/get-dynamic-info.h: Here. New file.
32801 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32802 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32803 * elf/setup-vdso.h: Here. New file.
32804 * elf/rtld.c: Include "setup-vdso.h".
32805 (dl_main): Call setup_vdso.
32806
23c31b76
JM
328072012-10-05 Joseph Myers <joseph@codesourcery.com>
32808
28234b07
JM
32809 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32810 creal in comment listing functions tested. List finite, isinf,
32811 isnan, isless, islessequal, isgreater, isgreaterequal,
32812 islessgreater, isunordered, lgamma_r and pow10 as functions and
32813 macros not tested. Mention which functions not tested are aliases
32814 for other functions. Fix typo. Note that signs of NaNs are not
32815 tested.
32816
23c31b76
JM
32817 * scripts/config.guess: Update from config.git.
32818 * scripts/config.sub: Likewise.
32819
9043e228
RM
328202012-10-04 Roland McGrath <roland@hack.frob.com>
32821
32822 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32823 * misc/madvise.c (madvise): Renamed to __madvise.
32824 Make madvise a weak alias.
32825 * include/sys/mman.h: Declare __madvise.
32826 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32827 * sysdeps/unix/syscalls.list
32828 (madvise): Make __madvise the strong name, and madvise a weak alias.
32829 * sysdeps/unix/sysv/linux/syscalls.list
32830 (madvise, mmap): Remove redundant entries.
32831 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32832 * malloc/malloc.c (mtrim): Likewise.
32833 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32834
f57f8055
RM
328352012-10-03 Roland McGrath <roland@hack.frob.com>
32836
32837 * sysdeps/mach/hurd/dl-cache.c: File removed.
32838 * config.h.in (USE_LDCONFIG): New #undef.
32839 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32840 * configure: Regenerated.
32841 * elf/Makefile (dl-routines): Add dl-cache only under
32842 [$(use-ldconfig) = yes].
32843 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32844 cache on [USE_LDCONFIG].
32845 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32846 [USE_LDCONFIG].
32847 * elf/rtld.c (dl_main): Likewise.
32848
5bb0c10a
PT
328492012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32850
32851 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32852 _SC_LEVEL4_CACHE_LINESIZE.
32853
010188c6
RM
328542012-10-03 Roland McGrath <roland@hack.frob.com>
32855
32856 * sysdeps/unix/bsd/confstr.h: File removed.
32857
b6c5ec07
AO
328582012-10-02 Alexandre Oliva <aoliva@redhat.com>
32859
32860 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32861 sys/sdt-config.h.
32862
408223d4
RM
328632012-10-02 Roland McGrath <roland@hack.frob.com>
32864
32865 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32866 Make 'mapoff' field ElfW(Off) rather than off_t.
32867
bb9510dc
DL
328682012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32869
fc997c6e
DL
32870 * nscd/Makefile: Remove nscd-cflags and all its users.
32871 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32872 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32873
bb9510dc
DL
32874 [BZ #10631]
32875 * malloc.c (malloc_printerr): Clarify error message.
32876
05699367
L
328772012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32878
32879 [BZ #14648]
32880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32881 Set bit_FMA_Usable if FMA is supported.
32882 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32883 macro.
32884 (bit_FMA4_Usable): Updated.
32885 (index_FMA_Usable): New macro.
32886 (CPUID_FMA): Likewise
32887 (HAS_FMA): Defined with bit_FMA_Usable.
32888
51367701
RM
328892012-10-01 Roland McGrath <roland@hack.frob.com>
32890
32891 * bits/types.h (__swblk_t): Type removed.
32892 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32893 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32894 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32895 (__SWBLK_T_TYPE): Likewise.
32896 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32897 (__SWBLK_T_TYPE): Likewise.
32898 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32899 (__SWBLK_T_TYPE): Likewise.
32900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32901 (__SWBLK_T_TYPE): Likewise.
32902
4d57bf63 329032012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32904 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32905
32906 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32907 (xdr_mapname): Use YPMAXMAP as maxsize.
32908 (xdr_peername): Use YPMAXPEER as maxsize.
32909 (xdr_keydat): Use YPAXRECORD as maxsize.
32910 (xdr_valdat): Use YPMAXRECORD as maxsize.
32911
93c65d43
RM
329122012-10-01 Roland McGrath <roland@hack.frob.com>
32913
497a03d6
RM
32914 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32915
93c65d43
RM
32916 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32917 * csu/init-first.c: ... here.
32918 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32919 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32920 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32921 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32922 * sysdeps/i386/init-first.c: File removed.
32923 * sysdeps/sh/init-first.c: File removed.
32924
bec749fd
JM
329252012-10-01 Joseph Myers <joseph@codesourcery.com>
32926
32927 [BZ #14645]
32928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32929 if x * y might underflow to zero and z is zero.
32930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32932 * math/libm-test.inc (min_subnorm_value): New variable.
32933 (fma_test): Add more tests.
32934 (fma_test_towardzero): Likewise.
32935 (fma_test_downward): Likewise
32936 (fma_test_upward): Likewise.
32937 (initialize): Set min_subnorm_value.
32938
8ec5b013
JM
329392012-09-29 Joseph Myers <joseph@codesourcery.com>
32940
32941 [BZ #14638]
32942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32943 0 + 0.
32944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32945 mode for addition resulting in exact zero.
32946 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32948 exact 0 + 0.
32949 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32950 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32951 * math/libm-test.inc (fma_test): Add more tests.
32952 (fma_test_towardzero): New function.
32953 (fma_test_downward): Likewise.
32954 (fma_test_upward): Likewise.
32955 (main): Call the new functions.
32956
b1fa802e
DM
329572012-09-28 David S. Miller <davem@davemloft.net>
32958
32959 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32960
d3b9fd9e
RM
329612012-09-28 Roland McGrath <roland@hack.frob.com>
32962
ea4d37b3
RM
32963 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32964 instead of SIGALRM.
32965
ac51c949
RM
32966 * sysdeps/gnu/_G_config.h: Moved to ...
32967 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32968 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32969 * sysdeps/generic/_G_config.h: ... here.
32970
28c195f7
RM
32971 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32972
848917f9
RM
32973 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32974
6bacf05b
RM
32975 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32976 Conditionalize target on [libnss_test1.so-version].
32977
91363dbb
RM
32978 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32979
cc87f7d8
RM
32980 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32981 (elfobjdir): Move out of conditionals.
32982
b1c608fe
RM
32983 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32984 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32985 (__nss_lookup_function): Conditionalize label remove_from_tree on
32986 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32987
1d9a6d96
DM
329882012-09-28 David S. Miller <davem@davemloft.net>
32989
32990 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32991 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32992 file.
32993 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32994 sysdep_routines.
32995 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32997 when HWCAP_SPARC_CRYPTO is present.
32998
72581615
PT
329992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33000
33001 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33002
715a900c
JL
330032012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33004
33005 [BZ #6530]
33006 * stdio-common/vfprintf.c (process_string_arg): Revert
33007 2000-07-22 change.
33008
330092011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33010
33011 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33012 for testcase.
33013 * stdio-common/tst-sprintf.c: Include <locale.h>
33014 (main): Test sprintf's handling of incomplete multibyte
33015 characters.
33016
9bac1d86
L
330172012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33018
33019 * elf/dl-runtime.c (VERSYMIDX): Removed.
33020 * elf/dl-version.c (VERSYMIDX): Likewise.
33021 * elf/do-rel.h (VERSYMIDX): Likewise.
33022 (VALIDX): Likewise.
33023 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33024 * elf/rtld.c (VALIDX): Likewise.
33025 (ADDRIDX): Likewise.
9bac1d86
L
33026 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33027 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33028 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
33029 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33030 (VALIDX): Likewise.
33031 (ADDRIDX): Likewise.
9bac1d86 33032
b31606c0
PT
330332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33034
33035 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33036
11541177
JL
330372012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33038
33039 [BZ #11438]
33040 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33041 to global scope.
33042 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33043 addresses are in the same scope as 192.0.2/24.
33044 * posix/gai.conf: Document new scope table defaults.
33045
adb26fae
SP
330462012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33047
33048 [BZ #5298]
33049 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33050 for ftell. Compute offsets from write pointers instead.
33051 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33052
4573c6b0
SP
330532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33054
33055 [BZ #14543]
33056 * libio/Makefile (tests): New test case tst-fseek.
33057 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33058 combination works in wide mode.
33059 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33060 state when the external buffer state changes.
33061
aa9bbfe6
DM
330622012-09-27 David S. Miller <davem@davemloft.net>
33063
33064 [BZ #14376]
33065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33066 pass reloc->r_addend in as the 'high' argument to
33067 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33068
784421e7
DM
33069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33070
c39bc8b8
PT
330712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33072
33073 * rt/tst-aio2.c: Include <pthread.h>.
33074 * rt/tst-aio3.c: Likewise.
33075
1ccc2399
SE
330762012-09-27 Steve Ellcey <sellcey@mips.com>
33077
33078 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33079
31ed4153
L
330802012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33081
25f5f885
L
33082 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33083 contents on [SHARED].
31ed4153 33084
b7bfe116
MP
330852012-09-26 Marek Polacek <polacek@redhat.com>
33086
33087 [BZ #14530]
33088 [BZ #13741]
33089 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33090 for C++ and GCC <4.3 as well as for non GCC compilers.
33091
43c4edba
MT
330922012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33093
33094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33095
6a1bf82f
RM
330962012-09-25 Roland McGrath <roland@hack.frob.com>
33097
33098 * Makefile.in (all, install): Declare with .PHONY.
33099 Reported by Michael Hope <michael.hope@linaro.org>.
33100
8ad11b9a
TMQMF
331012012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33102
33103 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33104 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33105 system header.
33106 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33107 Likewise.
33108 (sydep_routines): Add the new and the internal functions.
33109 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33110 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33112 (GLIBC_2.17): Add the new function.
33113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33114 (GLIBC_2.17): Likewise.
33115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33116 (GLIBC_2.17): Likewise.
33117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33118 (GLIBC_2.17): Likewise.
33119 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33120
7e2fca8d
AM
331212012-09-25 Alan Modra <amodra@gmail.com>
33122
33123 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33124 Add release barrier before setting once_control to say
33125 initialisation is done. Add hints on lwarx. Use macro in
33126 place of isync.
33127 (clear_once_control): Add release barrier.
33128
b87c4b24
JM
331292012-09-25 Joseph Myers <joseph@codesourcery.com>
33130
d032e0d2
JM
33131 [BZ #13629]
33132 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33133 specially.
33134 * math/s_clog10.c (__clog10): Likewise.
33135 * math/s_clog10f.c (__clog10f): Likewise.
33136 * math/s_clog10l.c (__clog10l): Likewise.
33137 * math/s_clogf.c (__clogf): Likewise.
33138 * math/s_clogl.c (__clogl): Likewise.
33139 * math/Makefile (libm-calls): Add x2y2m1.
33140 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33141 (__x2y2m1): Likewise.
33142 (__x2y2m1l): Likewise.
33143 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33144 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33145 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33146 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33147 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33148 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33149 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33150 * sysdeps/i386/fpu/libm-test-ulps: Update.
33151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33152
b87c4b24
JM
33153 [BZ #14621]
33154 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33155 int as type of variable DEPTH.
33156 (glob): Use size_t instead of int as type of variables NEWCOUNT
33157 and OLD_PATHC.
33158
6d3bf199
LD
331592012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33160
22bf5c17
LD
33161 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33162 Add s_sincosf-sse2.
33163 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33164 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33165 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33166 macros for using routine as __sincosf_ia32.
33167 Use macro for function declaration and weak_alias.
33168 * sysdeps/i386/fpu/libm-test-ulps: Update.
33169
33170 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33172
33173 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33174 subnormal argument.
33175 * math/s_cexpf.c (__cexpf): Likewise.
33176 * math/s_csinf.c (__csinf): Likewise.
33177 * math/s_csinhf.c (__csinhf): Likewise.
33178 * math/s_ctanf.c (__ctanf): Likewise.
33179 * math/s_ctanhf.c (__ctanhf): Likewise.
33180 * math/s_ccosh.c (__ccoshf): Likewise.
33181 * math/s_cexp.c (__cexpl): Likewise.
33182 * math/s_csin.c (__csin): Likewise.
33183 * math/s_csinh.c (__csinh): Likewise.
33184 * math/s_ctan.c (__ctan): Likewise.
33185 * math/s_ctanh.c (ctanh): Likewise.
33186 * math/s_ccoshl.c (__ccoshl): Likewise.
33187 * math/s_cexpl.c (__cexpl): Likewise.
33188 * math/s_csinl.c (__csinl): Likewise.
33189 * math/s_csinhl.c (__csinhl): Likewise.
33190 * math/s_ctanl.c (__ctanl): Likewise.
33191 * math/s_ctanhl.c (__ctanhl): Likewise.
33192
203e5603
JM
331932012-09-25 Joseph Myers <joseph@codesourcery.com>
33194
33195 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33196 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33197 (_IO_off_t): Define to __off_t, not _G_off_t.
33198 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33199 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33200 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33201 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33202 type of __dummy and __dummy2 fields.
33203 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33204 (_G_ssize_t): Likewise.
33205 (_G_off_t): Likewise.
33206 (_G_pid_t): Likewise.
33207 (_G_uid_t): Likewise.
33208 (_G_wchar_t): Likewise.
33209 (_G_wint_t): Likewise.
33210 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33211 (_G_ssize_t): Likewise.
33212 (_G_off_t): Likewise.
33213 (_G_pid_t): Likewise.
33214 (_G_uid_t): Likewise.
33215 (_G_wchar_t): Likewise.
33216 (_G_wint_t): Likewise.
33217 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33218 (_G_ssize_t): Likewise.
33219 (_G_off_t): Likewise.
33220 (_G_pid_t): Likewise.
33221 (_G_uid_t): Likewise.
33222 (_G_wchar_t): Likewise.
33223 (_G_wint_t): Likewise.
33224
9fab36eb
SP
332252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33226
33227 * malloc/arena.c: Include malloc-sysdep.h.
33228 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33229 is sufficient to shrink the heap or an unmap is needed.
33230 * sysdeps/generic/malloc-sysdep.h: New file. Define
33231 new function check_may_shrink_heap.
33232 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33233 new function check_may_shrink_heap.
33234
2b4f00d1
SP
332352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33236
33237 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33238 comments.
33239
9a9028b1
DL
332402012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33241
57c69bef
DL
33242 * catgets/test-gencat.sh: Add "set -e".
33243 * elf/tst-pathopt.sh: Likewise.
33244 * grp/tst_fgetgrent.sh: Likewise.
33245 * iconvdata/run-iconv-test.sh: Likewise.
33246 * intl/tst-gettext.sh: Likewise.
33247 * intl/tst-gettext2.sh: Likewise.
33248 * intl/tst-gettext4.sh: Likewise.
33249 * intl/tst-gettext6.sh: Likewise.
33250 * intl/tst-translit.sh: Likewise.
33251 * io/ftwtest-sh: Likewise.
33252 * libio/test-freopen.sh: Likewise.
33253 * malloc/tst-mtrace.sh: Likewise.
33254 * posix/globtest.sh: Likewise.
33255 * posix/tst-getconf.sh: Likewise.
33256 * posix/wordexp-tst.sh: Likewise.
33257 * stdio-common/tst-printf.sh: Likewise.
33258 * stdio-common/tst-unbputc.sh: Likewise.
33259 * stdlib/tst-fmtmsg.sh: Likewise.
33260 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33261 * catgets/Makefile: Do not specify -e option when running
33262 testsuite shell scripts.
33263 * elf/Makefile: Likewise.
33264 * grp/Makefile: Likewise.
33265 * iconvdata/Makefile: Likewise.
33266 * intl/Makefile: Likewise.
33267 * io/Makefile: Likewise.
33268 * libio/Makefile: Likewise.
33269 * malloc/Makefile: Likewise.
33270 * posix/Makefile: Likewise.
33271 * stdio-common/Makefile: Likewise.
33272 * stdlib/Makefile: Likewise.
33273 * sysdeps/x86_64/Makefile: Likewise.
33274
9a9028b1
DL
33275 * io/ftwtest-sh: Add copyright header.
33276 * posix/globtest.sh: Likewise.
33277 * posix/tst-getconf.sh: Likewise.
33278 * posix/wordexp-tst.sh: Likewise.
33279 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33280
ced6f16e
L
332812012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33282
94b32c39
L
33283 [BZ #13679]
33284 * Makeconfig (+link): Defined as $(+link-static) if
33285 $(build-shared) isn't yes.
33286 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33287 isn't yes.
33288 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33289
189e935b
L
33290 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33291
ced6f16e
L
33292 [BZ #14562]
33293 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33294 new chunk size with MALLOC_ALIGN_MASK.
33295
a9f8e53a
JM
332962012-09-24 Joseph Myers <joseph@codesourcery.com>
33297
33298 [BZ #5044]
33299 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33300 <rounding-mode.h>.
33301 (__printf_fphex): Determine rounding using get_rounding_mode and
33302 round_away.
33303 * stdio-common/tst-printf-round.c (struct hex_test): New
33304 structure.
33305 (hex_tests): New variable.
33306 (test_hex_in_one_mode): New function.
33307 (do_test): Also run tests for hex float output.
33308
43153109
JM
333092012-09-21 Joseph Myers <joseph@codesourcery.com>
33310
33311 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33312 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33313 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33314 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33315 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33316 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33317 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33318 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33319
8a26625d
JM
333202012-09-20 Joseph Myers <joseph@codesourcery.com>
33321
33322 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33323 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33324 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33325 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33326
f3fd569c
DL
333272012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33328
33329 [BZ #14579]
33330 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33331 mode only.
33332 * elf/tst-rtld-load-self.sh: New test.
33333 * elf/Makefile: Run it.
33334
63bbedd4
JM
333352012-09-18 Joseph Myers <joseph@codesourcery.com>
33336
33337 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33338 (tst-writev-ENV): Remove.
33339 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33340
626f8b6a
CM
333412012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33342
33343 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33344
b7aaa4d6
JM
333452012-09-17 Joseph Myers <joseph@codesourcery.com>
33346
33347 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33348 unconditional.
33349 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33350 Likewise.
33351 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33352 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33353 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33354 Likewise.
33355
65513990
L
333562012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33357
33358 [BZ #14587]
33359 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33360 * config.make.in (have-cpp-asm-debuginfo): Removed.
33361 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33362 * configure: Regenerated.
33363
784761be
JM
333642012-09-14 Joseph Myers <joseph@codesourcery.com>
33365
33366 [BZ #5044]
33367 * stdio-common/printf_fp.c: Include <stdbool.h> and
33368 <rounding-mode.h>.
33369 (___printf_fp): Determine rounding using get_rounding_mode and
33370 round_away.
33371 * stdio-common/tst-printf-round.c: New file.
33372 * stdio-common/Makefile (tests): Add tst-printf-round.
33373 (link-libm): New variable.
33374 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33375
9503345f
L
333762012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33377
33378 [BZ #14576]
33379 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33380 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33381 Likewise.
33382 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33383 Likewise.
33384
ad35fc00
JM
333852012-09-13 Joseph Myers <joseph@codesourcery.com>
33386
33387 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33388 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33389 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33390 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33391
6c9b0f68
JM
333922012-09-12 Joseph Myers <joseph@codesourcery.com>
33393
33394 [BZ #14518]
33395 * include/rounding-mode.h: New file.
33396 * sysdeps/generic/get-rounding-mode.h: Likewise.
33397 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33398 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33399 (MAX_VALUE): New macro.
33400 (MIN_VALUE): Likewise.
33401 (overflow_value): New function.
33402 (underflow_value): Likewise.
33403 (round_and_return): Use overflow_value and underflow_value to
33404 determine return values in overflow and underflow cases. Use
33405 round_away to determine rounding depending on rounding mode.
33406 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33407 determine return values in overflow and underflow cases.
33408 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33409 (struct test_results): New structure.
33410 (struct test): Use struct test_results to store expected results
33411 for all rounding modes.
33412 (TEST): Include expected results for all rounding modes.
33413 (test_in_one_mode): New function.
33414 (do_test): Use test_in_one_mode to compute and check results.
33415 Check results for all rounding modes.
33416 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33417 $(link-libm).
33418
19fcedd5
AM
334192012-12-09 Allan McRae <allan@archlinux.org>
33420
1e9d84cd 33421 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33422
8bbfd2f1
JM
334232012-09-11 Joseph Myers <joseph@codesourcery.com>
33424
33425 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33426 (_G_int32_t): Likewise.
33427 (_G_uint16_t): Likewise.
33428 (_G_uint32_t): Likewise.
33429 (_G_HAVE_BOOL): Likewise.
33430 (_G_HAVE_ATEXIT): Likewise.
33431 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33432 (_G_HAVE_IO_FILE_OPEN): Likewise.
33433 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33434 (_G_int32_t): Likewise.
33435 (_G_uint16_t): Likewise.
33436 (_G_uint32_t): Likewise.
33437 (_G_HAVE_BOOL): Likewise.
33438 (_G_HAVE_ATEXIT): Likewise.
33439 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33440 (_G_HAVE_IO_FILE_OPEN): Likewise.
33441 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33442 (_G_int32_t): Likewise.
33443 (_G_uint16_t): Likewise.
33444 (_G_uint32_t): Likewise.
33445 (_G_HAVE_BOOL): Likewise.
33446 (_G_HAVE_ATEXIT): Likewise.
33447 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33448 (_G_HAVE_IO_FILE_OPEN): Likewise.
33449
b1dc5912
L
334502012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33451
33452 * csu/libc-tls.c: Update copyright years.
33453
0e886ef9
JM
334542012-09-10 Joseph Myers <joseph@codesourcery.com>
33455
28361c5e
JM
33456 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33457 [!_G_USING_THUNKS]: Remove conditional code.
33458 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33459 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33460
0e886ef9
JM
33461 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33462 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33463 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33464 (_G_VTABLE_LABEL_PREFIX): Likewise.
33465 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33466 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33467 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33468 (_G_VTABLE_LABEL_PREFIX): Likewise.
33469 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33470 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33471 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33472 (_G_VTABLE_LABEL_PREFIX): Likewise.
33473 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33474
bcba7aa2
L
334752012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33476
33477 * libio/Makefile: Include ../Makeconfig before tests.
33478 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33479 only if $(build-shared) is yes.
33480
06585ee8
L
33481 * iconv/gconv_db.c: Update copyright years.
33482
80ccd52c
LD
334832012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33484
33485 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33486 unwind info if defined PIC. Fix special cases description.
33487 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33488
33489 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33490 DP_HI_MASK entry.
33491 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33492
691bc9c1
L
334932012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33494
3d9b46b3
L
33495 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33496
de2139a9
L
33497 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33498 is NULL.
33499
5ca78dd0
L
33500 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33501 (LDLIBS-tst-chk4): This.
33502 (LDFLAGS-tst-chk5): Renamed to ...
33503 (LDLIBS-tst-chk5): This.
33504 (LDFLAGS-tst-chk6): Renamed to ...
33505 (LDLIBS-tst-chk6): This.
33506 (LDFLAGS-tst-lfschk4): Renamed to ...
33507 (LDLIBS-tst-lfschk4): This.
33508 (LDFLAGS-tst-lfschk5): Renamed to ...
33509 (LDLIBS-tst-lfschk5): This.
33510 (LDFLAGS-tst-lfschk6): Renamed to ...
33511 (LDLIBS-tst-lfschk6): This.
33512
691bc9c1
L
33513 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33514 on $(common-objpfx)soversions.mk.
33515
65cafb1c
JM
335162012-09-07 Joseph Myers <joseph@codesourcery.com>
33517
33518 [BZ #10014]
33519 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33520 example host name.
33521
c78ab094
SP
335222012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33523
33524 * malloc/arena.c (arena_get_retry): New function that gets
33525 another arena for the caller to try its request on.
33526 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33527 current arena cannot fulfill the request.
33528 (__libc_memalign): Likewise.
33529 (__libc_memalign): Likewise.
33530 (__libc_pvalloc): Likewise.
33531 (__libc_calloc): Likewise.
33532
01f49f59
JT
335332012-09-05 John Tobey <john.tobey@gmail.com>
33534
33535 [BZ #13542]
33536 * manual/arith.texi (Operations on Complex): Fix description
33537 of carg branch cut.
33538
4c23fed5
JM
335392012-09-06 Joseph Myers <joseph@codesourcery.com>
33540
1d3c8572
JM
33541 [BZ #10014]
33542 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33543 host name.
33544
4c23fed5
JM
33545 [BZ #10038]
33546 * manual/memory.texi (Memory): Make order of menu items match
33547 order of sections.
33548
04570aaa
L
335492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33550
33551 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33552 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33553 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33554
b80af2f4
L
335552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33556
33557 * csu/libc-tls.c (static_dtv): Renamed to ...
33558 (_dl_static_dtv): This. Make it global.
33559 (_dl_initial_dtv): Removed.
33560 (__libc_setup_tls): Updated.
33561 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33562 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33563 DL_INITIAL_DTV.
33564
2abe9f15
PM
335652012-09-06 Petr Machata <pmachata@redhat.com>
33566
33567 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33568 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33569 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33570 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33571
0948c3af
L
335722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33573
33574 [BZ #14545]
33575 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33576 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33577 freeing dtv[-1].
33578
a5055ad1
L
335792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33580
33581 [BZ #14544]
33582 * Makeconfig (link-static-before-libc): Replace $(+prector)
33583 with $(+prectorT).
33584 (link-static-after-libc): Replace $(+postctor) with
33585 $(+postctorT).
33586 (link-bounded): Replace $(+prector)/$(+postctor) with
33587 $(+prectorT)/$(+postctorT).
33588 (+prectorT): New macro.
33589 (+postctorT): Likewise.
33590
ed8c2ecd
JM
335912012-09-06 Joseph Myers <joseph@codesourcery.com>
33592
33593 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33594 (round_str): Handle values above the maximum for IBM long double
33595 as inexact.
33596 * stdlib/tst-strtod-round.c (tests): Regenerated.
33597
14c996c8
AK
335982012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33599
33600 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33601 assembler flag.
33602 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33603 zarch_nohighgprs around the zarch optimized routines.
33604 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33605 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33606 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33607 for zarch.
33608
430d6ce6
DM
336092012-09-05 David S. Miller <davem@davemloft.net>
33610
33611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33612
57f41c40
AS
33613 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33614 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33615 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33616 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33617 entries.
33618
24d4e01b
AO
336192012-09-05 Alexandre Oliva <aoliva@redhat.com>
33620
33621 * malloc/arena.c: Fold copyright years.
33622 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33623
61d58174
AO
336242012-09-05 Alexandre Oliva <aoliva@redhat.com>
33625
33626 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33627
20196a5e
AO
336282012-09-05 Alexandre Oliva <aoliva@redhat.com>
33629
33630 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33631
5c447383
AO
336322012-09-05 Alexandre Oliva <aoliva@redhat.com>
33633
33634 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33635 change internal state upon failure.
33636
fad64255
AO
336372012-09-05 Alexandre Oliva <aoliva@redhat.com>
33638
33639 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33640 * malloc/memusage.c (mmap): Likewise.
33641 (mmap64, mremap): Likewise. Adjust name in comment.
33642
1ffb8c90
SP
336432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33644
33645 * libio/fileops.c: Fix typos in comments.
33646 * libio/oldfileops.c: Likewise.
33647 * libio/wfileops.c: Likewise.
33648
6ef9cc37
SP
336492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33650
33651 [BZ #1349]
33652 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33653 (tst-malloc-usable-ENV): Set environment for test case.
33654 * malloc/hooks.c (malloc_check_get_size): New function to get
33655 requested size.
33656 * malloc/malloc.c (musable): Use malloc_check_get_size.
33657 * malloc/tst-malloc-usable.c: New test case.
33658
4d038ae3
AS
336592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33660
33661 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33662
c4e85184
AM
336632012-09-05 Allan McRae <allan@archlinux.org>
33664
b9dafc56 33665 [BZ #13966]
c4e85184
AM
33666 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33667 determine header location.
33668 * configure: Regenerated.
33669
e1343020
AS
336702012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33671
33672 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33673 float format.
33674 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33675 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33676 format.
e1343020
AS
33677 (test): Regenerate.
33678
0a9f1987
DM
336792012-09-04 David S. Miller <davem@davemloft.net>
33680
33681 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33682 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33683 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33684
29237804
FW
336852012-09-04 Florian Weimer <fweimer@redhat.com>
33686
33687 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33688 failures.
33689
edb3cb88
FW
33690 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33691
60160d83
JM
336922012-09-04 Joseph Myers <joseph@codesourcery.com>
33693
33694 [BZ #9914]
33695 * libio/iogetdelim.c: Include <limits.h>.
33696 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33697 + len + 1 would overflow.
33698
bcd6c8dc
AJ
336992012-09-03 Andreas Jaeger <aj@suse.de>
33700
33701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33702 * sysdeps/i386/fpu/libm-test-ulps: Update.
33703
4ffffbd2
LD
337042012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33705
33706 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33707 Add s_sinf-sse2, s_conf-sse2.
33708
33709 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33710 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33711 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33712 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33713
33714 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33715 for using routine as __sinf_ia32.
33716 Use macro for function declaration and weak_alias.
33717 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33718 for using routine as __cosf_ia32.
33719 Use macro for function declaration and weak_alias.
33720
33721 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33722 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33723
33724 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33725 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33727
33728 * math/libm-test.inc (cos_test): Add more test cases.
33729 (sin_test): Likewise.
33730 (sincos_test): Likewise.
33731
511fa286
AK
337322012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33733
33734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33735 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33736 hidden.
33737 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33738
5f30cfec
L
337392012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33740
33741 [BZ #14538]
33742 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33743 first element of the GOT.
33744 (elf_machine_load_address): Return the difference between
33745 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33746
0786794f
AM
337472012-09-01 Allan McRae <allan@archlinux.org>
33748
5f30cfec
L
33749 [BZ #13412]
33750 * configure.in (AWK): Require gawk version 3.0 or later.
33751 * configure: Regenerated.
0786794f 33752
26889eac
JM
337532012-09-01 Joseph Myers <joseph@codesourcery.com>
33754
33755 * sysdeps/unix/sysv/linux/kernel-features.h
33756 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33758 [__NR_clock_getres]: Make code unconditional.
33759 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33760 (clock_getcpuclockid): Remove code left unreachable by removal of
33761 conditionals.
33762 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33763 code unconditional.
33764 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33765 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33766 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33767 Make code unconditional.
33768 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33769 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33770 * sysdeps/unix/sysv/linux/clock_settime.c
33771 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33772 conditional code.
33773 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33774 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33775
d22e28b0
L
337762012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33777
33778 [BZ #14476]
33779 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33780 scripts/test-installation.pl.
33781
33782 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33783 and $ld_so_version if it is set.
33784
050af9c4
SP
337852012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33786
33787 [BZ #14516]
33788 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33789 failure if reading from procfs failed.
33790 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33791
ad845c0b
JM
337922012-08-27 Joseph Myers <joseph@codesourcery.com>
33793
33794 * sysdeps/unix/sysv/linux/kernel-features.h
33795 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33796 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33797 Remove conditional code.
33798 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33799 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33800 Remove conditional code.
33801 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33802 * sysdeps/unix/sysv/linux/i386/fxstat.c
33803 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33804 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33805 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33806 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33808 * sysdeps/unix/sysv/linux/i386/lxstat.c
33809 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33810 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33811 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33812 Remove conditional code.
33813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33814 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33815 Remove conditional code.
33816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33817 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33818 <kernel-features.h>.
33819 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33820 Remove.
33821 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33822 Remove conditional code.
33823 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33824 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33825 Remove conditional.
33826
5dbf56af
MF
338272012-08-27 Mike Frysinger <vapier@gentoo.org>
33828
33829 [BZ #5400]
33830 * NEWS: Add fixed bug number.
33831
d6e70f43
JM
338322012-08-27 Joseph Myers <joseph@codesourcery.com>
33833
7efb4737
JM
33834 [BZ #14519]
33835 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33836 underflowing exponent in case of negative sign.
33837 * stdlib/tst-strtod-round-data: Add more tests.
33838 * stdlib/tst-strtod-round.c (tests): Regenerated.
33839
af92131a
JM
33840 [BZ #3479]
33841 * stdlib/strtod_l.c (NDIG): Remove.
33842 (HEXNDIG): Likewise.
33843 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33844 smallest representable value.
33845 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33846 lie within an exact representation of 1/2 ulp of the result.
33847 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33848 unconditionally.
33849 (TENS_P9_IDX): Define unconditionally.
33850 (TENS_P9_SIZE): Likewise.
33851 (TENS_P10_IDX): Likewise.
33852 (TENS_P10_SIZE): Likewise.
33853 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33854 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33855 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33856 entries for 10^2^13 and 10^2^14.
33857 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33858 (TENS_P13_IDX): Define.
33859 (TENS_P13_SIZE): Likewise.
33860 (TENS_P14_IDX): Likewise.
33861 (TENS_P14_SIZE): Likewise.
33862 (_fpioconst_pow10): Change array size to
33863 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33864 unconditional.
33865 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33866 1024]: Add entries for 10^2^13 and 10^2^14.
33867 [LAST_POW10 > _LAST_POW10]: Remove #error.
33868 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33869 (_fpioconst_pow10): Change array size to
33870 FPIOCONST_POW10_ARRAY_SIZE.
33871 * stdlib/gen-fpioconst.c: New file.
33872 * stdlib/gen-tst-strtod-round.c: Likewise.
33873 * stdlib/tst-strtod-round-data: Likewise.
33874 * stdlib/tst-strtod-round.c: Likewise.
33875 * stdlib/Makefile (tests): Add tst-strtod-round.
33876
d6e70f43
JM
33877 [BZ #14459]
33878 * stdlib/strtod_l.c: Include <stdint.h>.
33879 (NDEBUG): Do not define.
33880 (round_and_return): Change EXPONENT parameter to type intmax_t.
33881 Rearrange calculations to avoid internal overflow possibilities.
33882 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33883 Rearrange calculations to avoid internal overflow possibilities.
33884 Assert that number fits inside MPNSIZE limbs.
33885 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33886 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33887 calculations and add assertions to avoid internal overflow
33888 possibilities. Add casts to avoid signed/unsigned operations.
33889 * stdlib/tst-strtod-overflow.c: New file.
33890 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33891
1f529f7d
MP
338922012-08-25 Marek Polacek <polacek@redhat.com>
33893
33894 * time/time.h: Fix some typos in comments.
33895
59a629f1
RM
338962012-08-23 Roland McGrath <roland@hack.frob.com>
33897
33898 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33899 * posix/tst-rfc3484-2.c: Likewise.
33900 * posix/tst-rfc3484-3.c: Likewise.
33901
d3bafbc9
SM
339022012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33903
33904 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33905 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33906
4efcc022
JM
339072012-08-23 Joseph Myers <joseph@codesourcery.com>
33908
33909 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33910 #include of fxstatat64.c.
33911
3cc3ef96
RM
339122012-08-22 Roland McGrath <roland@hack.frob.com>
33913
f04e2132
RM
33914 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33915 * shadow/getspent_r.c: Likewise.
33916 * shadow/getspnam.c: Likewise.
33917 * shadow/getspnam_r.c: Likewise.
33918 * gshadow/getsgent.c: Likewise.
33919 * gshadow/getsgent_r.c: Likewise.
33920 * gshadow/getsgnam.c: Likewise.
33921 * gshadow/getsgnam_r.c: Likewise.
33922 * inet/getnetbyad.c: Likewise.
33923 * inet/getnetbyad_r.c: Likewise.
33924 * inet/getnetbynm.c: Likewise.
33925 * inet/getnetbynm_r.c: Likewise.
33926 * inet/getnetent.c: Likewise.
33927 * inet/getnetent_r.c: Likewise.
33928 * inet/getproto.c: Likewise.
33929 * inet/getproto_r.c: Likewise.
33930 * inet/getprtent.c: Likewise.
33931 * inet/getprtent_r.c: Likewise.
33932 * inet/getprtname.c: Likewise.
33933 * inet/getprtname_r.c: Likewise.
33934 * inet/getrpcbyname.c: Likewise.
33935 * inet/getrpcbyname_r.c: Likewise.
33936 * inet/getrpcbynumber.c: Likewise.
33937 * inet/getrpcbynumber_r.c: Likewise.
33938 * inet/getrpcent.c: Likewise.
33939 * inet/getrpcent_r.c: Likewise.
33940 * inet/getaliasent.c: Likewise.
33941 * inet/getaliasent_r.c: Likewise.
33942 * inet/getaliasname.c: Likewise.
33943 * inet/getaliasname_r.c: Likewise.
33944 * nscd/getgrgid_r.c: Likewise.
33945 * nscd/getgrnam_r.c: Likewise.
33946 * nscd/gethstbyad_r.c: Likewise.
33947 * nscd/gethstbynm3_r.c: Likewise.
33948 * nscd/getpwnam_r.c: Likewise.
33949 * nscd/getpwuid_r.c: Likewise.
33950 * nscd/getsrvbynm_r.c: Likewise.
33951 * nscd/getsrvbypt_r.c: Likewise.
33952 * nscd/gai.c: Likewise.
33953
c53d909c
RM
33954 * configure.in (build_nscd): New substituted variable, set
33955 by --disable-build-nscd and defaults to $use_nscd.
33956 * configure: Regenerated.
33957 * config.make.in (build-nscd): New substituted variable.
33958 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33959 Change conditional to require [$(build-nscd) = yes] as well.
33960 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33961
3cc3ef96
RM
33962 [BZ# 13696]
33963 * configure.in (use_nscd): New substituted variable, set by
33964 --disable-nscd. If enabled, define USE_NSCD.
33965 * configure: Regenerated.
33966 * config.h.in: Add USE_NSCD.
33967 * config.make.in (use-nscd): New substituted variable.
33968 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33969 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33970 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33971 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33972 (CFLAGS-getgrnam_r.c): Likewise.
33973 (CFLAGS-initgroups.c): Likewise.
33974 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33975 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33976 Variables removed.
33977 * inet/getnetgrent_r.c
33978 (nscd_setnetgrent): New function, broken out of ...
33979 (setnetgrent): ... here. Call it.
33980 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33981 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33982 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33983 * nscd/Makefile (routines, aux): Move definitions after include of
33984 Makeconfig. Conditionalize on [$(use-nscd) != no].
33985 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33986 Conditionalize on [USE_NSCD].
33987 (is_nscd, nscd_init_cb): Likewise.
33988 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33989 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33990 * nss/nss_db/db-init.c: Likewise.
33991 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33992 [USE_NSCD].
33993 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33994 (make_request): Use it.
33995 (cache_valid_p): New function.
33996 (__check_pf): Use it.
33997 * NEWS: Add item for --disable-nscd.
33998
07e51550
DL
339992012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34000
34001 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34002 to support sed >= 4.2.1-20-ga9bf076.
34003 * configure: Regenerated.
34004
35a5b08b
RM
340052012-08-22 Roland McGrath <roland@hack.frob.com>
34006
34007 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34008 Conditionalize whole body on [IREL].
34009
8479f23a
JL
340102012-08-22 Jeff Law <law@redhat.com>
34011
34012 [BZ #14505]
34013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34014 if the family is PF_UNSPEC.
34015
48da0b21
MF
340162012-08-22 Mike Frysinger <vapier@gentoo.org>
34017
34018 * Makerules (lib-version): Rename from V.
34019 (install-lib-nosubdir): Change V to lib-version.
34020
15d0da8c
WS
340212012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34022
34023 [BZ #14252]
34024 * powerpc32/power6/wcschr.c: New file.
34025 * powerpc32/power6/wcscpy.c: New file.
34026 * powerpc32/power6/wcsrchr.c: New file.
34027 * powerpc64/power6/wcschr.c: New file.
34028 * powerpc64/power6/wcscpy.c: New file.
34029 * powerpc64/power6/wcsrchr.c: New file.
34030
bcca0895
MK
340312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34032
34033 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34034 (two_way_short_needle): Use it.
5a4aaa33
RM
34035 * string/strstr.c (AVAILABLE1_USES_J): Define.
34036 * string/strcasestr.c: Likewise.
99677e57
MK
34037
34038 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34039 array references.
34040 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34041
400726de
MK
34042 [BZ #11607]
34043 * NEWS: Add an entry.
34044 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34045 define their defaults.
34046 (two_way_short_needle): Detect end-of-string on-the-fly.
34047 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34048 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34049 * string/bug-strcasestr1.c: New test.
34050 * string/Makefile: Run it.
34051
20a71f2c
MK
340522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34053
34054 [BZ #11607]
34055 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34056 the first character.
34057
21ad0558
RM
340582012-08-21 Roland McGrath <roland@hack.frob.com>
34059
34060 * csu/elf-init.c (__libc_csu_irel): Function removed.
34061 * csu/libc-start.c (apply_irel): New function.
34062 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34063
0e1d9911
JM
340642012-08-21 Joseph Myers <joseph@codesourcery.com>
34065
34066 * sysdeps/unix/sysv/linux/kernel-features.h
34067 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34068 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34069 <kernel-features.h>.
34070 [__NR_fadvise64_64]: Make code unconditional.
34071 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34072 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34073 !__NR_fadvise64_64)]: Likewise.
34074 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34075 !__NR_fadvise64_64))]: Likewise.
34076 [__NR_fadvise64]: Make code unconditional.
34077 [!__NR_fadvise64]: Remove conditional code.
34078 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34079 <kernel-features.h>.
34080 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34081 unconditional.
34082 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34083 conditional code.
34084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34085 not include <kernel-features.h>.
34086 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34087 unconditional.
34088 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34089 conditional code.
34090 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34091 include <kernel-features.h>.
34092 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34093 unconditional.
34094 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34095 conditional code.
34096
14a50c9d
WS
340972012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34098
34099 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34100 slight instruction rearrangements per scrollpipe analysis.
34101 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34102
c0f4faf0
RM
341032012-08-20 Roland McGrath <roland@hack.frob.com>
34104
696da859
RM
34105 * manual/syslog.texi (syslog; vsyslog, closelog):
34106 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34107 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34108
c0f4faf0
RM
34109 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34110 DSOCAPS to match condition on defining it.
34111
348363b2
JM
341122012-08-20 Joseph Myers <joseph@codesourcery.com>
34113
a35cbf28
JM
34114 * sysdeps/unix/sysv/linux/kernel-features.h
34115 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34117 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34118 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34120 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34121 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34123 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34124 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34125
445f7ecd
JM
34126 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34127 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34128
348363b2
JM
34129 * sysdeps/unix/sysv/linux/kernel-features.h
34130 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34131 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34132 unconditional.
34133 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34134 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34135 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34136 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34137 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34138 Make code unconditional.
34139 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34140 (__mmap64) [!__NR_mmap2]: Likewise.
34141 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34142 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34143 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34144 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34145 [__NR_mmap2]: Make code unconditional.
34146 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34147 (__mmap64) [!__NR_mmap2]: Likewise.
34148
bc5bc0e5
AK
341492012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34150
34151 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34152
88d506de
AJ
341532012-08-18 Andreas Jaeger <aj@suse.de>
34154
34155 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34156
493387d2
MF
341572012-08-18 Mike Frysinger <vapier@gentoo.org>
34158
34159 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34160 * include/unistd.h (__have_sock_cloexec): Likewise.
34161 (__have_pipe2): Likewise.
34162 (__have_dup3): Likewise.
34163
a277af22
MF
341642012-08-18 Mike Frysinger <vapier@gentoo.org>
34165
34166 [BZ #9685]
34167 * include/unistd.h (__have_pipe2): Change define into an extern int.
34168 (__have_dup3): Likewise.
34169 * socket/have_sock_cloexec.c: Include fcntl.h.
34170 (__have_pipe2): New variable.
34171 (__have_dup3): Likewise.
34172
fdab8fd3
MF
341732012-08-17 Mike Frysinger <vapier@gentoo.org>
34174
34175 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34176
31035e80
MP
341772012-08-17 Marek Polacek <polacek@redhat.com>
34178
34179 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34180 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34181
3bd9e993
RM
341822012-08-17 Roland McGrath <roland@hack.frob.com>
34183
c91c505f
RM
34184 * configure.in: Add AC_SUBST for sysheaders.
34185 * configure: Regenerated.
34186 * config.make.in (sysheaders): New substituted variable.
34187
7c6f9d53
RM
34188 * sysdeps/unix/mkfifo.c: Moved ...
34189 * sysdeps/posix/mkfifo.c: ... here.
34190 * sysdeps/unix/mkfifoat.c: Moved ...
34191 * sysdeps/posix/mkfifoat.c: ... here.
34192
34193 * sysdeps/unix/utime.c: Moved ...
34194 * sysdeps/posix/utime.c: ... here.
34195
34196 * sysdeps/unix/time.c: Moved ...
34197 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34198 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34199 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34200
34201 * sysdeps/unix/nice.c: Moved ...
34202 * sysdeps/posix/nice.c: ... here.
34203
34204 * sysdeps/unix/alarm.c: Moved ...
34205 * sysdeps/posix/alarm.c: ... here.
34206
3bd9e993
RM
34207 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34208
d1f09384
JL
342092012-08-17 Jeff Law <law@redhat.com>
34210
34211 * intl/Makefile (codeset_mo): New variable.
34212 ($(codeset_mo)): New target.
34213 (tst-codeset.out): Depend on that. Remove explicit rule.
34214 (tst-gettext3.out, tst-gettext5.out): Likewise.
34215 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34216 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34217 * intl/tst-codeset.sh: Remove.
34218 * intl/tst-gettext3.sh: Likewise.
34219 * intl/tst-gettext5.sh: Likewise.
34220
2ae1ae5c
RM
342212012-08-17 Roland McGrath <roland@hack.frob.com>
34222
c31fdb83
RM
34223 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34224 * sysdeps/unix/syscalls.list: ... here.
34225
a0844057
RM
34226 * sysdeps/posix/getaddrinfo.c
34227 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34228 (gaiconf_init, gaiconf_reload): Use them.
34229 [!_STATBUF_ST_NSEC]
34230 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34231 Define using time_t rather than struct timespec.
34232
750c1f2a
RM
34233 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34234 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34235 Macros removed.
34236 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34237 [!NO_THREADS].
34238 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34239 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34240 Likewise.
34241
2ae1ae5c
RM
34242 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34243 __libc_cleanup_push argument.
34244
e66a42f5
RM
34245 * bits/param.h: New file.
34246 * misc/sys/param.h: New file.
34247 * include/sys/param.h: New file.
34248 * misc/Makefile (headers): Add bits/param.h.
34249 * sysdeps/generic/sys/param.h: File removed.
34250 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34251 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34252 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34253 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34254
b7c08a66
RM
34255 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34256 last change.
34257
b2e1c562
RM
34258 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34259 [_IO_MTSAFE_IO].
34260 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34261 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34262 New macros.
34263
c75ccd4c
RM
34264 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34265 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34266 rather than -D_IO_MTSAFE_IO conditionally.
34267 * stdio-common/Makefile (CPPFLAGS): Likewise.
34268 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34269 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34270 Use $(libio-mtsafe).
34271 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34272 of -D_IO_MTSAFE_IO.
34273 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34274 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34275 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34276 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34277 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34278 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34279 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34280 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34281 (CFLAGS-fread_u_chk.c): Likewise.
34282 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34283 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34284 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34285 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34286 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34287 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34288 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34289 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34290 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34291
34292 * libio/Makefile: Test [$(libc-reentrant) = yes]
34293 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34294
34295 * Makeconfig
34296 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34297 * sysdeps/pthread/configure: File removed.
34298 * sysdeps/pthread/Makeconfig: New file.
34299 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34300 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34301
d9195db8
GB
343022012-08-16 Gary Benson <gbenson@redhat.com>
34303
34304 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34305 unmapping the first object in a namespace.
34306
86466cd9
RM
343072012-08-16 Roland McGrath <roland@hack.frob.com>
34308
34309 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34310 (__internal_setnetgrent): ... this. Add internal_function to
34311 definition. Add libc_hidden_def.
34312 (setnetgrent): Update caller.
34313 (internal_endnetgrent): Renamed to ...
34314 (__internal_endnetgrent): ... this. Add internal_function to
34315 definition. Add libc_hidden_def.
34316 (endnetgrent): Update caller.
34317 (internal_getnetgrent_r): Renamed to ...
34318 (__internal_getnetgrent_r): ... this. Add internal_function to
34319 definition. Add libc_hidden_def.
34320 (__getnetgrent_r): Update caller.
34321 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34322
c3c8283c
JM
343232012-08-16 Joseph Myers <joseph@codesourcery.com>
34324
34325 * stdlib/longlong.h: Update from GCC.
34326
db1ee0a8
RM
343272012-08-16 Roland McGrath <roland@hack.frob.com>
34328
34329 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34330 on _QL, which is set by umul_ppmm but never used.
34331 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34332 variables, which are set by GMP macros but never used.
34333 * stdio-common/_itowa.c (_itowa): Likewise.
34334 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34335 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34336
30f69637
CD
343372012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34338
34339 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34340 struct La_sh_regs is not constant.
34341 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34342 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34343 and struct La_sparc64_regs are not constant.
34344
93a78ac4
JM
343452012-08-16 Joseph Myers <joseph@codesourcery.com>
34346
34347 * sysdeps/unix/sysv/linux/kernel-features.h
34348 (__ASSUME_POSIX_TIMERS): Remove.
34349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34350 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34351 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34352 Make code unconditional.
34353 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34354 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34355 Make code unconditional.
34356 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34357 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34358 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34359 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34360 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34361 Make code unconditional.
34362 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34363 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34364 (__libc_missing_posix_timers): Remove.
34365
dd924cd7
RM
343662012-08-15 Roland McGrath <roland@hack.frob.com>
34367
4b4f2771
RM
34368 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34369 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34370
601c888b
RM
34371 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34372
176790a7
RM
34373 * elf/dl-sym.c: Include <stdlib.h>.
34374
329bc018
RM
34375 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34376 constants, which avoids warnings in 32-bit builds.
34377
e04e272d
RM
34378 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34379 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34380
952bf94a
RM
34381 * misc/lseek.c: File moved to ...
34382 * io/lseek.c: ... here.
34383
7c99b50a
RM
34384 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34385
dd924cd7
RM
34386 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34387 shifting LEN more than 31 bits at once.
34388
b3f479a8
LD
343892012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34390
34391 [BZ #14195]
8c4ae0d4
RM
34392 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34393 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34394 * string/test-strncasecmp.c (check1): Renamed to...
34395 (bz12205): ...this.
34396 (bz14195): Add new testcase for two empty input strings and N > 0.
34397 (test_main): Call new testcase, adapt for renamed function.
34398
9c55864e
AJ
343992012-08-15 Andreas Jaeger <aj@suse.de>
34400
34401 [BZ #14090]
34402 * crypt/md5test2.c: New test, based on test supplied by Serge
34403 Belyshev <belyshev@depni.sinp.msu.ru>.
34404 * crypt/Makefile (xtests): Add md5test-giant..
34405 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34406
02dcb6c5
PE
344072012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34408
34409 [BZ #14090]
34410 * crypt/md5.c (md5_process_block): Don't assume the buffer
34411 length is less than 2**32.
34412 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34413 length is less than 2**64.
34414
a3f95dcc
RM
344152012-08-15 Roland McGrath <roland@hack.frob.com>
34416
be75d758
RM
34417 * string/str-two-way.h: Include <sys/param.h>.
34418 (MAX): Macro removed.
34419
7312ca90
RM
34420 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34421 Move #define and #undef of memmove to just before and after
34422 including <string.h>.
34423
9a0a5486
RM
34424 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34425 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34426 and after including <string.h>. Move declarations of
34427 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34428 to before #include "string/memmove.c".
34429
67cc348d
RM
34430 * include/dirent.h: Declare __getdirentries.
34431
a3f95dcc
RM
34432 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34433 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34434
ca98e171
MF
344352012-08-14 Mike Frysinger <vapier@gentoo.org>
34436
34437 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34438 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34439 * sysdeps/i386/configure: Regenerated.
34440 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34441 STABS_CURRENT_FILE, and STABS_FUN.
34442 (END): Remove call to STABS_FUN_END.
34443 (STABS_CURRENT_FILE1): Delete.
34444 (STABS_CURRENT_FILE): Likewise.
34445 (STABS_FUN): Likewise.
34446 (STABS_FUN_END): Likewise.
34447 (STABS_FUN2): Likewise.
34448 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34449 * sysdeps/x86_64/configure: Regenerated.
34450
5908bf46
RM
344512012-08-14 Roland McGrath <roland@hack.frob.com>
34452
34453 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34454 * elf/dl-lookup.c: Likewise.
5908bf46 34455
f2c05b9e
JM
344562012-08-14 Joseph Myers <joseph@codesourcery.com>
34457
34458 * sysdeps/unix/sysv/linux/kernel-features.h
34459 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34460 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34461 unconditionally.
34462 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34463 unconditionally.
34464 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34465 condition on __ASSUME_CLONE_THREAD_FLAGS.
34466
e11f5155
AJ
344672012-08-14 Andreas Jaeger <aj@suse.de>
34468
34469 * sysdeps/i386/fpu/libm-test-ulps: Update.
34470
51a9ba86
MK
344712012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34472
2fdd4f78
AJ
34473 * include/atomic.h (atomic_exchange_and_add): Split into ...
34474 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34475 New atomic macros.
51a9ba86 34476
ba6cba9e
MT
344772012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34478
34479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34480
42443a47
JL
344812012-08-13 Jeff Law <law@redhat.com>
34482
34483 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34484 null byte in the output string.
34485
121dce05
JM
344862012-08-10 Joseph Myers <joseph@codesourcery.com>
34487
34488 * sysdeps/unix/sysv/linux/kernel-features.h
34489 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34490 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34491 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34492 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34493 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34494 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34495 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34496
bf51f568
JL
344972012-08-09 Jeff Law <law@redhat.com>
34498
34499 [BZ #13939]
34500 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34501 When avoid_arena is set, don't retry in the that arena. Pick the
34502 next one, whatever it might be.
34503 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34504 (arena_lock): Pass in new parameter to arena_get2.
34505 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34506 arena_get2.
34507 (__libc_malloc): Unify retrying after main arena failure with
34508 __libc_memalign version.
34509 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34510
f85fa270
L
345112012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34512
34513 [BZ #14166]
34514 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34515 to __redirect_strstr.
34516 (__strstr_sse42): Use typeof __redirect_strstr.
34517 (__strstr_ia32): Likewise.
34518 (__libc_strstr): New prototype.
34519 (strstr): Renamed to ...
34520 (__libc_strstr): This.
34521 (strstr): New strong alias of __libc_strstr.
34522 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34523 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34524 __redirect_time.
34525 Include <time.h>.
34526 (__libc_time): New prototype.
34527 (time_ifunc): Replace time with __libc_time.
34528 (time): New strong alias and hidden definition of __libc_time.
34529 (__GI_time): Remove strong alias.
34530 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34531 Include <stddef.h>.
34532 (memmove): Redefined to __redirect_memmove.
34533 (__memmove_sse2): Use typeof __redirect_memmove.
34534 (__memmove_ssse3): Likewise.
34535 (__memmove_ssse3_back): Likewise.
34536 (__libc_memmove): New prototype.
34537 (memmove): Renamed to ...
34538 (__libc_memmove): This.
34539 (memmove): New strong alias of __libc_memmove.
34540
33b4a91e
MS
345412012-08-08 Mark Salter <msalter@redhat.com>
34542
34543 * elf/elf.h
34544 (R_MN10300_TLS_GD): Define.
34545 (R_MN10300_TLS_LD): Likewise.
34546 (R_MN10300_TLS_LDO): Likewise.
34547 (R_MN10300_TLS_GOTIE): Likewise.
34548 (R_MN10300_TLS_IE): Likewise.
34549 (R_MN10300_TLS_LE): Likewise.
34550 (R_MN10300_TLS_DTPMOD): Likewise.
34551 (R_MN10300_TLS_DTPOFF): Likewise.
34552 (R_MN10300_TLS_TPOFF): Likewise.
34553 (R_MN10300_SYM_DIFF): Likewise.
34554 (R_MN10300_ALIGN): Likewise.
34555 (R_MN10300_NUM): Update.
34556
b36137f1
JM
345572012-08-08 Joseph Myers <joseph@codesourcery.com>
34558
34559 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34560 Remove.
34561
cdd915fd
RM
345622012-08-08 Roland McGrath <roland@hack.frob.com>
34563
a2433aac
RM
34564 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34565
cdd915fd
RM
34566 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34567 sysdeps/unix -> sysdeps/posix move.
34568 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34569
bf9b740a
AM
345702012-08-07 Allan McRae <allan@archlinux.org>
34571
34572 [BZ #14303]
34573 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34574 (SUNOS_CPP): Likewise.
34575 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34576 not found.
34577 (open_input): Call CPP using execvp.
34578
93df14ee
JM
345792012-08-07 Joseph Myers <joseph@codesourcery.com>
34580
34581 * sysdeps/unix/sysv/linux/kernel-features.h
34582 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34583 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34584 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34585 (__ASSUME_WAITID_SYSCALL): Likewise.
34586 * sysdeps/unix/sysv/linux/dl-execstack.c
34587 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34588 code unconditional.
34589 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34590 conditional code.
34591 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34592 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34593 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34594 code.
34595 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34596 unconditional.
34597 [__ASSUME_WAITID_SYSCALL]: Likewise.
34598 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34599
d34689de
RM
346002012-08-07 Roland McGrath <roland@hack.frob.com>
34601
a281decc
RM
34602 * sysdeps/unix/closedir.c: Renamed to ...
34603 * sysdeps/posix/closedir.c: ... here.
34604 * sysdeps/unix/dirfd.c: Renamed to ...
34605 * sysdeps/posix/dirfd.c: ... here.
34606 * sysdeps/unix/dirstream.h: Renamed to ...
34607 * sysdeps/posix/dirstream.h: ... here.
34608 * sysdeps/unix/fdopendir.c: Renamed to ...
34609 * sysdeps/posix/fdopendir.c: ... here.
34610 * sysdeps/unix/opendir.c: Renamed to ...
34611 * sysdeps/posix/opendir.c: ... here.
34612 * sysdeps/unix/readdir.c: Renamed to ...
34613 * sysdeps/posix/readdir.c: ... here.
34614 * sysdeps/unix/readdir_r.c: Renamed to ...
34615 * sysdeps/posix/readdir_r.c: ... here.
34616 * sysdeps/unix/rewinddir.c: Renamed to ...
34617 * sysdeps/posix/rewinddir.c: ... here.
34618 * sysdeps/unix/seekdir.c: Renamed to ...
34619 * sysdeps/posix/seekdir.c: ... here.
34620 * sysdeps/unix/telldir.c: Renamed to ...
34621 * sysdeps/posix/telldir.c: ... here.
34622 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34623 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34624 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34625 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34626
22895b47
RM
34627 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34628 * bits/fcntl.h: ... here.
34629
707a53b6
RM
34630 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34631 not 0.
34632 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34633 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34634 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34635 (struct flock): Move l_start, l_len to the beginning.
34636 Use __pid_t for l_pid.
34637 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34638 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34639 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34640 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34641 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34642 [__USE_LARGEFILE64] (struct flock64): New type.
34643 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34644
f0bd3e25
RM
34645 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34646 * bits/dirent.h: ... here.
34647
d34689de
RM
34648 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34649 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34650
6dad2c06
JM
346512012-08-07 Joseph Myers <joseph@codesourcery.com>
34652
34653 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34654 Change from 2.6.0 to 2.6.16.
34655 * sysdeps/unix/sysv/linux/configure: Regenerated.
34656 * sysdeps/unix/sysv/linux/kernel-features.h
34657 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34658 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34659 version.
34660 (__ASSUME_UTIMES): Likewise.
34661 (__ASSUME_CLONE_STOPPED): Remove.
34662 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34663 architectures, not kernel version.
34664 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34665 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34666 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34667 (__ASSUME_WAITID_SYSCALL): Likewise.
34668 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34669 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34670 * README: State 2.6.16 as minimum Linux kernel version. Do not
34671 refer to older versions.
34672
03af9520
RM
346732012-08-06 Roland McGrath <roland@hack.frob.com>
34674
8e49df1d
RM
34675 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34676 Define alphasort64 as an alias.
34677 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34678 Define versionsort64 as an alias.
34679 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34680 Define scandir64 as an alias.
34681 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34682 Define scandirat64 as an alias.
34683 * dirent/alphasort64.c (alphasort64):
34684 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34685 * dirent/versionsort64.c: Likewise.
34686 * dirent/scandir64.c: Likewise.
34687 * dirent/scandirat64.c: Likewise.
34688 * sysdeps/wordsize-64/alphasort.c: File removed.
34689 * sysdeps/wordsize-64/alphasort64.c: File removed.
34690 * sysdeps/wordsize-64/scandir.c: File removed.
34691 * sysdeps/wordsize-64/scandir64.c: File removed.
34692 * sysdeps/wordsize-64/scandirat.c: File removed.
34693 * sysdeps/wordsize-64/scandirat64.c: File removed.
34694 * sysdeps/wordsize-64/versionsort.c: File removed.
34695 * sysdeps/wordsize-64/versionsort64.c: File removed.
34696 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34697 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34698 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34699 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34700 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34701 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34702 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34703 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34704
34705 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34707 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34709 [defined __arch64__ || defined __sparcv9]
34710 (__INO_T_MATCHES_INO64_T): New macro.
34711 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34712 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34713 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34714 * sysdeps/unix/sysv/linux/bits/dirent.h
34715 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34716 (_DIRENT_MATCHES_DIRENT64): New macro.
34717
03af9520
RM
34718 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34719 Define lockf64 as an alias.
34720 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34721 Define fseeko64 as an alias.
34722 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34723 Define ftello64 as an alias.
34724 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34725 Define _IO_fgetpos64 and fgetpos64 as aliases.
34726 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34727 Define _IO_fsetpos64 and fsetpos64 as aliases.
34728 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34729 Conditionalize body on this.
34730 * libio/fseeko64.c: Likewise.
34731 * libio/ftello64.c: Likewise.
34732 * libio/iofgetpos64.c: Likewise.
34733 * libio/iofsetpos64.c: Likewise.
34734 * sysdeps/wordsize-64/lockf.c: File removed.
34735 * sysdeps/wordsize-64/lockf64.c: File removed.
34736 * sysdeps/wordsize-64/fseeko.c: File removed.
34737 * sysdeps/wordsize-64/fseeko64.c: File removed.
34738 * sysdeps/wordsize-64/ftello.c: File removed.
34739 * sysdeps/wordsize-64/ftello64.c: File removed.
34740 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34741 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34742 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34743 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34744 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34745 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34746 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34747 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34748 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34749 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34750 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34751 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34752 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34754
34755 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34757 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34759 [defined __arch64__ || defined __sparcv9]
34760 (__OFF_T_MATCHES_OFF64_T): New macro.
34761 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34762 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34764 (__OFF_T_MATCHES_OFF64_T): New macro.
34765
c5757acd
L
347662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34767
34768 * stdlib/secure-getenv.c (__secure_getenv): Replace
34769 GLIBC_2_16 with GLIBC_2_17.
34770
3a31811e
L
347712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34772
34773 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34774 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34775
faa2bccb
DM
347762012-08-03 David S. Miller <davem@davemloft.net>
34777
34778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34779
85fe1997
JM
347802012-08-03 Joseph Myers <joseph@codesourcery.com>
34781
34782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34783 Remove.
34784 (__ASSUME_CORRECT_SI_PID): Likewise.
34785 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34786 (__ASSUME_TMPFS_NAME): Likewise.
34787 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34788 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34789 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34790 (HAVE_AUX_SECURE): Make definition unconditional.
34791 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34792 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34793
4f75b7a0
RM
347942012-08-03 Roland McGrath <roland@hack.frob.com>
34795
34796 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34797 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34798 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34799 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34800 __eloop_threshold instead of SYMLOOP_MAX.
34801
34802 * sysdeps/generic/eloop-threshold.h: New file.
34803 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34804 of MAXSYMLINKS.
34805 * elf/chroot_canon.c (chroot_canon): Likewise.
34806
7aab07e4
JM
348072012-08-03 Joseph Myers <joseph@codesourcery.com>
34808
34809 [BZ #13717]
34810 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34811 Change to 2.6.0 everywhere.
34812 * sysdeps/unix/sysv/linux/configure: Regenerated.
34813 * sysdeps/unix/sysv/linux/kernel-features.h
34814 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34815 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34816 kernel versions.
34817 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34818 (__ASSUME_FUTEX_REQUEUE): Remove.
34819 (__ASSUME_STATFS64): Define unconditionally.
34820 (__ASSUME_AT_SECURE): Likewise.
34821 (__ASSUME_CORRECT_SI_PID): Likewise.
34822 (__ASSUME_TGKILL): Define without depending on kernel version for
34823 i386.
34824 (__ASSUME_UTIMES): Likewise.
34825 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34826 kernel version.
34827 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34828 (__ASSUME_TMPFS_NAME): Likewise.
34829 * README: Update reference to Linux kernel versions.
34830
b67e9372
MP
348312012-08-02 Marek Polacek <polacek@redhat.com>
34832
1f529f7d 34833 [BZ# 14150]
b67e9372
MP
34834 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34835 libc_cv_asm_type_prefix with %.
34836 * configure: Regenerated.
d2441631
RM
34837 * include/libc-symbols.h: Remove comment about
34838 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34839 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34840 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34841 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34842 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34843 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34844 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34845 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34846 * elf/tst-unique2mod1.c: Likewise.
34847 * elf/tst-unique1mod2.c: Likewise.
34848 * elf/tst-unique1mod1.c: Likewise.
34849 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34850 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34851 Replace ASM_TYPE_DIRECTIVE with .type.
34852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34853 * sysdeps/i386/sysdep.h: Likewise.
34854 * sysdeps/x86_64/sysdep.h: Likewise.
34855 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34857 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34858 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34859 * sysdeps/powerpc/powerpc32/sysdep.h:
34860 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34861 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34862 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34863 * sysdeps/i386/fpu/e_powf.S: Likewise.
34864 * sysdeps/i386/fpu/e_expl.S: Likewise.
34865 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34866 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34867 * sysdeps/i386/fpu/e_pow.S: Likewise.
34868 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34869 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34870 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34871 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34872 * sysdeps/i386/fpu/e_log2.S: Likewise.
34873 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34874 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34875 * sysdeps/i386/fpu/e_powl.S: Likewise.
34876 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34877 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34878 * sysdeps/i386/fpu/e_logl.S: Likewise.
34879 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34880 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34881 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34882 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34883 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34884 * sysdeps/i386/fpu/e_log.S: Likewise.
34885 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34886 * sysdeps/i386/fpu/e_logf.S: Likewise.
34887 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34888 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34889 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34890 * sysdeps/i386/fpu/e_log10.S: Likewise.
34891 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34892 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34893 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34894 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34895 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34896 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34897 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34898 * sysdeps/i386/i686/strtok.S: Likewise.
34899 * sysdeps/i386/i386-mcount.S: Likewise.
34900 * sysdeps/i386/strtok.S: Likewise.
34901 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34902 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34904 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34905 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34906 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34907 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34908 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34909 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34910 * sysdeps/x86_64/_mcount.S: Likewise.
34911 * sysdeps/x86_64/strtok.S: Likewise.
34912 * sysdeps/sh/_mcount.S: Likewise.
34913
2747bf9a
RM
349142012-08-01 Roland McGrath <roland@hack.frob.com>
34915
34916 * libio/iofopen.c: Include <fcntl.h>.
34917 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34918 (_IO_fopen64, fopen64): Define as aliases.
34919 * libio/iofopen64.c: Include <fcntl.h>.
34920 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34921 Conditionalize body on this.
34922 * sysdeps/wordsize-64/iofopen.c: File removed.
34923 * sysdeps/wordsize-64/iofopen64.c: File removed.
34924
3fb791b8
MP
349252012-08-01 Marek Polacek <polacek@redhat.com>
34926
34927 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34928 Use dlfcn directly instead of a variable.
34929 (binfmt-subdir): Do not define.
34930 (dlfcn): Likewise.
34931
a9f1039f
JM
349322012-08-01 Joseph Myers <joseph@codesourcery.com>
34933
23bddc06
JM
34934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34935 Remove all definitions.
34936 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34937 <kernel-features.h>.
34938 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34939 (miss_F_GETOWN_EX): Remove all definitions.
34940 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34941 macro definition.
34942 [!__ASSUME_FCNTL64]: Remove conditional code.
34943 [__ASSUME_FCNTL64]: Make code unconditional.
34944 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34945 <kernel-features.h>.
34946 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34947 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34948 (lockf64) [__NR_fcntl64]: Make code unconditional.
34949 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34950
a9f1039f
JM
34951 * sysdeps/unix/sysv/linux/kernel-features.h
34952 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34953 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34954 Make code unconditional.
34955 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34956 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34958 [__NR_vfork]: Make code unconditional.
34959 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34960 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34962 [__NR_vfork]: Make code unconditional.
34963 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34964 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34965
09c0ee5f
RM
349662012-08-01 Roland McGrath <roland@hack.frob.com>
34967
48aec5b9
RM
34968 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34969 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34970
cd97c966
RM
34971 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34972 Define mkstemp64 as an alias.
3f55550c
RM
34973 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34974 Define mkstemps64 as an alias.
cd97c966
RM
34975 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34976 Define mkostemp64 as an alias.
b8625cfc
RM
34977 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34978 Define mkostemps64 as an alias.
cd97c966
RM
34979 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34980 Conditionalize body on this.
34981 * misc/mkostemp64.c: Likewise.
b8625cfc 34982 * misc/mkostemps64.c: Likewise.
3f55550c 34983 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34984 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34985 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34986 * sysdeps/wordsize-64/mkostemp.c: File removed.
34987 * sysdeps/wordsize-64/mkstemp.c: File removed.
34988 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34989 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34990 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34991 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34992
09c0ee5f
RM
34993 [BZ #14138]
34994 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34995 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34996 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34997 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34998
34999 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35000 compat_symbol macros from <shlib-compat.h> rather than the underlying
35001 default_symbol_version and symbol_version macros, so that DEFAULT
35002 lines in shlib-versions are respected.
35003 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35004
7e66ee51
FW
350052012-08-01 Florian Weimer <fweimer@redhat.com>
35006
35007 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35008 Declare with warn_unused_result.
35009 (setgid, setregid, setegid, setresgid): Likewise.
35010 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35011 Likewise.
35012 * WUR-REPORT: Remove set*id functions.
35013
d2a54255
PT
350142012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35015
35016 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35017
7ecdb005
RM
350182012-07-31 Roland McGrath <roland@hack.frob.com>
35019
b4180a5e 35020 [BZ #10191]
789bd351
RM
35021 * include/sys/socket.h (__libc_accept, __libc_accept4):
35022 Add attribute_hidden.
35023 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35024
40ce302d
RM
35025 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35026 use of PTR_MANGLE.
35027 * inet/getnetgrent_r.c (setup): Likewise.
35028
7ecdb005
RM
35029 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35030
e2eabb2c
DM
350312012-07-31 David S. Miller <davem@davemloft.net>
35032
35033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35034
d0419dbf
JM
350352012-07-31 Joseph Myers <joseph@codesourcery.com>
35036
35037 [BZ #13629]
35038 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35039 value between 1.0 and 2.0 and smaller part has absolute value less
35040 than 1.0.
35041 * math/s_clog10.c (__clog10): Likewise.
35042 * math/s_clog10f.c (__clog10f): Likewise.
35043 * math/s_clog10l.c (__clog10l): Likewise.
35044 * math/s_clogf.c (__clogf): Likewise.
35045 * math/s_clogl.c (__clogl): Likewise.
35046 * math/libm-test.inc (clog_test): Add more tests.
35047 (clog10_test): Likewise.
35048 * sysdeps/i386/fpu/libm-test-ulps: Update.
35049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35050
2bc13872
FW
350512012-07-31 Florian Weimer <fweimer@redhat.com>
35052
35053 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35054 Exit with zero in case no suitable GID is found, and write a
35055 message to standard error.
35056
bea9b193
RM
350572012-07-30 Roland McGrath <roland@hack.frob.com>
35058
35059 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35060 rather than to 1.
35061 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35062 (MAXPATHLEN): Removed.
35063 (NOGROUP, NODEV): New macros.
35064 (setbit, clrbit, isset, isclr): New macros.
35065 (howmany, roundup, powerof2): New macros.
35066 (DEV_BSIZE): New macro.
35067
35068 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35069 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35070
35071 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35072 definition on [!__NO_LONG_DOUBLE_MATH].
35073
35074 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35075 PTR_MANGLE and PTR_DEMANGLE.
35076
35077 * socket/accept4.c (accept4): Rename to __libc_accept4.
35078 Define accept4 as a weak alias.
35079
35080 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35081 on [_DIRENT_HAVE_D_TYPE].
35082 * io/ftw.c (ftw_dir): Likewise.
35083
35084 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35085
35086 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35087
35088 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35089 Use the BSD numbers rather than the arbitrary ones we had.
35090 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35091 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35092 (SIGXCPU, SIGXFSZ): New macros.
35093 (_NSIG): Now 32.
35094
35095 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35096 initializer on [_LIBC_REENTRANT].
35097
35098 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35099 definitions inside [_POSIX_MAPPED_FILES].
35100
35101 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35102
35103 * dirent/opendir.c: Include <fcntl.h>.
35104
35105 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35106 (__libc_getspecific): Likewise.
35107 (__libc_key_create): Likewise.
35108
35109 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35110 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35111 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35112 (tmpfile64): Define as alias.
35113 * sysdeps/wordsize-64/tmpfile.c: File removed.
35114 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35115 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35117
35118 * stdio-common/vfscanf.c: Include <stdbool.h>.
35119 * nss/makedb.c: Likewise.
35120 * stdio-common/_i18n_number.h: Likewise.
35121 * argp/argp-help.c: Likewise.
35122 * posix/wordexp.c: Likewise.
35123 * sysdeps/posix/spawni.c: Likewise.
35124 * nss/nss_files/files-initgroups.c: Likewise.
35125 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35126 * nss/nss_files/files-initgroups.c: Likewise.
35127 * nss/nss_db/db-netgrp.c: Likewise.
35128 * nss/nss_db/db-initgroups.c: Likewise.
35129 * io/fchmodat.c: Include <sys/stat.h>.
35130
35131 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35132 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35133
35134 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35135 [HAVE_MMAP].
35136
35137 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35138 Add multiple inclusion protection.
35139
e5abc686
DM
351402012-07-27 David S. Miller <davem@davemloft.net>
35141
35142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35143
815e6fa3
GB
351442012-07-27 Gary Benson <gbenson@redhat.com>
35145
35146 [BZ #14298]
35147 * elf/rtld.c: Include <stap-probe.h>.
35148 (dl_main): Added static probes "init_start" and "init_complete".
35149 * elf/dl-load.c: Include <stap-probe.h>.
35150 (lose): Take new parameter "nsid".
35151 Added static probe "map_failed".
35152 (_dl_map_object_from_fd): Pass namespace id to lose.
35153 Added static probe "map_start".
35154 (open_verify): Pass namespace id to lose.
35155 * elf/dl-open.c: Include <stap-probe.h>.
35156 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35157 and "reloc_complete".
35158 * elf/dl-close.c: Include <stap-probe.h>.
35159 (_dl_close_worker): Added static probes "unmap_start" and
35160 "unmap_complete".
35161 * elf/rtld-debugger-interface.txt: New file documenting the above.
35162
9f98c16c
RM
351632012-07-26 Roland McGrath <roland@hack.frob.com>
35164
35165 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35166 rather than a string variable.
35167 * sunrpc/rpc_main.c (h_output): Likewise.
35168 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35169
f3c22df3
PT
351702012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35171
35172 * inet/check_native.c: New file.
35173
3129cfc6
JM
351742012-07-26 Joseph Myers <joseph@codesourcery.com>
35175
da865e95
JM
35176 [BZ #13629]
35177 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35178 if larger part has absolute value 1.0.
35179 * math/s_clog10.c (__clog10): Likewise.
35180 * math/s_clog10f.c (__clog10f): Likewise.
35181 * math/s_clog10l.c (__clog10l): Likewise.
35182 * math/s_clogf.c (__clogf): Likewise.
35183 * math/s_clogl.c (__clogl): Likewise.
35184 * math/libm-test.inc (clog_test): Add more tests.
35185 (clog10_test): Likewise.
35186 * sysdeps/i386/fpu/libm-test-ulps: Update.
35187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35188
3129cfc6
JM
35189 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35190 (pltexit): Likewise.
35191 (La_regs): Likewise.
35192 (La_retval): Likewise.
35193 (int_retval): Likewise.
35194 Update #error for removed macros to refer only to definitions in
35195 tst-audit.h.
35196 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35197 macro.
35198 (pltexit): Likewise.
35199 (La_regs): Likewise.
35200 (La_retval): Likewise.
35201 (int_retval): Likewise.
35202 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35203 macro.
35204 (pltexit): Likewise.
35205 (La_regs): Likewise.
35206 (La_retval): Likewise.
35207 (int_retval): Likewise.
35208 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35209 macro.
35210 (pltexit): Likewise.
35211 (La_regs): Likewise.
35212 (La_retval): Likewise.
35213 (int_retval): Likewise.
35214 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35215 macro.
35216 (pltexit): Likewise.
35217 (La_regs): Likewise.
35218 (La_retval): Likewise.
35219 (int_retval): Likewise.
35220 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35221 macro.
35222 (pltexit): Likewise.
35223 (La_regs): Likewise.
35224 (La_retval): Likewise.
35225 (int_retval): Likewise.
35226 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35227 macro.
35228 (pltexit): Likewise.
35229 (La_regs): Likewise.
35230 (La_retval): Likewise.
35231 (int_retval): Likewise.
35232 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35233 macro definitions in tst-audit.h.
35234 * sysdeps/i386/tst-audit.h: New file.
35235 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35236 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35237 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35238 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35239 * sysdeps/sh/tst-audit.h: Likewise.
35240 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35241 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35242 * sysdeps/x86_64/tst-audit.h: Likewise.
35243
bfc07087
AJ
352442012-07-26 Andreas Jaeger <aj@suse.de>
35245
b1b2aaf8
AJ
35246 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35247 ptrace.
35248
35249 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35250 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35251 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35252 PTRACE_O_MASK.
35253 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35254 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35255 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35256
bfc07087
AJ
35257 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35258 value.
35259
35260 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35261 _sigsys.
35262 (si_call_addr, si_syscall, si_arch): Define new macro.
35263 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35264 _sigsys.
35265 (si_call_addr, si_syscall, si_arch): Define new marcro.
35266 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35267 _sigsys.
35268 (si_call_addr, si_syscall, si_arch): Define new macro.
35269 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35270 _sigsys.
35271 (si_call_addr, si_syscall, si_arch): Define new macro.
35272
89b4b02f
JM
352732012-07-25 Joseph Myers <joseph@codesourcery.com>
35274
35275 [BZ #13717]
35276 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35277 Change to 2.4.21 where previously 2.4.1.
35278 * sysdeps/unix/sysv/linux/configure: Regenerated.
35279 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35280 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35281 Linux kernel version.
35282 (__ASSUME_STD_AUXV): Remove.
35283 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35284 kernel version.
35285 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35286 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35287 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35288 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35289 (__ASSUME_NETLINK_SUPPORT): Likewise.
35290 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35291 (__no_netlink_support): Remove conditional definition.
35292 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35293 Remove.
35294 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35295 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35296 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35297 (if_nameindex_ioctl): Remove.
35298 (if_nameindex_netlink): Do not handle __no_netlink_support.
35299 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35300 code.
35301 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35302 Remove conditional code.
35303 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35304 code.
35305 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35306 unconditional.
35307 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35308 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35309 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35310 Remove.
35311 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35312 [!__ASSUME_STD_AUXV]: Remove conditional code.
35313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35314 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35315 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35317 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35318 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35319 code.
35320 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35322 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35323 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35324 conditional code.
35325 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35327 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35328 code.
35329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35330 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35331 conditional code.
35332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35333 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35334 code unconditional.
35335 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35336 conditional code.
35337 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35338 unconditional.
35339 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35340 conditional code.
35341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35342 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35343 unconditional.
35344 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35345 conditional code.
35346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35347 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35348 code unconditional.
35349 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35350 conditional code.
35351 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35352 unconditional.
35353 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35354 conditional code.
35355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35356 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35357 code unconditional.
35358 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35359 conditional code.
35360 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35361 unconditional.
35362 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35363 conditional code.
35364
842a39cd
AS
353652012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35366
35367 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35368 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35369 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35370 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35371 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35372 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35373 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35374 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35375 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35376 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35377 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35378 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35379 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35380 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35381 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35382 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35383 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35384 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35385 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35387 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35388 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35389 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35390
84b3fd84
FW
353912012-07-25 Florian Weimer <fweimer@redhat.com>
35392
35393 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35394 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35395 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35396 Introduce __libc_secure_getenv.
0c7936d5
FW
35397 * stdlib/Versions (2.17): Add secure_getenv
35398 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35399 * stdlib/secure-getenv.c: Rename __secure_getenv to
35400 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35401 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35402 * stdlib/tst-secure-getenv.c: New.
35403 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35404 * manual/startup.texi (Environment Access): Document
35405 secure_getenv.
84b3fd84
FW
35406 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35407 __libc_secure_getenv.
35408 * inet/ruserpass.c (ruserpass): Likewise.
35409 * malloc/mtrace.c (mtrace): Likewise.
35410 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35411 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35412 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35413 * sysdeps/posix/tempname.c: Likewise. Evaluate
35414 HAVE_SECURE_GETENV.
35415 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35416 __secure_getenv to __libc_secure_getenv.
84b3fd84 35417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35419 Likewise.
35420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35421 Likewise.
35422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35424 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35429
56e49b71
JM
354302012-07-25 Joseph Myers <joseph@codesourcery.com>
35431
35432 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35433 (struct La_i86_retval): Likewise.
35434 (struct La_x86_64_regs): Likewise.
35435 (struct La_x86_64_retval): Likewise.
35436 (struct La_x32_regs): Likewise.
35437 (struct La_x32_retval): Likewise.
35438 (struct La_ppc32_regs): Likewise.
35439 (struct La_ppc32_retval): Likewise.
35440 (struct La_ppc64_regs): Likewise.
35441 (struct La_ppc64_retval): Likewise.
35442 (struct La_sh_regs): Likewise.
35443 (struct La_sh_retval): Likewise.
35444 (struct La_s390_32_regs): Likewise.
35445 (struct La_s390_32_retval): Likewise.
35446 (struct La_s390_64_regs): Likewise.
35447 (struct La_s390_64_retval): Likewise.
35448 (struct La_sparc32_regs): Likewise.
35449 (struct La_sparc32_retval): Likewise.
35450 (struct La_sparc64_regs): Likewise.
35451 (struct La_sparc64_retval): Likewise.
35452 (struct audit_ifaces): Remove architecture-specific pltenter and
35453 pltexit members.
35454 * sysdeps/i386/ldsodefs.h: New file.
35455 * sysdeps/powerpc/ldsodefs.h: Likewise.
35456 * sysdeps/s390/ldsodefs.h: Likewise.
35457 * sysdeps/sh/ldsodefs.h: Likewise.
35458 * sysdeps/sparc/ldsodefs.h: Likewise.
35459 * sysdeps/x86_64/ldsodefs.h: Likewise.
35460
354691b7
MP
354612012-07-25 Marek Polacek <polacek@redhat.com>
35462
35463 [BZ #6808]
35464 * math/libm-test.inc (yn_test): Add another test.
35465 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35466 to ERANGE when the result is +-Inf.
35467 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35468 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35469 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35470 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35471
bf9e2071
JM
354722012-07-24 Joseph Myers <joseph@codesourcery.com>
35473
35474 * conform/data/time.h-data (NULL): Use macro-constant. Require
35475 equal to 0.
35476 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35477 clock_t.
35478 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35479
57633811
TS
354802012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35481
35482 * configure.in <sysdeps resolving>: Correct printing
35483 Implies_before.
35484 * configure: Regenerate.
35485
c23c33b0
TS
354862012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35487
35488 * math/w_ilogb.c: Include <limits.h>.
35489 * math/w_ilogbl.c: Likewise.
35490
b5982523
JM
354912012-07-20 Joseph Myers <joseph@codesourcery.com>
35492
35493 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35494 va_copy. Document allowing for unavailable va_copy only as
35495 pre-C99 compatibility.
35496 * manual/string.texi (Copying and Concatenation): Use va_copy
35497 instead of __va_copy in concat example.
35498
ac4ea442
PT
354992012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35500
35501 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35502 (__sendto): Use create_address_port. Initialize APORT and deallocate
35503 it if not null.
35504
f98eafbd
PT
35505 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35506 with O_NOLINK passed to __file_name_lookup.
35507
898c7aab
PT
35508 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35509 with O_NOLINK passed to __file_name_lookup.
35510
0ced335a
PT
35511 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35512 negative N or less than NGIDS.
35513
b3404dbd
PT
35514 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35515 type to string_t. Set ERANGE as errno and return it if NAME is not big
35516 enough. Use memcpy instead of strncpy.
35517
0f48659e
JM
355182012-07-20 Joseph Myers <joseph@codesourcery.com>
35519
35520 * elf/Makefile (check-data): Remove.
35521 (localplt.data): New vpath directive.
35522 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35523 instead of $(check-data).
35524 * scripts/data/localplt-generic.data: Move to ...
35525 * sysdeps/generic/localplt.data: ... here.
35526 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35527 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35528 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35530 ... here.
35531 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35533 ... here.
35534 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35536 ... here.
35537 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35539 ... here.
35540 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35542 ... here.
35543 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35545 ... here.
35546
d37cbdaa
AZ
355472012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35548
35549 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35550 PPC32 and PPC64 files.
35551 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35552 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35553
46f85fc2
AK
355542012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35555
35556 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35557 __makecontext_ret to ...
35558 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35559 ... here and call exit if uc_link is NULL. New file.
35560 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35561 __makecontext_ret.S.
35562 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35563 __makecontext_ret to ...
35564 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35565 ... here and call exit if uc_link is NULL. New file.
35566 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35567 __makecontext_ret.S.
35568
08f43f9b
AK
355692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35570
35571 * elf/elf.h (R_390_IRELATIVE): New definition.
35572 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35573 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35574 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35575 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35576 (elf_machine_lazy_rel): Likewise.
35577 * sysdeps/s390/dl-irel.h: New file.
35578 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35579 * sysdeps/s390/s390-64/memset.S: New asm code.
35580 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35581 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35582 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35583 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35584 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35585 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35586 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35587 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35588 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35589 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35590 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35591 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35592 * sysdeps/s390/s390-32/memset.S: New asm code.
35593 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35594
3b05db33
MP
355952012-07-17 Marek Polacek <polacek@redhat.com>
35596
35597 [BZ #14349]
35598 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35599 * sysdeps/s390/s390-64/configure.in: Likewise.
35600 * sysdeps/sparc/configure.in: Likewise.
35601 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35602 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35603 * sysdeps/i386/configure.in: Likewise.
35604 * sysdeps/x86_64/configure.in: Likewise.
35605 * sysdeps/sh/configure.in: Likewise.
35606 * sysdeps/s390/s390-32/configure: Regenerated.
35607 * sysdeps/s390/s390-64/configure: Likewise.
35608 * sysdeps/x86_64/configure: Likewise.
35609 * sysdeps/sh/configure: Likewise.
35610 * sysdeps/powerpc/powerpc64/configure: Likewise.
35611 * sysdeps/powerpc/powerpc32/configure: Likewise.
35612 * sysdeps/sparc/configure: Likwise.
35613 * sysdeps/i386/configure: Likewise.
35614
a66877c6
MP
35615 * elf/dl-open.c: Comment fixes.
35616
cfc82fd8
JM
356172012-07-17 Joseph Myers <joseph@codesourcery.com>
35618
bd29910a
JM
35619 * Makefile [CXX] (check-data): Remove.
35620 [CXX] (c++-types.data): New vpath directive.
35621 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35622 vpath. Do not allow for C++ type data being missing.
35623 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35624 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35625 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35626 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35627 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35628 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35629 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35631 ... here.
35632 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35634 ... here.
35635 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35637 ... here.
35638 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35640 ... here.
35641 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35643 ... here.
35644 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35646 ... here.
35647 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35649 ... here.
35650 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35652
cfc82fd8
JM
35653 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35654 definitions to architecture-specific files.
35655 (TLS_IE): Likewise.
35656 (TLS_LD): Likewise.
35657 (TLS_GD): Likewise.
35658 * sysdeps/i386/tls-macros.h: New file.
35659 * sysdeps/powerpc/tls-macros.h: Likewise.
35660 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35661 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35662 * sysdeps/sh/tls-macros.h: Likewise.
35663 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35664 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35665 * sysdeps/x86_64/tls-macros.h: Likewise.
35666
f7db3170
TS
356672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35668
07cbfc23
TS
35669 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35670 zero value for regular exit case.
35671
f7db3170
TS
35672 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35673 (__start_context): Preserve zero value for regular exit case.
35674
dc97c227
TS
356752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35676 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35677
35678 * manual/setjmp.texi (setcontext): Clarify normal process
35679 termination when uc_link is the null pointer.
35680 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35681 exit call.
35682
d0cd7d02
AS
356832012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35684
35685 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35686 preprocessor. Test for each exception mask separately.
35687
dd318934
AJ
356882012-07-16 Andreas Jaeger <aj@suse.de>
35689
35690 * po/ru.po: Update from translation team.
35691
8048311a
JM
356922012-07-15 Joseph Myers <joseph@codesourcery.com>
35693
35694 * conform/data/string.h-data (NULL): Use macro-constant. Require
35695 equal to 0.
35696 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35697 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35698 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35699 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35701
b637d46e
AJ
357022012-07-13 Andreas Jaeger <aj@suse.de>
35703
35704 * po/fr.po: Update from translation team.
35705
541428fe
MP
357062012-07-12 Marek Polacek <polacek@redhat.com>
35707
35708 [BZ #14173]
35709 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35710 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35711 loop condition.
35712
ec332e94
JM
357132012-07-12 Joseph Myers <joseph@codesourcery.com>
35714
35715 [BZ #13717]
35716 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35717 Change to 2.4.1 where previously 2.4.0.
35718 * sysdeps/unix/sysv/linux/configure: Regenerated.
35719 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35720 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35721 version.
35722 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35723 (__ASSUME_AT_CLKTCK): Remove.
35724 (__ASSUME_AT_PAGESIZE): Likewise.
35725 (__ASSUME_AT_XID): Likewise.
35726 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35727 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35728 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35729 unconditionally.
35730 (HAVE_AUX_PAGESIZE): Likewise.
35731 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35732 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35733 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35734
7b6e99be
JB
357352012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35736
35737 [BZ #14307]
35738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35739 the temporary buffer used to invoke __gethostbyname2_r,
35740 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35741 host_data / struct gaih_addrtuple.
35742 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35743 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35744 header file nss/nsswitch.h.
35745 * nss/nsswitch.h (global scope): Add definition of implementation
35746 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35747 resolv/nss_dns/dns-host.c).
35748
608404eb
AJ
357492012-07-11 Andreas Jaeger <aj@suse.de>
35750
35751 * po/fr.po: Update from translation team.
35752
71220aca
AJ
35753 * po/sv.po: Update from translation team
35754 * po/fr.po: Another update from translation team.
35755
28cfe843
AZ
357562012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35757
35758 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35759 for subnormals or multiply small sinh result by itself.
35760 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35762
6b90f981
DM
357632012-07-11 David S. Miller <davem@davemloft.net>
35764
35765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35766
c6825772
AS
357672012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35768
35769 [BZ #14347]
35770 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35771 (INTERNAL_MARK): Shift it here.
35772
7b8e0d49
MP
357732012-07-10 Marek Polacek <polacek@redhat.com>
35774
35775 [BZ #14151]
35776 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35777 libc_cv_asm_global_directive with .globl.
35778 * configure: Regenerated.
35779 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35780 with .globl.
35781 * sysdeps/i386/configure: Regenerated.
35782 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35783 with .globl.
35784 * sysdeps/x86_64/configure: Regenerated.
35785 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35786 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35787 * elf/tst-unique2mod2.c: Likewise.
35788 * elf/tst-unique2mod1.c: Likewise.
35789 * elf/tst-unique1mod2.c: Likewise.
35790 * elf/tst-unique1mod1.c: Likewise.
35791 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35792 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35793 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35794 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35795 * sysdeps/mach/sysdep.h: Likewise.
35796 * sysdeps/i386/sysdep.h: Likewise.
35797 * sysdeps/i386/i386-mcount.S: Likewise.
35798 * sysdeps/x86_64/_mcount.S: Likewise.
35799 * sysdeps/x86_64/sysdep.h: Likewise.
35800 * sysdeps/sh/_mcount.S: Likewise.
35801 * sysdeps/sh/sysdep.h: Likewise.
35802 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35803 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35804 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35805 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35806 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35807 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35808 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35809 * locale/localeinfo.h: Likewise.
35810 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35811 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35812
6c55cda3
RM
358132012-07-09 Roland McGrath <roland@hack.frob.com>
35814
35815 [BZ #14336]
35816 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35817 system".
35818 * manual/message.texi (The Uniforum approach): Likewise.
35819 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35820 (glibc iconv Implementation): Likewise.
35821
638a572e
JM
358222012-07-09 Joseph Myers <joseph@codesourcery.com>
35823
35824 [BZ #14337]
35825 * math/s_clog.c (__clog): Avoid scaling a value down where that
35826 could result in underflow.
35827 * math/s_clog10.c (__clog10): Likewise.
35828 * math/s_clog10f.c (__clog10f): Likewise.
35829 * math/s_clog10l.c (__clog10l): Likewise.
35830 * math/s_clogf.c (__clogf): Likewise.
35831 * math/s_clogl.c (__clogl): Likewise.
35832 * math/libm-test.inc (clog_test): Add more tests.
35833 (clog10_test): Likewise.
35834 * sysdeps/i386/fpu/libm-test-ulps: Update.
35835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35836
261f4859
AS
358372012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35838
0abaf3e4
AS
35839 [BZ #14283]
35840 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35841 by 7 not 8 to examine high bit of fractional part.
35842
261f4859
AS
35843 [BZ #14042]
35844 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35845 for call to __mcount_internal.
35846 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35847 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35848 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35849
f17ac40d
JM
358502012-07-06 Joseph Myers <joseph@codesourcery.com>
35851
9ad63c23
JM
35852 [BZ #14154]
35853 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35854 approximation for values within 0x1p-13f of an odd multiple of
35855 pi/4.
35856 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35857 exception. Add more tests.
35858 * sysdeps/i386/fpu/libm-test-ulps: Update.
35859
f17ac40d
JM
35860 [BZ #6778]
35861 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35862 inputs and return -1 for them. Do not check for +Inf in case not
35863 reachable for +Inf.
35864 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35865 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35866 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35867 and return -1 for them. Do not check for +Inf in case not
35868 reachable for +Inf.
35869 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35870 define.
35871 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35872 and return -1 for them. Do not check for +Inf in case not
35873 reachable for +Inf.
35874 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35875 spurious underflow.
35876 * sysdeps/i386/fpu/libm-test-ulps: Update.
35877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35878
fb21f89b
MF
358792012-07-06 Mike Frysinger <vapier@gentoo.org>
35880
35881 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35882
cdfe2c5e
JM
358832012-07-05 Joseph Myers <joseph@codesourcery.com>
35884
35885 [BZ #14157]
35886 [BZ #14331]
35887 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35888 could result in spurious underflow. Scale down values above
35889 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35890 * math/s_csqrtf.c (__csqrtf): Likewise.
35891 * math/s_csqrtl.c (__csqrtl): Likewise.
35892 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35893 spurious underflow.
35894 * sysdeps/i386/fpu/libm-test-ulps: Update.
35895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35896
70d35b67
AS
358972012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35898
704bc459
AS
35899 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35900 xopen-msg.sed.
35901 * catgets/xopen-msg.awk: New file.
35902 * catgets/xopen-msg.sed: Removed.
35903
70d35b67
AS
35904 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35905 po2text.sed.
35906 * intl/po2test.awk: New file.
35907 * intl/po2test.sed: Removed.
35908
ca61cf32
JM
359092012-07-04 Joseph Myers <joseph@codesourcery.com>
35910
35911 [BZ #14328]
35912 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35913 or multiply small sinh result by itself.
35914 * math/s_ctanf.c (__ctanf): Likewise.
35915 * math/s_ctanh.c (__ctanh): Likewise.
35916 * math/s_ctanhf.c (__ctanhf): Likewise.
35917 * math/s_ctanhl.c (__ctanhl): Likewise.
35918 * math/s_ctanl.c (__ctanl): Likewise.
35919 * math/libm-test.inc (ctan_test_tonearest): New function.
35920 (ctan_test_towardzero): Likewise.
35921 (ctan_test_downward): Likewise.
35922 (ctan_test_upward): Likewise.
35923 (ctanh_test_tonearest): Likewise.
35924 (ctanh_test_towardzero): Likewise.
35925 (ctanh_test_downward): Likewise.
35926 (ctanh_test_upward): Likewise.
35927 (main): Call these new functions.
35928 * sysdeps/i386/fpu/libm-test-ulps: Update.
35929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35930
ca48a46a
MF
359312012-07-03 Mike Frysinger <vapier@gentoo.org>
35932
35933 * .gitignore: Delete /ports entry.
35934
9d63d37d
AJ
359352012-07-03 Andreas Jaeger <aj@suse.de>
35936
35937 * po/bg.po: Update from translation team.
35938 * po/cs.po: Likewise.
35939 * po/de.po: Likewise.
35940 * po/hr.po: Likewise.
35941 * po/nl.pl: Likewise.
35942 * po/pl.po: Likewise.
35943 * po/vi.po: Likewise.
35944
370ca3d2
JM
359452012-07-03 Joseph Myers <joseph@codesourcery.com>
35946
95f5a9a8
JM
35947 * Makeconfig [!+link] (+link-before-libc): New variable.
35948 [!+link] (+link-after-libc): Likewise.
35949 [!+link] (+link-tests): Likewise.
35950 [!+link] (+link): Define in terms of $(+link-before-libc) and
35951 $(+link-after-libc).
35952 [!+link-static] (+link-static-before-libc): New variable.
35953 [!+link-static] (+link-static-after-libc): Likewise.
35954 [!+link-static] (+link-static-tests): Likewise.
35955 [!+link-static] (+link-static): Define in terms of
35956 $(+link-static-before-libc) and $(+link-static-after-libc).
35957 [build-shared] (link-libc-before-gnulib): New variable.
35958 [build-shared] (link-libc-tests): Likewise.
35959 [build-shared] (link-libc): Define in terms of
35960 $(link-libc-before-gnulib).
35961 [!build-shared] (link-libc-tests): New variable.
35962 (link-libc-static-tests): New variable.
35963 [!gnulib] (gnulib-arch): New variable.
35964 [!gnulib] (gnulib-tests): Likewise.
35965 [!gnulib] (static-gnulib-arch): Likewise.
35966 [!gnulib] (static-gnulib-tests): Likewise.
35967 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35968 Define with "=" instead of ":=".
35969 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35970 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35971 * Rules (binaries-all-notests): New variable.
35972 (binaries-all-tests): Likewise.
35973 (binaries-static-notests): Likewise.
35974 (binaries-static-tests): Likewise.
35975 (binaries-all): Define using $(binaries-all-notests) and
35976 $(binaries-all-tests).
35977 (binaries-static): Define using $(binaries-static-notests) and
35978 $(binaries-static-tests).
35979 (binaries-shared-tests): New variable.
35980 (binaries-shared-notests): Likewise.
35981 (binaries-shared): Remove variable.
35982 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35983 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35984 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35985 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35986 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35987 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35988 * elf/Makefile (sln-modules): New variable.
35989 (extra-objs): Add $(sln-modules:=.o).
35990 (ldconfig-modules): Add static-stubs.
35991 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35992 * elf/static-stubs.c: New file.
35993
7a845b2c
JM
35994 [BZ #14283]
35995 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35996 by 7 not 8 to examine high bit of fractional part. Use volatile
35997 variables when splitting into final array of floats if
35998 __FLT_EVAL_METHOD__ != 0.
35999 * math/libm-test.inc (cos_test): Add another test.
36000 (sin_test): Likewise.
36001 * sysdeps/i386/fpu/libm-test-ulps: Update.
36002
e2283f38
JM
36003 [BZ #14273]
36004 * math/libm-test.inc (cosh_test): Add more tests.
36005
370ca3d2
JM
36006 * version.h (RELEASE): Set to "development".
36007 (VERSION): Set to "2.16.90".
36008
ee9247c3
CD
360092012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36010
36011 * NEWS: Update copyright. Remove last-updated date.
36012 Mention math library bug fixes and timezone data changes.
36013 * README: Mention GNU/Hurd, x32, and HPPA support status.
36014
4648c381
TS
360152012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36016
36017 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36018
aac78a43
AJ
360192012-06-27 Andreas Jaeger <aj@suse.de>
36020
36021 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36022
ed3dbfad
AJ
360232012-06-25 Andreas Jaeger <aj@suse.de>
36024
36025 * sysdeps/s390/fpu/libm-test-ulps: Update.
36026
4d0ee855
AS
360272012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36028 Thomas Schwinge <thomas@codesourcery.com>
36029
36030 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36031 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36033 fanotify_mark.
36034
af1bce34
TS
360352012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36036
a9fa33ba
TS
36037 * sysdeps/mach/start.c: Remove file.
36038 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36039 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36040 * sysdeps/sh/init-first.c: Likewise.
36041
58f902b8
TS
36042 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36043 registers for frame unwinding purposes, add CFI directives.
36044 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36045 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36046 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36047 Likewise.
36048
1518f58b
TS
36049 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36050 __fortify_fail returning.
36051 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36052
db9b5059
TS
36053 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36054 sysdeps/sh/____longjmp_chk.S.
36055 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36056 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36057 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36058 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36059
967705fe
TS
36060 * sysdeps/sh/abort-instr.h: New file.
36061 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36062 process in case exit returns.
36063
a9def8c4
TS
36064 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36065 initialize the GOT register before use.
36066
2a649725
TS
36067 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36068 calculation of ARGC > 4.
36069
af1bce34
TS
36070 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36071 meaningful names to some local labels.
36072
d230f50a
KK
360732012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36074 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36075
36076 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36077 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36078 (__arch_compare_and_exchange_val_16_acq): Likewise.
36079 (__arch_compare_and_exchange_val_32_acq): Likewise.
36080 (atomic_exchange_and_add): Fix gUSA sequence.
36081 (atomic_add): Likewise.
36082 (atomic_add_negative): Likewise.
36083 (atomic_add_zero): Likewise.
36084 (atomic_bit_test_set): Likewise.
36085
0479b305
AS
360862012-06-22 Andreas Schwab <schwab@redhat.com>
36087
36088 [BZ #13579]
36089 * include/link.h (struct link_map): Add l_free_initfini.
36090 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36091 l_initfini.
36092 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36093 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36094 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36095 set.
36096
0e3933b9
CD
360972012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36098
36099 * configure.in: Use AC_LANG_SOURCE.
36100 * configure: Regenerate.
36101
4248b1b1
RM
361022012-06-22 Roland McGrath <roland@hack.frob.com>
36103
36104 * configure.in (libc_cv_localstatedir): New substituted variable.
36105 * configure: Regenerated.
36106 * config.make.in (localstatedir): New variable, substituted from
36107 libc_cv_localstatedir.
36108 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36109 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36110 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36111 * sysdeps/gnu/configure: Regenerated.
36112
006dd861
JL
361132012-06-21 Jeff Law <law@redhat.com>
36114
36115 [BZ #14277]
36116 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36117 free. Simplify list management for _LIBC case.
36118
79662d42
JM
361192012-06-21 Joseph Myers <joseph@codesourcery.com>
36120
b7abb4bf
JM
36121 [BZ #14273]
36122 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36123 Clear sign bit of 64-bit integer value before comparing against
36124 overflow value.
36125
79662d42
JM
36126 * sysdeps/mach/configure: Regenerated.
36127
1f150908
L
361282012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36129
36130 [BZ #14278]
36131 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36132
28363bbf
JL
361332012-06-21 Jeff Law <law@redhat.com>
36134
36135 [BZ #13882]
36136 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36137 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36138 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36139 * elf/dl-open.c (dl_open_worker): Likewise.
36140
09615db4
CD
361412012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36142
36143 * scripts/list-sources.sh: Scan PORTS for translations.
36144 * po/libc.pot: Regenerated.
36145
2174c6dd
AJ
361462012-06-21 Andreas Jaeger <aj@suse.de>
36147
36148 [BZ #12194]
36149 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36150 warning.
36151 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36152 * bits/byteswap-16.h (__bswap_16): Likewise.
36153 * bits/byteswap.h (__bswap_constant_16): Likewise.
36154
3ee947b1
L
361552012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36156
36157 [BZ #14117]
a2f34833
L
36158 * sysdeps/i386/fpu_control.h: Removed.
36159 * sysdeps/x86_64/fpu_control.h: Moved to ...
36160 * sysdeps/x86/fpu_control.h: Here.
36161
3ee947b1
L
36162 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36163 (_FPU_SETCW): Likewise.
36164
ed1825f8
L
361652012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36166
25f1282a
L
36167 [BZ #14117]
36168 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36169 * sysdeps/x86/fpu/bits/mathinline.h: This.
36170 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36171
ed1825f8
L
36172 [BZ #14050]
36173 [BZ #14117]
36174 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36175 functions if __x86_64__ is defined.
36176
36d54b74
CLT
361772012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36178
36179 * string/endian.h: Add !__ASSEMBLER__ condition for including
36180 conversion interfaces.
36181
10285c21
JM
361822012-06-15 Joseph Myers <joseph@codesourcery.com>
36183
36184 [BZ #14241]
36185 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36186 of ABS(x) in calculating zero to negative powers other than odd
36187 integers.
36188 * math/libm-test.inc (pow_test): Add more tests.
36189
06c5abbd
AJ
361902012-06-15 Andreas Jaeger <aj@suse.de>
36191
36192 * manual/contrib.texi (Contributors): Update entry of Liubov
36193 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36194 Machado Filho.
36195
a3aeac40
CH
361962012-06-15 Cyril Hrubis <metan@ucw.cz>
36197
36198 * string/string.h: Add __wur to GNU version of strerror_r.
36199
49bdf4c1
L
362002012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36201
36202 [BZ #14229]
36203 * string/Makefile (tests): Add tst-strtok_r.
36204 * string/tst-strtok_r.c: New file.
36205 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36206 RAX_LP/RDX_LP on SAVE_PTR.
36207
834f9b8d
RM
362082012-06-14 Roland McGrath <roland@hack.frob.com>
36209
36210 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36211
75fa1921
JM
362122012-06-14 Joseph Myers <joseph@codesourcery.com>
36213
36214 * libm_test.inc (csqrt_test): Allow more spurious underflow
36215 exceptions.
36216 (j0_test): Likewise.
36217 (j1_test): Likewise.
36218 (y0_test): Likewise.
36219 (y1_test): Likewise.
36220
771766df
CD
362212012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36222
36223 * po/Makefile (libc.pot): Use UTF-8 charset.
36224
ceb9e56b
PP
362252012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36226
36227 [BZ #14210]
36228 Suppress sign-conversion warning from FD_SET.
36229 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36230 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36231 not unsigned long int.
36232 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36233
ddb28975
L
362342012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36235
36236 [BZ #14050]
36237 [BZ #14117]
36238 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36239 __extern_always_inline instead of __extern_inline.
36240 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36241 (__signbit): Likewise.
36242 (__signbitl): Support C++ namespace.
36243 (lrintf): New inline function.
36244 (lrint): Likewise.
36245 (llrintf): Likewise.
36246 (llrint): Likewise.
36247 (fmaxf): Likewise.
36248 (fmax): Likewise.
36249 (fminf): Likewise.
36250 (fmin): Likewise.
36251 (rint): Likewise.
36252 (rintf): Likewise.
36253 (ceil): Likewise.
36254 (ceilf): Likewise.
36255 (floor): Likewise.
36256 (floorf): Likewise.
36257 (nearbyint): Likewise.
36258 (nearbyintf): Likewise.
36259
d7b4fb26
TS
362602012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36261
36262 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36263 non-default versions.
36264
eb55f5c2
RM
362652012-06-11 Roland McGrath <roland@hack.frob.com>
36266
36267 [BZ #14218]
36268 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36269
366af02c
TS
362702012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36271
99ff6e5c
TS
36272 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36273 (FE_UPWARD, FE_DOWNWARD): Don't define.
36274 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36275 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36276
366af02c
TS
36277 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36278 reading it.
36279 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36280 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36281
793ea851
KK
362822012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36283
36284 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36285 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36286 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36287 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36288
a728a38f
L
362892012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36290
36291 [BZ #14117]
c08010c7
L
36292 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36293 * sysdeps/i386/fpu/Implies: New file.
36294 * sysdeps/x86_64/fpu/Implies: Likewise.
36295 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36296 * sysdeps/x86/fpu/bits/fenv.h: This.
36297
a728a38f
L
36298 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36299 __SSE_MATH__.
36300
6e230d11
SP
363012012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36302
36303 [BZ #14134]
36304 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36305 character 0xffff that matches the last element of the
36306 conversion table.
36307
1b671feb
AZ
363082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36309
36310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36311 fmodl commit.
36312
6043738b
AZ
363132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36314
36315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36316 values higher than 25.6283.
36317
34ae0b32
AZ
363182012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36319
36320 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36321 subnormal exponent extraction and add some __builtin_expect.
36322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36323 Fix for subnormal mantissa calculation.
36324
1214ec8f
MF
363252012-06-04 Mike Frysinger <vapier@gentoo.org>
36326
36327 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36328 cpu2 is -1 and errno is not ENOSYS.
36329
f3d1f93c
L
363302012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36331
36332 [BZ #14117]
0e4a3cd7
L
36333 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36334 * sysdeps/x86/bits/string.h: This.
36335 * sysdeps/x86_64/bits/string.h: Removed.
36336
6704c645
L
36337 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36338 if not compiling for x86-64, but compiling for >= i486.
36339
48495318
L
36340 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36341 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36342
14adcbfc
L
36343 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36344 New macro from Linux kernel 3.4.0.
36345 (FP_XSTATE_MAGIC2): Likewise.
36346 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36347 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36348 (struct _fpx_sw_bytes): New struct.
36349 (struct _xsave_hdr): Likewise.
36350 (struct _ymmh_state): Likewise.
36351 (struct _xstate): Likewise.
36352
68e408ab
L
36353 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36354 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36355 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36356 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36357 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36358 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36359
f3d1f93c
L
36360 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36362 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36363 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36364 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36365 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36366
d9dc34cd
TMQMF
363672012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36368
36369 [BZ #13743]
36370 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36371 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36372 (sysdep_headers): Include sys/platform/ppc.h.
36373 * sysdeps/powerpc/test-gettimebase.c: Test for
36374 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36375 * manual/Makefile (appendices): Include platform.texi.
36376 * manual/contrib.texi (Contributors): Update @node pointers.
36377 * manual/maint.texi (Maintenance): Likewise.
36378 (Platform): New node.
36379 * manual/platform.texi: New file. Document the new features.
36380
4af3879c
SP
363812012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36382 Jakub Jelinek <jakub@redhat.com>
36383
36384 [BZ #14188]
36385 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36386 where __builtin_expect is unavailable.
36387
2fd6ff13
DM
363882012-06-03 David S. Miller <davem@davemloft.net>
36389
36390 * stdlib/longlong.h: Updated from GCC.
36391
173f7220
AS
363922012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36393
36394 [BZ #14042]
36395 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36396 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36397 __mcount_internal.
36398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36399 (GLIBC_2.16): Likewise.
36400
f34a1c6f
L
364012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36402
36403 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36404
88a4576f
JM
364052012-06-01 Joseph Myers <joseph@codesourcery.com>
36406
ea32bcdd
JM
36407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36408 (default-abi): New variable.
36409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36410 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36411 variable.
36412 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36413 Likewise.
36414 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36415 Likewise.
36416 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36417 Likewise.
36418
88a4576f
JM
36419 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36420 definition. Document in comment.
36421
402fe938
DM
364222012-06-01 David S. Miller <davem@davemloft.net>
36423
36424 * stdlib/longlong.h: Updated from GCC.
36425
3553723f
L
364262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36427
36428 [BZ #14117]
3bd872c4
L
36429 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36430 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36431 sys/debugreg.h sys/io.h here.
36432 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36433 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36434 sys/io.h.
36435 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36436 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36437 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36438 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36439 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36440 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36441
3553723f
L
36442 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36443 Define only if __x86_64__ is defined.
36444
4842e4fe
JM
364452012-06-01 Joseph Myers <joseph@codesourcery.com>
36446
c5bfe3d5
JM
36447 [BZ #14048]
36448 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36449 Use int64_t for variable i.
36450 * math/libm-test.inc (fmod_test): Add more tests.
36451
4842e4fe
JM
36452 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36453 z computation is not scheduled after fetestexcept.
36454 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36455 Use math_force_eval instead of asm to ensure calculation scheduled
36456 before exception test.
36457 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36458 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36459
efb73488
AJ
364602012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36461
36462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36463 computation is not scheduled after fetestexcept.
36464
29bcce7c
L
364652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36466
36467 [BZ #14117]
36468 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36469 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36470
73a68f94
AZ
364712012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36472
36473 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36474 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36475
67b6df78
L
364762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36477
edf2933a 36478 [BZ #14117]
ebc64a18
L
36479 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36480 <bits/wordsize.h>.
36481 (__WCHAR_MIN): Support __WORDSIZE == 64.
36482 (__WCHAR_MAX): Likewise.
36483
edf2933a
L
36484 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36485 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36486
57c6cf40
L
36487 [BZ #14183]
36488 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36489 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36490
67b6df78 36491 [BZ #14117]
8eb6281e
L
36492 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36493 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36494
aac639f4
L
36495 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36496 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36497
67b6df78
L
36498 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36499 Defined to 1 if __x86_64__ isn't defined.
36500 (_STAT_VER_LINUX_OLD): New.
36501 (st_atime): Remove duplicate.
36502 (st_mtime): Likewise.
36503 (st_ctime): Likewise.
36504
1c2cfe81
DM
365052012-05-31 David S. Miller <davem@davemloft.net>
36506
36507 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36508 entries.
36509
5be8418c
AS
365102012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36511
e7725326
AS
36512 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36513 gen-libm-test.pl.
36514
5be8418c
AS
36515 [BZ #14132]
36516 * elf/dl-reloc.c: Include <_itoa.h>.
36517 (_dl_reloc_bad_type): Remove use of INTUSE.
36518 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36519 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36520 * stdio-common/psiginfo.c (psiginfo): Likewise.
36521 * stdio-common/psignal.c (psignal): Likewise.
36522 * string/strsignal.c (strsignal): Likewise.
36523 * include/signal.h (_sys_siglist): Declare hidden proto.
36524 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36525 INTVARDEF with libc_hidden_data_def.
36526 * stdio-common/itoa-udigits.c: Likewise.
36527 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36528 (_itoa_lower_digits_internal): Remove declaration.
36529 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36530 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36531 (_sys_sigabbrev_internal): Remove aliases.
36532 (_sys_siglist): Define hidden alias.
36533
507352f1
MT
365342012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36535
36536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36537 bits/sysctl.h.
36538
42bbb1c3
L
365392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36540
36541 [BZ #14117]
6bd784b6
L
36542 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36543 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36544
8bca20f0
L
36545 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36546 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36547 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36548 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36549 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36550 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36551
f9e890a9
L
36552 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36553 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36554 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36555
471101a1
L
36556 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36557 with __addr.
36558 (insw): Likewise.
36559 (insl): Likewise.
36560 (outsb): Likewise.
36561 (outsw): Likewise.
36562 (outsl): Likewise.
36563
6451c862
L
36564 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36565 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36566 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36567
a254b8c9
L
36568 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36569 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36571 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36572 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36573 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36574
b8dfdd92
L
36575 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36576 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36577
578cd270
L
36578 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36579 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36580
de662f5f
L
36581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36583 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36584
25653439
L
36585 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36586 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36587 to ...
36588 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36589
6bad24a0
L
36590 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36591 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36592 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36593
42bbb1c3
L
36594 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36595 for x86-64.
36596 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36597
2d10d547
JM
365982012-05-31 Joseph Myers <joseph@codesourcery.com>
36599
36600 * math/math.h (M_El): Use two more decimal places.
36601 (M_LOG2El): Likewise.
36602 (M_LOG10El): Likewise.
36603 (M_LN2l): Likewise.
36604 (M_LN10l): Likewise.
36605 (M_PIl): Likewise.
36606 (M_PI_2l): Likewise.
36607 (M_PI_4l): Likewise.
36608 (M_1_PIl): Likewise.
36609 (M_2_PIl): Likewise.
36610 (M_2_SQRTPIl): Likewise.
36611 (M_SQRT2l): Likewise.
36612 (M_SQRT1_2l): Likewise.
36613
f230c29b
DM
366142012-05-31 David S. Miller <davem@davemloft.net>
36615
36616 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36617 values between float registers.
36618 * sysdeps/sparc/sparc64/memset.S: Likewise.
36619 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36620
fed806c3
MF
366212012-05-31 Mike Frysinger <vapier@gentoo.org>
36622
36623 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36624 -D_FORTIFY_SOURCE=1.
36625 (CPPFLAGS-tst-longjmp_chk.c): Define.
36626 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36627 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36628 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36629 CFLAGS-tst-wchar-h.c.
36630
30917259
MP
366312012-05-31 Marek Polacek <polacek@redhat.com>
36632
36633 [BZ #14132]
36634 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36635 __endmntent_internal): Remove declaration.
36636 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36637 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36638 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36639
1c58d5dc
DM
366402012-05-30 David S. Miller <davem@davemloft.net>
36641
36642 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36643 (___Q_simulate_exceptions): Use real FP ops rather than writing
36644 into the %fsr.
36645 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36646 Likewise.
36647
7dc00e0d
L
366482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36649
36650 [BZ #14117]
0bd53985
L
36651 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36652 * sysdeps/x86/bits/xtitypes.h: This.
36653
3a257e66
L
36654 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36655 * sysdeps/x86/bits/wordsize.h: This.
36656
62f62904
L
36657 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36658 * sysdeps/x86/bits/huge_vall.h: This.
36659
404fe9d9
L
36660 * sysdeps/i386/bits/select.h: Removed.
36661 * sysdeps/x86_64/bits/select.h: Renamed to ...
36662 * sysdeps/x86/bits/select.h: This.
36663
d48d0446
L
36664 * sysdeps/i386/bits/setjmp.h: Removed.
36665 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36666 * sysdeps/x86/bits/setjmp.h: This.
36667
7dc00e0d
L
36668 * sysdeps/i386/bits/mathdef.h: Removed.
36669 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36670 * sysdeps/x86/bits/mathdef.h: This.
36671
03277f8f
AS
366722012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36673
36674 [BZ #14132]
36675 * include/sys/socket.h (__connect_internal)
36676 (__libc_sa_len_internal): Remove declaration.
36677 (__connect, __libc_sa_len): Declare hidden_proto.
36678 (SA_LEN): Remove use of INTUSE.
36679 * socket/connect.c: Add libc_hidden_def.
36680 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36681 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36682 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36683 alias.
36684 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36685 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36686 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36687 of adding _internal alias.
36688
13764867
L
366892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36690
36691 [BZ #14117]
6bd97696
L
36692 * sysdeps/i386/bits/link.h: Removed.
36693 * sysdeps/i386/bits/linkmap.h: Likewise.
36694 * sysdeps/x86_64/bits/link.h: Renamed to ...
36695 * sysdeps/x86/bits/link.h: This.
36696 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36697 * sysdeps/x86/bits/linkmap.h: This.
36698
f726f0bb
L
36699 * sysdeps/i386/bits/endian.h: Removed.
36700 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36701 * sysdeps/x86/bits/endian.h: This.
36702
13764867
L
36703 * sysdeps/i386/bits/byteswap.h: Removed.
36704 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36705 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36706 * sysdeps/x86/bits/byteswap.h: This.
36707 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36708 * sysdeps/x86/bits/byteswap-16.h: This.
36709 * sysdeps/i386/Implies: Add x86.
36710 * sysdeps/x86_64/Implies: Likewise.
36711
ae251b0b
DM
367122012-05-30 David S. Miller <davem@davemloft.net>
36713
36714 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36715 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36716 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36717 (FP_TRAPPING_EXCEPTIONS): Define.
36718 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36719 (FP_TRAPPING_EXCEPTIONS): Define.
36720 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36721 subnormals only when inexact has been signalled or underflow
36722 exceptions are enabled.
36723 (_FP_PACK_CANONICAL): Likewise.
36724
d5c90867
L
367252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36726
36727 [BZ #14183]
36728 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36729 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36730
63f1549e
RH
367312012-05-30 Richard Henderson <rth@twiddle.net>
36732
8d8f2279
RH
36733 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36734 with #ifndef NOT_IN_libc.
36735
63f1549e
RH
36736 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36737 marked to avoid plt entry.
36738
0ab0291b
L
367392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36740
36741 [BZ #14112]
36742 * Makeconfig (default-abi): New macro.
36743 (abi-includes): Likewise.
36744 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36745 $(abi-$(default-abi)-lib-soname) for soname if defined.
36746 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36747 abi-variants.
36748 * Makefile (installed-stubs): Likewise.
36749 * include/stubs-biarch.h: Removed.
36750 * scripts/lib-names.awk: Only handle one library at a time.
36751 * scripts/soversions.awk: Remove WORDSIZE support.
36752 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36753 entries.
36754 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36755 Removed.
36756 (syscall-list-default-condition): Likewise.
36757 (syscall-list-default-condition): Likewise.
36758 (syscall-list-includes): Likewise.
36759 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36760 syscall-list-* with abi-*. Handle undefined abi-variants.
36761 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36762 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36763 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36764 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36765 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36766 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36767 Removed.
36768 (syscall-list-32-options): Likewise.
36769 (syscall-list-32-condition): Likewise.
36770 (syscall-list-64-options): Likewise.
36771 (syscall-list-64-condition): Likewise.
36772 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36773 macro.
36774 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36775 Renamed to ...
36776 (abi-*): This.
36777 (abi-64-ld-soname): New macro.
36778 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36779 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36780 Renamed to ...
36781 (abi-*): This.
36782 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36783 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36784
4da0431d
JM
367852012-05-30 Joseph Myers <joseph@codesourcery.com>
36786
3a85279c
JM
36787 * sysdeps/unix/sysv/linux/kernel-features.h
36788 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36789 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36790 include <kernel-features.h>.
36791 [!__NR_ftruncate64]: Remove conditional code.
36792 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36793 [__NR_ftruncate64]: Make code unconditional.
36794 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36795 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36796 include <kernel-features.h>.
36797 [!__NR_ftruncate64]: Remove conditional code.
36798 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36799 [__NR_ftruncate64]: Make code unconditional.
36800 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36802 include <kernel-features.h>.
36803 [!__NR_ftruncate64]: Remove conditional code.
36804 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36805 [__NR_ftruncate64]: Make code unconditional.
36806 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36808 include <kernel-features.h>.
36809 [!__NR_ftruncate64]: Remove conditional code.
36810 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36811 [__NR_ftruncate64]: Make code unconditional.
36812 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36813
4da0431d
JM
36814 * configure.in (libc_cv_fpie): Weaken to a compile test using
36815 LIBC_TRY_CC_OPTION.
36816 * configure: Regenerated.
36817
11ef492c
AK
368182012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36819
36820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36824 Refreshed.
36825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36831 Refreshed.
36832
d66ef399
DM
368332012-05-27 David S. Miller <davem@davemloft.net>
36834
36835 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36836 (___Q_zero): New.
36837 (__Q_simulate_exceptions): Return void. Change to simulate
36838 exceptions by writing into the %fsr.
36839 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36840 (__Qp_handle_exceptions): Likewise.
36841 (numbers): Delete.
36842 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36843 __Qp_handle_exceptions.
36844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36845 __Qp_handle_exceptions.
36846 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36847 as unused and give dummy FP_RND_NEAREST initializer.
36848 (FP_INHIBIT_RESULTS): Define.
36849 (___Q_simulate_exceptions): Update declaration.
36850 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36851 formatting.
36852 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36853 as unused and give dummy FP_RND_NEAREST initializer.
36854 (__Qp_handle_exceptions): Update declaration.
36855 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36856 formatting.
36857
04fb54b5
TS
368582012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36859
36860 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36861 the temporary FPU control word.
36862 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36863 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36864 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36865 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36866 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36867 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36868 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36869 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36870 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36871 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36872 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36873
3f99608f
KK
368742012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36875
36876 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36877 fields.
36878
65a4de4e
CLT
368792012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36880
36881 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36882 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36883 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36884 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36885 Likewise.
36886 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36887 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36888 Likewise.
36889
15749d40
UD
368902012-05-27 Ulrich Drepper <drepper@gmail.com>
36891
36892 * po/h.po: Update from translation team.
36893
25dbcb27
AS
368942012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36895
3d3f8e55
AS
36896 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36897
25dbcb27
AS
36898 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36899 handling of denormals.
36900 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36901 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36902 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36903 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36904 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36907 Likewise.
36908
7ad47a80 369092012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36910
36911 [BZ #14152]
36912 * math/libm-test.inc (fma_test): Don't always expect underflow
36913 exception.
36914
9c6ea9fa
SP
369152012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36916
36917 [BZ #12416]
36918 * elf/tst-execstack.c: Include stackinfo.h.
36919 (do_test): Adjust test case to ensure that pthread_getattr_np
36920 behaviour remains the same after marking stack executable.
36921
a8239222
JM
369222012-05-25 Joseph Myers <joseph@codesourcery.com>
36923
36924 * sysdeps/unix/sysv/linux/kernel-features.h
36925 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36926 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36927 kernel-features.h.
36928 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36929 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36930 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36931 kernel-features.h.
36932 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36933 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36934
918b5606
L
369352012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36936
36937 * configure.in: Define the default includes to being none.
36938 * configure: Regenerated.
36939
3a097cc7
RM
369402012-05-25 Roland McGrath <roland@hack.frob.com>
36941
8422c9a5
RM
36942 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36943 * sysdeps/x86_64/setjmp.S: Likewise.
36944 * sysdeps/i386/bsd-setjmp.S: Likewise.
36945 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36946 * sysdeps/i386/setjmp.S: Likewise.
36947 * sysdeps/i386/__longjmp.S: Likewise.
36948 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36949 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36950
3a097cc7
RM
36951 * include/stap-probe.h: New file.
36952 * configure.in: Handle --enable-systemtap.
36953 * configure: Regenerated.
36954 * config.h.in (USE_STAP_PROBE): New #undef.
36955 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36956 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36957 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36958
21708942
JM
369592012-05-25 Joseph Myers <joseph@codesourcery.com>
36960
36961 [BZ #13717]
36962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36963 to 2.4.0 where earlier.
36964 * sysdeps/unix/sysv/linux/configure: Regenerated.
36965 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36966 <kernel-features.h>.
36967 [__ASSUME_32BITUIDS]: Make code unconditional.
36968 [!__ASSUME_32BITUIDS]: Remove conditional code.
36969 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36970 <kernel-features.h>.
36971 [__ASSUME_32BITUIDS]: Make code unconditional.
36972 [!__ASSUME_32BITUIDS]: Remove conditional code.
36973 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36974 [__ASSUME_32BITUIDS]: Make code unconditional.
36975 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36976 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36977 <kernel-features.h>.
36978 [__ASSUME_32BITUIDS]: Make code unconditional.
36979 [!__ASSUME_32BITUIDS]: Remove conditional code.
36980 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36981 <kernel-features.h>.
36982 [__ASSUME_32BITUIDS]: Make code unconditional.
36983 [!__ASSUME_32BITUIDS]: Remove conditional code.
36984 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36985 <kernel-features.h>.
36986 [__ASSUME_32BITUIDS]: Make code unconditional.
36987 [!__ASSUME_32BITUIDS]: Remove conditional code.
36988 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36989 <kernel-features.h>.
36990 [__ASSUME_32BITUIDS]: Make code unconditional.
36991 [!__ASSUME_32BITUIDS]: Remove conditional code.
36992 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36993 <kernel-features.h>.
36994 [__ASSUME_32BITUIDS]: Make code unconditional.
36995 [!__ASSUME_32BITUIDS]: Remove conditional code.
36996 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36997 <kernel-features.h>.
36998 [__ASSUME_32BITUIDS]: Make code unconditional.
36999 [!__ASSUME_32BITUIDS]: Remove conditional code.
37000 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37001 <kernel-features.h>.
37002 [__ASSUME_32BITUIDS]: Make code unconditional.
37003 [!__ASSUME_32BITUIDS]: Remove conditional code.
37004 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37005 <kernel-features.h>.
37006 [__ASSUME_32BITUIDS]: Make code unconditional.
37007 [!__ASSUME_32BITUIDS]: Remove conditional code.
37008 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37009 <kernel-features.h>.
37010 [__ASSUME_32BITUIDS]: Make code unconditional.
37011 [!__ASSUME_32BITUIDS]: Remove conditional code.
37012 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37013 <kernel-features.h>.
37014 [__ASSUME_32BITUIDS]: Make code unconditional.
37015 [!__ASSUME_32BITUIDS]: Remove conditional code.
37016 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37017 <kernel-features.h>.
37018 [__NR_setresgid] (__setresgid): Do not declare.
37019 [__ASSUME_32BITUIDS]: Make code unconditional.
37020 [!__ASSUME_32BITUIDS]: Remove conditional code.
37021 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37022 <kernel-features.h>.
37023 [__NR_setresuid] (__setresuid): Do not declare.
37024 [__ASSUME_32BITUIDS]: Make code unconditional.
37025 [!__ASSUME_32BITUIDS]: Remove conditional code.
37026 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37027 <kernel-features.h>.
37028 [__ASSUME_32BITUIDS]: Make code unconditional.
37029 [!__ASSUME_32BITUIDS]: Remove conditional code.
37030 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37031 <kernel-features.h>.
37032 [__ASSUME_32BITUIDS]: Make code unconditional.
37033 [!__ASSUME_32BITUIDS]: Remove conditional code.
37034 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37035 <kernel-features.h>.
37036 [__ASSUME_32BITUIDS]: Make code unconditional.
37037 [!__ASSUME_32BITUIDS]: Remove conditional code.
37038 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37039 <kernel-features.h>.
37040 [__ASSUME_32BITUIDS]: Make code unconditional.
37041 [!__ASSUME_32BITUIDS]: Remove conditional code.
37042 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37043 <kernel-features.h>.
37044 [__ASSUME_32BITUIDS]: Make code unconditional.
37045 [!__ASSUME_32BITUIDS]: Remove conditional code.
37046 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37047 <kernel-features.h>.
37048 [__ASSUME_32BITUIDS]: Make code unconditional.
37049 [!__ASSUME_32BITUIDS]: Remove conditional code.
37050 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37051 <kernel-features.h>.
37052 [__ASSUME_32BITUIDS]: Make code unconditional.
37053 [!__ASSUME_32BITUIDS]: Remove conditional code.
37054 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37055 <kernel-features.h>.
37056 [__ASSUME_32BITUIDS]: Make code unconditional.
37057 [!__ASSUME_32BITUIDS]: Remove conditional code.
37058 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37059 <kernel-features.h>.
37060 [__ASSUME_32BITUIDS]: Make code unconditional.
37061 [!__ASSUME_32BITUIDS]: Remove conditional code.
37062 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37063 <kernel-features.h>.
37064 [__ASSUME_32BITUIDS]: Make code unconditional.
37065 [!__ASSUME_32BITUIDS]: Remove conditional code.
37066 * sysdeps/unix/sysv/linux/kernel-features.h
37067 (__ASSUME_SETRESUID_SYSCALL): Remove.
37068 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37069 (__ASSUME_32BITUIDS): Likewise.
37070 (__ASSUME_LDT_WORKS): Likewise.
37071 (__ASSUME_O_DIRECTORY): Likewise.
37072 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37073 architecture but not kernel version.
37074 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37075 (__ASSUME_MMAP2_SYSCALL): Likewise.
37076 (__ASSUME_STAT64_SYSCALL): Likewise.
37077 (__ASSUME_IPC64): Likewise.
37078 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37079 <kernel-features.h>.
37080 [__ASSUME_32BITUIDS]: Make code unconditional.
37081 [!__ASSUME_32BITUIDS]: Remove conditional code.
37082 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37083 <kernel-features.h>.
37084 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37085 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37086 132096]: Remove conditional code.
37087 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37088 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37089 <kernel-features.h>.
37090 [__ASSUME_32BITUIDS]: Make code unconditional.
37091 [!__ASSUME_32BITUIDS]: Remove conditional code.
37092 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37093 <kernel-features.h>.
37094 [__ASSUME_32BITUIDS]: Make code unconditional.
37095 [!__ASSUME_32BITUIDS]: Remove conditional code.
37096 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37097 <kernel-features.h>.
37098 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37099 unconditional.
37100 (__setresgid): Do not declare.
37101 [__ASSUME_32BITUIDS]: Make code unconditional.
37102 [!__ASSUME_32BITUIDS]: Remove conditional code.
37103 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37104 <kernel-features.h>.
37105 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37106 unconditional.
37107 (__setresuid): Do not declare.
37108 [__ASSUME_32BITUIDS]: Make code unconditional.
37109 [!__ASSUME_32BITUIDS]: Remove conditional code.
37110 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37111 <kernel-features.h>.
37112 [__ASSUME_32BITUIDS]: Make code unconditional.
37113 [!__ASSUME_32BITUIDS]: Remove conditional code.
37114 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37115 <kernel-features.h>.
37116 [__ASSUME_32BITUIDS]: Make code unconditional.
37117 [!__ASSUME_32BITUIDS]: Remove conditional code.
37118
a386f1cc
RH
371192012-05-25 Richard Henderson <rth@twiddle.net>
37120
37121 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37122 dl_hwcap to ifunc resolver.
37123 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37124 elf_ifunc_invoke.
37125 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37126 dl_hwcap to ifunc resolver.
37127 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37128
b6550497
JM
371292012-05-24 Joseph Myers <joseph@codesourcery.com>
37130
37131 [BZ #14153]
37132 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37133 for |x| <= 2**-26, not 2**-57.
37134 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37135 exception.
37136
b0bc23a1
JL
371372012-05-24 Jeff Law <law@redhat.com>
37138
37139 * stdio-common/Makefile (tests): Add bug25.
37140 * stdio-common/bug25.c: New test.
37141
347c92e9
L
371422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37143
37144 [BZ #13576]
37145 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37146 multiple of MALLOC_ALIGNMENT in size.
37147 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37148
6bcc8b3f
JM
371492012-05-24 Joseph Myers <joseph@codesourcery.com>
37150
37151 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37152 Require >= 256.
37153 (FILENAME_MAX): Use macro-int-constant.
37154 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37155 (_IOFBF): Use macro-int-constant.
37156 (_IOLBF): Likewise.
37157 (_IONBF): Likewise.
37158 (SEEK_CUR): Likewise.
37159 (SEEK_END): Likewise.
37160 (SEEK_SET): Likewise.
37161 (TMP_MAX): Likewise.
37162 (EOF): Use macro-int-constant. Require < 0.
37163 (NULL): Use macro-constant. Require == 0.
37164 (stdin): Require type to be FILE *.
37165 (stdout): Likewise.
37166 (stderr): Likewise.
37167 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37168 macro-int-constant.
37169 (EXIT_SUCCESS): Likewise.
37170 (NULL): Use macro-constant. Require == 0.
37171 (RAND_MAX): Use macro-int-constant.
37172 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37173 [C99-based standards] (strtof): Require function.
37174 [C99-based standards] (strtold): Likewise.
37175 [C99-based standards] (strtoll): Likewise.
37176 [C99-based standards] (strtoull): Likewise.
37177 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37178 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37179 [ISO || ISO99 || ISO11] (math.h): Likewise.
37180 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37181 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37183
d18ea0c5
AS
371842012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37185
37186 [BZ #14132]
56d25bb8
AS
37187 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37188 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37189 * intl/dgettext.c (DCGETTEXT): Likewise.
37190 * intl/gettext.c (DCGETTEXT): Likewise.
37191 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37192 * posix/regex_internal.h (gettext): Likewise.
37193 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37194 Remove declaration.
37195 * include/argz.h (__argz_count_internal)
37196 (__argz_stringify_internal): Remove declaration.
37197 (__argz_count, __argz_stringify): Declare hidden proto.
37198 * intl/dcgettext.c: Remove use of INTDEF.
37199 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37200 * string/argz-stringify.c: Likewise.
37201 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37202 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37203 Declare hidden proto.
d18ea0c5
AS
37204 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37205 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37206 Declare hidden proto.
37207 * include/stdio.h (__asprintf_internal): Don't declare.
37208 (__asprintf): Don't define as macro. Declare hidden proto.
37209 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37210 (__fsetlocking): Declare hidden proto.
37211 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37212 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37213 hidden proto.
37214 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37215 (_IO_setlinebuf): Remove use of INTUSE.
37216 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37217 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37218 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37219 Remove declaration.
37220 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37221 (_IO_do_flush): Remove use of INTUSE.
37222 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37223 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37224 (_IO_adjust_column, _IO_least_wmarker)
37225 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37226 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37227 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37228 (_IO_default_doallocate, _IO_wdefault_doallocate)
37229 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37230 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37231 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37232 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37233 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37234 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37235 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37236 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37237 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37238 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37239 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37240 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37241 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37242 proto.
37243 (_IO_flush_all_internal, _IO_adjust_column_internal)
37244 (_IO_default_uflow_internal, _IO_default_finish_internal)
37245 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37246 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37247 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37248 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37249 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37250 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37251 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37252 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37253 (_IO_file_close_internal, _IO_file_close_it_internal)
37254 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37255 (_IO_file_init_internal, _IO_file_attach_internal)
37256 (_IO_file_fopen_internal, _IO_file_read_internal)
37257 (_IO_file_sync_internal, _IO_file_seek_internal)
37258 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37259 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37260 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37261 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37262 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37263 (_IO_list_all_internal, _IO_link_in_internal)
37264 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37265 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37266 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37267 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37268 (_IO_do_write_internal, _IO_padn_internal)
37269 (_IO_getline_info_internal, _IO_getline_internal)
37270 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37271 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37272 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37273 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37274 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37275 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37276 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37277 with libc_hidden_ver, remove use of INTUSE.
37278 * libio/genops.c: Likewise.
37279 * libio/freopen.c: Likewise.
37280 * libio/freopen64.c: Likewise.
37281 * libio/iofclose.c: Likewise.
37282 * libio/iofdopen.c: Likewise.
37283 * libio/iofflush.c: Likewise.
37284 * libio/iofflush_u.c: Likewise.
37285 * libio/iofgets.c: Likewise.
37286 * libio/iofgets_u.c: Likewise.
37287 * libio/iofopen.c: Likewise.
37288 * libio/iofopncook.c: Likewise.
37289 * libio/iofread.c: Likewise.
37290 * libio/iofread_u.c: Likewise.
37291 * libio/ioftell.c: Likewise.
37292 * libio/iofwrite.c: Likewise.
37293 * libio/iogetline.c: Likewise.
37294 * libio/iogets.c: Likewise.
37295 * libio/iogetwline.c: Likewise.
37296 * libio/iopadn.c: Likewise.
37297 * libio/iopopen.c: Likewise.
37298 * libio/ioseekoff.c: Likewise.
37299 * libio/ioseekpos.c: Likewise.
37300 * libio/iosetbuffer.c: Likewise.
37301 * libio/iosetvbuf.c: Likewise.
37302 * libio/ioungetc.c: Likewise.
37303 * libio/ioungetwc.c: Likewise.
37304 * libio/iovdprintf.c: Likewise.
37305 * libio/iovsprintf.c: Likewise.
37306 * libio/iovsscanf.c: Likewise.
37307 * libio/memstream.c: Likewise.
37308 * libio/obprintf.c: Likewise.
37309 * libio/oldfileops.c: Likewise.
37310 * libio/oldiofclose.c: Likewise.
37311 * libio/oldiofdopen.c: Likewise.
37312 * libio/oldiofopen.c: Likewise.
37313 * libio/oldiopopen.c: Likewise.
37314 * libio/oldstdfiles.c: Likewise.
37315 * libio/putc.c: Likewise.
37316 * libio/setbuf.c: Likewise.
37317 * libio/setlinebuf.c: Likewise.
37318 * libio/stdfiles.c: Likewise.
37319 * libio/strops.c: Likewise.
37320 * libio/vasprintf.c: Likewise.
37321 * libio/vscanf.c: Likewise.
37322 * libio/vsnprintf.c: Likewise.
37323 * libio/vswprintf.c: Likewise.
37324 * libio/wfiledoalloc.c: Likewise.
37325 * libio/wfileops.c: Likewise.
37326 * libio/wgenops.c: Likewise.
37327 * libio/wmemstream.c: Likewise.
37328 * libio/wstrops.c: Likewise.
37329 * libio/__fpurge.c: Likewise.
37330 * libio/__fsetlocking.c: Likewise.
37331 * assert/assert.c: Likewise.
37332 * debug/fgets_chk.c: Likewise.
37333 * debug/fgets_u_chk.c: Likewise.
37334 * debug/fread_chk.c: Likewise.
37335 * debug/fread_u_chk.c: Likewise.
37336 * debug/gets_chk.c: Likewise.
37337 * debug/obprintf_chk.c: Likewise.
37338 * debug/vasprintf_chk.c: Likewise.
37339 * debug/vdprintf_chk.c: Likewise.
37340 * debug/vsnprintf_chk.c: Likewise.
37341 * debug/vsprintf_chk.c: Likewise.
37342 * malloc/mtrace.c: Likewise.
37343 * misc/error.c: Likewise.
37344 * misc/syslog.c: Likewise.
37345 * stdio-common/asprintf.c: Likewise.
37346 * stdio-common/fxprintf.c: Likewise.
37347 * stdio-common/getw.c: Likewise.
37348 * stdio-common/isoc99_fscanf.c: Likewise.
37349 * stdio-common/isoc99_scanf.c: Likewise.
37350 * stdio-common/isoc99_vfscanf.c: Likewise.
37351 * stdio-common/isoc99_vscanf.c: Likewise.
37352 * stdio-common/isoc99_vsscanf.c: Likewise.
37353 * stdio-common/printf-prs.c: Likewise.
37354 * stdio-common/printf_fp.c: Likewise.
37355 * stdio-common/printf_fphex.c: Likewise.
37356 * stdio-common/printf_size.c: Likewise.
37357 * stdio-common/putw.c: Likewise.
37358 * stdio-common/scanf.c: Likewise.
37359 * stdio-common/sprintf.c: Likewise.
37360 * stdio-common/tmpfile.c: Likewise.
37361 * stdio-common/vfprintf.c: Likewise.
37362 * stdio-common/vfscanf.c: Likewise.
37363 * stdlib/strfmon_l.c: Likewise.
37364 * sunrpc/openchild.c: Likewise.
37365 * sunrpc/xdr_stdio.c: Likewise.
37366 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37367 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37368
d6c33fda
RM
373692012-05-24 Roland McGrath <roland@hack.frob.com>
37370
c1487492
RM
37371 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37372
37373 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37374 in the third column, to generate for the shared library an IFUNC
37375 that uses _dl_vdso_vsym.
37376 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37377 * Makeconfig (object-suffixes-noshared): New variable.
37378
37379 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37380 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37381 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37382 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37383
d6c33fda
RM
37384 [BZ #14132]
37385 * include/sys/time.h (__gettimeofday): Remove macro.
37386 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37387 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37388 Remove INTDEF.
37389 (__gettimeofday): Add libc_hidden_def.
37390 (gettimeofday): Add libc_hidden_weak.
37391 * sysdeps/mach/gettimeofday.c: Likewise.
37392 * sysdeps/posix/gettimeofday.c: Likewise.
37393 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37394 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37396 (__gettimeofday_internal): Remove strong_alias.
37397 (__gettimeofday): Add libc_hidden_def.
37398 (gettimeofday): Add libc_hidden_weak.
37399 * sysdeps/unix/syscalls.list (gettimeofday):
37400 Remove __gettimeofday_internal alias.
37401
b5a2bbe6
L
374022012-05-24 Daniel Jacobowitz <drow@false.org>
37403 H.J. Lu <hongjiu.lu@intel.com>
37404
37405 [BZ #12495]
37406 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37407 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37408 (largebin_index_32_big): New.
37409 (largebin_index): Use it for 16-byte alignment.
37410 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37411 correction with front_misalign.
37412
cfba4fda
L
374132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37414
7f907421
L
37415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37417 Likewise.
37418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37419 Likewise.
37420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37421 Likewise.
37422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37423 Likewise.
37424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37425 Likewise.
37426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37427 Likewise.
37428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37429 Likewise.
37430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37431 Likewise.
37432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37433 Likewise.
37434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37435 Likewise.
37436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37437 Likewise.
37438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37439 Likewise.
37440
cfba4fda
L
37441 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37442 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37443
80bad0cc
JM
374442012-05-24 Joseph Myers <joseph@codesourcery.com>
37445
7a25eb06
JM
37446 [BZ #10846]
37447 [BZ #14036]
37448 * math/libm-test.inc (exp_test): Add test from bug 14036.
37449 (pow_test): Add test from bug 10846.
37450
795405f9
JM
37451 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37452 and other flags.
37453 (special_function): Do not include flags in test name.
37454 (parse_args): Likewise.
37455 * sysdeps/i386/fpu/libm-test-ulps: Update.
37456 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37457 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37458 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37460
80bad0cc
JM
37461 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37462 exceptions.
37463 * math/libm-test.inc ("Philosophy"): Update comment about
37464 exception testing.
37465 (UNDERFLOW_EXCEPTION): New macro.
37466 (UNDERFLOW_EXCEPTION_OK): Likewise.
37467 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37468 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37469 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37470 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37471 (INVALID_EXCEPTION_OK): Update value.
37472 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37473 (OVERFLOW_EXCEPTION_OK): Likewise.
37474 (IGNORE_ZERO_INF_SIGN): Likewise.
37475 (test_exceptions): Handle underflow exceptions.
37476 (acos_test): Update for underflow exception expectations.
37477 (cexp_test): Likewise.
37478 (clog_test): Likewise.
37479 (clog10_test): Likewise.
37480 (csqrt_test): Likewise.
37481 (ctan_test): Likewise.
37482 (ctanh_test): Likewise.
37483 (exp_test): Likewise.
37484 (exp10_test): Likewise.
37485 (exp2_test): Likewise.
37486 (expm1_test): Likewise.
37487 (fma_test): Likewise.
37488 (j0_test): Likewise.
37489 (jn_test): Likewise.
37490 (nexttoward_test): Likewise.
37491 (pow_test): Likewise.
37492 (scalbn_test): Likewise.
37493 (scalbln_test): Likewise.
37494 (tan_test): Likewise.
37495 (y1_test): Likewise.
37496 * sysdeps/i386/fpu/libm-test-ulps: Update.
37497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37498
9e0e3d0b
DM
374992012-05-23 David S. Miller <davem@davemloft.net>
37500
37501 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37502 (__libc_sigaction): Remove unused local variables.
37503
ccd0a08f
L
375042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37505
37506 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37507
62bdf9a6
PE
375082012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37509
f8591f80
PE
37510 mktime: avoid signed integer overflow
37511 * time/mktime.c (__mktime_internal): Do not mishandle the case
37512 where diff == INT_MIN.
37513
94c7d826
PE
37514 mktime: simplify computation of average
37515 * time/mktime.c (ranged_convert): Use new time_t_avg function
37516 instead of rolling our own (probably-slower) code.
37517
ce73d683
PE
37518 mktime: do not assume signed right shift propagates sign bit
37519 * time/mktime.c (isdst_differ): New static function.
37520 (__mktime_internal): No need to normalize tm_isdst now.
37521 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37522 tm_isdst values.
37523
72a22e59
PE
37524 mktime: merge another wrapv change from gnulib
37525 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37526 from some compilers.
37527
68605433
PE
37528 mktime: remove incorrect attempt at unusual arithmetics
37529 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37530 The code didn't really work on such machines anyway.
37531 (TYPE_MINIMUM): Assume two's complement.
37532 (twos_complement_arithmetic): Verify that long_int and time_t
37533 are two's complement (or unsigned, in the latter case).
37534
03cf7fe3
PE
37535 mktime: check signed shifts on long_int and time_t, too
37536 * time/mktime.c (SHR): Check that shifts work as desired
37537 on the types long_int and time_t too, as SHR is used on
37538 such types.
37539
f04dfbc2
PE
37540 mktime: do not assume 'long' is wide enough
37541 * time/mktime.c (verify): Move decl up.
37542 (long_int): New type.
37543 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37544 to remove assumption in the code that 'long' is wide enough to
37545 store year values. This assumption is not true on x32 and on
37546 some non-glibc platforms.
37547
62bdf9a6
PE
37548 mktime: merge wrapv change from gnulib
37549 * time/mktime.c (WRAPV): New macro.
37550 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37551 (guess_time_tm, __mktime_internal): Do not assume that signed
37552 integer overflow wraps around; modern compilers generate code
37553 where this assumption is no longer valid.
37554
5e292e4f
L
375552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37556
37557 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37558 Replace "jmp L(pseudo_end)" with "ret".
37559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37560 Likewise.
37561
8caf8c87
AJ
375622012-05-23 Andreas Jaeger <aj@suse.de>
37563
37564 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37565 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37566
1a09dc56
AJ
375672012-05-23 Andreas Jaeger <aj@suse.de>
37568 Maximilian Attems <max@stro.at>
37569
37570 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37571 New macros.
37572
1c87aba0
L
375732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37574
37575 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37576 code so that pseudo_end is just ret and the stack pointer is
37577 correct also for static library in error case.
37578
40e45bd5
JM
375792012-05-23 Joseph Myers <joseph@codesourcery.com>
37580
c2670533
JM
37581 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37582 move to syscalls.list.
37583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37587
40e45bd5
JM
37588 * manual/install.texi (Running make install): Do not mention Linux
37589 kernel version for which pt_chown is not needed.
37590 (Linux): Do not mention problems with nscd with 2.0 kernels.
37591 * INSTALL: Regenerated.
37592
be08eda5
AJ
375932012-05-23 Andreas Jaeger <aj@suse.de>
37594
37595 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37596 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37597 macro.
37598 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37599 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37600 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37601 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37602 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37603 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37604 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37605 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37606 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37607 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37608 * sysdeps/unix/sysv/linux/bits/in.h
37609 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37610
a6a056bb
RM
376112012-05-22 Roland McGrath <roland@hack.frob.com>
37612
37613 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37614 (PREPARE_VERSION): Just use assert instead, it will be elided
37615 under [NDEBUG] anyway.
37616
c9009328
L
376172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37618
37619 * sysdeps/unix/sysv/linux/Makefile: Include
37620 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37621 (sysdep_routines): Remove sysctl.
c9009328
L
37622 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37623 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37624 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37625 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37626 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37627
73338355
AJ
376282012-05-22 Andreas Jaeger <aj@suse.de>
37629
37630 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37631 that pseudo_end is just ret and the stack pointer is correct also
37632 for static library in error case.
37633
d44638b0
PP
376342012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37635
37636 [BZ #14122]
37637 * nss/nsswitch.c (defconfig_entries): New variable.
37638 (__nss_database_lookup): Don't leak defconfig entries.
37639 (nss_parse_service_list): Don't leak on error paths.
37640 (free_database_entries): New function.
37641 (free_defconfig): New function.
37642 (free_mem): Move common code to free_database_entries.
37643
31a39bd8
L
376442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37645
da0331a8
L
37646 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37647 Add arch_prctl.
37648 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37649
31a39bd8
L
37650 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37651 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37653 New macro.
37654 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37655 (INTERNAL_SYSCALL_TYPES): Likewise.
37656 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37657 (LOAD_REGS_TYPES_[1-6]): Likewise.
37658 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37659 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37660
45470df3
AZ
376612012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37662
37663 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37664 copysignl for GLIBC_2_0.
37665 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37666 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37668 logbl for GLIBC_2_0.
37669 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37670 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37671
98a61bcb
L
376722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37673
a4f6e481
L
37674 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37675 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37676
f63d5db6
L
37677 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37678 Use "neg %eax".
37679
98a61bcb
L
37680 * time/mktime.c: Update copyright years.
37681
95770f14
PE
376822012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37683
6226efbd
PE
37684 mktime: merge comment-quoting-style change from gnulib
37685 * time/mktime.c: Quote 'like this' in comments.
37686 The GNU coding standards suggest that we no longer quote `like this',
37687 as "`" and "'" are typically rendered asymmetrically nowadays.
37688 The typical gnulib style is to quote 'like this' when quoting
37689 code, and "like this" when quoting English.
37690
b99e4f78
PE
37691 * time/mktime.c (compile-command): Add "-I.".
37692
643e01e6
PE
37693 mktime: merge mktime-internal.h change from gnulib
37694 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37695
2554247d
PE
37696 mktime: merge time_r change from gnulib
37697 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37698
826dd0ab
PE
37699 mktime: merge DEBUG change from gnulib
37700 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37701 case system <time.h> has a #define.
37702
bd83aabe
PE
37703 mktime: merge <sys/types.h> change from gnulib
37704 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37705 since <time.t> is now guaranteed to define time_t.
37706
95770f14
PE
37707 mktime: merge HAVE_CONFIG_H change from gnulib
37708 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37709
5e1a27a9
L
377102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37711
0e44a77e
L
37712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37713 Use "neg %eax".
37714
5e1a27a9
L
37715 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37716 __rlim_t cast.
37717 (struct rusage): Use anonymous union to pad each field to
37718 __syscall_slong_t.
37719
46259bec
DM
377202012-05-21 David S. Miller <davem@davemloft.net>
37721
37722 * Makefules (o-iterator): Remove .s cases.
37723 (compile-command.s): Delete.
37724 (COMPILE.s): Delete.
37725 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37726
59f0c22e
JM
377272012-05-21 Joseph Myers <joseph@codesourcery.com>
37728
37729 * configure.in (libc_cv_predef_stack_protector): Only consider
37730 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37731 * configure: Regenerated.
37732
20c07380
L
377332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37734
bbb3154b
L
37735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37736 New macro. Use R*LP on int and pointer.
37737 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37738 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37739 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37740 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37741
20c07380
L
37742 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37743 [__WORDSIZE_TIME64_COMPAT32] instead of
37744 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37745 (struct utmp): Likewise.
37746 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37747 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37748 Renamed to ...
37749 (__WORDSIZE_TIME64_COMPAT32): This.
37750 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37751 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37752 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37753 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37754 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37755 (__WORDSIZE_TIME64_COMPAT32): New macro.
37756
d8d1017e
AJ
377572012-05-21 Andreas Jaeger <aj@suse.de>
37758
37759 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37760 only if [SHARED]. Add prototype for __wcschr_ia32.
37761
6c7fb145
RM
377622012-05-21 Roland McGrath <roland@hack.frob.com>
37763
37764 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37765 of %rbp unmolested in the jmp_buf while mangling the low bits.
37766 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37767 unmolested high bits of %rbp while demangling the low bits.
37768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37769
66274218
AJ
377702012-05-21 Andreas Jaeger <aj@suse.de>
37771
07c58f8f
AJ
37772 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37773 * sunrpc/svc_simple.c: Use it for registerrpc.
37774 * sunrpc/xcrypt.c: Use it for passwd2des.
37775
66274218
AJ
37776 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37777
61f65140
L
377782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37779
37780 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37781 Don't define if [__SYSCALL_WORDSIZE != 32].
37782 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37783 New macro.
37784
5fefb436
AJ
377852012-05-21 Bruno Haible <bruno@clisp.org>
37786 Andreas Jaeger <aj@suse.de>
37787
37788 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37789 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37790 inptr and inend for must_buffer_ch.
37791 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37792 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37793 * stdio-common/Makefile (tests): Remove bug15.
37794 (bug15-ENV): Remove macro.
37795 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37796 anymore.
37797
d8e272ab
AJ
377982012-05-19 Andreas Jaeger <aj@suse.de>
37799 Roland McGrath <roland@hack.frob.com>
37800
37801 * manual/contrib.texi: Completely rewritten. It contains now an
37802 alphabetical list of contributors and their contributions.
37803
4a56a162
RH
378042012-05-21 Richard Henderson <rth@twiddle.net>
37805
37806 * misc/getauxval.c (__getauxval): Use unsigned long int.
37807 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37808 (getauxval): Use unsigned long int.
37809
d024d23c
L
378102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37811
37812 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37813
cbc00a03
RM
378142012-05-21 Roland McGrath <roland@hack.frob.com>
37815
37816 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37817 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37818 __alignof__ (long double).
37819
478143fa
AZ
378202012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37821
37822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37823
c7683a6d
RH
378242012-05-20 Richard Henderson <rth@twiddle.net>
37825
37826 * misc/getauxval.c: New file.
37827 * misc/sys/auxv.h: New file.
37828 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37829 (routines): Add getauxval.
37830 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37831 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37832 * elf/dl-sysdep.c (_dl_auxv): Remove.
37833 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37834 * elf/dl-support.c (_dl_auxv): New variable.
37835 (_dl_aux_init): Initialize it.
37836 * manual/startup.texi (Auxiliary Vector): New node.
37837 * sysdeps/generic/bits/hwcap.h: New file.
37838 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37839 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37840 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37841 * sysdeps/sparc/sysdep.h: ... here. Include it.
37842 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37843 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37845 Update.
c7683a6d
RH
37846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37854
a6f1845d
AZ
378552012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37856
37857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37858
cbcbe830
DM
378592012-05-19 David S. Miller <davem@davemloft.net>
37860
37861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37862
e0b16cc2
JM
378632012-05-19 Joseph Myers <joseph@codesourcery.com>
37864
37865 [BZ #14123]
37866 * math/s_ccosh.c: Include <float.h>
37867 (__ccosh): Avoid internal overflow calculating sinh and cosh
37868 values before multiplying by sin and cos values.
37869 * math/s_ccoshf.c: Likewise.
37870 * math/s_ccoshl.c: Likewise.
37871 * math/s_csin.c: Likewise.
37872 * math/s_csinf.c: Likewise.
37873 * math/s_csinl.c: Likewise.
37874 * math/s_csinh.c: Likewise.
37875 * math/s_csinhf.c: Likewise.
37876 * math/s_csinhl.c: Likewise.
37877 * math/libm-test.inc (ccos_test): Add more tests.
37878 (ccosh_test): Likewise.
37879 (csin_test): Likewise.
37880 (csinh_test): Likewise.
37881 * sysdeps/i386/fpu/libm-test-ulps: Update.
37882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37883
6ad13e08
L
378842012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37885
f66f0ce8
L
37886 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37887 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37888
6ad13e08
L
37889 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37890
b1d072a7
JM
378912012-05-19 Joseph Myers <joseph@codesourcery.com>
37892
37893 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37894 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37895 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37896 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37897 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37898 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37899 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37900 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37901 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37902 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37903 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37904 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37905 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37906 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37907 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37908 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37909 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37910 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37911 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37912 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37913 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37914 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37915 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37916 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37917 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37918 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37919 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37920 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37921 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37922 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37923 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37924
9eae47cb
AJ
379252012-05-18 Andreas Jaeger <aj@suse.de>
37926
37927 * csu/.gitignore: Delete.
37928
bb07f69f
L
379292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37930
37931 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37932 (timex): Use __syscall_slong_t.
37933
e6bdb741
AJ
379342012-05-18 Andreas Jaeger <aj@suse.de>
37935 Carlos O'Donell <carlos_odonell@mentor.com>
37936
37937 * manual/install.texi (Configuring and compiling): Update
37938 description about files modified in the source directory.
d6c33fda 37939 * INSTALL: Regenerated.
e6bdb741 37940
1b74487e
L
379412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37942
37943 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37944 value. Use "or" to set return value to -1.
37945 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37946 negate return value.
37947
a88b64b9
TMQMF
379482012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37949
57f41c40
AS
37950 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37951 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37952 failure if the compiler has Graphite support disabled.
37953 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37954 Likewise.
57f41c40
AS
37955 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37956 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37957 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37958 Likewise.
37959
3707636e
L
379602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37961
610b8622
L
37962 * sysdeps/x86_64/x32/_itoa.h: New file.
37963
7cd195df
L
37964 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37965 getdents system call only if kernel and user dirents have the
37966 same d_ino and d_off.
37967
94b07d20
L
37968 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37969 LLONG_MAX != LONG_MAX.
37970 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37971 (_fitoa_word): Likewise.
37972
18298070
L
37973 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37974 years.
37975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37976 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37977 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37978
553c7ea4
L
37979 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37980 include <bits/wordsize.h>. Check __x86_64__ instead of
37981 __WORDSIZE.
37982 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37983 if __x86_64__ is defined. Use anonymous union on fpstate.
37984
3707636e
L
37985 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37986 anonymous union.
37987
b53ef01a
AS
379882012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37989
37fb1dc0
AS
37990 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37991 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37992 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37993 Refer to _rtld_local_ro instead of _rtld_global_ro.
37994 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37995 Likewise.
37996 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37997 Likewise.
37998 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37999 Likewise.
38000 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38001 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38002 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38003
b53ef01a
AS
38004 * sysdeps/powerpc/powerpc32/dl-machine.c
38005 (__elf_machine_runtime_setup) [PROF]: Don't reference
38006 _dl_prof_resolve.
38007
7a185db2
AJ
380082012-05-18 Andreas Jaeger <aj@suse.de>
38009
38010 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38011 function only available for GCCs before 3.4 since GCC 3.4
38012 introduced a builtin.
38013 (lrint): Likewise.
38014 (llrintf): Likewise.
38015 (llrint): Likewise.
38016 (fmaxf): Likewise.
38017 (fmax): Likewise.
38018 (fminf): Likewise.
38019 (fmin): Likewise.
38020 (rint): Likewise.
38021 (rintf): Likewise.
38022 (nearbyint): Likewise.
38023 (nearbyintf): Likewise.
38024 (ceil): Likewise.
38025 (ceilf): Likewise.
38026 (floor): Likewise.
38027 (floorf): Likewise.
38028
3e5aef87
L
380292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38030
428bd707
L
38031 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38032 on both fields and cast pointer to __syscall_ulong_t.
38033
3e5aef87
L
38034 * bits/types.h (__fsword_t): New type.
38035 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38036 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38038 (__FSWORD_T_TYPE): Likewise.
38039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38040 (__FSWORD_T_TYPE): Likewise.
38041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38042 (__FSWORD_T_TYPE): Likewise.
38043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38044 (__FSWORD_T_TYPE): Likewise.
38045 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38046 __SWORD_TYPE with __fsword_t.
38047 (statfs64): Likewise.
38048
1ba7c3dc
DM
380492012-05-17 David S. Miller <davem@davemloft.net>
38050
38051 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38052
59910343
AJ
380532012-05-17 Andreas Jaeger <aj@suse.de>
38054
38055 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38056 warning.
38057
2e4c1e9e
L
380582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38059
38060 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38061
de7f5ce7
AJ
380622012-05-17 Andreas Jaeger <aj@suse.de>
38063
38064 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38065 when it is used.
38066
286abc3d
CM
380672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38068
38069 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38070
477cc68e
L
380712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38072
38073 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38074 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38075
1a0994f5
CD
380762012-05-17 Andreas Jaeger <aj@suse.de>
38077 Carlos O'Donell <carlos_odonell@mentor.com>
38078
38079 [BZ #14059]
38080 * sysdeps/x86_64/multiarch/init-arch.h
38081 (bit_YMM_Usable): Rename to...
38082 (bit_AVX_Usable): ... this.
38083 (bit_FMA4_Usable): New macro.
38084 (bit_XMM_state): New macro.
38085 (bit_YMM_state): New macro.
38086 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38087 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38088 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38089 (CPUID_OSXSAVE): New macro.
38090 (CPUID_AVX): New macro.
38091 (CPUID_FMA4): New macro.
38092 (index_YMM_Usable): Rename to...
38093 (index_AVX_Usable): ... this.
38094 (HAS_AVX): Use HAS_ARCH_FEATURE.
38095 (HAS_FMA4): Likewise.
38096 (HAS_YMM_USABLE): Remove.
38097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38098 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38099 are present.
38100 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38101 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38102 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38103 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38104 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38105
0af797de
CM
381062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38107
38108 * math/libm-test.c: Support platforms without multiple rounding modes.
38109 * math/bug-nextafter.c: Support platforms without FP exceptions.
38110 * math/bug-nexttoward.c: Likewise.
38111 * math/test-fenv.c: Likewise.
38112 * math/test-misc.c: Likewise.
38113 * stdlib/bug-getcontext.c: Likewise.
38114
e39745ff
AJ
381152012-05-17 Andreas Jaeger <aj@suse.de>
38116
38117 * manual/examples/search.c (critter_cmp): Change signature to
38118 avoid warnings.
38119 * manual/string.texi (Collation Functions): Likewise.
38120
48970aba
L
381212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38122
38123 * bits/types.h: Fold copyright years.
38124 * bits/typesizes.h: Likewise.
38125 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38127 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38128 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38129 * time/time.h: Likewise.
38130
bedee953
PP
381312012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38132
38133 [BZ #208]
38134 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38135 in instead of returning them. Return void.
38136 (__libc_mallinfo): Accumulate over all arenas.
38137 (__malloc_stats): Adjust for change in int_mallinfo interface.
38138
61653dfb
RM
381392012-05-16 Roland McGrath <roland@hack.frob.com>
38140
30b99d79
RM
38141 [BZ #10375]
38142 * configure.in (NM): Add AC_CHECK_TOOL for it.
38143 (libc_extra_cflags): New substituted variable.
38144 Check for -fstack-protector being used implicitly.
38145 * configure: Regenerated.
38146 * config.make.in (config-extra-cflags): New variable,
38147 gets @libc_extra_cflags@.
38148 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38149
61653dfb
RM
38150 [BZ #10375]
38151 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38152 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38153 * configure: Regenerated.
38154 * config.make.in (CPPUNDEFS): New substituted variable.
38155 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38156 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38157 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38158
661768bb
L
381592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38160
38161 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38162 (mq_attr): Use __syscall_slong_t.
38163
d4261567
L
381642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38165
38166 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38167 Check __x86_64__ instead of __WORDSIZE.
38168 (_STAT_VER_LINUX): Likewise.
38169 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38170 __syscall_ulong_t and __syscall_slong_t.
38171 (stat64): Likewise.
38172
cf3ff365
L
381732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38174
38175 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38176
76cf3e4d
L
381772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38178
38179 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38180
a637753a
L
381812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38182
38183 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38184 __syscall_ulong_t.
38185
d5e05119
L
38186 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38187 include <bits/wordsize.h>. Check __x86_64__ instead of
38188 __WORDSIZE.
38189 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38190 defined.
38191 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38192
f62ee380
L
38193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38194 include <bits/wordsize.h>. Check __x86_64__ instead of
38195 __WORDSIZE.
38196 (user_regs_struct): Use "__extension__ unsigned long long"
38197 instead of "unsigned long" if __x86_64__ is defined.
38198 (user): Likewise. Pad after pointer field if __ILP32__ is
38199 defined.
38200
4e124ced
JM
382012012-05-16 Joseph Myers <joseph@codesourcery.com>
38202
6a3951a0
JM
38203 * configure.in (makeinfo): Require version 4.5 or later. Allow
38204 versions 5 to 9.
38205 * configure: Regenerated.
38206 * manual/install.texi (texinfo): Increase version requirement to
38207 4.5 or later.
38208 * INSTALL: Regenerated.
38209
4e124ced
JM
38210 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38211
953ca31a
L
382122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38213
38214 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38215
617aca05
L
38216 * sysdeps/x86_64/x32/ffs.c: New file.
38217
5762f7ae
L
38218 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38219 __syscall_ulong_t.
38220 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38221 defined. Use __syscall_ulong_t.
38222 (shminfo): Use __syscall_ulong_t.
38223 (shm_info): Likewise.
38224
a26b6856
L
38225 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38226 __syscall_ulong_t.
38227
cb2b9ef7
L
38228 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38229 <bits/wordsize.h>.
38230 (msgqnum_t): Use __syscall_ulong_t.
38231 (msglen_t): Likewise.
38232 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38233 __syscall_ulong_t.
38234
34683bb0
L
38235 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38236 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38237
84a68786
L
38238 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38239
48baa5f1
L
38240 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38241 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38242
180be88b
L
38243 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38244 __syscall_slong_t.
38245
5e90c8ad
L
38246 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38247 include <bits/wordsize.h>. Check __x86_64__ instead of
38248 __WORDSIZE.
38249
23dfb58b
L
38250 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38251 "unsigned long long int" if __x86_64__ is defined.
38252 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38253
ce5d54b0
L
38254 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38255 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38256 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38257
13dc9eac
L
38258 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38259 <stdint.h>.
38260 (GET_PC): Cast to uintptr_t first.
38261 (GET_FRAME): Likewise.
38262 (GET_STACK): Likewise.
38263
a7895d15
L
38264 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38266 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38267 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38268 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38269 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38270 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38271 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38272 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38273 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38274 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38275 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38279 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38281 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38282 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38283 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38284 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38285 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38286 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38287 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38288 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38289 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38290 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38291 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38292 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38293
656416c9
AS
382942012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38295
5bd66283
AS
38296 * Makerules (+depfiles): Also collect depfiles from .oS in
38297 $(extra-objs).
38298 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38299 .oS, $(libnldbl-routines)).
38300
656416c9
AS
38301 * Makerules (native-compile-mkdep-flags): Define.
38302 * sunrpc/Makefile (extra-objs): Add $(addprefix
38303 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38304 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38305 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38306 calling $(make-target-directory).
38307
a46f2169
L
383082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38309
38310 * bits/types.h (__snseconds_t): Removed.
38311 * time/time.h (struct timespec): Replace __snseconds_t with
38312 __syscall_slong_t.
38313 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38314 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38315 Likewise.
38316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38317 (__SNSECONDS_T_TYPE): Likewise.
38318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38319 (__SNSECONDS_T_TYPE): Likewise.
38320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38321 (__SNSECONDS_T_TYPE): Likewise.
38322
6af6528b
L
383232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38324
38325 * sysdeps/mach/hurd/bits/typesizes.h
38326 (__SYSCALL_SLONG_TYPE): New macro.
38327 (__SYSCALL_ULONG_TYPE): Likewise.
38328
de986b56
L
383292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38330
38331 * bits/types.h (__syscall_slong_t): New type.
38332 (__syscall_ulong_t): Likewise.
38333
38334 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38335 (__SYSCALL_ULONG_TYPE): Likewise.
38336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38337 (__SYSCALL_SLONG_TYPE): Likewise.
38338 (__SYSCALL_ULONG_TYPE): Likewise.
38339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38340 (__SYSCALL_SLONG_TYPE): Likewise.
38341 (__SYSCALL_ULONG_TYPE): Likewise.
38342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38343 (__SYSCALL_SLONG_TYPE): Likewise.
38344 (__SYSCALL_ULONG_TYPE): Likewise.
38345
85736dc7
L
383462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38347
38348 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38349 Add sigaltstack-offsets.sym.
38350 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38351 <sigaltstack-offsets.h>.
38352 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38353 longjmp_msg pointer.
38354 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38355 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38356 signal stack.
38357 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38358
cc03b296
JM
383592012-05-15 Joseph Myers <joseph@codesourcery.com>
38360
a9538892
JM
38361 * elf/stackguard-macros.h: Remove file.
38362 * sysdeps/generic/stackguard-macros.h: New file.
38363 * sysdeps/i386/stackguard-macros.h: Likewise.
38364 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38365 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38366 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38367 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38368 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38369 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38370 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38371 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38372 <elf/stackguard-macros.h>.
38373
cc03b296
JM
38374 [BZ #14109]
38375 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38376 __aligned__ in attribute.
38377 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38378 (gregset_t): Likewise.
38379
93171016
L
383802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38381
38382 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38383 * sysdeps/x86_64/64/Implies-after: Here. New file.
38384 * sysdeps/x86_64/x32/Implies-after: New file.
38385
d86813a0
L
383862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38387
38388 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38389 and access return value for _dl_profile_fixup. Use R10_LP to
38390 load frame size.
38391
2953ec75
L
383922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38393
38394 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38395
3b550e9e
L
383962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38397
38398 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38399 * sysdeps/x86_64/x32/sysdep.h: New file.
38400
eda41706
L
384012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38402
38403 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38404 * sysdeps/x86_64/setjmp.S: Likewise.
38405
9ea01d93
AZ
384062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38407
38408 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38409 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38410 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38411 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38412 remove unused global constant.
38413
02a91938
CM
384142012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38415
38416 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38417 include of <not-cancel.h>.
38418
6540185f
RM
384192012-05-15 Roland McGrath <roland@hack.frob.com>
38420
38421 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38422
509072a0
AJ
384232012-05-15 Jeff Law <law@redhat.com>
38424 Andreas Jaeger <aj@suse.de>
38425
38426 [BZ #13594]
38427 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38428 out from...
38429 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38430 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38431 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38432 code changing __hst_map_handle.map.
38433
ba75122d
RM
384342012-05-15 Roland McGrath <roland@hack.frob.com>
38435
38436 * configure.in (sysnames): Look for Implies-before and Implies-after
38437 files.
38438 * configure: Regenerated.
38439
890d8bd8
L
384402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38441
38442 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38443 8-byte data alignment with LP_SIZE alignment.
38444
f6ee6623
L
384452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38446
38447 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38448 into R10_LP.
38449
ea2626f6
L
384502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38451
38452 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38453
085f715e
L
384542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38455
38456 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38457 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38458 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38459 Likewise.
38460 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38461
be8498fc
L
384622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38463
38464 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38465 (stackinfo_sub_sp): Likewise.
38466
70bc83b9
L
384672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38468
38469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38470 RAX_LP.
38471
9bc0b730
L
384722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38473
38474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38475 into R*_LP.
38476
6d2850e7
L
384772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38478
38479 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38480 sizes into R*_LP.
38481
3cb84561
L
384822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38483
38484 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38485
54e2ed81
L
384862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38487
38488 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38489 into R11_LP and load __x86_64_shared_cache_size_half into
38490 R8_LP.
38491
8a17f349
L
384922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38493
38494 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38495 R8_LP.
38496
777b1eea
AZ
384972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38498
38499 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38500 logb for POWER7.
38501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38502 logbf for POWER7.
38503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38504 logbl for POWER7.
38505 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38506 powerpc32/power7/fpu/s_logb.c via #include.
38507 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38508 powerpc32/power7/fpu/s_logbf.c via #include.
38509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38510 powerpc32/power7/fpu/s_logbl.c via #include.
38511
d20d4ac2
JM
385122012-05-15 Joseph Myers <joseph@codesourcery.com>
38513
38514 * README.libm: Remove file.
38515
6cdef1ab
L
385162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38517
38518 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38519 count for x32. Use R*_LP and omit operand-size suffix.
38520
0b254d8f
L
385212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38522
38523 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38524 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38525 * sysdeps/x86_64/x32/shlib-versions: New file.
38526
ceb809dc
RM
385272012-05-14 Roland McGrath <roland@hack.frob.com>
38528
38529 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38530 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38531 Use _dl_fatal_printf instead.
38532
37f1abd4
JM
385332012-05-14 Joseph Myers <joseph@codesourcery.com>
38534
38535 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38536 set if not set by the user. Do not allow for being unset.
38537 * sysdeps/unix/sysv/linux/configure: Regenerated.
38538
11de3a33
L
385392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38540
38541 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38542 the `q' suffix from lea and replace .quad with ASM_ADDR.
38543
e02f153a
L
385442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38545
38546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38547 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38548 instead of $17.
38549 (PTR_DEMANGLE): Likewise.
38550
520ae0fd
L
385512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38552
38553 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38554 (LP_OP): Likewise.
38555 (ASM_ADDR): Likewise.
38556 (RAX_LP): Likewise.
38557 (RBP_LP): Likewise.
38558 (RBX_LP): Likewise.
38559 (RCX_LP): Likewise.
38560 (RDI_LP): Likewise.
38561 (RSI_LP): Likewise.
38562 (RSP_LP): Likewise.
38563 (R8_LP): Likewise.
38564 (R9_LP): Likewise.
38565 (R10_LP): Likewise.
38566 (R10_LP): Likewise.
38567 (R11_LP): Likewise.
38568 (R12_LP): Likewise.
38569 (R13_LP): Likewise.
38570 (R14_LP): Likewise.
38571 (R15_LP): Likewise.
38572
b985be81
L
385732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38574
38575 * sysdeps/x86_64/x32/dl-machine.h: New file.
38576
6a4888ff
AJ
385772012-05-14 Andreas Jaeger <aj@suse.de>
38578
38579 * manual/Makefile (subdir): Remove export of subdir.
38580 (all): Remove target.
38581 (.PHONY): Remove all from list.
38582 (mkinstalldirs): Remove.
38583 (.PHONY): Remove installdirs from list.
38584 ($(inst_infodir)/libc.info): Use make-target-directory.
38585 (installdirs): Remove.
38586 (subdir_%): Remove.
38587 (glibc-targets): Remove.
38588 (lib): Remove.
38589 (stubs): Remove.
38590 ($(objpfx)stubs ../po/manual.pot): Remove.
38591 ($(objpfx)stamp%): Remove.
38592 (make-target-directory): Remove.
38593 (subdir_install): Remove.
38594 (routines): Remove.
38595 (aux): Remove.
38596 (sources): Remove.
38597 (objects): Remove.
38598 (headers): Remove.
38599
38600 [BZ #13750]
38601 * manual/.gitignore: Remove, it's not needed anymore.
38602 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38603 all files in it.
38604 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38605 directory.
38606 (texis): Renamed to $(objpfx)texis.
38607 (texis-path): New, contains path to generated files.
38608 (chapters.%): Use texis-path for complete path, add extra argument
38609 libc-texinfo.sh.
38610 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38611 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38612 (summary,texi, stamp-summary): Use complete path of
38613 files. Generate files in build dir.
38614 (dir-add.texi): Build in build dir.
38615 (libm-err.texi,stamp-libm-err): Likewise.
38616 (version.texi, stamp-version): Likewise.
38617 (.%c.texi): Likewise.
38618 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38619 (mostlyclean): Remove target.
38620 (realclean): Remove target.
38621 (generated): Add new variable with contents from mostlyclean and
38622 realclean, remove entries duplicated in common-mostlyclean, add
38623 stamp-libm-err and stamp-version.
38624 (generated-dirs): Add libc directory.
38625 ($(inst_infodir)/libc.info): Install files from build dir.
38626
38627 * manual/install.texi (Configuring and compiling): Adjust since
38628 the info files are not part of the tar ball anymore.
38629
7ac77294
AJ
386302012-05-14 Andreas Jaeger <aj@suse.de>
38631
38632 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38633 variable.
38634
ffb7875d
JM
386352012-05-14 Joseph Myers <joseph@codesourcery.com>
38636
38637 [BZ #13717]
38638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38639 to 2.2.0 where earlier.
38640 * sysdeps/unix/sysv/linux/configure: Regenerated.
38641 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38642 Remove conditional code.
38643 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38644 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38645 Remove conditional code.
38646 [!__NR_lchown]: Likewise.
38647 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38648 [__NR_lchown]: Likewise.
38649 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38650 comment referencing __ASSUME_LCHOWN_SYSCALL.
38651 * sysdeps/unix/sysv/linux/i386/sigaction.c
38652 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38653 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38654 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38655 Remove conditional code.
38656 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38657 (__protocol_available): Remove #if 0 code.
38658 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38659 conditional code.
38660 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38661 * sysdeps/unix/sysv/linux/kernel-features.h
38662 (__ASSUME_GETCWD_SYSCALL): Don't define.
38663 (__ASSUME_REALTIME_SIGNALS): Likewise.
38664 (__ASSUME_PREAD_SYSCALL): Likewise.
38665 (__ASSUME_PWRITE_SYSCALL): Likewise.
38666 (__ASSUME_POLL_SYSCALL): Likewise.
38667 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38668 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38669 non-SPARC.
38670 (__ASSUME_SIOCGIFNAME): Don't define.
38671 (__ASSUME_MSG_NOSIGNAL): Likewise.
38672 (__ASSUME_SENDFILE): Define unconditionally.
38673 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38674 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38675 conditional code.
38676 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38677 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38678 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38679 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38680 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38681 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38682 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38684 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38687 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38688 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38690 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38693 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38696 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38699 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38700 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38702 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38705 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38707 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38708 Remove conditional code.
38709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38710 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38711 Remove conditional code.
38712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38713 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38714 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38715 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38716 Remove conditional code.
38717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38718 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38719 Remove conditional code.
38720 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38721 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38722 Remove conditional code.
38723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38724 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38725 Remove conditional code.
38726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38727 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38728 Remove conditional code.
38729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38730 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38733 * sysdeps/unix/sysv/linux/sigaction.c
38734 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38735 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38736 * sysdeps/unix/sysv/linux/sigpending.c
38737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38739 * sysdeps/unix/sysv/linux/sigprocmask.c
38740 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38741 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38742 * sysdeps/unix/sysv/linux/sigsuspend.c
38743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38745 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38746 (__libc_missing_rt_sigs): Remove.
38747 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38748 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38749 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38750 Remove conditional code.
38751 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38752 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38753 return 1.
38754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38755 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38756 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38757 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38758
1bfb7291
AJ
387592012-05-14 Andreas Jaeger <aj@suse.de>
38760
caae5a81
AJ
38761 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38762 it's not used in glibc.
38763 (__coshm1): Likewise.
38764 (__acosh1p): Likewise.
38765 (__sgn): Likewise.
38766
1bfb7291
AJ
38767 * manual/string.texi (Copying and Concatenation): Add missing
38768 variable in concat example.
38769 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38770
c044d724
L
387712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38772
144c5467 38773 [BZ #14103]
c044d724
L
38774 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38775 __builtin_clzl with __builtin_clzll.
38776
2523c62b
L
387772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38778
38779 [BZ #14104]
38780 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38781 libc_freeres_ptr.
38782
d7bb4c42
LD
387832012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38784
38785 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38786 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38787 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38788 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38789
9dc4e1fb
MF
387902012-05-14 Mike Frysinger <vapier@gentoo.org>
38791
38792 * NEWS: Update ia64 info.
38793
c7df0112
AS
387942012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38795
38796 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38797 used as bcopy.
38798
dc70356c
TS
387992012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38800
38801 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38802 * sysdeps/unix/syscalls.list (dup3): Likewise.
38803 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38804 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38805
9fb1a21f
L
388062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38807
38808 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38809 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38810
4822a2a5
L
388112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38812
38813 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38814 thread pointer.
38815 (TLS_IE): Use mov/add instead of movq/addq to load thread
38816 pointer.
38817 (TLS_GD_PREFIX): New.
38818 (TLS_GD): Use it.
38819
842b81d6
DM
388202012-05-11 David S. Miller <davem@davemloft.net>
38821
38822 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38823 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38824 (_FPU_SETCW): Likewise.
38825
1cf463cd
L
388262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38827
38828 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38829 is 32-byte aligned.
38830
60cc4a18
AS
388312012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38832
38833 [BZ #11837]
38834 * iconvdata/gb18030.c: Update tables.
38835 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38836 characters specially.
38837 (BODY for TO_LOOP): Add encoding of missing ranges.
38838
febb44a4
TS
388392012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38840
38841 [BZ #13673]
38842 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38843 * sysdeps/mach/hurd/dup3.c: Likewise.
38844 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38845 * sysdeps/powerpc/memmove.c:: Likewise.
38846
0a10fb9e
L
388472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38848
38849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38850 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38851
df8a552f
L
388522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38853
38854 * elf/elf.h (R_X86_64_RELATIVE64): New.
38855 (R_X86_64_NUM): Updated.
38856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38857 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38858 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38859 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38860 tst-quad1pie tst-quad2pie
38861 (modules-names): Add tst-quadmod1 tst-quadmod2.
38862 ($(objpfx)tst-quad1): New dependency.
38863 ($(objpfx)tst-quad2): Likewise.
38864 ($(objpfx)tst-quad1pie): Likewise.
38865 ($(objpfx)tst-quad2pie): Likewise.
38866 * sysdeps/x86_64/tst-quad1.c: New file.
38867 * sysdeps/x86_64/tst-quad1pie.c: New file.
38868 * sysdeps/x86_64/tst-quad2.c: Likewise.
38869 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38870 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38871 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38872 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38873 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38874
f34d6f84
ST
388752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38876
f42d41d1
ST
38877 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38878 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38879 * streams/stropts.h (t_scalar_t): Define type.
38880
3c3571fc
ST
38881 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38882 (_PATH_PRESERVE): Set to "/var/lib".
38883 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38884
61f06bd3
ST
38885 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38886 instead of int.
38887
918d4d71
ST
38888 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38889 if __dir_mkfile succeeded.
38890
f34d6f84
ST
38891 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38892 checking for _hurd_dtablesize. Unlock it right after having
38893 finished _hurd_dtable allocation.
38894
10589b4a
TS
388952012-05-10 Thomas Schwinge <thomas@schwinge.name>
38896
674cdbc7
TS
38897 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38898 * sysdeps/mach/hurd/configure: Regenerated.
38899 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38900 special-casing to...
38901 * sysdeps/gnu/configure.in: ... this new file.
38902 * sysdeps/unix/sysv/linux/configure: Regenerated.
38903 * sysdeps/gnu/configure: New generated file.
38904
8e41b99f
TS
38905 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38906 for Linux: use nsec instead of usec, as well as:
38907 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38908 members of type struct timespec.
38909 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38910 New macros.
38911 (struct stat64): Likewise.
38912 (_STATBUF_ST_NSEC): New macro.
38913 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38914
10589b4a
TS
38915 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38916 __strtoul_internal rather than strtoul.
38917
63643c85
PT
389182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38919
38920 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38921 and reject them.
38922
3faebe6a
ST
389232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38924
38925 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38926 which preserves existing values.
38927 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38928
c6474b07
PT
389292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38930
38931 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38932 TIMEOUT values. Return EINVAL for NFDS values either negative or
38933 greater than FD_SETSIZE.
38934
1043890b
ST
389352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38936
38937 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38938 allocated, call __vm_protect to finish enabling the existing space, and
38939 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38940 allocate the remainder.
38941
37ed8b9b
PT
389422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38943
38944 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38945 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38946
db653660
ST
389472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38948
37ed8b9b
PT
38949 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38950 sysdeps/mach/hurd/readlink.c.
b29d4053 38951
db653660
ST
38952 * posix/tst-sysconf.c (posix_options): Only use
38953 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38954 _POSIX_SYNCHRONIZED_IO when they are defined
38955 * sysdeps/mach/hurd/bits/posix_opt.h:
38956 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38957 (_XOPEN_REALTIME): Undefine macro.
38958 (_XOPEN_REALTIME_THREADS): Undefine macro.
38959 (_XOPEN_SHM): Undefine macro.
38960 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38961 macro to -1.
38962 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38963 macro to -1.
38964 (_POSIX_ASYNC_IO): Undefine macro.
38965 (_POSIX_PRIORITIZED_IO): Undefine macro.
38966 (_POSIX_SPIN_LOCKS): Define macro to -1.
38967
ee16e894
ST
38968 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38969 SA_NODEFER, SA_RESETHAND.
38970 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38971 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38972 F_DUPFD_CLOEXEC.
38973
6103ae3b
TS
389742012-05-10 Thomas Schwinge <thomas@schwinge.name>
38975
38976 * elf/Makefile (pldd-modules): Define unconditionally.
38977
80b4e5f3
TS
389782012-05-10 Thomas Schwinge <thomas@schwinge.name>
38979
38980 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38981
edadcbd6
ST
389822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38983
38984 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38985 Return ENOENT when name is empty.
38986 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38987
80694780
TS
389882012-05-10 Thomas Schwinge <thomas@schwinge.name>
38989
1792c087
TS
38990 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38991
80694780
TS
38992 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38993
6b645f0d
ST
389942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38995
80694780
TS
38996 Fix mlock in all cases except non-readable pages.
38997 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38998 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38999
6b645f0d
ST
39000 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39001 (__mkdir): When path is `/', just fail with EEXIST.
39002 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39003
e468f8a3
TS
390042012-05-10 Thomas Schwinge <thomas@schwinge.name>
39005
39006 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39007 <sys/uio.h> (for writev).
39008 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39009 and <sys/param.h> (for MIN).
39010
a4186cff
PT
390112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39012
39013 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39014 REQUESTED_TIME. Properly set the remaining time and return EINTR
39015 if interrupted.
39016
510bbf14
TS
390172012-05-10 Thomas Schwinge <thomas@schwinge.name>
39018
39019 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39020 Depend on against $(link-rpcuserlibs).
39021
5d5722e8
ST
390222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39023
a4186cff
PT
39024 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39025 (__libc_stack_end): Do not use attribute_relro.
39026 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39027 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 39028 to libthread-provided value.
a4186cff
PT
39029 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39030 attribute_relro.
5d5722e8 39031
37233df9
TS
390322012-05-10 Thomas Schwinge <thomas@schwinge.name>
39033
be971a2b
TS
39034 [BZ #3748]
39035 * bits/libc-lock.h (__libc_once_get): New macro.
39036 * sysdeps/mach/bits/libc-lock.h: Likewise.
39037 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39038 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39039 instead of using implementation details.
39040
37233df9
TS
39041 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39042 * libio/freopen.c: Likewise.
39043 * libio/freopen64.c: Likewise.
39044 * misc/syslog.c: Likewise.
39045 * nscd/connections.c: Likewise.
39046 * nscd/netgroupcache.c: Likewise.
39047 * sysdeps/posix/getcwd.c: Likewise.
39048
38de94a5
RM
390492012-05-10 Roland McGrath <roland@hack.frob.com>
39050
39051 * math/w_ilogbf.c: Add #include <limits.h>.
39052
67530489
ST
390532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39054
a4186cff 39055 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
39056 path instead of returning without unlocking.
39057
67530489
ST
39058 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39059 immediate-write ioctls.
39060 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39061
5aa3a74a
TS
390622012-05-10 Thomas Schwinge <thomas@schwinge.name>
39063
18bad2ae
TS
39064 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39065 __builtin_frame_address instead of making assumptions about the
39066 location of the return address relative to DATA. Force early load of
39067 the return address.
39068 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39069 __builtin_frame_address.
39070
5aa3a74a
TS
39071 dup3 for GNU Hurd.
39072 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39073 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39074 implement dup3 and do some further code clean-ups.
39075 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39076 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39077
ecd0de9a
ST
390782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39079
cd9fa985
ST
39080 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39081
a4186cff
PT
39082 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39083 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39084 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39085 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39086 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39087 d->port.lock.
802ca5a5 39088
a4186cff
PT
39089 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39090 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39091 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 39092
bcf55240
TS
390932012-05-10 Thomas Schwinge <thomas@schwinge.name>
39094
6960eb42
TS
39095 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39096 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39097 definitions.
39098
eb43375f
TS
39099 accept4 for GNU Hurd.
39100 * include/sys/socket.h (__libc_accept4): New prototype.
39101 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39102 to implement __libc_accept4.
39103 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39104 __libc_accept4.
39105 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39106
bcf55240
TS
39107 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39108 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39109 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39110 signal-defines.sym.
39111
6178c55b
ST
391122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39113
a4186cff 39114 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 39115
6f080c2f
TS
391162012-05-10 Thomas Schwinge <thomas@schwinge.name>
39117
39118 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39119 assertion on O_CLOEXEC flag.
39120 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39121 * hurd/intern-fd.c: Likewise.
39122 * hurd/port2fd.c: Likewise.
39123
bcfe3a54
ST
391242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39125
39126 [BZ #3906]
39127 * bits/in.h (IPV6_PKTINFO): Define new macro.
39128 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39129
89c9aa49
AZ
391302012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39131
39132 [BZ #13954]
39133 [BZ #13955]
39134 [BZ #13956]
39135 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39137 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39138 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39139 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39140 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39141 * math/libm-test.inc (logb_test) : Additional logb tests.
39142
021db4be
AJ
391432012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39144 Andreas Jaeger <aj@suse.de>
39145
39146 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39147 * configure: Regenerated.
39148 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39149 * config.make.in (link-obsolete-rpc): New substituted variable.
39150 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39151 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39152 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39153 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39154 so that libc.a contains the symbols.
39155 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39156 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39157 * sunrpc/auth_none.c: Likewise.
39158 * sunrpc/auth_unix.c: Likewise.
39159 * sunrpc/authdes_prot.c: Likewise.
39160 * sunrpc/authuxprot.c: Likewise.
39161 * sunrpc/clnt_gen.c: Likewise.
39162 * sunrpc/clnt_perr.c: Likewise.
39163 * sunrpc/clnt_raw.c: Likewise.
39164 * sunrpc/clnt_simp.c: Likewise.
39165 * sunrpc/clnt_tcp.c: Likewise.
39166 * sunrpc/clnt_udp.c: Likewise.
39167 * sunrpc/clnt_unix.c: Likewise.
39168 * sunrpc/des_crypt.c: Likewise.
39169 * sunrpc/des_soft.c: Likewise.
39170 * sunrpc/get_myaddr.c: Likewise.
39171 * sunrpc/key_call.c: Likewise.
39172 * sunrpc/key_prot.c: Likewise.
39173 * sunrpc/netname.c: Likewise.
39174 * sunrpc/pm_getmaps.c: Likewise.
39175 * sunrpc/pm_getport.c: Likewise.
39176 * sunrpc/pmap_clnt.c: Likewise.
39177 * sunrpc/pmap_prot.c: Likewise.
39178 * sunrpc/pmap_prot2.c: Likewise.
39179 * sunrpc/pmap_rmt.c: Likewise.
39180 * sunrpc/publickey.c: Likewise.
39181 * sunrpc/rpc_cmsg.c: Likewise.
39182 * sunrpc/rpc_common.c: Likewise.
39183 * sunrpc/rpc_dtable.c: Likewise.
39184 * sunrpc/rpc_prot.c: Likewise.
39185 * sunrpc/rpc_thread.c: Likewise.
39186 * sunrpc/rtime.c: Likewise.
39187 * sunrpc/svc.c: Likewise.
39188 * sunrpc/svc_auth.c: Likewise.
39189 * sunrpc/svc_raw.c: Likewise.
39190 * sunrpc/svc_run.c: Likewise.
39191 * sunrpc/svc_tcp.c: Likewise.
39192 * sunrpc/svc_udp.c: Likewise.
39193 * sunrpc/svc_unix.c: Likewise.
39194 * sunrpc/svcauth_des.c: Likewise.
39195 * sunrpc/xcrypt.c: Likewise.
39196 * sunrpc/xdr.c: Likewise.
39197 * sunrpc/xdr_array.c: Likewise.
39198 * sunrpc/xdr_float.c: Likewise.
39199 * sunrpc/xdr_intXX_t.c: Likewise.
39200 * sunrpc/xdr_mem.c: Likewise.
39201 * sunrpc/xdr_rec.c: Likewise.
39202 * sunrpc/xdr_ref.c: Likewise.
39203 * sunrpc/xdr_sizeof.c: Likewise.
39204 * sunrpc/xdr_stdio.c: Likewise.
39205
b5c086a2
RM
392062012-05-10 Roland McGrath <roland@hack.frob.com>
39207
39208 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39209 change. Update copyright years.
39210
6d74dd09
JM
392112012-05-10 Joseph Myers <joseph@codesourcery.com>
39212
39213 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39214
28e72501
MK
392152012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39216 Joseph Myers <joseph@codesourcery.com>
39217 Paul Pluzhnikov <ppluzhnikov@google.com>
39218
39219 [BZ #14012]
39220 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39221 requiring rpcgen.
39222 [cross-compiling] (extra-libs): Likewise.
39223 [cross-compiling] (extra-libs-others): Likewise.
39224 [cross-compiling] (librpcsvc-routines): Likewise.
39225 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39226 [cross-compiling] (omit-deps): Likewise.
39227 (sunrpc-CPPFLAGS): New variable.
39228 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39229 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39230 (cross-rpcgen-objs): New variable.
39231 (extra-objs): Append $(cross-rpcgen-objs).
39232 ($(cross-rpcgen-objs)): New rule.
39233 ($(objpfx)cross-rpcgen): Likewise.
39234 (rpcgen-cmd): Define to use $(built-program-file). Expand
39235 comment.
39236 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39237 ($(objpfx)x%.stmp): Likewise.
39238 * sunrpc/proto.h [IS_IN_build] (_): Define.
39239 [IS_IN_build] (_libc_intl_domainname): Likewise.
39240
c8c59454
L
392412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39242
39243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39244 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39245 and R_X86_64_TPOFF64.
39246
6f27cd16
JM
392472012-05-10 Joseph Myers <joseph@codesourcery.com>
39248
39249 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39250 sysdeps/unix/sysv/syscalls.list.
39251 (stime): Likewise.
39252 (utime): Likewise.
39253 * sysdeps/unix/sysv/syscalls.list: Remove file.
39254
02467e1c
PE
392552012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39256
39257 [BZ #3440]
39258 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39259 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39260 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39261 (__LC_IDENTIFICATION): Make these macros useful in #if
39262 expressions, as required by C99.
39263
da392631
AS
392642012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39265
39266 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39267 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39268 after this.
39269
8115f29b
L
392702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39271
39272 * stdlib/longlong.h: Updated from GCC.
39273
bdd74070
AJ
392742012-05-09 Andreas Jaeger <aj@suse.de>
39275
edfe0dbe
AJ
39276 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39277 default is first entry.
39278 (run_mode): Set type.
39279 (main): Remove informal message about syslog.
39280 (options): Fix typo.
39281
bcfe3a54
ST
39282 [BZ #14053]
39283 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39284 to asm.
bcfe3a54
ST
39285 (lrint): Likewise.
39286 (llrintf): Likewise.
39287 (llrint): Likewise.
39288 (rint): Likewise.
39289 (rintf): Likewise.
39290 (nearbyint): Likewise.
39291 (nearbyintf): Likewise.
bdd74070 39292
91d8d69e
AJ
392932012-05-09 Andreas Jaeger <aj@suse.de>
39294 Pedro Alves <palves@redhat.com>
39295
39296 * nscd/nscd.c (run_mode): Use enum.
39297 (main): Cleanup coding style issue.
39298
bb90b80b
AJ
392992012-05-09 Alexandre Oliva <aoliva@redhat.com>
39300 Andreas Jaeger <aj@suse.de>
39301
bcfe3a54
ST
39302 * nscd/nscd.c (go_background): Replaced with...
39303 (run_mode): ... this.
bb90b80b 39304 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39305 (options): Add -F --foreground.
39306 (main): Implement it.
39307 (parse_opt): Parse it.
bb90b80b 39308
1a4b75a1
AJ
393092012-05-09 Andreas Jaeger <aj@suse.de>
39310
39311 [BZ #14083]
39312 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39313 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39314 -Wconversion warning.
39315 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39316 Likewise.
39317
b1cc2472
JM
393182012-05-09 Joseph Myers <joseph@codesourcery.com>
39319
39320 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39321 == 0.
39322 (LC_ALL): Use macro-int-constant.
39323 (LC_COLLATE): Likewise.
39324 (LC_CTYPE): Likewise.
39325 (LC_MESSAGES): Likewise.
39326 (LC_MONETARY): Likewise.
39327 (LC_NUMERIC): Likewise.
39328 (LC_TIME): Likewise.
39329 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39330 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39332 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39333 Specify type.
39334 [C99-based standards] (float_t): Expect type.
39335 [C99-based standards] (double_t): Expect type.
39336 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39337 type.
39338 [C99-based standards] (HUGE_VALL): Likewise.
39339 [C99-based standards] (INFINITY): Likewise.
39340 [C99-based standards] (NAN): Likewise.
39341 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39342 [C99-based standards] (FP_NAN): Likewise.
39343 [C99-based standards] (FP_NORMAL): Likewise.
39344 [C99-based standards] (FP_SUBNORMAL): Likewise.
39345 [C99-based standards] (FP_ZERO): Likewise.
39346 [C99-based standards] (FP_FAST_FMA): Use
39347 optional-macro-int-constant. Specify type. Require == 1.
39348 [C99-based standards] (FP_FAST_FMAF): Likewise.
39349 [C99-based standards] (FP_FAST_FMAL): Likewise.
39350 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39351 [C99-based standards] (FP_ILOGBNAN): Likewise.
39352 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39353 Specify type.
39354 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39355 [C99-based standards] (math_errhandling): Specify type.
39356 [ISO99 || ISO11] (signgam): Do not allow.
39357 [non-C99-based standards] (copysignf): Do not allow.
39358 [non-C99-based standards] (exp2f): Likewise.
39359 [non-C99-based standards] (log2f): Likewise.
39360 [non-C99-based standards] (modff): Allow.
39361 [non-C99-based standards] (erff): Do not allow.
39362 [non-C99-based standards] (erfcf): Likewise.
39363 [non-C99-based standards] (gammaf): Likewise.
39364 [non-C99-based standards] (hypotf): Likewise.
39365 [non-C99-based standards] (j0f): Likewise.
39366 [non-C99-based standards] (j1f): Likewise.
39367 [non-C99-based standards] (jnf): Likewise.
39368 [non-C99-based standards] (lgammaf): Likewise.
39369 [non-C99-based standards] (tgammaf): Likewise.
39370 [non-C99-based standards] (y0f): Likewise.
39371 [non-C99-based standards] (y1f): Likewise.
39372 [non-C99-based standards] (ynf): Likewise.
39373 [non-C99-based standards] (isnanf): Likewise.
39374 [non-C99-based standards] (acoshf): Likewise.
39375 [non-C99-based standards] (asinhf): Likewise.
39376 [non-C99-based standards] (atanhf): Likewise.
39377 [non-C99-based standards] (cbrtf): Likewise.
39378 [non-C99-based standards] (expm1f): Likewise.
39379 [non-C99-based standards] (ilogbf): Likewise.
39380 [non-C99-based standards] (log1pf): Likewise.
39381 [non-C99-based standards] (logbf): Likewise.
39382 [non-C99-based standards] (nextafterf): Likewise.
39383 [non-C99-based standards] (remainderf): Likewise.
39384 [non-C99-based standards] (rintf): Likewise.
39385 [non-C99-based standards] (scalbf): Likewise.
39386 [non-C99-based standards] (copysignl): Likewise.
39387 [non-C99-based standards] (exp2l): Likewise.
39388 [non-C99-based standards] (log2l): Likewise.
39389 [non-C99-based standards] (modfl): Allow.
39390 [non-C99-based standards] (erfl): Do not allow.
39391 [non-C99-based standards] (erfcl): Likewise.
39392 [non-C99-based standards] (gammal): Likewise.
39393 [non-C99-based standards] (hypotl): Likewise.
39394 [non-C99-based standards] (j0l): Likewise.
39395 [non-C99-based standards] (j1l): Likewise.
39396 [non-C99-based standards] (jnl): Likewise.
39397 [non-C99-based standards] (lgammal): Likewise.
39398 [non-C99-based standards] (tgammal): Likewise.
39399 [non-C99-based standards] (y0l): Likewise.
39400 [non-C99-based standards] (y1l): Likewise.
39401 [non-C99-based standards] (ynl): Likewise.
39402 [non-C99-based standards] (isnanl): Likewise.
39403 [non-C99-based standards] (acoshl): Likewise.
39404 [non-C99-based standards] (asinhl): Likewise.
39405 [non-C99-based standards] (atanhl): Likewise.
39406 [non-C99-based standards] (cbrtl): Likewise.
39407 [non-C99-based standards] (expm1l): Likewise.
39408 [non-C99-based standards] (ilogbl): Likewise.
39409 [non-C99-based standards] (log1pl): Likewise.
39410 [non-C99-based standards] (logbl): Likewise.
39411 [non-C99-based standards] (nextafterl): Likewise.
39412 [non-C99-based standards] (remainderl): Likewise.
39413 [non-C99-based standards] (rintl): Likewise.
39414 [non-C99-based standards] (scalbl): Likewise.
39415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39416 [non-C99-based standards] (FP_*): Do not allow.
39417 [C99-based standards] (FP_*): Change to
39418 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39419 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39420 allow.
39421 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39422 (SIG_ERR): Likewise.
39423 [X/Open-based standards] (SIG_HOLD): Likewise.
39424 (SIG_IGN): Likewise.
39425 (SIGABRT): Use macro-int-constant. Specify type. Require
39426 positive value.
39427 (SIGFPE): Likewise.
39428 (SIGILL): Likewise.
39429 (SIGINT): Likewise.
39430 (SIGSEGV): Likewise.
39431 (SIGTER): Likewise.
39432 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39433 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39434 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39435 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39436 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39437 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39438 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39439 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39440 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39441 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39442 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39443 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39444 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39445 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39446 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39447 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39448 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39449 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39450 [X/Open-based standards] (SIGTRAP): Likewise.
39451 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39452 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39453 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39454 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39455 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39456 allow.
39457
b9f1922d
IW
394582012-05-08 Ian Wienand <ianw@vmware.com>
39459
39460 [BZ #14080]
39461 * time/tzset.c (__tzset_parse_tz): Update default rules for
39462 daylight time changes in the Energy Policy Act of 2005.
39463
1db86e88
AJ
394642012-05-09 Andreas Jaeger <aj@suse.de>
39465
39466 [BZ #13983]
39467 * elf/ldconfig.c (parse_conf): Change string to make clear that
39468 ldconfig only issued a warning if ld.so.conf does not exist.
39469
dee4a4e3
DM
394702012-05-08 David S. Miller <davem@davemloft.net>
39471
ee0db190
DM
39472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39473 movxtod instead of popping the value on the stack.
39474
dee4a4e3
DM
39475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39476
6a43ec98
CD
394772012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39478
39479 * config.h.in: Add HAVE_ARM_PCS_VFP.
39480
05c2c961
RMG
394812012-05-08 Roland Mc Grath <roland@hack.frob.com>
39482
bcfe3a54
ST
39483 [BZ #13979]
39484 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39485 checking but the checks are disabled for any reason.
05c2c961 39486
4b30f61a
L
394872012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39488
39489 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39490 and ELF64_R_TYPE with ELFW(R_TYPE).
39491
eee2bc67
JM
394922012-05-08 Joseph Myers <joseph@codesourcery.com>
39493
7ea5391a
JM
39494 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39495 (ulimit): Likewise.
39496
eee2bc67
JM
39497 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39498 (settimeofday): Likewise.
39499
abb66a67
MF
395002012-05-08 Mike Frysinger <vapier@gentoo.org>
39501
39502 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39503 a struct th_u2 inside the union, and move tu_block/tu_code into
39504 a new th_u3 union of tu_block/tu_code inside of that. Move
39505 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39506 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39507 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39508 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39509 (th_stuff): Change to th_u1.tu_stuff.
39510 (th_data): Define.
39511 (th_msg): Change to th_u1.th_u2.tu_data.
39512
7f18b530
DM
395132012-05-07 David S. Miller <davem@davemloft.net>
39514
05760585
DM
39515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39516
7f18b530
DM
39517 [BZ #14074]
39518 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39519 (SETUP_PIC_REG): Use it.
39520 (SETUP_PIC_REG_LEAF): Use it.
39521
495fd99f
JM
395222012-05-07 Joseph Myers <joseph@codesourcery.com>
39523
39524 [BZ #13885]
39525 [BZ #13923]
39526 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39527 USE_AS_EXPM1L.
39528 (EXPL_FINITE): Likewise.
39529 (FLDLOG): Likewise.
39530 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39531 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39532 e_expl.S.
39533 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39534 USE_AS_EXPM1L.
39535 (EXPL_FINITE): Likewise.
39536 (FLDLOG): Likewise.
39537 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39538 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39539 e_expl.S.
39540 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39541 test of -max_value argument for long double.
39542 * sysdeps/i386/fpu/libm-test-ulps: Update.
39543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39544
6693d694
DM
395452012-05-06 David S. Miller <davem@davemloft.net>
39546
39547 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39548 quad soft-float symbols whose references which are compiler
39549 generated.
39550 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39551
6c23e11c
JM
395522012-05-06 Joseph Myers <joseph@codesourcery.com>
39553
d8b82cad
JM
39554 [BZ #13884]
39555 [BZ #13914]
39556 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39557 USE_AS_EXP10L.
39558 (EXPL_FINITE): Likewise.
39559 (FLDLOG): Likewise.
39560 (c0): Likewise.
39561 (c1): Likewise.
39562 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39563 Adjust comments for base varying.
39564 (__expl_finite): Change alias to EXPL_FINITE.
39565 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39566 e_expl.S.
39567 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39568 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39569 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39570 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39571 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39572 USE_AS_EXP10L.
39573 (EXPL_FINITE): Likewise.
39574 (FLDLOG): Likewise.
39575 (c0): Likewise.
39576 (c1): Likewise.
39577 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39578 Adjust comments for base varying.
39579 (__expl_finite): Change alias to EXPL_FINITE.
39580 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39581 tests for bugs.
39582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39583
6c23e11c
JM
39584 [BZ #14064]
39585 * math/libm-test.inc (check_float_internal): Correct ulp
39586 calculation for subnormal expected results.
39587
29ba805c
AJ
395882012-05-06 Andreas Jaeger <aj@suse.de>
39589
39590 * Makeconfig (+math-flags): New, set to -frounding-math.
39591 (+cflags): Add +math-flags so that all of glibc gets compiled with
39592 it.
39593
39594 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39595
7b17aeda
JM
395962012-05-05 Joseph Myers <joseph@codesourcery.com>
39597
5779f134
JM
39598 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39599 Disable one test.
39600
41498f4d
JM
39601 [BZ #13787]
39602 [BZ #13922]
39603 [BZ #14036]
39604 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39605 (__ieee754_expl): Allow for and saturate large arguments.
39606 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39607 (u_threshold): Likewise.
39608 (__exp): Call __ieee754_exp before checking for overflow and
39609 underflow.
39610 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39611 (u_threshold): Likewise.
39612 (__expf): Call __ieee754_expf before checking for overflow and
39613 underflow.
39614 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39615 (u_threshold): Likewise.
39616 (__expl): Call __ieee754_expl before checking for overflow and
39617 underflow.
39618 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39619 (__ieee754_expl): Allow for and saturate large arguments.
39620 * math/libm-test.inc (exp_test): Add another test. Do not allow
39621 missing overflow exception on overflow.
39622 (expm1_test): Do not allow missing overflow exception on overflow.
39623
6698b8bf
JM
39624 * sysdeps/i386/fpu/e_expl.c: Move to ...
39625 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39626 rather than using inline asm.
39627 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39628 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39629 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39630
7b17aeda
JM
39631 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39632 (nice): Likewise.
39633 (poll): Likewise.
39634 (signal): Likewise.
39635 (time): Likewise.
39636 (times): Likewise.
39637
f7c85819
JM
396382012-05-04 Joseph Myers <joseph@codesourcery.com>
39639
39640 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39641 sysdeps/unix/common/syscalls.list.
39642 (fchmod): Likewise.
39643 (fchown): Likewise.
39644 (ftruncate): Likewise.
39645 (getrusage): Likewise.
39646 (gettimeofday): Likewise.
39647 (setpgid): Likewise.
39648 (setregid): Likewise.
39649 (setreuid): Likewise.
39650 (sigaction): Likewise.
39651 (truncate): Likewise.
39652 (vhangup): Likewise.
39653 * sysdeps/unix/common/syscalls.list: Remove file.
39654 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39655 * sysdeps/unix/sysv/linux/Implies: Likewise.
39656
336270d0
L
396572012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39658
39659 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39661 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39662 Moved to ...
39663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39664 Here.
39665 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39666 to ...
39667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39668 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39669 to ...
39670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39671 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39672 to ...
39673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39674 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39675 to ...
39676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39677 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39678 to ...
39679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39680 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39681 to ...
39682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39683 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39684 to ...
39685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39686 Here.
39687 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39688 to ...
39689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39690 Here.
39691 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39692 to ...
39693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39694 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39695 Moved to ...
39696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39697 Here.
39698 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39699 to ...
39700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39701
d128e450
JM
397022012-05-04 Joseph Myers <joseph@codesourcery.com>
39703
fa8ee516
JM
39704 * sysdeps/unix/common/bits/dirent.h: Remove file.
39705 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39706
d128e450
JM
39707 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39708 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39709 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39710 * sysdeps/unix/bsd/isatty.c: Likewise.
39711 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39712 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39713 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39714
ff8faaf0 397152012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39716
62881be4 39717 [BZ #13563]
31dc8730
AZ
39718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39719 long double comparison inaccuracies.
39720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39722
6fef930c
AS
397232012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39724
39725 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39727
8f203e6c
JM
397282012-05-04 Joseph Myers <joseph@codesourcery.com>
39729
39730 [BZ #14049]
39731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39732 nonzero digits before rounding a hex value.
39733 * stdlib/tst-strtod.c (tests): Add another test.
39734
5197d9c2
AK
397352012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39736
39737 * sysdeps/s390/fpu/libm-test-ulps: Update.
39738
f0c1dedf
AJ
397392012-05-03 Andreas Jaeger <aj@suse.de>
39740
39741 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39742 does not get optimized out.
39743 (malloc_opt_barrier): New.
39744
a65ef2ae 397452012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39746 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39747
2b942cb7 39748 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39749 intermediate file deletion.
2b942cb7 39750 (generated): Add .symlist files.
a65ef2ae 39751
54b71e02
JM
397522012-05-03 Joseph Myers <joseph@codesourcery.com>
39753
39754 [BZ #13775]
39755 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39756 Redirect under this condition.
39757 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39758 [__USE_GNU] (__dprintf_chk): Not under this condition.
39759 [__USE_GNU] (__vdprintf_chk): Likewise.
39760 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39761 under this condition.
39762 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39763 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39764 [__USE_XOPEN2K8] (vdprintf): Likewise.
39765 [__USE_GNU] (__dprintf_chk): Not under this condition.
39766 [__USE_GNU] (__vdprintf_chk): Likewise.
39767 [__USE_GNU] (dprintf): Likewise.
39768 [__USE_GNU] (vdprintf): Likewise.
39769
d3dfcc41
RM
397702012-05-03 Roland McGrath <roland@hack.frob.com>
39771
39772 * elf/Makefile (common-generated): Set this instead of generated for
39773 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39774 $(all-built-dso)-derived lists.
39775
7ac30cc5
AJ
397762012-05-03 Andreas Jaeger <aj@suse.de>
39777
0c51e550
AJ
39778 * sysdeps/i386/fpu/libm-test-ulps: Update.
39779
7ac30cc5
AJ
39780 * FAQ: Removed.
39781 * FAQ.in: Likewise.
39782 * scripts/gen-FAQ.pl: Likewise.
39783 * manual/install.texi (Installation): Point to online location of
39784 FAQ.
39785 * Makefile (files-for-dist): Remove FAQ.
39786 (FAQ): Remove.
39787
d4c2917f
AM
397882012-05-02 Allan McRae <allan@archlinux.org>
39789
39790 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39791 (LDFLAGS-reldepmod5.so): Likewise.
39792 (LDFLAGS-reldep6mod1.so): Likewise.
39793 (LDFLAGS-reldep6mod4.so): Likewise.
39794 (LDFLAGS-reldep8mod3.so): Likewise.
39795 (LDFLAGS-unload4mod1.so): Likewise.
39796 (LDFLAGS-unload4mod2.so): Likewise.
39797 (LDFLAGS-tst-initorder): Likewise.
39798 (LDFLAGS-tst-initordera2.so): Likewise.
39799 (LDFLAGS-tst-initordera3.so): Likewise.
39800 (LDFLAGS-tst-initordera4.so): Likewise.
39801 (LDFLAGS-tst-initorderb2.so): Likewise.
39802 (LDFLAGS-noload): Likewise.
39803 (LDFLAGS-next): Likewise.
39804 (LDFLAGS-order2mod1.so): Likewise.
39805 (LDFLAGS-order2mod2.so): Likewise.
39806 (LDFLAGS-tst-initorder2): Likewise.
39807 (LDFLAGS-tst-initorder2a.so): Likewise.
39808 (LDFLAGS-tst-initorder2b.so): Likewise.
39809 (LDFLAGS-tst-initorder2c.so): Likewise.
39810 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39811
d77f993f
DM
398122012-05-02 David S. Miller <davem@davemloft.net>
39813
39814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39815
171a70b4
PP
398162012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39817
39818 [BZ #14055]
39819 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39820
0be196ad
AJ
398212012-05-02 Andreas Jaeger <aj@suse.de>
39822
39823 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39824 since we manipulate rounding mode.
39825 (CPPFLAGS-test-idouble.c): Likewise.
39826 (CPPFLAGS-test-ifloat.c): Likewise.
39827 (CFLAGS-test-ldouble.c): Likewise.
39828 (CFLAGS-test-double.c): Likewise.
39829 (CFLAGS-test-float.c): Likewise.
39830 (CFLAGS-test-misc.c): Likewise.
39831 (CFLAGS-test-test-fenv.c): Likewise.
39832
4f9d04aa
AZ
398332012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39834
2b942cb7
RM
39835 [BZ #2550]
39836 [BZ #2570]
39837 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39838 comparisons to determine direction to adjust input.
4f9d04aa 39839
82a79e7d
RM
398402012-05-01 Roland McGrath <roland@hack.frob.com>
39841
f5a01ca9
RM
39842 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39843 output to the target.
39844
90fe4186
RM
39845 * scripts/localplt.awk: New file.
39846 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39847 (check-localplt-CFLAGS): Variable removed.
39848 ($(all-built-dso:=.jmprel)): New static pattern rule.
39849 (generated): Add those targets.
39850 (localplt-built-dso): New variable.
39851 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39852
39853 * elf/check-localplt.c: File removed.
39854
82397ed6
RM
39855 * scripts/check-execstack.awk: New file.
39856 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39857 (check-execstack-CFLAGS): Variable removed.
39858 ($(objpfx)check-execstack.h): Target removed.
39859 ($(objpfx)execstack-default): New target.
39860 (generated): Add that instead of check-execstack.h.
39861 ($(all-built-dso:=.phdr)): New static pattern rule.
39862 (generated): Add those targets.
39863 * elf/check-execstack.c: File removed.
39864
82a79e7d
RM
39865 * scripts/check-textrel.awk: New file.
39866 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39867 (check-textrel-CFLAGS): Variable removed.
39868 (all-built-dso): Use := to define.o
39869 ($(all-built-dso:=.dyn)): New static pattern rule.
39870 (generated): Add those targets.
39871 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39872 * config.make.in (READELF): New substituted variable.
39873 * elf/check-textrel.c: File removed.
39874
62fde54f 398752012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39876
615605c9
JM
39877 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39878 allow.
39879 * conform/data/ctype.h-data [C99-based standards] (isblank):
39880 Expect function.
39881 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39882 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39884 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39885 Specify type. Require positive value.
39886 (EILSEQ): Likewise.
39887 (ERANGE): Likewise.
39888 [ISO || POSIX] (EILSEQ): Do not expect.
39889 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39890 Specify type. Require positive value.
39891 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39892 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39893 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39894 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39895 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39896 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39897 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39898 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39899 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39900 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39901 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39902 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39903 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39904 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39905 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39906 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39907 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39908 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39909 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39910 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39911 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39912 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39913 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39914 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39915 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39916 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39917 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39918 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39919 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39920 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39921 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39922 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39923 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39924 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39925 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39926 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39927 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39928 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39929 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39930 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39931 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39932 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39933 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39934 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39935 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39936 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39937 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39938 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39939 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39940 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39941 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39942 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39943 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39944 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39945 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39946 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39947 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39948 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39949 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39950 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39951 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39952 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39953 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39954 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39955 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39956 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39957 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39958 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39959 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39960 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39961 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39962 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39963 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39964 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39965 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39966 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39967 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39968 Require >= 2.
39969 (FLT_ROUNDS): Expect as macro, not constant.
39970 (FLT_MANT_DIG): Use macro-int-constant.
39971 (DBL_MANT_DIG): Likewise.
39972 (LDBL_MANT_DIG): Likewise.
39973 (FLT_DIG): Likewise.
39974 (DBL_DIG): Likewise.
39975 (LDBL_DIG): Likewise.
39976 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39977 (DBL_MIN_EXP): Likewise.
39978 (LDBL_MIN_EXP): Likewise.
39979 (FLT_MAX_EXP): Use macro-int-constant.
39980 (DBL_MAX_EXP): Likewise.
39981 (LDBL_MAX_EXP): Likewise.
39982 (FLT_MAX_10_EXP): Likewise.
39983 (DBL_MAX_10_EXP): Likewise.
39984 (LDBL_MAX_10_EXP): Likewise.
39985 (FLT_MAX): Use macro-constant.
39986 (DBL_MAX): Likewise.
39987 (LDBL_MAX): Likewise.
39988 (FLT_EPSILON): Use macro-constant. Give upper bound.
39989 (DBL_EPSILON): Likewise.
39990 (LDBL_EPSILON): Likewise.
39991 (FLT_MIN): Likewise.
39992 (DBL_MIN): Likewise.
39993 (LDBL_MIN): Likewise.
39994 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39995 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39996 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39997 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39998 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39999 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40000 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40001 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40002 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40003 [ISO11] (FLT_TRUE_MIN): Likewise.
40004 [ISO11] (LDBL_TRUE_MIN): Likewise.
40005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40006 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40007 (SCHAR_MIN): Use macro-int-constant. Specify type.
40008 (SCHAR_MAX): Likewise.
40009 (UCHAR_MAX): Likewise.
40010 (CHAR_MIN): Likewise.
40011 (CHAR_MAX): Likewise.
40012 (MB_LEN_MAX): Use macro-int-constant.
40013 (SHRT_MIN): Use macro-int-constant. Specify type.
40014 (SHRT_MAX): Likewise.
40015 (USHRT_MAX): Likewise.
40016 (INT_MAX): Likewise.
40017 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40018 bound negative.
40019 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40020 bound with "U".
40021 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40022 bound with "L".
40023 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40024 bound negative. Suffix upper bound with "L".
40025 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40026 bound with "UL".
40027 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40028 Specify type.
40029 [C99-based standards] (LLONG_MAX): Likewise.
40030 [C99-based standards] (ULLONG_MAX): Likewise.
40031 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40032 == 0.
40033 [ISO11] (max_align_t): Require type.
40034 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40035
c9140a62
JM
40036 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40037 from $CFLAGS, without defining away __attribute__ calls.
40038 (checknamespace): Use $CFLAGS_namespace.
40039
9af0bf29
JM
40040 * conform/conformtest.pl (@keywords): Only include C99 keywords
40041 for standards based on C99 or C11.
40042
343222a2
JM
40043 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40044 Disable tests.
40045 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40046 UNIX98]: Likewise.
40047
661f8cf0
JM
40048 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40049 usability of symbols in #if.
40050
ee74b9cb
JM
40051 * conform/conformtest.pl: If macro or constant types start
40052 "promoted:", expect the symbol to be of the following type
40053 promoted by the integer promotions.
62fde54f 40054
aafc49b3
JM
40055 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40056 in one place. Also handle "macro-constant".
40057
fefdf574
JM
40058 * conform/conformtest.pl: Only accept expected macro values with
40059 "==". Parse all "macro" lines in one place.
40060 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40061
f2d922fe
JM
40062 * conform/conformtest.pl: Handle braced types on "constant" lines
40063 instead of handling "typed-constant".
40064 * conform/data/signal.h-data: Use "constant" instead of
40065 "typed-constant".
40066
d22956c9
JM
40067 * conform/conformtest.pl: Handle "optional-" at start of lines in
40068 one place rather than duplicating several cases. Handle each
40069 format of "macro" line with initial "optional-".
40070
028e2e38
JM
40071 * conform/conformtest.pl: Only accept expected constant or
40072 optional-constant values with "==". Parse all "constant" lines in
40073 one place. Parse all "optional-constant" lines in one place.
40074 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40075 * conform/data/fmtmsg.h-data: Likewise.
40076 * conform/data/netinet/in.h-data: Likewise.
40077 * conform/data/tar.h-data: Likewise.
40078 * conform/data/limits.h-data: Use "==" form on "constant" and
40079 "optional-constant" lines.
40080
1b8f2850
JM
40081 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40082 Use -std=c99 for XOPEN2K.
40083 (@knownproblems): Remove.
40084 (newtoken): Don't check %isknown.
40085
a05a144b
JM
40086 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40087 Do not expect macro.
40088 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40090 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40091 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40092 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40093 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40094 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40095 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40096 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40097 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40098 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40099 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40100 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40101 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40103 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40104 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40105 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40106 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40108 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40109 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40110 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40111 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40112 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40113 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40114 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40115 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40118 [XPG3] (acosh): Likewise.
40119 [XPG3] (asinh): Likewise.
40120 [XPG3] (atanh): Likewise.
40121 [XPG3] (cbrt): Likewise.
40122 [XPG3] (expm1): Likewise.
40123 [XPG3] (ilogb): Likewise.
40124 [XPG3] (log1p): Likewise.
40125 [XPG3] (logb): Likewise.
40126 [XPG3] (nextafter): Likewise.
40127 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40128 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40129 [XPG3] (remainder): Likewise.
40130 [XPG3] (rint): Likewise.
40131 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40132 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40133 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40134 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40135 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40136 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40137 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40138 [UNIX98 || XOPEN2K] (scalb): Expect.
40139 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40140 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40141 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40142 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40143 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40144 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40145 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40146 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40147 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40148 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40149 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40150 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40151 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40152 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40153 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40154 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40155 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40156 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40157 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40158 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40159 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40160 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40161 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40162 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40163 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40164 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40165 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40166 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40167 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40168 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40169 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40170 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40171 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40172 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40173 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40174 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40175 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40176 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40177 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40178 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40179 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40180 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40181 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40182 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40183 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40184 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40185 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40186 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40187 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40188 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40189 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40190 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40191 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40192 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40193 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40194 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40195 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40196 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40197 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40198 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40199 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40200 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40201 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40202 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40203 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40204 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40205 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40206 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40207 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40208 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40209 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40210 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40211 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40212 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40213 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40214 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40215 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40216 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40217 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40218 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40219 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40220 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40221 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40222 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40223 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40224 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40225 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40226 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40227 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40228 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40229 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40230 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40231 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40232 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40233 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40234 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40235 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40236 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40237 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40238 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40239 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40240 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40241 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40242 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40243 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40244 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40245 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40246 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40247 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40248 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40249 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40250 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40251 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40252 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40253 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40254 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40255 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40256 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40257 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40258 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40259 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40260 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40261 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40262 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40263 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40264 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40265 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40266 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40267 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40268 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40269 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40270 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40271 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40272 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40273 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40274 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40275 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40276
73c5ebe3
JM
40277 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40278 _XOPEN_SOURCE_EXTENDED for XPG4.
40279
39c33b6c
JM
40280 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40281
62fde54f
JM
40282 * Makeconfig (localtime): Remove variable.
40283 (inst_localtime-file): Likewise.
40284
0741d64c
AS
402852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40286
40287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40288 Update.
40289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40290 Update.
40291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40292 Update.
40293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40294 Update.
40295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40296 Update.
40297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40298 Update.
40299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40300 Update.
40301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40302 Update.
40303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40304 Update.
40305
7cb029ee
JM
403062012-05-01 Joseph Myers <joseph@codesourcery.com>
40307
40308 [BZ #2550]
40309 [BZ #2570]
40310 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40311 comparisons to determine direction to adjust input.
40312 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40313 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40314 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40315 Likewise.
40316 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40317 Likewise.
40318 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40319 Likewise.
40320 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40321 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40322 Likewise.
40323 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40324 Likewise.
40325 * math/libm-test.inc (nexttoward_test): Add more tests.
40326
412bd966
AS
403272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40328
40329 [BZ #14040]
40330 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40331 in version GLIBC_2.1, not GLIBC_2.0.
40332 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40333 Likewise.
40334
9568c0c2
JM
403352012-04-30 Joseph Myers <joseph@codesourcery.com>
40336
adfbc8ac
JM
40337 [BZ #13942]
40338 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40339 (1 - x) * (1 + x).
40340 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40341 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40342 * math/libm-test.inc (acos_test): Add more tests.
40343 (asin_test): Likewise.
40344 * sysdeps/i386/fpu/libm-test-ulps: Update.
40345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40346
5ba3cc69
JM
40347 [BZ #14034]
40348 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40349 of square root.
40350 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40351 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40352 * math/libm-test.inc (acos_test_tonearest): New function.
40353 (acos_test_towardzero): Likewise.
40354 (acos_test_downward): Likewise.
40355 (acos_test_upward): Likewise.
40356 (asin_test_tonearest): Likewise.
40357 (asin_test_towardzero): Likewise.
40358 (asin_test_downward): Likewise.
40359 (asin_test_upward): Likewise.
40360 (main): Call the new functions.
40361 * sysdeps/i386/fpu/libm-test-ulps: Update.
40362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40363
9568c0c2
JM
40364 [BZ #13884]
40365 [BZ #13924]
40366 * math/e_exp10.c: Include <float.h>.
40367 (__ieee754_exp10): Handle underflow here rather than multiplying
40368 large negative argument by M_LN10.
40369 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40370 of __ieee754_expf.
40371 * math/e_exp10l.c: Include <float.h>.
40372 (__ieee754_exp10l): Handle underflow here rather than multiplying
40373 large negative argument by M_LN10l.
40374 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40375 spurious overflow exception on underflow.
40376
5ac3ea17
MP
403772012-04-29 Marek Polacek <polacek@redhat.com>
40378
40379 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40380 (__fortify_function): New macro.
40381 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40382 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40383 __extern_always_inline.
40384 * libio/bits/stdio2.h: Likewise.
40385 * libio/bits/stdio.h: Likewise.
40386 * string/string.h: Likewise.
40387 * string/bits/string3.h: Likewise.
40388 * include/stdio.h: Likewise.
40389 * stdlib/bits/stdlib.h: Likewise.
40390 * stdlib/stdlib.h: Likewise.
40391 * rt/bits/mqueue2.h: Likewise.
40392 * rt/mqueue.h: Likewise.
40393 * posix/bits/unistd.h: Likewise.
40394 * posix/unistd.h: Likewise.
40395 * io/bits/poll2.h: Likewise.
40396 * io/bits/fcntl2.h: Likewise.
40397 * io/fcntl.h: Likewise.
40398 * io/sys/poll.h: Likewise.
40399 * misc/bits/syslog.h: Likewise.
40400 * misc/bits/syslog-ldbl.h: Likewise.
40401 * misc/sys/syslog.h: Likewise.
40402 * socket/bits/socket2.h: Likewise.
40403 * socket/sys/socket.h: Likewise.
40404 * debug/tst-chk1.c: Likewise.
40405 * wcsmbs/bits/wchar2.h: Likewise.
40406 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40407 * wcsmbs/wchar.h: Likewise.
40408
ecf0ebfb
AJ
404092012-04-29 Andreas Jaeger <aj@suse.de>
40410
40411 * Makerules (tests): Remove enable-check-abi protection.
40412 (check-abi-warn): Remove.
40413 (check-abi-%): Remove check-abi-warn usage.
40414
40415 * configure.in: Remove check-abi configure option.
40416 * configure: Regenerated.
40417 * config.make.in (enable-check-abi): Remove.
40418
6d5c57fa
AS
404192012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40420
24c5d07e 40421 [BZ #14033]
ded5180a
AS
40422 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40423 double functions to double *_finite functions.
40424
7e0d315d
AS
40425 [BZ #13941]
40426 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40427 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40428 LDBL_MIN_EXP.
40429 * stdio-common/Makefile (tests): Add tst-sprintf3.
40430 * stdio-common/tst-sprintf3.c: New file.
40431
6d5c57fa
AS
40432 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40433 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40434
0749ff8b
JM
404352012-04-28 Joseph Myers <joseph@codesourcery.com>
40436
40437 * conform/conformtest.pl: Remove duplicate typed-constant
40438 handling.
40439
8dbd5d7b
DM
404402012-04-28 David S. Miller <davem@davemloft.net>
40441
40442 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40443 (check-abi-%): Remove AWK script prerequisite and explicit
40444 abilist directory.
40445 (check-abi): Rewrite to just diff the symlist with the abilist.
40446 (config-tls, config-abi-config): Delete, no longer used.
40447 (update-abi-%): Remove AWK script and explicit abilist directory.
40448 (update-abi): Rewrite to simply compare and conditionally copy the
40449 symlist and the sysdep abilist file. Remove update-abi-config
40450 checks.
40451 * abilist/ld.abilist: Remove.
40452 * abilist/libBrokenLocale.abilist: Remove.
40453 * abilist/libanl.abilist: Remove.
40454 * abilist/libcrypt.abilist: Remove.
40455 * abilist/libdl.abilist: Remove.
40456 * abilist/librt.abilist: Remove.
40457 * abilist/libthread_db.abilist: Remove.
40458 * abilist/libutil.abilist: Remove.
40459 * scripts/extract-abilist.awk: Remove.
40460 * scripts/merge-abilist.awk: Remove.
40461 * sysdeps/generic/libcidn.abilist: New file.
40462 * sysdeps/generic/libnss_compat.abilist: New file.
40463 * sysdeps/generic/libnss_db.abilist: New file.
40464 * sysdeps/generic/libnss_dns.abilist: New file.
40465 * sysdeps/generic/libnss_files.abilist: New file.
40466 * sysdeps/generic/libnss_hesiod.abilist: New file.
40467 * sysdeps/generic/libnss_nis.abilist: New file.
40468 * sysdeps/generic/libnss_nisplus.abilist: New file.
40469 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40470 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40471 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40472 file.
40473 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40474 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40475 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40476 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40477 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40478 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40479 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40480 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40481 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40482 file.
40483 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40484 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40485 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40486 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40487 file.
40488 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40489 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40490 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40491 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40492 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40493 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40494 file.
40495 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40496 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40497 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40498 file.
40499 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40501 New file.
40502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40503 New file.
40504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40505 New file.
40506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40507 New file.
40508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40509 New file.
40510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40511 New file.
40512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40513 New file.
40514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40515 New file.
40516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40517 New file.
40518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40519 New file.
40520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40521 New file.
40522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40523 New file.
40524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40525 New file.
40526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40527 file.
40528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40529 New file.
40530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40531 New file.
40532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40533 file.
40534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40535 New file.
40536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40537 New file.
40538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40539 file.
40540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40541 New file.
40542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40543 New file.
40544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40545 New file.
40546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40547 New file.
40548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40549 New file.
40550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40551 New file.
40552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40554 file.
40555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40556 New file.
40557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40558 file.
40559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40560 file.
40561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40562 file.
40563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40564 file.
40565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40566 file.
40567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40568 New file.
40569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40570 file.
40571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40572 file.
40573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40574 New file.
40575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40576 file.
40577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40579 file.
40580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40581 New file.
40582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40583 file.
40584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40585 file.
40586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40587 file.
40588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40589 file.
40590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40591 file.
40592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40593 New file.
40594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40595 file.
40596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40597 file.
40598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40599 New file.
40600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40601 file.
40602 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40603 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40604 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40605 file.
40606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40607 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40608 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40609 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40610 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40611 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40612 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40613 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40614 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40615 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40618 file.
40619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40620 New file.
40621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40622 file.
40623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40624 file.
40625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40626 file.
40627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40628 file.
40629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40630 file.
40631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40632 New file.
40633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40634 New file.
40635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40636 file.
40637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40638 New file.
40639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40640 file.
40641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40643 file.
40644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40645 New file.
40646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40647 file.
40648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40649 file.
40650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40651 file.
40652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40653 file.
40654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40655 file.
40656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40657 New file.
40658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40659 New file.
40660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40661 file.
40662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40663 New file.
40664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40665 file.
40666
41d73a1b
JM
406672012-04-28 Joseph Myers <joseph@codesourcery.com>
40668
40669 * conform/conformtest.pl: Fix typo in handling typed-constant from
40670 allow-header.
40671
28aeeda4
JM
406722012-04-27 Joseph Myers <joseph@codesourcery.com>
40673
adae8f5e
JM
40674 * README: Cut down references to pre-2.6 Linux kernels and
40675 Linuxthreads. Update lists of configurations in libc and ports
40676 and sort alphabetically. Say "or newer" with Linux kernel version
40677 requirements.
40678
28aeeda4
JM
40679 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40680
a462cb63
RA
406812012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40682
40683 [BZ #887]
40684 * math/libm-test.inc (logb_test_downward): New test to expose
40685 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40686 rounding mode.
40687
6ad3493e
JM
406882012-04-27 Joseph Myers <joseph@codesourcery.com>
40689
40690 [BZ #14027]
40691 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40692 to be done.
40693 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40694 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40695
2ce4f015
JM
406962012-04-26 Joseph Myers <joseph@codesourcery.com>
40697
5aeb141a
JM
40698 * sysdeps/unix/i386/brk.S: Remove file.
40699 * sysdeps/unix/i386/dl-brk.S: Likewise.
40700 * sysdeps/unix/i386/pipe.S: Likewise.
40701 * sysdeps/unix/i386/sigreturn.S: Likewise.
40702 * sysdeps/unix/i386/syscall.S: Likewise.
40703 * sysdeps/unix/i386/vfork.S: Likewise.
40704 * sysdeps/unix/i386/wait.S: Likewise.
40705
7143acae
JM
40706 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40707 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40708
2ce4f015
JM
40709 * configure.in (arm*-none*): Do not allow without
40710 --enable-hacker-mode.
40711 (netbsd*): Remove case setting base_os.
40712 (386bsd*): Likewise.
40713 (freebsd*): Likewise.
40714 (bsdi*): Likewise.
40715 (osf*): Likewise.
40716 (sunos*): Likewise.
40717 (ultrix*): Likewise.
40718 (newsos*): Likewise.
40719 (dynix*): Likewise.
40720 (*bsd*): Likewise.
40721 (sysv*): Likewise.
40722 (isc*): Likewise.
40723 (esix*): Likewise.
40724 (sco*): Likewise.
40725 (minix*): Likewise.
40726 (irix4*): Likewise.
40727 (irix6*): Likewise.
40728 (solaris[2-9]*): Likewise.
40729 (none): Likewise.
40730 * configure: Regenerated.
40731
0ac229c8
AZ
407322012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40733
40734 [BZ #11521]
40735 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40736 overflow or cancellation in calculating denominator.
40737 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40738 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40739 down expression to avoid unexpected rounding in newer GCCs.
40740 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40741
33f244f4
DM
407422012-04-26 David S. Miller <davem@davemloft.net>
40743
40744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40745 long-double compat symbols.
40746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40759
cfa1f3e8
DM
407602012-04-25 David S. Miller <davem@davemloft.net>
40761
40762 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40763 HWCAP_* values only after the memory barriers have been defined.
40764 (atomic_full_barrier): Define.
40765 (atomic_read_barrier): Define.
40766 (atomic_write_barrier): Define.
40767
6e236b92
SP
407682012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40769
40770 * shlib-versions: Add libgcc_s version information.
40771 * sysdeps/generic/libgcc_s.h: Remove.
40772 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40773 libgcc_s.h.
40774 * sysdeps/gnu/unwind-resume.c: Likewise.
40775 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40776
aab39a09
DM
407772012-04-25 David S. Miller <davem@davemloft.net>
40778
40779 * sysdeps/unix/sparc/brk.S: Delete.
40780 * sysdeps/unix/sparc/dl-brk.S: Delete.
40781 * sysdeps/unix/sparc/pipe.S: Delete.
40782 * sysdeps/unix/sparc/sysdep.S: Delete.
40783 * sysdeps/unix/sparc/sysdep.h: Delete.
40784 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40785 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40786 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40787 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40788 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40789 (JUMPTARGET): Remove.
40790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40791 sysdeps/unix/sparc/sysdep.h
40792 (ENTRY, END): Remove.
40793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40794
a3cc4f48
JM
407952012-04-25 Joseph Myers <joseph@codesourcery.com>
40796
2ed8cda2
JM
40797 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40798 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40799 -DIS_IN_build.
40800
35d76d59
JM
40801 * timezone/README: Update upstream location and email address for
40802 tzcode and tzdata.
40803 * timezone/zdump.c: Update from tzcode 2012b.
40804 * timezone/zic.c: Likewise.
40805
a3cc4f48
JM
40806 * configure.in (libc_cv_as_needed): Remove test.
40807 * configure: Regenerated.
40808 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40809 conditional definition.
40810 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40811 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40812 * config.make.in (have-as-needed): Remove variable.
40813
ceab42c3
SP
408142012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40815 Paul Pluzhnikov <ppluzhnikov@google.com>
40816
40817 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40818 strings correctly.
40819
3ce2865f
CLT
408202012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40821
40822 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40823 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40824 * sysdeps/sh/strlen.S: Likewise.
40825
f37e0d68
JM
408262012-04-24 Joseph Myers <joseph@codesourcery.com>
40827
ae186e9a
JM
40828 * sysdeps/unix/fork.S: Remove file.
40829 * sysdeps/unix/i386/fork.S: Likewise.
40830 * sysdeps/unix/sparc/fork.S: Likewise.
40831
b96914af
JM
40832 * sysdeps/unix/system.c: Remove file.
40833 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40834
f37e0d68
JM
40835 * sysdeps/unix/getegid.S: Remove file.
40836 * sysdeps/unix/geteuid.S: Likewise.
40837
87ef29ca
RM
408382012-04-24 Roland McGrath <roland@hack.frob.com>
40839
83bcd236
RM
40840 * scripts/check-localplt.awk: New file.
40841 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40842 of diff.
40843 * scripts/data/localplt-generic.data: Add a comment.
40844
87ef29ca
RM
40845 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40846 NODE when __dir_mkfile failed.
40847 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40848 Reported by Ludovic Courtès <ludo@gnu.org>.
40849
e5a6e567
AJ
408502012-04-24 Andreas Jaeger <aj@suse.de>
40851
40852 * Makerules (common-clean): Also remove gen-as-const-headers
40853 files.
40854
c1820385
JM
408552012-04-24 Joseph Myers <joseph@codesourcery.com>
40856
40857 * Makerules (native-compile): Do not change working directory for
40858 build. Use $(OUTPUT_OPTION) in command.
40859 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40860
94e02fc4
AZ
408612012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40862
40863 [BZ #13886]
40864 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40865 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40866 * math/libm-test.inc (floor_test): Add more tests.
40867 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40868
3a533ca3
JM
408692012-04-24 Joseph Myers <joseph@codesourcery.com>
40870
940ab4b3
JM
40871 * sysdeps/unix/getdents.c: Remove file.
40872 * sysdeps/unix/sysv/getdents.c: Likewise.
40873 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40874
90e037bd
JM
40875 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40876 sysdeps/unix/mman/syscalls.list.
40877 (mmap): Likewise.
40878 (mprotect): Likewise.
40879 (msync): Likewise.
40880 (munmap): Likewise.
40881 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40882 * sysdeps/unix/mman/syscalls.list: Remove.
40883 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40884
3a533ca3
JM
40885 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40886 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40887 * configure: Regenerated.
40888 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40889 $(libgcc_s_suffix).
40890 * config.make.in (libgcc_s_suffix): Remove variable.
40891
1ad743de
JM
408922012-04-23 Joseph Myers <joseph@codesourcery.com>
40893
4ad451e2
JM
40894 * sysdeps/unix/sysv/gethostname.c: Move to ...
40895 * sysdeps/posix/gethostname.c: ... here.
40896
5e37ce39
JM
40897 * sysdeps/unix/execve.S: Remove file.
40898
1ad743de
JM
40899 * sysdeps/unix/_exit.S: Remove file.
40900
4e681b5b
AJ
409012012-04-23 Andreas Jaeger <aj@suse.de>
40902
40903 [BZ #13739]
40904 * manual/Makefile: Remove make dist support, there's no
40905 need for a stand-alone documentation tar ball.
40906 (TEXI2DVI): Define always, it's not in Makeconfig.
40907 (dist): Removed.
40908 (tar-it): Removed.
40909 (edition): Removed.
40910 (glibc-doc-$(edition).tar): Removed
40911 (%.Z): Removed.
40912 (%.gz): Removed.
40913 (%.uu): Removed.
40914 (ETAGS): Remove, it's in Makeconfig.
40915 (move-if-change): Remove, it's in Makeconfig.
40916
38686a03 409172012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40918
40919 [BZ #13970]
40920 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40921 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40922 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40923 (strtod_l, strtof_l, strtold_l): Remove __wur.
40924 It is not necessarily an error to ignore strtol's return value.
40925 One can reliably look at the stored endptr to decide whether
40926 the number had valid syntax.
40927
7c0616fa
AJ
409282012-04-21 Andreas Jaeger <aj@suse.de>
40929
803cb6b7 40930 [BZ #13739]
7c0616fa
AJ
40931 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40932
b0fe253f
JM
409332012-04-21 Joseph Myers <joseph@codesourcery.com>
40934
40935 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40936 * sysdeps/unix/sysv/Versions: Remove file.
40937
8280f22d
MT
409382012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40939
40940 [BZ #13927]
40941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40942
75ce411f 409432012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40944
40945 [BZ #7064]
40946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40947 version from __vm86.
40948
097d59fa
JM
409492012-04-20 Joseph Myers <joseph@codesourcery.com>
40950
a90f3bcb
JM
40951 * sysdeps/unix/common/lxstat.c: Remove file.
40952 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40953
edc7ea78
JM
40954 * sysdeps/unix/sysv/Makefile: Remove file.
40955
cb78c221
JM
40956 * sysdeps/unix/sysv/direct.h: Remove file.
40957
efa6a45f
JM
40958 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40959 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40960 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40961 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40962 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40963 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40964 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40965
9c9f2d0c
JM
40966 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40967
4541c83b
JM
40968 * sysdeps/unix/xmknod.c: Remove file.
40969 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40970
f5d153a0
JM
40971 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40972
aa746595
JM
40973 * sysdeps/unix/sysv/i386/time.S: Remove file.
40974
cce5905e
JM
40975 * sysdeps/unix/fxstat.c: Remove file.
40976 * sysdeps/unix/xstat.c: Likewise.
40977 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40978
37fa3841
JM
40979 * sysdeps/unix/sysv/sigaction.c: Remove file.
40980
ff1962a3
JM
40981 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40982 (sysdep_headers): Remove variable.
40983 [termio.h not in sysdep_headers] (generated): Likewise.
40984 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40985 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40986 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40987 * sysdeps/unix/sysv/tcflow.c: Likewise.
40988 * sysdeps/unix/sysv/tcflush.c: Likewise.
40989 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40990 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40991 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40992 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40993 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40994
e7740d31
JM
40995 * sysdeps/unix/siglist.c: Remove file.
40996
ee06f18b
JM
40997 * sysdeps/unix/getppid.S: Remove file.
40998
097d59fa
JM
40999 * sysdeps/unix/mkdir.c: Remove file.
41000 * sysdeps/unix/rmdir.c: Likewise.
41001
ff3d51ec
AS
410022012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41003
41004 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41005 ERR_MAX value.
41006 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41007 errlist-compat value.
41008
50f81fd7
DM
410092012-04-18 David S. Miller <davem@davemloft.net>
41010
41011 * sysdeps/generic/memcopy.h (reg_char): Delete.
41012 * debug/strcat_chk.c: Use char, not reg_char.
41013 * debug/strcpy_chk.c: Likewise.
41014 * debug/strncat_chk.c: Likewise.
41015 * debug/strncpy_chk.c: Likewise.
41016 * string/memchr.c: Likewise.
41017 * string/memrchr.c: Likewise.
41018 * string/rawmemchr.c: Likewise.
41019 * string/strcat.c: Likewise.
41020 * string/strchr.c: Likewise.
41021 * string/strchrnul.c: Likewise.
41022 * string/strcmp.c: Likewise.
41023 * string/strcpy.c: Likewise.
41024 * string/strncat.c: Likewise.
41025 * string/strncmp.c: Likewise.
41026 * string/strncpy.c: Likewise.
41027
8ff41c46
WS
410282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41029
41030 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41031 __builtin_memcopy is called when src and dest ranges are known to not
41032 overlap.
41033
6b652f46
WS
410342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41035
41036 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41037 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41038 fwd_align_merge macro call.
41039 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41040 bwd_align_merge macro call.
41041 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41042
b282631e
WS
410432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41044
41045 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41046 bwd_align_merge macros.
41047 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41048 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41049 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41050
95aa737c
DM
410512012-04-18 David S. Miller <davem@davemloft.net>
41052
41053 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41054
7a99a614
AJ
410552012-04-18 Andreas Jaeger <aj@suse.de>
41056
41057 [BZ# 6794]
41058 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41059 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41060 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41061
41062 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41063 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41064 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41065
41066 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41067 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41068 Adjust for changed ldbl-128 files.
41069
41070 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41071 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41072 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41073
e5270c23
DM
410742012-04-17 David S. Miller <davem@davemloft.net>
41075
41076 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41077
fb5e92c9
AS
410782012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41079
41080 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41081 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41082 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41083 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41084 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41085 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41086
76da7265
AZ
410872012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41088
41089 [BZ #6794]
41090 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41091 * math/libm-test.inc: Add ilogb errno and exception tests.
41092 * math/w_ilogb.c: New file: ilogb wrapper.
41093 * math/w_ilogbf.c: New file: ilogbf wrapper.
41094 * math/w_ilogbl.c: New file: ilogbl wrapper.
41095 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41096 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41097 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41098 exception being thrown with 0.0 as argument.
41099 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41100 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41101 exception being thrown with 0.0 as argument.
41102 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41103 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41104 exception being thrown with 0.0 as argument.
41105 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41106 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41107 exception being thrown with 0.0 as argument.
41108 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41109 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 41110 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
41111 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41112 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41113 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41114 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41115 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41116 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41117
0396e69d
PB
411182012-04-17 Petr Baudis <pasky@ucw.cz>
41119
41120 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41121 with altivec.
41122
750b5926
MP
411232012-04-16 Marek Polacek <polacek@redhat.com>
41124
41125 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41126
751728a1
MP
411272012-04-16 Marek Polacek <polacek@redhat.com>
41128
41129 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41130 operands of fdivp instruction.
41131
34a27407
L
411322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41133
41134 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41135 * elf/tst-auditmod3b.c: Likewise.
41136 * elf/tst-auditmod4b.c: Likewise.
41137 * elf/tst-auditmod5b.c: Likewise.
41138 * elf/tst-auditmod6b.c: Likewise.
41139 * elf/tst-auditmod6c.c: Likewise.
41140 * elf/tst-auditmod7b.c: Likewise.
41141 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41142 * sysdeps/x86_64/preconfigure.in: Likewise.
41143 * sysdeps/x86_64/preconfigure: Regenerated.
41144
7e73e17d
L
411452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41146
41147 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41148 __ILP32__.
41149
c7a6ab72
AB
411502012-04-13 Antoine Balestrat <merkil33@gmail.com>
41151
41152 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41153 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41154
a9e8e0e0
CL
411552012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41156
41157 [BZ #13973]
41158 * locale/iso-639.def: Fix gl language name. Spotted by
41159 Yaron Shahrabani.
41160
ec98af7d
RM
411612012-04-12 Roland McGrath <roland@hack.frob.com>
41162
41163 [BZ #2074]
41164 * libio/libio.h (__io_write_fn): Update comment.
41165
247c3ede
PB
411662012-04-12 Petr Baudis <pasky@ucw.cz>
41167
41168 [BZ #2074]
41169 * stdio.texi (Hook Functions): The user provided writer function
41170 is not allowed to return -1.
41171
55939d6d
DM
411722012-04-11 David S. Miller <davem@davemloft.net>
41173
41174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41175
90020f5a
MF
411762012-04-11 Mike Frysinger <vapier@gentoo.org>
41177
41178 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41179 Add a leading slash to rtkaio.
41180
288f9098
JM
411812012-04-11 Jim Meyering <meyering@redhat.com>
41182
90020f5a
MF
41183 [BZ #11959]
41184 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41185 It is not necessarily an error to ignore fwrite's return
41186 value. One can reliably use ferror to test for errors after
41187 the fact.
288f9098 41188
4be2b570
L
411892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41190
41191 * bits/types.h (__snseconds_t): New type.
41192 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41193
41194 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41196 (__SNSECONDS_T_TYPE): Likewise.
41197 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41198 (__SNSECONDS_T_TYPE): Likewise.
41199 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41200 (__SNSECONDS_T_TYPE): Likewise.
41201
288f9098 412022012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41203
41204 [BZ #2636]
41205 * manual/time.texi (Processor Time): Return type of times is
41206 elapsed real time since an arbitrary point in the past.
41207 (CPU Time): Move CLK_TCK from here...
41208 (Processor Time): ...to here. Correct description.
41209 * manual/conf.texi (Constants for Sysconf): Correct description of
41210 _SC_CLK_TCK.
41211
d7dd4413
DM
412122012-04-10 David S. Miller <davem@davemloft.net>
41213
41214 [BZ #13967]
41215 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41216 where the is a gap between DT_REL(A) and DT_JMPREL.
41217
b46068fc
L
412182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41219
41220 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41221 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41222 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41223
73d65cc3
SP
412242012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41225
41226 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41227 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41228 (dl_main): Handle --inhibit-cache.
41229 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41230 _dl_inhibit_cache.
41231 * elf/dl-load.c (_dl_map_object): Use it.
41232 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41233
bcc8d661
JM
412342012-04-09 Joseph Myers <joseph@codesourcery.com>
41235
8f9a2fae
JM
41236 [BZ #13872]
41237 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41238 (__ieee754_powl): Saturate large exponents rather than testing for
41239 overflow of y*log2(x).
41240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41241 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41242 exceptions.
41243
bcc8d661
JM
41244 [BZ #11521]
41245 * math/s_ctan.c: Include <float.h>.
41246 (__ctan): Avoid internal overflow or cancellation in calculating
41247 denominator.
41248 * math/s_ctanf.c: Likewise.
41249 * math/s_ctanl.c: Likewise.
41250 * math/s_ctanh.c: Likewise.
41251 * math/s_ctanhf.c: Likewise.
41252 * math/s_ctanhl.c: Likewise.
41253 * math/libm-test.inc (ctan_test): Add more tests.
41254 (ctanh_test): Likewise.
41255 * sysdeps/i386/fpu/libm-test-ulps: Update.
41256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41257
823fbbb4
AJ
412582012-04-09 Andreas Jaeger <aj@suse.de>
41259
03879793
AJ
41260 [BZ #6894]
41261 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41262 is an optional BSD extension.
41263
823fbbb4
AJ
41264 [BZ #10254]
41265 * manual/stdio.texi (Opening Streams): Document additional fopen
41266 parameters.
41267
8de131cb
RM
412682012-04-09 Roland McGrath <roland@hack.frob.com>
41269
41270 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41271 %eax without telling the compiler.
41272
c0ed9d7d
CD
412732012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41274
41275 [BZ # 13963]
41276 * manual/install.texi: Use sourceware.org.
41277
c483f6b4
JM
412782012-04-09 Joseph Myers <joseph@codesourcery.com>
41279
d7dd9453
JM
41280 [BZ #13873]
41281 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41282 (__ieee754_pow): Generate overflow and underflow using huge*huge
41283 and tiny*tiny rather than just returning constant infinity or zero
41284 for large exponents.
41285 * math/libm-test.inc (pow_test): Require overflow exceptions for
41286 applicable cases of large exponents.
41287
c483f6b4
JM
41288 [BZ #706]
41289 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41290 (__ieee754_pow): Use iterative multiplication algorithm only for
41291 integer exponents with absolute value below 1024. Check for odd
41292 integer exponents when using algorithm for real exponents.
41293 * math/libm-test.inc (pow_test): Add more tests.
41294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41295
d2de7579
JM
412962012-04-08 Joseph Myers <joseph@codesourcery.com>
41297
41298 [BZ #13705]
41299 * math/libm-test.inc (exp_test): Do not allow overflow exception
41300 on underflow test.
41301
f77f1232
AJ
413022012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41303
41304 [BZ #13705]
41305 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41306 instead of __kernel_standard_f.
41307
3884932b
MF
413082012-04-08 Mike Frysinger <vapier@gentoo.org>
41309
41310 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41311 * sysdeps/x86_64/memset_chk.S: Likewise.
41312
54472e9c
AJ
413132012-04-08 Andreas Jaeger <aj@suse.de>
41314
6ab0fbfc
AJ
41315 [BZ #10153]
41316 * manual/startup.texi (Environment Access): Describe return value
41317 for putenv and setenv.
41318
61efba8c
AJ
41319 [BZ #6895]
41320 * manual/filesys.texi (Directory Entries): Add description for
41321 DT_LNK.
41322
95c3f29a
AJ
41323 [BZ #6890]
41324 * manual/filesys.texi (Directory Entries): Clarify that it's file
41325 system not operating system in the description of DT_UNKNOWN.
41326
54472e9c
AJ
41327 [BZ #6578]
41328 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41329
624254b1
SC
413302012-04-08 Stephen Compall <s11@member.fsf.org>
41331
41332 [BZ #6649]
41333 * manual/llio.texi (Opening and Closing Files): Add cross
41334 reference to explain mode argument.
41335
1e4920e0
MF
413362012-04-07 Mike Frysinger <vapier@gentoo.org>
41337
41338 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41339 * sysdeps/x86_64/memset_chk.S: Likewise.
41340
5ed848f3
DM
413412012-04-07 David S. Miller <davem@davemloft.net>
41342
41343 * elf/elf.h (R_SPARC_WDISP10): Define.
41344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41345 R_SPARC_SIZE32.
41346 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41347 R_SPARC_SIZE64 and R_SPARC_H34.
41348
96154cd8
CD
413492012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41350
41351 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41352 conditions and remove no longer applicable assertion.
41353
9904dc47
L
413542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41355
41356 * bits/byteswap.h: Include <features.h>.
41357 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41358 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41359
f8887d0a
L
413602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41361
41362 * bits/byteswap.h (__bswap_16): Removed.
41363 Include <bits/byteswap-16.h> to get __bswap_16.
41364 * sysdeps/i386/bits/byteswap.h: Likewise.
41365 * sysdeps/s390/bits/byteswap.h: Likewise.
41366 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41367 * bits/byteswap-16.h: New file.
41368 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41369 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41370 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41371 * string/Makefile (headers): Add bits/byteswap-16.h.
41372
62470f60
PP
413732012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41374
41375 [BZ #13895]
41376 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41377 extra indirection.
41378 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41379 * nss/tst-nss-static.c: New.
41380
4dad7bab
RM
413812012-04-06 Robert Millan <rmh@gnu.org>
41382
41383 [BZ #6486]
41384 * manual/llio.texi (File Position Primitive): lseek
41385 refers to WHENCE when it really means OFFSET.
41386
e9142a17
AJ
413872012-04-06 Andreas Jaeger <aj@suse.de>
41388
2c040eff
AJ
41389 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41390 strncmp declarations.
41391
e9142a17
AJ
41392 * abilist/libc.abilist: Add __poll and __ppoll.
41393
ff9f1c5f
DM
413942012-04-05 David S. Miller <davem@davemloft.net>
41395
dcd2ae90
DM
41396 * scripts/check-local-headers.sh: Accept a host triplet in the
41397 path matched by the exclude regexp.
41398
993eb054
DM
41399 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41400 definition.
41401 * sysdeps/powerpc/powerpc32/dl-machine.h
41402 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41403 * sysdeps/s390/s390-32/dl-machine.h
41404 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41405 * sysdeps/sparc/sparc32/dl-machine.h
41406 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41407 * sysdeps/sparc/sparc64/dl-machine.h
41408 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41409
ff9f1c5f
DM
41410 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41411 lazy binding.
48e2e132 41412 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41413 undefined symbol errors.
41414
48e2e132 41415 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41416 DT_NEEDED entries.
41417
e80d6f94
MM
414182012-04-05 Michael Matz <matz@suse.de>
41419
41420 [BZ #13592]
41421 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41422
349fa79f
AJ
414232012-04-05 Andreas Jaeger <aj@suse.de>
41424
41425 [BZ #13908]
41426 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41427 comment.
41428
f402708f
KK
414292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41430
41431 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41432 which ROUND is no valid rounding mode.
41433
2ecccfc9
KK
414342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41435
41436 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41437 read again.
41438 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41439
8a53f50f
KK
414402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41441
41442 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41443 an exception using FPU order intentionally.
41444
414452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41446
41447 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41448 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41449 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41450 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41451
d653abb7
SJ
414522012-04-05 Simon Josefsson <simon@josefsson.org>
41453
41454 [BZ #12340]
41455 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41456 EINVAL when BUFLEN is too smal.
41457
c3b1bf7d
TS
414582012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41459
41460 [BZ #13553]
41461 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41462 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41463
b1aa60f3
AJ
414642012-04-03 Andreas Jaeger <aj@suse.de>
41465
c3b1bf7d 41466 [BZ #13938]
67f60a26
AJ
41467 * manual/setjmp.texi (System V contexts): Fix sentence.
41468
b1aa60f3
AJ
41469 [BZ #13926]
41470 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41471 New macro for this case.
41472 [!__GNUC__] (__bswap_64): New inline function for this case.
41473 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41474 * bits/byteswap.h: Likewise.
41475 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41476 ull, guard with __GLIBC_HAVE_LONG_LONG.
41477
41478 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41479 __GLIBC_HAVE_LONG_LONG.
41480
41481 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41482 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41483
39c59c35
TMQMF
414842012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41485
41486 [BZ #13691]
41487 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41488 inptr and inend, rather than using last_ch.
41489
135ffda8
DM
414902012-04-02 David S. Miller <davem@davemloft.net>
41491
41492 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41493 * stdio-common/printf-parse.h (read_int): Change return type to
41494 'int', return -1 on INT_MAX overflow.
41495 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41496 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41497 overflows INT_MAX. Check for overflow of in-format-string precision
41498 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41499 SIZE_MAX not INT_MAX for integer overflow test.
41500 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41501 skip the construct in the format string but do not record anything.
41502 * stdio-common/bug22.c: Adjust to test both width/prevision
41503 INT_MAX overflow as well as total length INT_MAX overflow. Check
41504 explicitly for proper errno values.
41505
228c019e
TS
415062012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41507
302cadd3
TS
41508 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41509 CHAR_MAX.
41510 * string/test-strcmp.c [! WIDE]: Likewise.
41511 * time/tst-mktime2.c: Likewise for INT_MAX.
41512 * string/test-string.h: #include <sys/param.h> for MIN.
41513
228c019e
TS
41514 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41515 * sysdeps/i386/init-first.c (init): Likewise.
41516 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41517 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41518 * sysdeps/sh/init-first.c (init): Likewise.
41519
cfa633f5
UD
415202012-04-01 Ulrich Drepper <drepper@gmail.com>
41521
41522 * po/ru.po: Update from translation team.
d1635ef8 41523 * po/vi.po: Likewise.
cfa633f5 41524
6cd0a5ea
SP
415252012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41526
41527 * resolv/nss_dns/dns-host.c: Merge copyright years.
41528
4b43400f
LD
415292012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41530
41531 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41532 Optimize memcpy with prefetch if
41533 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41534 src, dst pointers have unequal 16 byte alignments.
41535
48c41d04
SP
415362012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41537
41538 [BZ #13928]
41539 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41540 from a CNAME entry and return the minimum ttl for the query.
41541 (gaih_getanswer_slice): Likewise.
41542
b8dc394d
JL
415432012-03-30 Jeff Law <law@redhat.com>
41544
41545 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41546 due to long keys.
41547 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41548 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41549
2f5a5ed0
JL
41550 * resolv/nss_dns/dns-host.c: Update copyright year.
41551
1d39e359
UD
415522012-03-30 Ulrich Drepper <drepper@gmail.com>
41553
c030f70c 41554 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41555 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41556
1d39e359
UD
41557 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41558 comments for sendmmsg.
41559
415602012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41561
41562 [BZ #13691]
41563 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41564 with only 1 character between 0x0041 and 0x01b0.
41565 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41566 * wcsmbs/tst-mbsnrtowcs.c: New file.
41567
20fde227
DM
415682012-03-29 David S. Miller <davem@davemloft.net>
41569
41570 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41571 small copies by hand.
41572
984a4237
JL
415732012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41574
41575 [BZ #13761]
57f41c40
AS
41576 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41577 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41578 group memberships.
984a4237 41579
18c9d62b
DM
415802012-03-28 David S. Miller <davem@davemloft.net>
41581
88d85d4f
DM
41582 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41583 that branches into memcpy.
41584 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41587 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41589 bits.
41590 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41591 implementation too.
41592 * sysdeps/sparc/mempcpy.S: New file.
41593
e5aa83e1
DM
41594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41595 the IFUNC routine in the libc case.
41596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41597
88570753
DM
41598 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41599 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41600 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41601 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41602 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41603 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41604 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41605 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41606
249d7567
DM
41607 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41608 loop to 256 bytes instead of 64 bytes and fix test signedness.
41609
18c9d62b
DM
41610 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41611 * sysdeps/sparc/sparc32/Makefile: rather than here...
41612 * sysdeps/sparc/sparc64/Makefile: and here.
41613
05f3d1f6
UD
416142012-03-28 Ulrich Drepper <drepper@gmail.com>
41615
41616 * malloc/mallocbug.c: Avoid warnings about unused variables.
41617
86ae07a8
JL
416182012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41619
41620 [BZ #13760]
41621 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41622 in the right place. Discard and retry query if response is
41623 larger than input buffer size.
41624
41bf21a1
JM
416252012-03-28 Joseph Myers <joseph@codesourcery.com>
41626
d6270972
JM
41627 [BZ #369]
41628 [BZ #2678]
41629 [BZ #3866]
41630 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41631 x for large integer exponent.
41632 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41633 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41634 sign of result as needed afterwards.
41635 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41636 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41637 result for underflowing pow the same as for overflow.
41638 (__kernel_standard_l): Handle powl overflow and underflow here
41639 rather than calling __kernel_standard.
41640 * math/libm-test.inc (pow_test): Add more tests.
41641
414fca03 41642 [BZ #3868]
41bf21a1
JM
41643 [BZ #13879]
41644 [BZ #13910]
41645 [BZ #13911]
41646 [BZ #13912]
41647 [BZ #13913]
41648 [BZ #13915]
41649 [BZ #13916]
41650 [BZ #13917]
41651 [BZ #13918]
41652 [BZ #13919]
41653 [BZ #13920]
41654 [BZ #13921]
41655 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41656 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41657 (__kernel_standard_l): New function.
41658 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41659 __kernel_standard.
41660 * math/w_acosl.c (__acosl): Likewise.
41661 * math/w_asinl.c (__asinl): Likewise.
41662 * math/w_atan2l.c (__atan2l): Likewise.
41663 * math/w_atanhl.c (__atanhl): Likewise.
41664 * math/w_coshl.c (__coshl): Likewise.
41665 * math/w_exp10l.c (__exp10l): Likewise.
41666 * math/w_exp2l.c (__exp2l): Likewise.
41667 * math/w_fmodl.c (__fmodl): Likewise.
41668 * math/w_hypotl.c (__hypotl): Likewise.
41669 * math/w_j0l.c (__j0l, __y0l): Likewise.
41670 * math/w_j1l.c (__j1l, __y1l): Likewise.
41671 * math/w_jnl.c (__jnl, __ynl): Likewise.
41672 * math/w_lgammal.c (__lgammal): Likewise.
41673 * math/w_log10l.c (__log10l): Likewise.
41674 * math/w_log2l.c (__log2l): Likewise.
41675 * math/w_logl.c (__logl): Likewise.
41676 * math/w_powl.c (__powl): Likewise.
41677 * math/w_remainderl.c (__remainderl): Likewise.
41678 * math/w_scalbl.c (sysv_scalbl): Likewise.
41679 * math/w_sinhl.c (__sinhl): Likewise.
41680 * math/w_sqrtl.c (__sqrtl): Likewise.
41681 * math/w_tgammal.c (__tgammal): Likewise.
41682 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41683 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41684 * math/libm-test.inc (acos_test): Add more tests.
41685 (acosh_test): Likewise.
41686 (asin_test): Likewise.
41687 (atanh_test): Likewise.
41688 (exp_test): Likewise.
41689 (exp10_test): Likewise.
41690 (exp2_test): Likewise.
41691 (expm1_test): Likewise.
41692 (lgamma_test): Likewise.
41693 (log_test): Likewise.
41694 (log10_test): Likewise.
41695 (log1p_test): Likewise.
41696 (log2_test): Likewise.
41697 (pow_test): Do not allow some spurious overflow exceptions.
41698 (sqrt_test): Add more tests.
41699 (tgamma_test): Likewise.
41700 (y0_test): Likewise.
41701 (y1_test): Likewise.
41702 (yn_test): Likewise.
41703
dd62fda6
AB
417042012-03-27 Anton Blanchard <anton@samba.org>
41705
41706 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41707 MAP_HUGETLB.
41708 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41709 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41710 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41711
1e3cdfda
AJ
417122012-03-27 David S. Miller <davem@davemloft.net>
41713
b855ab85
DM
41714 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41715
1e3cdfda
AJ
41716 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41717 have-as-vis3 check.
41718
417192012-03-27 Andreas Jaeger <aj@suse.de>
41720
41721 * sysdeps/x86_64/elf/configure.in: Moved to ...
41722 * sysdeps/x86_64/configure.in: ... here.
41723 * sysdeps/x86_64/elf/start.S: Moved to ...
41724 * sysdeps/x86_64/start.S: ... here.
41725 * sysdeps/x86_64/elf/configure: Delete.
41726
41727 * sysdeps/x86_64/configure.in: Merge contents from
41728 sysdeps/i386/configure.in (without i686 check).
41729
41730 * sysdeps/i386/elf/Versions: Merge into ...
41731 * sysdeps/i386/Versions: ... this.
41732 * sysdeps/i386/elf/Versions: Delete file.
41733 * sysdeps/i386/elf/start.S: Moved to ...
41734 * sysdeps/i386/start.S: ...here.
41735 * sysdeps/i386/elf/configure.in: Merge into...
41736 * sysdeps/i386/configure.in: ...here.
41737 * sysdeps/i386/elf/configure.in: Delete file.
41738 * sysdeps/i386/elf/configure: Delete file.
41739
41740 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41741 * debug/backtracesyms.c: ... here.
41742 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41743 * debug/backtracesymsfd.c: ... here.
41744 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41745 * sysdeps/generic/ifunc-sel.h: ... here.
41746
41747 * sysdeps/unix/i386/start.c: Delete file.
41748 * sysdeps/unix/sparc/start.c: Delete file.
41749 * sysdeps/unix/start.c: Delete file.
41750
41751 * sysdeps/sh/elf/configure.in: Moved to ...
41752 * sysdeps/sh/configure.in: ... here.
41753 * sysdeps/sh/elf/start.S: Moved to ...
41754 * sysdeps/sh/start.S: ... here.
41755 * sysdeps/sh/elf/configure: Delete file.
41756
41757 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41758 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41759 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41760 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41761 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41762 * sysdeps/powerpc/powerpc64/start.S: here.
41763 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41764 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41765 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41766 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41767 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41768
41769 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41770 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41771 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41772 * sysdeps/powerpc/powerpc32/start.S: ... here.
41773 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41774 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41775 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41776
41777 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41778 * sysdeps/powerpc/ifunc-sel.h: ... here.
41779 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41780 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41781
41782 * sysdeps/sparc/elf/configure.in: Moved to ...
41783 * sysdeps/sparc/configure.in: ... here.
41784 * sysdeps/sparc/elf/configure: Delete file.
41785 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41786 * sysdeps/sparc/sparc32/start.S: ... here.
41787 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41788 * sysdeps/sparc/sparc64/start.S: ... here.
41789 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41790 * sysdeps/sparc/sparc32/Makefile: ... this.
41791 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41792 * sysdeps/sparc/sparc64/Makefile: ... this.
41793
41794 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41795 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41796 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41797 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41798 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41799 * sysdeps/s390/s390-32/setjmp.S: ... here.
41800 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41801 * sysdeps/s390/s390-32/configure.in: ... here.
41802 * sysdeps/s390/s390-32/elf/configure: Delete file.
41803 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41804 * sysdeps/s390/s390-32/start.S: ... here.
41805
41806 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41807 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41808 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41809 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41810 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41811 * sysdeps/s390/s390-64/setjmp.S: ... here.
41812 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41813 * sysdeps/s390/s390-64/configure.in: ... here
41814 * sysdeps/s390/s390-64/elf/configure: Delete file.
41815 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41816 * sysdeps/s390/s390-64/start.S: ... here.
41817 * sysdeps/s390/s390-64/elf/configure: Delete.
41818
41819 * configure.in: Remove support for elf directories in sysdeps.
41820
41821 * configure: Regenerated.
41822 * sysdeps/i386/configure: Regenerated.
41823 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41824 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41825 * sysdeps/s390/s390-32/configure: Regenerated.
41826 * sysdeps/s390/s390-64/configure: Regenerated.
41827 * sysdeps/sh/configure: Regenerated.
41828 * sysdeps/sparc/configure: Regenerated.
41829 * sysdeps/x86_64/configure: Regenerated.
41830
a3f61311
AS
418312012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41832
c876e002
AS
41833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41834
a3f61311
AS
41835 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41836 denormal result into account.
41837
ac4c54f0
RM
418382012-03-25 Roland McGrath <roland@hack.frob.com>
41839
41840 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41841 Reported by Allan McRae <allan@archlinux.org>.
41842
6a9b9c02
JL
418432012-03-23 Jeff Law <law@redhat.com>
41844
41845 * nss/getnssent.c (__nss_getent): Fix typo.
41846
4c42a0c1
DM
418472012-03-23 David S. Miller <davem@davemloft.net>
41848
41849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41850
1532c7ac
L
418512012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41852
41853 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41854 to pad to uint64_t for each field.
41855 (dl_tls_index): Replace unsigned long with uint64_t.
41856
3ff42526
PP
418572012-03-23 Daniel Jacobowitz <dmj@google.com>
41858 Paul Pluzhnikov <ppluzhnikov@google.com>
41859
41860 [BZ #6528]
41861 * grp/Makefile (otherlibs): Don't set it.
41862 * inet/Makefile (otherlibs): Likewise.
41863 * login/Makefile (otherlibs): Likewise.
41864 * nscd/Makefile (otherlibs): Likewise.
41865 * posix/Makefile (otherlibs): Likewise.
41866 * pwd/Makefile (otherlibs): Likewise.
41867 * rt/Makefile (otherlibs): Likewise.
41868 * sunrpc/Makefile (otherlibs): Likewise.
41869 * nss/Makefile (otherlibs): Likewise.
41870 Add libnss_files to routines and static-only-routines.
41871 ($(objpfx)getent): Remove rule.
41872 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41873 static-only-routines.
41874
7c69cd14
JM
418752012-03-22 Joseph Myers <joseph@codesourcery.com>
41876
41877 [BZ #13892]
41878 * math/s_cexp.c: Include <float.h>.
41879 (__cexp): Handle exp result overflowing not necessarily
41880 overflowing both real and imaginary parts of result.
41881 * math/s_cexpf.c: Likewise.
41882 * math/s_cexpl.c: Likewise.
41883 * math/libm-test.inc (cexp_test): Add more tests.
41884 * sysdeps/i386/fpu/libm-test-ulps: Update.
41885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41886
81b035fe
L
418872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41888
41889 * include/link.h (ELFW): New macro.
41890 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41891 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41892
1da7940c
L
418932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41894
41895 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41896 with uint64_t.
41897
b749dbb9
L
418982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41899
41900 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41901 declaration.
41902 (struct La_x32_retval): Likewise.
41903
2ff87f3f
L
419042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41905
41906 * sysdeps/x86_64/preconfigure.in: New file.
41907 * sysdeps/x86_64/preconfigure: New generated file.
41908
c0df8e69
JM
419092012-03-22 Joseph Myers <joseph@codesourcery.com>
41910
48e44791
JM
41911 [BZ #13824]
41912 * math/e_exp2l.c: Include <float.h>.
41913 (__ieee754_exp2l): Handle overflow and underflow cases
41914 separately. Only pass fractional part of argument to
41915 __ieee754_expl.
41916 * math/libm-test.inc (exp2_test): Add more tests.
41917
c0df8e69
JM
41918 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41919 negating x to take absolute value.
41920 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41921 Likewise.
41922 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41923 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41924 Likewise.
41925 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41926 computing low part if x was negated.
41927 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41928
c8e43ba7
L
419292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41930
41931 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41932 la_x32_gnu_pltexit.
41933 (pltexit): Cast int_retval to ptrdiff_t.
41934 * elf/tst-auditmod3b.c: Likewise.
41935 * elf/tst-auditmod4b.c: Likewise.
41936 * elf/tst-auditmod5b.c: Likewise.
41937 * elf/tst-auditmod6b.c: Likewise.
41938 * elf/tst-auditmod6c.c: Likewise.
41939 * elf/tst-auditmod7b.c: Likewise.
41940
41941 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41942 and x32_gnu_pltexit.
41943
41944 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41945 __ELF_NATIVE_CLASS.
41946 (La_x32_regs): New macro.
41947 (La_x32_retval): Likewise.
41948 (la_x32_gnu_pltenter): New function prototype.
41949 (la_x32_gnu_pltexit): Likewise.
41950
7998fa78
AS
419512012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41952
dcb33988
AS
41953 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41954 exponent.
41955
233fc563
AS
41956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41957
7998fa78
AS
41958 * configure.in (libc_cv_cc_nofma): Check for option to disable
41959 generation of FMA instructions.
41960 * configure: Regenerate.
41961 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41962 * sysdeps/ieee754/dbl-64/Makefile: New file.
41963 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41964 Remove brandred-fma4.
41965 (CFLAGS-brandred-fma4.c): Remove.
41966 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41967 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41968 define.
41969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41970 define.
41971
8e95c99a
L
419722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41973
41974 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41975 LLONG_MAX != LONG_MAX.
41976 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41977 (_fitoa_word): Likewise.
41978 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41979 LLONG_MAX != LONG_MAX.
41980 * stdio-common/_itowa.h: Include <_itoa.h>.
41981 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41982 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41983 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41984 only if not defined.
41985 (_ITOA_WORD_TYPE): Likewise.
41986 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41987 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41988
6f4db457
DM
419892012-03-21 David S. Miller <davem@davemloft.net>
41990
41991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41992
7785fe5a
L
419932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41994
41995 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41996 of x86_64 when setting libc_cv_slibdir, libdir and
41997 libc_cv_localedir.
41998 * sysdeps/unix/sysv/linux/configure: Regenerated.
41999
4535cd55
JM
420002012-03-21 Joseph Myers <joseph@codesourcery.com>
42001
42002 * manual/lang.texi (Old Varargs): Remove section.
42003 (How Variadic): Update menu.
42004 (va_start): Do not mention varargs.h.
42005
17228132
TS
420062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42007 Joseph Myers <joseph@codesourcery.com>
42008
42009 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42010 link test.
42011 * configure: Regenerated.
42012
8149f976
TS
420132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42014
05f3d1f6
UD
42015 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42016 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42017 conformtest.pl
8149f976 42018
1a4ac776
JM
420192012-03-21 Joseph Myers <joseph@codesourcery.com>
42020
be22ce65
JM
42021 * NOTES: Remove.
42022 * Makefile (files-for-dist): Remove NOTES.
42023 (NOTES): Remove rule.
42024 * README: Don't refer to NOTES.
42025 * manual/creature.texi: Don't include macros.texi.
42026 * manual/intro.texi (creature.texi): Remove comment referring to
42027 NOTES.
42028
40b601fb
JM
42029 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42030 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42031 * configure: Regenerated.
42032 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42033 LIBC_TRY_CC_OPTION.
42034 (libc_cv_as_i686): Likewise.
42035 (libc_cv_cc_avx): Likewise.
42036 (libc_cv_cc_sse2avx): Likewise.
42037 (libc_cv_cc_fma4): Likewise.
42038 (libc_cv_cc_novzeroupper): Likewise.
42039 * sysdeps/i386/configure: Regenerated.
42040
1a4ac776
JM
42041 [BZ #13883]
42042 * sysdeps/i386/fpu/s_cexp.S: Remove.
42043 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42044 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42045 * math/libm-test.inc (cexp_test): Add more tests.
42046 * sysdeps/i386/fpu/libm-test-ulps: Update.
42047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42048
a458e7fe
AM
420492012-03-21 Allan McRae <allan@archlinux.org>
42050
42051 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42052
0cb7efc5
JM
420532012-03-21 Joseph Myers <joseph@codesourcery.com>
42054
42055 [BZ #13871]
42056 * math/w_exp2.c: Do not include <float.h>.
42057 (o_threshold, u_threshold): Remove.
42058 (__exp2): Calculate result before checking finiteness and calling
42059 __kernel_standard.
42060 * math/w_exp2f.c: Likewise.
42061 * math/w_exp2l.c: Likewise.
42062 * math/libm-test.inc (exp2_test): Require overflow exception for
42063 1e6 input.
2460d3aa
JM
42064
42065 [BZ #3866]
42066 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42067 range of signed 64-bit integers before using fistpll. Remove
42068 checks for whether integers fit in mantissa bits.
42069 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42070 the range of signed 32-bit integers before using fistpl. Remove
42071 checks for whether integers fit in mantissa bits.
42072 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42073 (__ieee754_powl): Test for y outside the range of signed 64-bit
42074 integers before using fistpll. Reduce 64-bit values to 63-bit
42075 ones as needed.
42076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42077 divide-by-zero is raised for zero to large negative powers.
42078 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42079 (__ieee754_powl): Test for y outside the range of signed 64-bit
42080 integers before using fistpll. Reduce 64-bit values to 63-bit
42081 ones as needed.
42082 * math/libm-test.inc (pow_test): Add more tests.
42083
eb96ffb0
L
420842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42085
42086 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42087 <stdio-common/_itoa.h>.
42088 * debug/segfault.c: Likewise.
42089 * elf/dl-cache.c: Likewise.
42090 * elf/dl-minimal.c: Likewise.
42091 * elf/dl-misc.c: Likewise.
42092 * elf/dl-sysdep.c: Likewise.
42093 * elf/dl-version.c: Likewise.
42094 * elf/rtld.c: Likewise.
42095 * hurd/hurdsock.c: Likewise.
42096 * hurd/lookup-retry.c: Likewise.
42097 * malloc/malloc.c: Likewise.
42098 * malloc/mtrace.c: Likewise.
42099 * nscd/nscd_getgr_r.c: Likewise.
42100 * nscd/nscd_getpw_r.c: Likewise.
42101 * nscd/nscd_getserv_r.c: Likewise.
42102 * posix/getopt_init.c: Likewise.
42103 * posix/wordexp.c: Likewise.
42104 * stdio-common/_itoa.c: Likewise.
42105 * stdio-common/printf_fphex.c: Likewise.
42106 * stdio-common/vfprintf.c: Likewise.
42107 * string/_strerror.c: Likewise.
42108 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42109 * sysdeps/i386/i686/hp-timing.h: Likewise.
42110 * sysdeps/mach/_strerror.c: Likewise.
42111 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42112 * sysdeps/mach/hurd/sethostid.c: Likewise.
42113 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42114 * sysdeps/mach/xpg-strerror.c: Likewise.
42115 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42116 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42117 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42118 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42119 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42120 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42121 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42122 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42123 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42124 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42125 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42126 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42127 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42128 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42129 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42130 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42131 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42132 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42133 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42134 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42135 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42136
42137 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42138
42139 * stdio-common/_itoa.h: Moved to ...
42140 * sysdeps/generic/_itoa.h: Here.
42141
42142 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42143
42144 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42145 instead of "_itoa.h" and "_itowa.h".
42146 * stdio-common/vfprintf.: Likewise.
42147
d1af992d
L
421482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42149
42150 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42151 <bits/wordsize.h>.
42152 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42153 (__signbit): Likwise.
42154 (llrintf): Likwise.
42155 (llrint): Likwise.
42156
114883e0
L
421572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42158
42159 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42160 __WORDSIZE != 64.
42161
c135cc1b
JM
421622012-03-20 Joseph Myers <joseph@codesourcery.com>
42163
42164 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42165 OVERFLOW_EXCEPTION_OK.
42166 * math/libm-test.inc ("Philosophy"): Update comment about
42167 exception testing.
42168 (OVERFLOW_EXCEPTION): Define.
42169 (OVERFLOW_EXCEPTION_OK): Likewise.
42170 (INVALID_EXCEPTION_OK): Renumber.
42171 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42172 (IGNORE_ZERO_INF_SIGN): Likewise.
42173 (test_exceptions): Handle FE_OVERFLOW.
42174 (exp10_test): Expect overflow exceptions.
42175 (exp2_test): Likewise.
42176 (expm1_test): Likewise.
42177 (nextafter_test): Likewise.
42178 (pow_test): Likewise.
42179 (scalbn_test): Likewise.
42180 (scalbln_test): Likewise.
42181
95443d88
L
421822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42183
42184 * sysdeps/x86_64/bits/atomic.h
42185 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42186 64bit integer.
42187 (atomic_exchange_acq): Likewise.
42188 (__arch_exchange_and_add_body): Likewise.
42189 (__arch_add_body): Likewise.
42190 (atomic_add_negative): Likewise.
42191 (atomic_add_zero): Likewise.
42192
490df6c4
L
421932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42194
c2722551 42195 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42196 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42197
5e52b189
L
421982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42199
42200 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42201 Check __x86_64__ instead of __WORDSIZE.
42202
a9879d4c
L
422032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42204
42205 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42206
5df98260
DM
422072012-03-19 David S. Miller <davem@davemloft.net>
42208
e1497744
DM
42209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42210
5df98260
DM
42211 * sysdeps/sparc/fpu/fenv_private.h: New file.
42212 * sysdeps/sparc/fpu/math_private.h: Use it.
42213 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42214 Remove.
57f41c40 42215 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42216 (libc_feholdexcept_setroundl): Remove.
42217 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42218 Remove.
42219 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42220 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42221
b4c35121
L
422222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42223
42224 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42225 int64_t instead of long int.
42226 (INSERT_WORDS64): Likwise.
42227
56965fd7
L
422282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42229
42230 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42231 _Unwind_GetCFA return to _Unwind_Ptr first.
42232
83d1aec8
JM
422332012-03-19 Joseph Myers <joseph@codesourcery.com>
42234
1897ad44
JM
42235 [BZ #13629]
42236 * math/s_clog.c: Include <float.h>.
42237 (__clog): Scale large or subnormal inputs.
42238 * math/s_clogf.c: Likewise.
42239 * math/s_clogl.c: Likewise.
42240 * math/s_clog10.c: Include <float.h>.
42241 (M_LOG10_2): Define.
42242 (__clog10): Scale large or subnormal inputs.
42243 * math/s_clog10f.c: Likewise.
42244 * math/s_clog10l.c: Likewise.
42245 * math/libm-test.inc (clog_test): Add more tests.
42246 (clog10_test): Likewise.
42247 * sysdeps/i386/fpu/libm-test-ulps: Update.
42248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42249
7726d6a9
JM
42250 [BZ #11451]
42251 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42252 x and y.
42253 * math/libm-test.inc (atan2_test): Add another test.
42254
83d1aec8
JM
42255 * Makerules (common-objdir-compile): Remove.
42256 * sysdeps/unix/Makefile (config-generated): Do not add
42257 $(unix-generated) to variable.
42258 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42259 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42260 Remove rule.
42261 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42262 Likewise.
42263 [generic bits/local_lim.h] (before-compile): Do not append to
42264 variable.
42265 [generic bits/local_lim.h] (common-generated): Likewise.
42266 [generic sys/param.h] (before-compile): Do not append to variable.
42267 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42268 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42269 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42270 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42271 include.
42272 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42273 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42274 [generic sys/param.h] ($(addprefix
42275 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42276 [generic sys/param.h] (common-generated): Do not append to
42277 variable.
42278 [generic sys/param.h] (sysdep_headers): Likewise.
42279 [generic bits/errno.h] (before-compile): Do not append to
42280 variable.
42281 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42282 rule.
42283 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42284 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42285 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42286 [generic bits/errno.h] (common-generated): Do not append to
42287 variable.
42288 [generic bits/ioctls.h] (before-compile): Do not append to
42289 variable.
42290 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42291 rule.
42292 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42293 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42294 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42295 rule.
42296 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42297 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42298 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42299 [generic bits/ioctls.h] (common-generated): Do not append to
42300 variable.
42301 [generic sys/syscall.h] (syscall.h): Remove variable.
42302 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42303 rule.
42304 [generic sys/syscall.h] (before-compile): Do not append to
42305 variable.
42306 [generic sys/syscall.h] (common-generated): Likewise.
42307 * sysdeps/unix/errnos-tmpl.c: Remove file.
42308 * sysdeps/unix/errnos.awk: Likewise.
42309 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42310 * sysdeps/unix/ioctls.awk: Likewise.
42311 * sysdeps/unix/mk-local_lim.c: Likewise.
42312 * sysdeps/unix/snarf-ioctls: Likewise.
42313
4851a949
RH
423142012-03-19 Richard Henderson <rth@twiddle.net>
42315
bd37f2ee
RH
42316 * sysdeps/i386/fpu/fenv_private.h: New file.
42317 * sysdeps/i386/fpu/math_private.h: Use it.
42318 (math_opt_barrier, math_force_eval): Remove.
42319 (libc_feholdexcept_setround_53bit): Remove.
42320 (libc_feupdateenv_53bit): Remove.
42321 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42322 (math_opt_barrier, math_force_eval): Remove.
42323 (libc_feholdexcept): Remove.
42324 (libc_feholdexcept_setround): Remove.
42325 (libc_fetestexcept, libc_fesetenv): Remove.
42326 (libc_feupdateenv_test): Remove.
42327 (libc_feupdateenv, libc_feholdsetround): Remove.
42328 (libc_feresetround): Remove.
42329
d0adc922
RH
42330 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42331 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42332
0fe0f1f8
RH
42333 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42334 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42335 (libc_feupdateenv_testl): New.
42336 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42337 (libc_feupdateenv_testf): New.
42338 (libc_feupdateenv): Use libc_feupdateenv_test.
42339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42340 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42341
eb92c487
RH
42342 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42343 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42344 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42345 (libc_feresetround_noex): New.
42346 (libc_feresetround_noexf): New.
42347 (libc_feresetround_noexl): New.
42348 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42349 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42350 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42351 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42352 SET_RESTORE_ROUND.
42353 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42355 (__cos): Likewise.
42356 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42357 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42358 SET_RESTORE_ROUND_NOEX.
42359 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42360 SET_RESTORE_ROUND_NOEXF.
42361 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42362 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42363 (libc_feholdsetroundf): New.
42364 (libc_feresetround, libc_feresetroundf): New.
42365
7d2e8012
RH
42366 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42367 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42368 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42369
b4dabbb4
RH
42370 * sysdeps/generic/math_private.h: Include <fenv.h>.
42371 (default_libc_feholdexcept): New.
42372 (default_libc_feholdexcept_setround): New.
42373 (default_libc_fesetenv, default_libc_feupdateenv): New.
42374 (libc_feholdexcept): Only define if undefined.
42375 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42376 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42377 (libc_feholdexcept_setroundl): Likewise.
42378 (libc_feholdexcept_setround_53bit): Likewise.
42379 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42380 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42381 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42382 (libc_feupdateenv_53bit): Likewise.
42383 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42384 (libc_feholdexcept): Convert from macro to inline function.
42385 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42386 (libc_fesetenv, libc_feupdateenv): Likewise.
42387
4851a949
RH
42388 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42389 not previously defined.
42390 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42391 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42392 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42393 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42394 * sysdeps/ieee754/flt-32/math_private.h: New file.
42395 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42396 math_private.h below SET_FLOAT_WORD.
42397 (__isnan, __isinf_ns, __finite): Remove.
42398 (__isnanf, __isinf_nsf, __finitef): Remove.
42399
e79d442e
AS
424002012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42401
42402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42403
90b80344
DM
424042012-03-17 David S. Miller <davem@davemloft.net>
42405
42406 [BZ #6471]
42407 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42408 for 2.16.
42409
edc21804
DM
424102012-03-16 David S. Miller <davem@davemloft.net>
42411
77e927af
DM
42412 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42413 warnings.
42414
374976dd
DM
42415 [BZ #6471]
42416 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42417 properly.
42418 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42419 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42420 sysdep_routines when subdir is sysvipc.
42421 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42422 __getshmlba helper.
42423
edc21804
DM
42424 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42425
473c3ef3
L
424262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42427
42428 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42429 [__LP64__].
42430
eb0f39b6
L
424312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42432
42433 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42434 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42435 (__lround): Renamed to ...
42436 (__llround): This. Replace long int with long long int.
42437 Define lround functions as aliases of llround functions.
42438 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42439
6b6cd74b
L
424402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42441
42442 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42443 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42444 adresses to uintptr_t. Replace "long int" and "unsigned long
42445 int" with "greg_t" on va_arg.
42446
f1a77b01
L
424472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42448
42449 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42450 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42451
42452 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42453 Move e_machine check before EI_CLASS check. Handle x32
42454 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42455 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42456 SKIP_EM_IA_64 and include
42457 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42458
42459 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42460 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42461 (add_system_dir): New macro.
42462
42463 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42464 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42465
11b90b9f
JM
424662012-03-16 Joseph Myers <joseph@codesourcery.com>
42467
c36e1d23
JM
42468 [BZ #2551]
42469 [BZ #2552]
42470 [BZ #2553]
42471 [BZ #2554]
42472 [BZ #2562]
42473 [BZ #2563]
42474 [BZ #2565]
42475 [BZ #2566]
42476 [BZ #2576]
42477 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42478 (y0): Likewise.
42479 * math/w_j0f.c (j0f): Likewise.
42480 (y0f): Likewise.
42481 * math/w_j0l.c (__j0l): Likewise.
42482 (__y0l): Likewise.
42483 * math/w_j1.c (j1): Likewise.
42484 (y1): Likewise.
42485 * math/w_j1f.c (j1f): Likewise.
42486 (y1f): Likewise.
42487 * math/w_j1l.c (__j1l): Likewise.
42488 (__y1l): Likewise.
42489 * math/w_jn.c (jn): Likewise.
42490 (yn): Likewise.
42491 * math/w_jnf.c (jnf): Likewise.
42492 (ynf): Likewise.
42493 * math/w_jnl.c (__jnl): Likewise.
42494 (__ynl): Likewise.
42495 * math/libm-test.inc (j0_test): Add more tests.
42496 (j1_test): Likewise.
42497 (jn_test): Likewise. Add trailing semicolon to existing test.
42498 (y0_test): Likewise.
42499 (y1_test): Likewise.
42500 * sysdeps/i386/fpu/libm-test-ulps: Update.
42501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42502
11b90b9f
JM
42503 [BZ #13851]
42504 [BZ #13854]
42505 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42506 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42507 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42508 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42509 (__tanl): Set errno for infinite argument.
42510 * sysdeps/i386/fpu/mptan.c: Remove.
42511 * sysdeps/i386/fpu/s_tan.S: Likewise.
42512 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42513 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42514 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42515 * math/libm-test.inc (tan_test): Add more tests and enable more
42516 tests for double and long double.
42517 * sysdeps/i386/fpu/libm-test-ulps: Update.
42518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42519
6a1bd2a1
JK
425202012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42521
42522 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42523 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42524
10a803e0
RM
425252012-03-16 Roland McGrath <roland@hack.frob.com>
42526
42527 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42528 * configure.in: Use it for both main tree and add-ons.
42529 * configure: Regenerated.
42530
f196c7f7
L
425312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42532
42533 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42534
8848d99d
JM
425352012-03-16 Joseph Myers <joseph@codesourcery.com>
42536
96cbe7f4
JM
42537 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42538 in comment.
42539
8848d99d
JM
42540 [BZ #13851]
42541 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42542 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42543 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42544 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42545 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42546 infinite argument.
42547 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42549 != 0 for prec == 2.
42550 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42551 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42552 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42553 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42554 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42555 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42556 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42557 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42558 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42559 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42560 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42561 * math/libm-test.inc (cos_test): Add more tests and enable more
42562 tests for long double.
42563 (sin_test): Likewise.
42564 (sincos_test): Likewise.
42565 * sysdeps/i386/fpu/libm-test-ulps: Update.
42566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42567
dd7f4703
DM
425682012-03-16 David S. Miller <davem@davemloft.net>
42569
42570 * sysdeps/sparc/fpu/math_private.h: New file.
42571
006f1daa
DM
425722012-03-15 David S. Miller <davem@davemloft.net>
42573
c0c83bc8
DM
42574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42575 file.
e6a62e18 42576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42578 file.
e6a62e18
DM
42579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42584 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42585 sysdep routines.
42586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42587
88cb87d9
DM
42588 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42589 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42590
006f1daa 42591 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42593 sparc-ifunc.h
006f1daa 42594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42596 Likewise.
42597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42598 Likewise.
006f1daa
DM
42599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42603 Likewise.
006f1daa
DM
42604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42609 Likewise.
42610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42611 Likewise.
006f1daa
DM
42612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42636
11e0098e
AS
426372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42638
42639 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42640 scaling.
42641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42642
e85b09d0
AJ
426432012-03-15 Andreas Jaeger <aj@suse.de>
42644
42645 [BZ #13852]
42646 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42647 ieee754/flt-32 implementation for sin, cos and sincos.
42648 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42649 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42650 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42651 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42652 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42653 ieee754/flt-32 implementation for tan.
42654
42655 * math/libm-test.inc (cos_test): Enable some large input tests for
42656 float as well
42657 (sin_test): Likewise.
42658 (sincos_test): Likewise.
42659 (tan_test): Add tests for large input.
42660
42661 * sysdeps/i386/fpu/libm-test-ulps: Update.
42662
81c64153
AJ
426632012-03-15 Andreas Jaeger <aj@suse.de>
42664
42665 [BZ #13658]
42666 * math/libm-test.inc (cos_test): Add more test cases.
42667 (sin_test): Likewise.
42668 (sincos_test): Likewise.
42669
7bbfa5c6
AJ
426702012-03-15 Andreas Jaeger <aj@suse.de>
42671
42672 [BZ #13837]
42673 * math/libm-test.inc (cos_test): Add a test case for large input
42674 value.
42675 (sin_test): Likewise.
42676 (sincos_test): Likewise.
42677
57f41c40
AS
426782012-03-15 Andreas Jaeger <aj@suse.de>
42679 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42680
42681 [BZ #13658]
0671f479 42682 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42683 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42684 * sysdeps/i386/fpu/branred.c: Likewise.
42685 * sysdeps/i386/fpu/dosincos.c: Likewise.
42686 * sysdeps/i386/fpu/mpa.c: Likewise.
42687 * sysdeps/i386/fpu/s_cos.S: Likewise.
42688 * sysdeps/i386/fpu/s_sin.S: Likewise.
42689 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42690 * sysdeps/i386/fpu/sincos32.c: Likewise.
42691
42692 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42693 Define.
42694 (libc_feupdateenv_53bit): Define.
42695 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42696 Define.
42697 (libc_feupdateenv_53bit): Define.
42698
42699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42700 53 bit (without extend i386 double precision).
42701
42702 * math/libm-test.inc (sincos_test): Add tests for large input.
42703 (sin): Likewise.
42704 (cos): Likewise.
42705
42706 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42707
9cad04ea
AS
427082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42709
42710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42711
f7062b9a
DM
427122012-03-15 David S. Miller <davem@davemloft.net>
42713
42714 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42715 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42716 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42717 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42730 file.
f7062b9a 42731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42733 file.
f7062b9a 42734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42736 file.
f7062b9a 42737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42739 file.
f7062b9a
DM
42740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42742 fmin/fmax sysdep routines.
42743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42744
7bd951ff
DM
427452012-03-14 David S. Miller <davem@davemloft.net>
42746
559398ab
DM
42747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42775 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42776 routines.
42777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42778 file.
559398ab 42779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42781 file.
559398ab 42782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42784 file.
559398ab 42785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42787 file.
559398ab 42788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42790 file.
559398ab 42791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42793 file.
42794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42795 file.
42796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42797 file.
42798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42799 file.
42800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42801 New file.
42802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42803 file.
42804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42805 file.
559398ab 42806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42808 file.
559398ab 42809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42811 file.
559398ab 42812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42814 file.
559398ab 42815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42817 VIS3 routines.
559398ab
DM
42818
42819 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42820 New file.
42821
5a1c1e32
DM
42822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42823
eae47a36
DM
42824 * sysdeps/sparc/configure.in: New file.
42825 * sysdeps/sparc/configure: Generate.
42826 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42827 * configure: Regenerate.
42828 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42829 * config.make.in (have-as-vis3): New.
42830 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42831 available use -Av9d instead of -Av9a.
42832 * sysdeps/sparc/sparc64/Makefile: Likewise.
42833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42835 New file.
42836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42837 file.
42838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42839 New file.
42840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42841 file.
eae47a36
DM
42842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42847
c0c83bc8
DM
42848 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42849 fzeros/fnegs to load 0x80000000 into a float register instead of
42850 using the stack.
7bd951ff
DM
42851 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42852
bd951ccb
JM
428532012-03-14 Joseph Myers <joseph@codesourcery.com>
42854
42855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42856 bits/syscall.h.
42857 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42858 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42859 ($(inst_includedir)/bits/syscall.h): Remove rule.
42860 ($(objpfx)bits/syscall.d): Include instead of
42861 $(objpfx)syscall-list.d.
42862 (generated): Change syscall-list.h and syscall-list.d to
42863 bits/syscall.h and bits/syscall.d.
42864
bb4e6db2
RM
428652012-03-14 Roland McGrath <roland@hack.frob.com>
42866
42867 [BZ #13846]
42868 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42869
aa4a2ae1
JM
428702012-03-14 Joseph Myers <joseph@codesourcery.com>
42871
e456826d
JM
42872 [BZ #13841]
42873 * math/s_csqrt.c: Include <float.h>.
42874 (__csqrt): Scale large or subnormal inputs.
42875 * math/s_csqrtf.c: Likewise.
42876 * math/s_csqrtl.c: Likewise.
42877 * math/libm-test.inc (csqrt_test): Add more tests.
42878 * sysdeps/i386/fpu/libm-test-ulps: Update.
42879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42880
aa4a2ae1
JM
42881 [BZ #13840]
42882 * math/libm-test.inc (hypot_test): Add more tests.
42883
7c10fd35
DM
428842012-03-13 David S. Miller <davem@davemloft.net>
42885
42886 [BZ #13840]
42887 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42888 double-precision for the calculation instead of scaling.
42889
f453b98b
JM
428902012-03-13 Joseph Myers <joseph@codesourcery.com>
42891
42892 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42893 manipulate bits before adding and subtracting TWO52[sx].
42894 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42895 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42896 Likewise.
42897 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42898
09a3453f
DM
428992012-03-13 David S. Miller <davem@davemloft.net>
42900
8e59da90
DM
42901 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42902 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42904 rtld-global-offsets.h
42905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42906
2a8ab7f2
DM
42907 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42908 large parameters.
42909
10f62770
DM
42910 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42911
5f0bdb18
DM
42912 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42913 'err' in the ifdef scope in which it is actually used.
42914
09a3453f
DM
42915 * nss/nss_db/db-init.c: Include string.h
42916
b4b2eb5e
DM
429172012-03-12 David S. Miller <davem@davemloft.net>
42918
98bb2f1c
DM
42919 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42920 masking out of the most significant byte of random value used.
42921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42922 Fix coding style in previous change.
42923
b4b2eb5e
DM
42924 * sysdeps/unix/sysv/linux/kernel-features.h
42925 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42926 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42927 expression.
42928 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42929 later.
42930
6e226b09
DM
429312012-03-11 David S. Miller <davem@davemloft.net>
42932
a1bcbd40
DM
42933 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42934 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42936 for 'resultvar' otherwise things get truncated on 64-bit.
42937
cb9d6174
DM
42938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42939 Fix masking out of the most significant byte of random value used.
42940
6e226b09
DM
42941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42942
058c132d
AS
429432012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42944
42945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42946
2d2cd515
DM
429472012-03-09 David S. Miller <davem@davemloft.net>
42948
42949 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42950 variables with appropriate CPP guards.
57f41c40
AS
42951 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42952 from the frame pointer, not the stack pointer. Correct layout
42953 comments. Fix test on resulting framesize and the management of
42954 the outregs buffer for pltexit. Preserve floating point return
42955 values across _dl_call_pltexit call.
2d2cd515
DM
42956 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42957 framesize and the management of the outregs buffer for pltexit.
42958 Preserve floating point return values across _dl_call_pltexit
42959 call.
57f41c40
AS
42960 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42961 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42962 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42963 (print_exit): Fix format string for return register value.
42964
9a07f9d0
JM
429652012-03-10 Joseph Myers <joseph@codesourcery.com>
42966
42967 * sunrpc/Makefile (others): Add rpcgen.
42968 ($(objpfx)rpcgen): Remove special build rule and dependency on
42969 libc.
42970 * sunrpc/rpcgen.c: New file.
42971
547b5e30
PE
429722012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42973
c524201a
PE
42974 [BZ #13673]
42975 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42976 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42977 * sysdeps/i386/crti.S: Likewise.
42978 * sysdeps/i386/crtn.S: Likewise.
42979 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42980 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42981 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42982 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42983 * sysdeps/sh/crti.S: Likewise.
42984 * sysdeps/sh/crtn.S: Likewise.
42985 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42986
7b6235f2
PE
42987 [BZ #13673]
42988 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42989 with URL.
42990 * locale/programs/locfile-kw.gperf: Likewise.
42991 * locale/programs/charmap-kw.h: Regenerated.
42992 * locale/programs/locfile-kw.h: Likewise.
42993
547b5e30
PE
42994 [BZ #13673]
42995 * intl/plural.y: Replace FSF snail mail address with URL.
42996 * intl/plural.c: Regenerated.
42997
5f0a5dae
RH
429982012-03-09 Richard Henderson <rth@twiddle.net>
42999
43000 * include/math_private.h: Remove file.
43001 * math/math_private.h: Move file ...
43002 * sysdeps/generic/math_private.h: ... here.
43003
b8c03620
RH
43004 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43005 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43006 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43007
4e234f5d 43008 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
43009 and <math_private.h>.
43010 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43011 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43012 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43013 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43014 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43023 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43024 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43025 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43026 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43027 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43028 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43029 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43031 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43032 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43034 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43035 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43036 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43040 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43041 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43042 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43043 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43044 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43045 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43046 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43047 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43048 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43049 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43050 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43051 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43052 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43053 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43054 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43055 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43056 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43057 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43058 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43059 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43060 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43061 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43062 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43063 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43064 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43065 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43066 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43067 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43068 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43069 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43070 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43071 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43072 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43073 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43074 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43075 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43076 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43077 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43078 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43079 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43081 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43082 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43084 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43088 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43089 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43090 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43091 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43092 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43093 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43094 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43097 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43098 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43099 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43100 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43101 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43102 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43103 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43104 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43105 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43106 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43107 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43108 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43109 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43110 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43111 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43112 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43113 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43114 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43115 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43116 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43117 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43118 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43119 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43120 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43121 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43122 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43123 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43124 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43125 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43126 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43127 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43128 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43129 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43130 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43131 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43132 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43133 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43134 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43135 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43136 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43137 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43138 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43139 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43140 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43141 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43142 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43143 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43144 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43145 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43146 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43147 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43148 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43149 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43150 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43151 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43152 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43153 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43154 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43155 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43156 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43157 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43158 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43159 * sysdeps/ieee754/k_standard.c: Likewise.
43160 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43161 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43162 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43163 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43164 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43167 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43169 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43170 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43171 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43172 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43173 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43174 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43175 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43176 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43177 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43178 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43179 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43180 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43181 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43182 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43183 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43184 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43185 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43186 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43187 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43188 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43190 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43191 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43193 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43195 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43196 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43197 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43198 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43199 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43200 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43201 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43202 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43203 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43204 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43208 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43209 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43210 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43211 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43212 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43213 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43214 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43215 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43216 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43217 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43218 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43219 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43220 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43221 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43224 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43225 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43227 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43228 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43229 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43230 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43232 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43233 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43234 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43235 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43237 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43239 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43240 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43241 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43242 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43243 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43244 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43245 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43246 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43247 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43248 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43250 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43251 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43252 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43253 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43254 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43255 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43256 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43257 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43258 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43259 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43261 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43262 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43263 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43264 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43265 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43266 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43267 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43269 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43270 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43271 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43272 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43273 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43274 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43275 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43276 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43277 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43278 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43279 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43280 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43282 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43283 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43286 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43287 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43289 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43290 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43291 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43292 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43293 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43294 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43295 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43296 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43297 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43298 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43299 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43300 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43301 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43302 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43303 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43304 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43305 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43306 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43307 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43308 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43309 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43310 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43311 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43312 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43313 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43314 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43315 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43316 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43317 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43318 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43319 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43320 * sysdeps/ieee754/s_lib_version.c: Likewise.
43321 * sysdeps/ieee754/s_matherr.c: Likewise.
43322 * sysdeps/ieee754/s_signgam.c: Likewise.
43323 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43324 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43325 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43326 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43327 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43328 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43329 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43330 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43331 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43332 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43333 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43334 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43335 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43336 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43337 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43338 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43339 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43340 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43341 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43343 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43344
1991fa03
JM
433452012-03-09 Joseph Myers <joseph@codesourcery.com>
43346
43347 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43348 * sunrpc/rpc_main.c: Likewise.
43349 * sunrpc/rpc_svcout.c: Likewise.
43350
60d6f5a6
DM
433512012-03-09 David S. Miller <davem@davemloft.net>
43352
43353 * include/math_private.h: New file.
43354
4962050e
JM
433552012-03-09 Joseph Myers <joseph@codesourcery.com>
43356
02a6f887
JM
43357 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43358 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43359 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43360 from <bits/socket_type.h>.
43361 (enum __socket_type): Don't define here.
43362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43364 bits/socket_type.h.
43365
c6e013c1
JM
43366 [BZ #13566]
43367 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43368 checking __USE_GNU.
43369
4962050e
JM
43370 * Makerules ($(inst_includedir)/%.h): New rule.
43371 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43372 (install-others): Remove variable setting.
43373 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43374
38842f45
RH
433752012-03-08 Richard Henderson <rth@twiddle.net>
43376
67bb6da6
RH
43377 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43378 from macro to inline function; merge with the
43379 !__LIBC_INTERNAL_MATH_INLINES version.
43380 (__ieee754_sqrtf): Likewise.
43381
15194b4b
RH
43382 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43383 to inline function.
43384 (__rintf, __floor, __floorf): Likewise.
43385
64e21ede
RH
43386 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43387 macro to inline function.
43388 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43389
38842f45
RH
43390 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43391 not <math/math_private.h>.
43392
c64bf5fe
DM
433932012-03-08 David S. Miller <davem@davemloft.net>
43394
43395 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43396 copyright year.
43397 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43398
82d86f28
TS
433992012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43400
43401 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43402 normalization.
43403 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43404 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43405
aea5d727
UD
434062012-03-08 Ulrich Drepper <drepper@gmail.com>
43407
43408 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43409 be defined individually, they must be defined as a block. Define
43410 S for printing a string instead of hidint the different by using a
43411 macro for adding the 'l'.
43412 * stdio-common/tst-fphex-wide.c: Adjust.
43413
70bca0a3
MP
434142012-03-07 Marek Polacek <polacek@redhat.com>
43415
43416 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43417
65b81130
MP
434182012-03-08 Marek Polacek <polacek@redhat.com>
43419
43420 [BZ #13806]
43421 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43422 * stdio-common/tst-fphex.c: Define a few macros to make the
43423 test reusable. Use them.
43424 * stdio-common/tst-fphex-wide.c: New file.
43425
07037eeb
JM
434262012-03-08 Joseph Myers <joseph@codesourcery.com>
43427
a7a93d50
JM
43428 [BZ #6911]
43429 * manual/macros.texi (gnusystems): New macro.
43430 (nongnusystems): Likewise.
43431 (gnulinuxhurdsystems): Likewise.
43432 (gnuhurdsystems): Likewise..
43433 (gnulinuxsystems): Likewise.
43434 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43435 variants of the GNU system, not "GNU system".
43436 * manual/conf.texi: Likewise.
43437 * manual/errno.texi: Likewise. Update example of errno macro
43438 expansion.
43439 * manual/filesys.texi: Likewise.
43440 (getumask): Document as specific to GNU/Hurd.
43441 * manual/install.texi: Likewise. Reword some references to
43442 GNU/Linux.
43443 * manual/intro.texi: Likewise.
43444 * manual/io.texi: Likewise.
43445 (File Name Portability): Detail which constraints are inapplicable
43446 to all GNU systems and which are only inapplicable to GNU/Hurd.
43447 * manual/job.texi: Likewise.
43448 * manual/llio.texi: Likewise.
43449 (O_NOCTTY): Document as present on GNU/Linux.
43450 * manual/maint.texi: Likewise.
43451 * manual/memory.texi: Likewise.
43452 * manual/pattern.texi: Likewise.
43453 * manual/pipe.texi: Likewise.
43454 * manual/process.texi: Likewise.
43455 * manual/resource.texi: Likewise.
43456 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43457 child on GNU/Hurd.
43458 * manual/setjmp.texi: Likewise.
43459 * manual/signal.texi: Likewise.
43460 * manual/startup.texi: Likewise.
43461 * manual/stdio.texi: Likewise.
43462 * manual/terminal.texi: Likewise.
43463 (ONLCR): Document as POSIX.
43464 (OXTABS): Document availability on GNU/Linux as XTABS.
43465 (ONOEOT): Document availability separately from other bits.
43466 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43467 * manual/time.texi: Likewise.
43468 * manual/users.texi: Likewise.
43469 * INSTALL: Regenerated.
43470 * sysdeps/gnu/errlist.c: Regenerated.
43471
07037eeb
JM
43472 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43473 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43474 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43475 puts.
43476 * configure: Regenerated.
43477
d1d3431a
JM
434782012-03-07 Joseph Myers <joseph@codesourcery.com>
43479
af6a1e37
JM
43480 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43481 default includes instead of AC_HEADER_CHECK.
43482 * sysdeps/i386/configure: Regenerated.
43483
d1d3431a
JM
43484 [BZ #10716]
43485 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43486 * math/s_cacoshf.c (__cacoshf): Likewise.
43487 * math/s_cacoshl.c (__cacoshl): Likewise.
43488 * math/s_casinh.c (__casinh): Set signs of result from argument.
43489 * math/s_casinhf.c (__casinhf): Likewise.
43490 * math/s_casinhl.c (__casinhl): Likewise.
43491 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43492 (casinh_test): Add more tests.
43493 * sysdeps/i386/fpu/libm-test-ulps: Update.
43494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43495
482ff4da
UD
434962012-03-07 Ulrich Drepper <drepper@gmail.com>
43497
872fda05
UD
43498 * po/zh_TW.po: Update from translation team.
43499
a4300c7a
UD
43500 * login/Makefile (distribute): Remove variable.
43501 * catgets/Makefile: Likewise.
43502 * mach/Makefile: Likewise.
43503 * malloc/Makefile: Likewise.
43504 * misc/Makefile: Likewise.
43505 * iconv/Makefile: Likewise.
43506 * nscd/Makefile: Likewise.
43507 * hurd/Makefile: Likewise.
43508 * manual/Makefile: Likewise.
43509 * locale/Makefile: Likewise.
43510 * intl/Makefile: Likewise.
43511 * conform/Makefile: Likewise.
43512 * nss/Makefile: Likewise.
43513 * time/Makefile: Likewise.
43514 * soft-fp/Makefile: Likewise.
43515 * dirent/Makefile: Likewise.
43516 * gmon/Makefile: Likewise.
43517 * po/Makefile: Likewise.
43518 * rt/Makefile: Likewise.
43519 * socket/Makefile: Likewise.
43520 * math/Makefile: Likewise.
43521 * signal/Makefile: Likewise.
43522 * debug/Makefile: Likewise.
43523 * elf/Makefile: Likewise.
43524 * timezone/Makefile: Likewise.
43525 * stdlib/Makefile: Likewise.
43526 * iconvdata/Makefile: Likewise.
43527 * sunrpc/Makefile: Likewise.
43528 * io/Makefile: Likewise.
43529 * argp/Makefile: Likewise.
43530 * inet/Makefile: Likewise.
43531 * hesiod/Makefile: Likewise.
43532 * grp/Makefile: Likewise.
43533 * csu/Makefile: Likewise.
43534 * wctype/Makefile: Likewise.
43535 * crypt/Makefile: Likewise.
43536 * libio/Makefile: Likewise.
43537 * string/Makefile: Likewise.
43538 * nis/Makefile: Likewise.
43539 * resolv/Makefile: Likewise.
43540 * stdio-common/Makefile: Likewise.
43541 * wcsmbs/Makefile: Likewise.
43542 * dlfcn/Makefile: Likewise.
43543 * posix/Makefile: Likewise.
43544
3b7c4e74 43545 [BZ #6959]
482ff4da
UD
43546 * timezone/Makefile: Don't install timezone files, just the programs
43547 and scripts.
43548
f72ed77d
UD
435492012-03-06 Ulrich Drepper <drepper@gmail.com>
43550
a000466f
UD
43551 * nss/databases.def: Add missing gshadow entry.
43552
f72ed77d
UD
43553 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43554
a53b7a4e
MP
435552012-03-06 Marek Polacek <polacek@redhat.com>
43556
43557 [BZ #13726]
43558 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43559 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43560 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43561 * stdio-common/tst-long-dbl-fphex.c: New file.
43562
e9258400
DM
435632012-03-06 David S. Miller <davem@davemloft.net>
43564
43565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43566 (set_obp_int): New function.
43567 (get_obp_int): New function.
43568 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43569 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43570 Avoid unused variable warnings on 'val' and use builtin_expect.
43571 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43572 __builtin_expect.
e9258400
DM
43573 (INLINE_CLONE_SYSCALL): Likewise.
43574
3bd2c723
DM
435752012-03-05 David S. Miller <davem@davemloft.net>
43576
43577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43578
bbb78d03
AS
435792012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43580
884c5db4
AS
43581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43582
bbb78d03
AS
43583 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43584 only for |x| >= 40.
43585 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43586
1c9f702a 435872012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43588
43589 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43590 Replace gettimeofday with __vdso_gettimeofday.
43591
7be16f82
RM
43592 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43593 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43594 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43595
43596 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43597 time with __vdso_time.
43598
ed58a00f
JM
435992012-03-05 Joseph Myers <joseph@codesourcery.com>
43600
43601 * manual/lang.texi (size_t): Note types to which size_t may be
43602 equivalent with the GNU C Library, but do not describe when
43603 differences between them are significant.
43604
30ee4ced
AJ
436052012-03-05 Andreas Jaeger <aj@suse.de>
43606
43607 * sysdeps/i386/fpu/libm-test-ulps: Update.
43608
b7cd39e8
JM
436092012-03-05 Joseph Myers <joseph@codesourcery.com>
43610
43611 [BZ #3976]
43612 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43613 (__ieee754_pow): Save and restore rounding mode and use
43614 round-to-nearest for main computations.
43615 * math/libm-test.inc (pow_test_tonearest): New function.
43616 (pow_test_towardzero): Likewise.
43617 (pow_test_downward): Likewise.
43618 (pow_test_upward): Likewise.
43619 (main): Call the new functions.
43620 * sysdeps/i386/fpu/libm-test-ulps: Update.
43621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43622
43623 [BZ #3976]
43624 * math/libm-test.inc (cosh_test_tonearest): New function.
43625 (cosh_test_towardzero): Likewise.
43626 (cosh_test_downward): Likewise.
43627 (cosh_test_upward): Likewise.
43628 (sinh_test_tonearest): Likewise.
43629 (sinh_test_towardzero): Likewise.
43630 (sinh_test_downward): Likewise.
43631 (sinh_test_upward): Likewise.
43632 (main): Call the new functions.
43633 * sysdeps/i386/fpu/libm-test-ulps: Update.
43634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43635
6c6a98c9
TV
436362012-03-05 Tom de Vries <tom@codesourcery.com>
43637
43638 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43639 default stack guard is set in last bytes.
43640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43641
21bb2d2e 436422012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43643
21bb2d2e 43644 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43645
21bb2d2e
AJ
43646 [BZ #13656]
43647 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43648 possibly allocate from heap instead of stack.
43649 * stdio-common/bug-vfprintf-nargs.c: New file.
43650 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43651
c6922934
AS
436522012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43653
43654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43655
bc957d53
MP
436562012-03-03 Marek Polacek <polacek@redhat.com>
43657
43658 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43659 * math/math_private.h: Likewise.
43660 * stdlib/tst-strtod.c: Likewise.
43661 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43662 * sysdeps/x86_64/bits/atomic.h: Likewise.
43663
6358490d
DM
436642012-03-02 David S. Miller <davem@davemloft.net>
43665
43666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43670 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43671 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43672 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43673 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43674
01ae168d
RM
436752012-03-02 Roland McGrath <roland@hack.frob.com>
43676
d9a17c07
RM
43677 [BZ #13792]
43678 * manual/examples/README: New file, says the example source files
43679 can be used under GPL>=2.
43680 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43681 line containing just "*/".
43682 * manual/examples/add.c: Add copyright header (GPL>=2).
43683 * manual/examples/argp-ex1.c: Likewise.
43684 * manual/examples/argp-ex2.c: Likewise.
43685 * manual/examples/argp-ex3.c: Likewise.
43686 * manual/examples/argp-ex4.c: Likewise.
43687 * manual/examples/atexit.c: Likewise.
43688 * manual/examples/db.c: Likewise.
43689 * manual/examples/dir.c: Likewise.
43690 * manual/examples/dir2.c: Likewise.
43691 * manual/examples/execinfo.c: Likewise.
43692 * manual/examples/filecli.c: Likewise.
43693 * manual/examples/filesrv.c: Likewise.
43694 * manual/examples/fmtmsgexpl.c: Likewise.
43695 * manual/examples/genpass.c: Likewise.
43696 * manual/examples/inetcli.c: Likewise.
43697 * manual/examples/inetsrv.c: Likewise.
43698 * manual/examples/isockad.c: Likewise.
43699 * manual/examples/longopt.c: Likewise.
43700 * manual/examples/memopen.c: Likewise.
43701 * manual/examples/memstrm.c: Likewise.
43702 * manual/examples/mkfsock.c: Likewise.
43703 * manual/examples/mkisock.c: Likewise.
43704 * manual/examples/mygetpass.c: Likewise.
43705 * manual/examples/pipe.c: Likewise.
43706 * manual/examples/popen.c: Likewise.
43707 * manual/examples/rprintf.c: Likewise.
43708 * manual/examples/search.c: Likewise.
43709 * manual/examples/select.c: Likewise.
43710 * manual/examples/setjmp.c: Likewise.
43711 * manual/examples/sigh1.c: Likewise.
43712 * manual/examples/sigusr.c: Likewise.
43713 * manual/examples/stpcpy.c: Likewise.
43714 * manual/examples/strdupa.c: Likewise.
43715 * manual/examples/strftim.c: Likewise.
43716 * manual/examples/strncat.c: Likewise.
43717 * manual/examples/subopt.c: Likewise.
43718 * manual/examples/swapcontext.c: Likewise.
43719 * manual/examples/termios.c: Likewise.
43720 * manual/examples/testopt.c: Likewise.
43721 * manual/examples/testpass.c: Likewise.
43722 * manual/examples/timeval_subtract.c: Likewise.
43723
01ae168d
RM
43724 [BZ #13792]
43725 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43726 function to ...
43727 * manual/timeval_subtract.c.texi: ... here, new file.
43728
49efa33d
DM
437292012-03-02 David S. Miller <davem@davemloft.net>
43730
43731 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43732
28afd92d
JM
437332012-03-02 Joseph Myers <joseph@codesourcery.com>
43734
804360ed
JM
43735 [BZ #3976]
43736 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43737 (__sin): Save and restore rounding mode and use round-to-nearest
43738 for all computations.
43739 (__cos): Save and restore rounding mode and use round-to-nearest
43740 for all computations.
43741 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43742 <fenv.h>.
43743 (tan): Save and restore rounding mode and use round-to-nearest for
43744 all computations.
43745 * math/libm-test.inc (cos_test_tonearest): New function.
43746 (cos_test_towardzero): Likewise.
43747 (cos_test_downward): Likewise.
43748 (cos_test_upward): Likewise.
43749 (sin_test_tonearest): Likewise.
43750 (sin_test_towardzero): Likewise.
43751 (sin_test_downward): Likewise.
43752 (sin_test_upward): Likewise.
43753 (tan_test_tonearest): Likewise.
43754 (tan_test_towardzero): Likewise.
43755 (tan_test_downward): Likewise.
43756 (tan_test_upward): Likewise.
43757 (main): Call the new functions.
43758 * sysdeps/i386/fpu/libm-test-ulps: Update.
43759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43760
a6d06d7b
JM
43761 [BZ #10135]
43762 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43763 small n, then large n, before computing and testing k+n.
43764 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43766 Likewise.
43767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43768 Likewise.
43769 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43770 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43771 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43772 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43773 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43774 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43775 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43776 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43777 * math/libm-test.inc (scalbn_test): Add more tests.
43778 (scalbln_test): Likewise.
43779
07e12bb3
JM
43780 * manual/filesys.texi (mode_t): Describe constraints on size and
43781 signedness, not exact equivalence to a particular type.
43782 (ino_t): Likewise.
43783 (ino64_t): Likewise.
43784 (dev_t): Likewise.
43785 (nlink_t): Likewise.
43786 (blkcnt_t): Likewise.
43787 (blkcnt64_t): Likewise.
43788 * manual/llio.texi (off_t): Likewise.
43789
28afd92d
JM
43790 [BZ #3976]
43791 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43792 (__ieee754_exp): Save and restore rounding mode and use
43793 round-to-nearest for all computations.
43794 * math/libm-test.inc (exp_test_tonearest): New function.
43795 (exp_test_towardzero): Likewise.
43796 (exp_test_downward): Likewise.
43797 (exp_test_upward): Likewise.
43798 (main): Call the new functions.
43799 * sysdeps/i386/fpu/libm-test-ulps: Update.
43800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43801
b1eeb65d
CD
438022012-03-01 Chris Demetriou <cgd@google.com>
43803
43804 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43805 have predictable order.
43806
53362a4b
DM
438072012-03-01 David S. Miller <davem@davemloft.net>
43808
3c969083
DM
43809 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43810
759707de
DM
43811 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43812 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43813 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43814 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43815
dfdb8ff2
DM
43816 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43817 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43818 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43820 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43821 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43822 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43823 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43824 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43825
ead89f96
DM
43826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43827
7f66bd07
DM
43828 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43829 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43830 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43831
53362a4b
DM
43832 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43833 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43834 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43835 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43836 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43837 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43838 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43839 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43840 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43841 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43842 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43843 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43844 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43845 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43846 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43848 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43849 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43850 * sysdeps/sparc/elf/configure: Regenerated.
43851
7b1902cb
JM
438522012-03-01 Joseph Myers <joseph@codesourcery.com>
43853
bec039bc
JM
43854 * configure.in (AS, LD): Require binutils 2.20 or later.
43855 * configure: Regenerated.
43856 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43857 as required minimum version.
43858 * INSTALL: Regenerated.
43859
7b1902cb
JM
43860 [BZ #2541]
43861 [BZ #4108]
43862 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43863 before squaring exponent.
43864 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43865 bottom long double and 27 bits of top long double before squaring
43866 exponent.
43867 * math/libm-test.inc (erfc_test): Add more tests.
43868 * sysdeps/i386/fpu/libm-test-ulps: Update.
43869 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43871
f775c276
KT
438722012-03-01 Kai Tietz <ktietz@redhat.com>
43873
43874 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43875 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43876 containing bit-fields.
43877 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43878 * soft-fp/single.h (_FP_UNION_S): Likewise.
43879 * soft-fp/double.h (_FP_UNION_D): Likewise.
43880
5b8a4d4a
JM
438812012-02-29 Joseph Myers <joseph@codesourcery.com>
43882
0bab47b6
JM
43883 [BZ #13786]
43884 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43885 not include ../strcmp.S.
43886 [USE_AS_STRNCASECMP_L]: Likewise.
43887 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43888 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43889 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43890 (__strncasecmp_l_ia32): Define as alias to
43891 __strncasecmp_l_nonascii.
43892
0fcad3e2
JM
43893 [BZ #5794]
43894 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43895 * sysdeps/i386/fpu/libm-test-ulps: Update.
43896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43897
5b8a4d4a
JM
43898 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43900
8fdceb2e
JL
439012012-02-29 Jeff Law <law@redhat.com>
43902
43903 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43904 out of bounds read.
43905
1f393a11
MP
439062012-02-29 Marek Polacek <polacek@redhat.com>
43907
43908 [BZ #13706]
43909 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43910 * elf/Makefile: Add rules to run tst-unused-dep.out.
43911
8847f037
DM
439122012-02-28 David S. Miller <davem@davemloft.net>
43913
43914 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43915 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43918 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43919 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43920
169d7f11
JM
439212012-02-29 Joseph Myers <joseph@codesourcery.com>
43922
43923 * math/libm-test.inc (llround_test): Move one test from
43924 lround_test. Use TEST_f_L in moved test.
43925 (lround_test): Move misplaced test to llround_test. Add testcase
43926 from bug 2561.
43927
39adf059
UD
439282012-02-28 Ulrich Drepper <drepper@gmail.com>
43929
43930 * sysdeps/x86_64/fpu/e_expf.S: New file.
43931 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43932
71b5d1c5
SB
439332012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43934
43935 [BZ #13637]
43936 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43937 of remain_len that may cause incomplete multi-byte character and
43938 false match.
43939 * posix/bug-regex33.c: New file.
43940 * posix/Makefile (tests): Add bug-regex33.
43941
1f77f049
JM
439422012-02-28 Joseph Myers <joseph@codesourcery.com>
43943
43944 * manual/macros.texi: New file.
43945 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43946 * manual/libc.texinfo: Include macros.texi.
43947 * manual/creatute.texi: Likewise.
43948 * manual/install.texi: Likewise.
43949 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43950 @glibcadj{} in references to the GNU C Library.
43951 * manual/charset.texi: Likewise.
43952 * manual/conf.texi: Likewise.
43953 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43954 when not using those macros.
43955 * manual/creature.texi: Likewise.
43956 * manual/crypt.texi: Likewise.
43957 * manual/errno.texi: Likewise.
43958 * manual/filesys.texi: Likewise.
43959 * manual/header.texi: Likewise.
43960 * manual/install.texi: Likewise.
43961 * manual/intro.texi: Likewise.
43962 * manual/io.texi: Likewise.
43963 * manual/job.texi: Likewise.
43964 * manual/lang.texi: Likewise.
43965 * manual/libc.texiinfo: Likewise.
43966 * manual/llio.texi: Likewise.
43967 * manual/locale.texi: Likewise.
43968 * manual/maint.texi: Likewise.
43969 * manual/math.texi: Likewise.
43970 * manual/memory.texi: Likewise.
43971 * manual/message.texi: Likewise.
43972 * manual/nss.texi: Likewise.
43973 * manual/pattern.texi: Likewise.
43974 * manual/process.texi: Likewise.
43975 * manual/resource.texi: Likewise.
43976 * manual/search.texi: Likewise.
43977 * manual/setjmp.texi: Likewise.
43978 * manual/signal.texi: Likewise.
43979 * manual/socket.texi: Likewise.
43980 * manual/startup.texi: Likewise.
43981 * manual/stdio.texi: Likewise.
43982 * manual/string.texi: Likewise.
43983 * manual/sysinfo.texi: Likewise.
43984 * manual/syslog.texi: Likewise.
43985 * manual/terminal.texi: Likewise.
43986 * manual/time.texi: Likewise.
43987 * manual/users.texi: Likewise.
43988 * INSTALL: Regenerated.
43989 * NOTES: Regenerated.
d40c5d54 43990 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43991
450bf206
AS
439922012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43993
43994 * include/dirent.h: Include <dirstream.h> before
43995 <dirent/dirent.h>.
43996
741a235b
DM
439972012-02-28 David S. Miller <davem@davemloft.net>
43998
43999 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44000 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44001 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44002 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44003
d6b5aa58
DM
440042012-02-27 David S. Miller <davem@davemloft.net>
44005
1aff59a3
DM
44006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44008 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44009 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44010
d6b5aa58
DM
44011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44012 frame pointer instead of stack pointer relative arg slot.
44013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44014 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44015 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44016
433f48bf
CD
440172012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44018
44019 [BZ #3992]
44020 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44021
d674b76d
DM
440222012-02-27 David S. Miller <davem@davemloft.net>
44023
44024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44028 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44029 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44030 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44031 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44032
0e7727f7
JM
440332012-02-27 Joseph Myers <joseph@codesourcery.com>
44034
44035 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44036 later. Allow versions 5-9.
43be4ca2 44037 * configure: Regenerated.
0e7727f7
JM
44038 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44039 required minimum version and 4.6 as recommended version. Do not
44040 mention bugs in GCC 2.7 and 2.8.
43be4ca2 44041 * INSTALL: Regenerated.
0e7727f7 44042
a78bc654
DM
440432012-02-27 David S. Miller <davem@davemloft.net>
44044
428d5830
DM
44045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44049 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44050 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44051 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44052 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44053
a78bc654
DM
44054 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44055 manipulate bits before adding and subtracting TWO112[sx].
44056 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44057
4579f81c
RM
440582012-02-27 Roland McGrath <roland@hack.frob.com>
44059
36c8acb4
RM
44060 [BZ #13775]
44061 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44062 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44063 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44064 being in POSIX, because they are in 1003.1-2008.
44065
84ad622b
RM
44066 * rt/tst-aio.c: Include <fcntl.h>.
44067 * rt/tst-aio7.c: Likewise.
44068 * rt/tst-aio64.c: Likewise.
44069
4579f81c
RM
44070 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44071
abd923db
JM
440722012-02-27 Joseph Myers <joseph@codesourcery.com>
44073
44074 * manual/install.texi (--with-headers): Describe headers as
44075 interface headers, not private headers.
44076 (Specific advice for GNU/Linux systems): Describe use of headers
44077 from "make headers_install", not private headers from older
44078 kernels.
43be4ca2 44079 * INSTALL: Regenerated.
abd923db
JM
44080 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44081 Change to 2.6.19.
44082 * sysdeps/unix/sysv/linux/configure: Regenerated.
44083
6664049b
JM
44084 * manual/llio.texi (fclean): Remove documentation.
44085
bb8b6697
JM
44086 * manual/Makefile (libc-texi-generated): New variable. Include
44087 version.texi.
44088 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44089 $(libc-texi-generated), not duplicated list of files.
44090 (version.texi, stamp-version): New rules.
44091 (realclean): Remove $(libc-texi-generated), not individual files
44092 from that list. Do not remove dir-add.texinfo.
44093 * manual/libc.texinfo: Comment out uses of edition numbers and
44094 references to printed manual. Remove last-updated dates.
44095 (EDITION): Comment out.
44096 (ISBN): Likewise.
44097 (VERSION, UPDATED): Remove.
44098 (version.texi): Include.
44099
12e5c3b9
AS
441002012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44101
44102 * sysdeps/posix/spawni.c: Include <signal.h>.
44103 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44104 * sysdeps/pthread/aio_fsync.c: Likewise.
44105
4efeffc1 441062012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 44107
ba63ba08
UD
44108 * conform/Makefile (tests): Run only when not cross-compiling and
44109 when fast-check is not defined.
44110
d94a4670
UD
44111 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44112 * conform/data/limits.h-data: Fixes for POSIX2008.
44113 * conform/run-conformtest.sh: Run all tests.
44114 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44115 headers.
44116 * include/bits/dlfcn.h: Likewise.
44117 * include/langinfo.h: Likewise.
44118 * include/monetary.h: Likewise.
44119 * include/sys/poll.h: Likewise.
44120
44121 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44122 for __USE_GNU.
44123 * posix/spawn.h: Define __need_sigset_t.
44124 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44125 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44126 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44127 to get sigevent_t only.
44128 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44129 only for __USE_GNU.
44130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44131 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44132 process_vm_writev only for __USE_GNU.
44133 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
44134
44135 * conform/Makefile: For now ignore errors from run-conformtest.
44136 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44137 POSIX to avoid namespace pollution. Don't prepend headers.
44138 * conform/data/aio.h-data: Fixes for POSIX testing.
44139 * conform/data/fcntl.h-data: Likewise.
44140 * conform/data/glob.h-data: Likewise.
44141 * conform/data/grp.h-data: Likewise.
44142 * conform/data/pthread.h-data: Likewise.
44143 * conform/data/pwd.h-data: Likewise.
44144 * conform/data/signal.h-data: Likewise.
44145 * conform/data/spawn.h-data: Likewise.
44146 * conform/data/stdio.h-data: Likewise.
44147 * conform/data/stdlib.h-data: Likewise.
44148 * conform/data/stropts.h-data: Likewise.
44149 * conform/data/sys/mman.h-data: Likewise.
44150 * conform/data/sys/stat.h-data: Likewise.
44151 * conform/data/sys/types.h-data: Likewise.
44152 * conform/data/sys/wait.h-data: Likewise.
44153 * conform/data/time.h-data: Likewise.
44154 * conform/data/unistd.h-data: Likewise.
44155 * conform/data/utime.h-data: Likewise.
44156
44157 * io/sys/stat.h: fchmod was always in POSIX.
44158 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44159 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44160 * rt/aio.h: Define __need_timespec before including <time.h>.
44161 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44162 struct. Add forward declaration of pthread_attr_t and use it in
44163 sigevent.
44164 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44165 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44166 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44167 always remove CLK_TCK definition.
44168
c20105c3
AS
441692012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44170
44171 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44172
7a270350
UD
441732012-02-25 Ulrich Drepper <drepper@gmail.com>
44174
31341567
UD
44175 * conform/run-conformtest.sh: New file.
44176 * conform/Makefile: Run run-conformtest for tests.
44177 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44178 support.
44179
44180 * conform/data/uchar.h-data: New file.
44181 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44182 * conform/data/arpa/inet.h-data: Likewise.
44183 * conform/data/assert.h-data: Likewise.
44184 * conform/data/complex.h-data: Likewise.
44185 * conform/data/cpio.h-data: Likewise.
44186 * conform/data/ctype.h-data: Likewise.
44187 * conform/data/dirent.h-data: Likewise.
44188 * conform/data/dlfcn.h-data: Likewise.
44189 * conform/data/errno.h-data: Likewise.
44190 * conform/data/fcntl.h-data: Likewise.
44191 * conform/data/float.h-data: Likewise.
44192 * conform/data/fmtmsg.h-data: Likewise.
44193 * conform/data/fnmatch.h-data: Likewise.
44194 * conform/data/ftw.h-data: Likewise.
44195 * conform/data/glob.h-data: Likewise.
44196 * conform/data/grp.h-data: Likewise.
44197 * conform/data/iconv.h-data: Likewise.
44198 * conform/data/inttypes.h-data: Likewise.
44199 * conform/data/langinfo.h-data: Likewise.
44200 * conform/data/libgen.h-data: Likewise.
44201 * conform/data/limits.h-data: Likewise.
44202 * conform/data/locale.h-data: Likewise.
44203 * conform/data/math.h-data: Likewise.
44204 * conform/data/monetary.h-data: Likewise.
44205 * conform/data/mqueue.h-data: Likewise.
44206 * conform/data/ndbm.h-data: Likewise.
44207 * conform/data/net/if.h-data: Likewise.
44208 * conform/data/netdb.h-data: Likewise.
44209 * conform/data/netinet/in.h-data: Likewise.
44210 * conform/data/nl_types.h-data: Likewise.
44211 * conform/data/poll.h-data: Likewise.
44212 * conform/data/pthread.h-data: Likewise.
44213 * conform/data/pwd.h-data: Likewise.
44214 * conform/data/regex.h-data: Likewise.
44215 * conform/data/sched.h-data: Likewise.
44216 * conform/data/search.h-data: Likewise.
44217 * conform/data/semaphore.h-data: Likewise.
44218 * conform/data/setjmp.h-data: Likewise.
44219 * conform/data/signal.h-data: Likewise.
44220 * conform/data/spawn.h-data: Likewise.
44221 * conform/data/stdarg.h-data: Likewise.
44222 * conform/data/stdio.h-data: Likewise.
44223 * conform/data/stdlib.h-data: Likewise.
44224 * conform/data/string.h-data: Likewise.
44225 * conform/data/strings.h-data: Likewise.
44226 * conform/data/stropts.h-data: Likewise.
44227 * conform/data/sys/ipc.h-data: Likewise.
44228 * conform/data/sys/mman.h-data: Likewise.
44229 * conform/data/sys/msg.h-data: Likewise.
44230 * conform/data/sys/resource.h-data: Likewise.
44231 * conform/data/sys/select.h-data: Likewise.
44232 * conform/data/sys/sem.h-data: Likewise.
44233 * conform/data/sys/shm.h-data: Likewise.
44234 * conform/data/sys/socket.h-data: Likewise.
44235 * conform/data/sys/stat.h-data: Likewise.
44236 * conform/data/sys/statvfs.h-data: Likewise.
44237 * conform/data/sys/time.h-data: Likewise.
44238 * conform/data/sys/timeb.h-data: Likewise.
44239 * conform/data/sys/times.h-data: Likewise.
44240 * conform/data/sys/types.h-data: Likewise.
44241 * conform/data/sys/uio.h-data: Likewise.
44242 * conform/data/sys/un.h-data: Likewise.
44243 * conform/data/sys/utsname.h-data: Likewise.
44244 * conform/data/sys/wait.h-data: Likewise.
44245 * conform/data/syslog.h-data: Likewise.
44246 * conform/data/tar.h-data: Likewise.
44247 * conform/data/termios.h-data: Likewise.
44248 * conform/data/utime.h-data: Likewise.
44249 * conform/data/utmpx.h-data: Likewise.
44250 * conform/data/varargs.h-data: Likewise.
44251 * conform/data/wchar.h-data: Likewise.
44252 * conform/data/wctype.h-data: Likewise.
44253 * conform/data/wordexp.h-data: Likewise.
44254
44255 * include/stropts.h: New file.
44256 * include/uchar.h: New file.
44257 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44258 * include/assert.h: Likewise.
44259 * include/ctype.h: Likewise.
44260 * include/dirent.h: Likewise.
44261 * include/dlfcn.h: Likewise.
44262 * include/fcntl.h: Likewise.
44263 * include/fnmatch.h: Likewise.
44264 * include/glob.h: Likewise.
44265 * include/grp.h: Likewise.
44266 * include/libio.h: Likewise.
44267 * include/locale.h: Likewise.
44268 * include/math.h: Likewise.
44269 * include/net/if.h: Likewise.
44270 * include/netdb.h: Likewise.
44271 * include/netinet/in.h: Likewise.
44272 * include/pthread.h: Likewise.
44273 * include/pwd.h: Likewise.
44274 * include/regex.h: Likewise.
44275 * include/sched.h: Likewise.
44276 * include/search.h: Likewise.
44277 * include/setjmp.h: Likewise.
44278 * include/signal.h: Likewise.
44279 * include/stdio.h: Likewise.
44280 * include/stdlib.h: Likewise.
44281 * include/string.h: Likewise.
44282 * include/sys/cdefs.h: Likewise.
44283 * include/sys/mman.h: Likewise.
44284 * include/sys/msg.h: Likewise.
44285 * include/sys/resource.h: Likewise.
44286 * include/sys/select.h: Likewise.
44287 * include/sys/socket.h: Likewise.
44288 * include/sys/stat.h: Likewise.
44289 * include/sys/statvfs.h: Likewise.
44290 * include/sys/time.h: Likewise.
44291 * include/sys/times.h: Likewise.
44292 * include/sys/uio.h: Likewise.
44293 * include/sys/utsname.h: Likewise.
44294 * include/sys/wait.h: Likewise.
44295 * include/termios.h: Likewise.
44296 * include/time.h: Likewise.
44297 * include/ulimit.h: Likewise.
44298 * include/unistd.h: Likewise.
44299 * include/utime.h: Likewise.
44300 * include/wchar.h: Likewise.
44301 * include/wctype.h: Likewise.
44302 * include/wordexp.h: Likewise.
44303
44304 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44305
7a270350
UD
44306 * time/time.h: TIME_UTC must be a macro.
44307 Make timespec_get available for ISO C11 only as well.
44308
7724defc
UD
443092012-02-24 Ulrich Drepper <drepper@gmail.com>
44310
44311 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44312 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44313
6b1d1d46
JM
443142012-02-24 Joseph Myers <joseph@codesourcery.com>
44315
44316 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44317
0f8bbd69
JM
443182012-02-24 Joseph Myers <joseph@codesourcery.com>
44319
44320 * manual/texinfo.tex: Update to version 2012-01-19.16.
44321
66ab80bc
JM
443222012-02-24 Joseph Myers <joseph@codesourcery.com>
44323
44324 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44325
74981cc5
RM
443262012-02-24 Roland McGrath <roland@hack.frob.com>
44327
ee968201
RM
44328 [BZ #13738]
44329 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44330 * manual/fdl-1.3.texi: New file.
44331 * manual/fdl-1.1.texi: File removed.
44332
74981cc5
RM
44333 [BZ #13738]
44334 * manual/libc.texinfo (FDL_VERSION): New @set.
44335 Use it for mention of FDL in cover text.
44336 (Documentation License): Use it in @include file name.
44337
7bb764bc
JM
443382012-02-22 Joseph Myers <joseph@codesourcery.com>
44339 Roland McGrath <roland@hack.frob.com>
44340
44341 [BZ #5461]
57f41c40
AS
44342 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44343 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44344 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44345 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44346 name.
44347 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44348
6cbeae47
JM
443492012-02-22 Joseph Myers <joseph@codesourcery.com>
44350
44351 [BZ #2547]
44352 [BZ #11365]
44353 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44354 manipulate bits before adding and subtracting TWO23[sx].
44355 * math/libm-test.inc (nearbyint_test): Add more tests.
44356
fe45ce09
JM
443572012-02-22 Joseph Myers <joseph@codesourcery.com>
44358
44359 [BZ #2548]
44360 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44361 bits before adding and subtracting TWO23[sx].
44362 * math/libm-test.inc (rint_test): Add more tests.
44363 (rint_test_tonearest): Likewise.
44364 (rint_test_towardzero): Likewise.
44365 (rint_test_downward): Likewise.
44366 (rint_test_upward: Likewise.
44367
ff3b3d82
JM
443682012-02-22 Joseph Myers <joseph@codesourcery.com>
44369
44370 [BZ #10110]
44371 * include/stdc-predef.h: New file. Extracted from features.h.
44372 * include/features.h: Include stdc-predef.h.
44373 * Makefile (headers): Add stdc-predef.h.
44374 * CONFORMANCE (Compiler limitations): Update.
44375
ef0aab35
JM
443762012-02-22 Joseph Myers <joseph@codesourcery.com>
44377
44378 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44379
58639409
DM
443802012-02-21 David S. Miller <davem@davemloft.net>
44381
44382 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44383 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44384
c0e70b25
DM
443852012-02-20 David S. Miller <davem@davemloft.net>
44386
44387 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44388 using a normal save/restore sequence, rather than allocating a
44389 dummy stack frame just to store a frame pointer and restore.
44390 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44391
fb06851d
JM
443922012-02-21 Joseph Myers <joseph@codesourcery.com>
44393
44394 * manual/install.texi: Fix stray word in line-wrapped comment.
44395
7a8b71c3
DM
443962012-02-20 David S. Miller <davem@davemloft.net>
44397
d510c123
DM
44398 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44399 both binutils and gcc support GOTDATA.
44400
0722d7c2
DM
44401 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44402 "rd %pc" in the PIC register setup sequences.
44403
3d2b3019
DM
44404 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44405 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44406 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44407 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44408 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44410 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44411 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44413 (SYSCALL_ERROR_HANDLER): Likewise.
44414 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44415 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44417 (SYSCALL_ERROR_HANDLER): Likewise.
44418
c80098a9
DM
44419 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44420 (HAVE_GCC_GOTDATA): New.
44421 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44422 relocation support in both binutils and gcc.
44423 * sysdeps/sparc/elf/configure: Regenerate.
44424
3a2545a0
DM
44425 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44426 * sysdeps/sparc/sparc32/elf/configure: Delete.
44427 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44428 * sysdeps/sparc/sparc64/elf/configure: Delete.
44429 * sysdeps/sparc/elf/configure.in: New file.
44430 * sysdeps/sparc/elf/configure: Generate.
44431
7a8b71c3
DM
44432 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44433 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44434 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44435 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44436 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44437
f1e86fca
JM
444382012-02-21 Joseph Myers <joseph@codesourcery.com>
44439
44440 * manual/install.texi: Do not mention specific glibc version
44441 numbers.
44442 * manual/libc.texinfo (VERSION, UPDATED): Update.
44443 (@copying): Use @copyright{} and range of years.
44444
0e7dfaef
JM
444452012-02-21 Joseph Myers <joseph@codesourcery.com>
44446
44447 [BZ #13695]
44448 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44449 [crti.S not in sysdirs] (generated): Do not append.
44450 [crti.S not in sysdirs] (omit-deps): Likewise.
44451 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44452 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44453 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44454 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44455 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44456 Likewise.
44457 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44458 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44459 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44460 * csu/defs.awk: Remove file.
44461 * sysdeps/generic/initfini.c: Likewise.
44462 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44463 variable.
44464 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44465 Likewise.
44466
599af3ca
JM
444672012-02-20 Joseph Myers <joseph@codesourcery.com>
44468
44469 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44470 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44471 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44472 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44473 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44474 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44475 <bits/epoll.h>.
44476 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44477 (__EPOLL_PACKED): Define to empty if not defined by
44478 <bits/epoll.h>.
44479 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44481 bits/epoll.h.
44482
0e499750
JM
444832012-02-20 Joseph Myers <joseph@codesourcery.com>
44484
44485 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44486 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44487 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44488 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44489 <bits/timerfd.h>.
44490 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44492 bits/timerfd.h.
44493
5ad91f6e
JM
444942012-02-20 Joseph Myers <joseph@codesourcery.com>
44495
44496 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44497 in C locale.
44498 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44499 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44500 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44502
06b99b02
AJ
445032012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44504
44505 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44506 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44507
7638c0fd
AS
445082012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44509
44510 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44511 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44512 defined.
44513 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44514 Likewise.
44515 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44516 entry for 2.16.
44517
92221550
AJ
445182012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44519
44520 * math/w_acos.c: Use non-signaling floating-point comparisons.
44521 * math/w_acosf.c: Likewise.
44522 * math/w_acosh.c: Likewise.
44523 * math/w_acoshf.c: Likewise.
44524 * math/w_acoshl.c: Likewise.
44525 * math/w_acosl.c: Likewise.
44526 * math/w_asin.c: Likewise.
44527 * math/w_asinf.c: Likewise.
44528 * math/w_asinl.c: Likewise.
44529 * math/w_atanh.c: Likewise.
44530 * math/w_atanhf.c: Likewise.
44531 * math/w_atanhl.c: Likewise.
44532 * math/w_exp2.c: Likewise.
44533 * math/w_exp2f.c: Likewise.
44534 * math/w_exp2l.c: Likewise.
44535 * math/w_j0.c: Likewise.
44536 * math/w_j0f.c: Likewise.
44537 * math/w_j0l.c: Likewise.
44538 * math/w_j1.c: Likewise.
44539 * math/w_j1f.c: Likewise.
44540 * math/w_j1l.c: Likewise.
44541 * math/w_jn.c: Likewise.
44542 * math/w_jnf.c: Likewise.
44543 * math/w_log.c: Likewise.
44544 * math/w_log10.c: Likewise.
44545 * math/w_log10f.c: Likewise.
44546 * math/w_log10l.c: Likewise.
44547 * math/w_log2.c: Likewise.
44548 * math/w_log2f.c: Likewise.
44549 * math/w_log2l.c: Likewise.
44550 * math/w_logf.c: Likewise.
44551 * math/w_logl.c: Likewise.
44552 * math/w_sqrt.c: Likewise.
44553 * math/w_sqrtf.c: Likewise.
44554 * math/w_sqrtl.c: Likewise.
44555 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44556 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44557 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44558 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44559 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44560
ebaf36eb
JM
445612012-02-19 Joseph Myers <joseph@codesourcery.com>
44562
44563 [BZ #9739]
44564 * manual/string.texi (strnlen): Use correct parameter name in
44565 equivalent expression.
44566
71c254a6
JM
445672012-02-19 Joseph Myers <joseph@codesourcery.com>
44568
44569 [BZ #11174]
44570 * manual/users.texi (seteuid): Consistently use neweuid for
44571 argument name.
44572
16d2c631
JM
445732012-02-19 Joseph Myers <joseph@codesourcery.com>
44574
44575 [BZ #13704]
44576 * manual/nss.texi (Services in the NSS configuration): Correct
44577 list of services in example configuration file.
44578
cd837b09
NB
445792012-02-19 Nick Bowler <nbowler@draconx.ca>
44580
44581 [BZ #11322]
44582 * manual/arith.texi: Remove statements about negative zero
44583 behaving identically to zero.
44584
02c4bbad
JM
445852012-02-18 Joseph Myers <joseph@codesourcery.com>
44586
44587 [BZ #5993]
44588 * manual/install.texi: Do not document upgrading from libc5.
44589
366842e7
JM
445902012-02-18 Joseph Myers <joseph@codesourcery.com>
44591
44592 [BZ #4596]
44593 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44594
dd54084d
DM
445952012-02-18 David S. Miller <davem@davemloft.net>
44596
44597 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44598 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44599 %o7 across the call.
44600 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44601 instead.
44602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44603 SETUP_PIC_REG_LEAF.
44604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44605 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44606 * sysdeps/sparc/crtn.S: Likewise.
44607
2bcc53a3
UD
446082012-02-17 Ulrich Drepper <drepper@gmail.com>
44609
44610 * aout/Makefile: Remove.
44611
09c093b5
RK
446122012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44613
44614 [BZ #13058]
44615 * manual/examples/argp-ex1.c (main): Format definition in GNU
44616 style.
44617 * manual/examples/argp-ex2.c (main): Likewise.
44618 * manual/examples/argp-ex3.c (main): Likewise.
44619 * manual/examples/argp-ex4.c (main): Likewise.
44620 * manual/examples/longopt.c (main): Use new-style prototype
44621 definition.
44622 * manual/examples/strncat.c (main): Specify return type and use
44623 (void) for arguments.
44624 * manual/examples/subopt.c (main): Use char **argv argument.
44625
2ee633a2
JM
446262012-02-17 Joseph Myers <joseph@codesourcery.com>
44627
44628 [BZ #5077]
44629 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44630 rounding modes.
44631
0520adde
FB
446322012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44633
44634 [BZ #6907]
44635 * manual/string.texi (strchr): Change when strchrnul is
44636 recommended.
44637
3f4081cd
DGM
446382012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44639
44640 [BZ #174]
44641 * manual/locale.texi (setlocale): Document LOCPATH.
44642
d1b10e78
JM
446432012-02-17 Joseph Myers <joseph@codesourcery.com>
44644
44645 [BZ #10210]
44646 * manual/process.texi (execle): Move @dots{} before last argument.
44647
79c6869c
PB
446482012-02-17 Paul Bolle <pebolle@tiscali.nl>
44649
44650 [BZ #12047]
44651 * manual/charset.texi (Generic Charset Conversion): Fix typo
44652 (LC_TYPE -> LC_CTYPE).
44653
cc6e48bc
NB
446542012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44655
44656 [BZ #5805]
44657 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44658 (scalbnf): Likewise.
44659 (scalbnl): Likewise.
44660 (scalbln): Likewise.
44661 (scalblnf): Likewise.
44662 (scalblnl): Likewise.
44663 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44664 (vwarnx): Likewise.
44665 (verr): Likewise.
44666 (verrx): Likewise.
44667 * manual/filesys.texi (telldir): Use braces around return type.
44668 * manual/llio.texi (mmap): Add space after comma.
44669 (mmap64): Likewise.
44670 * manual/math.texi (jn): Use @var{} on parameter names.
44671 (jnf): Likewise.
44672 (jnl): Likewise.
44673 (yn): Likewise.
44674 (ynf): Likewise.
44675 (ynl): Likewise.
44676 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44677 line.
44678 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44679 "...".
44680 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44681 (sched_get_priority_max): Likewise.
44682 * manual/signal.texi (sigvec): Add space after comma.
44683 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44684 names.
44685 (if_indextoname): Likewise.
44686 (if_freenameindex): Likewise.
44687 (sendto): Use ',' instead of '.' in prototype.
44688 * manual/startup.texi (syscall): Use @dots{} instead of literal
44689 "...".
44690 * manual/stdio.texi (__fpending): Separate initial words of
44691 paragraph from @deftypefun line.
44692 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44693 "...".
44694 (vsyslog): Use @var{} on parameter names.
44695 * manual/terminal.texi (stty): Use @var{} on parameter names.
44696 * manual/users.texi (getutmp): Use @var{} on parameter names.
44697 (getutmpx): Likewise.
44698
5b23062f
JM
446992012-02-17 Joseph Myers <joseph@codesourcery.com>
44700
44701 [BZ #6884]
44702 * manual/stdio.texi (fopen): Fix typos in description of
44703 ",ccs=STRING".
44704
8dee4833
AJ
447052012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44706
44707 [BZ #4026]
44708 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44709 get clock_id definition.
44710
9078ce93
TS
447112012-02-17 Thomas Schwinge <thomas@schwinge.name>
44712
44713 [BZ #4822]
44714 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44715 (madvise): Cast every argument to void on its own.
44716
3835c55f
JM
447172012-02-17 Joseph Myers <joseph@codesourcery.com>
44718
44719 [BZ #9902]
44720 * manual/startup.texi (Exit Status): Fix typo.
44721
35c47e37
JM
447222012-02-17 Joseph Myers <joseph@codesourcery.com>
44723
44724 [BZ #10140]
44725 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44726 * manual/examples/argp-ex2.c: Likewise.
44727 * manual/examples/argp-ex3.c: Likewise.
44728
e3b69ca7
RH
447292012-02-16 Richard Henderson <rth@redhat.com>
44730
44731 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44732 * sysdeps/s390/s390-32/initfini.c: Remove.
44733 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44734 * sysdeps/s390/s390-64/initfini.c: Remove.
44735
df83af67
KK
447362012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44737
44738 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44739 compiler output for sysdeps/generic/initfini.c.
44740 * sysdeps/sh/elf/initfini.c: Remove file.
44741
f63f3380
DM
447422012-02-16 David S. Miller <davem@davemloft.net>
44743
fb59b3a4
DM
44744 [BZ #11494]
44745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44746
f63f3380
DM
44747 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44748 * sysdeps/sparc/crti.S: New file.
44749 * sysdeps/sparc/crtn.S: New file.
44750 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44751 * sysdeps/sparc/sparc64/Makefile: Likewise.
44752
df6a4a4a
MF
447532012-02-15 Mike Frysinger <vapier@gentoo.org>
44754
6dd8f3dc 44755 [BZ #3335]
df6a4a4a
MF
44756 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44757
1cac7236
RM
447582012-02-15 Roland McGrath <roland@hack.frob.com>
44759
d2c736f8
RM
44760 [BZ #4822]
44761 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44762
1cac7236
RM
44763 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44764 (write, read, close): Likewise.
44765 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44766
8e475601
JM
447672012-02-15 Joseph Myers <joseph@codesourcery.com>
44768
44769 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44770 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44771 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44772 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44773 <bits/signalfd.h>.
44774 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44776 bits/signalfd.h.
44777
ed656b40
MP
447782012-02-14 Marek Polacek <polacek@redhat.com>
44779
44780 * sysdeps/x86_64/crti.S: New file.
44781 * sysdeps/x86_64/crtn.S: New file.
44782 * sysdeps/x86_64/elf/initfini.c: Remove file.
44783
2a979d3a
JM
447842012-02-13 Joseph Myers <joseph@codesourcery.com>
44785
44786 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44787 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44788 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44789 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44790 <bits/inotify.h>.
44791 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44793 bits/inotify.h.
44794
2a418ac3
JM
447952012-02-13 Joseph Myers <joseph@codesourcery.com>
44796
44797 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44798 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44799 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44800 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44801 <bits/eventfd.h>.
44802 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44804 bits/eventfd.h.
44805
fb779be7
TS
448062012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44807
e19e83c5
RM
44808 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44809 __feraiseexcept instead of feraiseexcept.
7c35ffed 44810
fb779be7
TS
44811 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44812 nanosleep invocations.
44813 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44814 strings, and add error checking for a nanosleep invocations.
44815
59ba27a6
PE
448162012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44817
44818 Replace FSF snail mail address with URLs, as per GNU coding standards.
44819 Most of the snail mail addresses were wrong anyway, and omitting
44820 them makes the source code easier to maintain. Almost all of the
44821 changes are to license notices and to locale LC_IDENTIFICATION
44822 addresses, except for this one:
44823 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44824 not its snail mail address.
44825
57b957eb
RH
448262012-02-09 Richard Henderson <rth@twiddle.net>
44827
af850b1c
RH
44828 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44829 of kernel-features.h.
44830
57b957eb
RH
44831 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44832
6b73181a
MP
448332012-02-08 Marek Polacek <polacek@redhat.com>
44834
44835 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44836 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44837 * sysdeps/gnu/_G_config.h: Likewise.
44838 * sysdeps/generic/_G_config.h: Likewise.
44839
26ecc33a
AS
448402012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44841
6c6dbc63
AS
44842 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44843 tests.
44844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44845
e216c012
AS
44846 * sysdeps/powerpc/powerpc32/crti.S: New file.
44847 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44848 * sysdeps/powerpc/powerpc64/crti.S: New file.
44849 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44850
26ecc33a
AS
44851 * Makeconfig (have-initfini): Don't set.
44852 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44853 * configure.in (nopic_initfini): Don't substitute.
44854 * config.h.in (HAVE_INITFINI): Don't #undef.
44855 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44856 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44857
3add8e13
JM
448582012-02-08 Joseph Myers <joseph@codesourcery.com>
44859
44860 Support crti.S and crtn.S provided directly by architectures.
44861 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44862 [crti.S in sysdirs] (omit-deps): Likewise.
44863 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44864 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44865 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44866 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44867 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44868 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44869 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44870 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44871 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44872 compiler output for sysdeps/generic/initfini.c.
44873 * sysdeps/i386/elf/Makefile: Remove file.
44874 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44875
a22f12b4
MP
448762012-02-07 Marek Polacek <polacek@redhat.com>
44877
44878 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44879 * sysdeps/gnu/_G_config.h: Likewise.
44880 * sysdeps/mach/hurd/_G_config.h: Likewise.
44881
148cf100
MP
448822012-02-07 Marek Polacek <polacek@redhat.com>
44883
44884 * math/Makefile (tests): Add tst-CMPLX2.
44885 * math/tst-CMPLX2.c: New file.
44886
cfdc0dd7
AS
448872012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44888
84ba42c4
AS
44889 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44890
cfdc0dd7
AS
44891 * math/libm-test.inc (jn_test): Add missing L suffix.
44892
622c86f4
MP
448932012-02-06 Marek Polacek <polacek@redhat.com>
44894
44895 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44896 * sysdeps/i386/fpu/e_powf.S: Likewise.
44897 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44898 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44899 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44900 * sysdeps/i386/fpu/e_pow.S: Likewise.
44901 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44902 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44903 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44904 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44905 * sysdeps/i386/fpu/e_log2.S: Likewise.
44906 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44907 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44908 * sysdeps/i386/fpu/e_powl.S: Likewise.
44909 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44910 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44911 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44912 * sysdeps/i386/fpu/e_logl.S: Likewise.
44913 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44914 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44915 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44916 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44917 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44918 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44919 * sysdeps/i386/fpu/e_log.S: Likewise.
44920 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44921 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44922 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44923 * sysdeps/i386/fpu/e_logf.S: Likewise.
44924 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44925 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44926 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44927 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44928 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44929 * sysdeps/i386/fpu/e_log10.S: Likewise.
44930 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44931 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44932 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44933 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44934 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44935 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44936 * sysdeps/i386/asm-syntax.h: Likewise.
44937 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44938 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44939 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44940 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44941 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44942 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44943 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44944 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44945 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44946 * sysdeps/powerpc/sysdep.h: Likewise.
44947 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44948 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44949
d4a54ac6
JM
449502012-02-06 Joseph Myers <joseph@codesourcery.com>
44951
44952 [BZ #411]
44953 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44954
314054ea
JM
449552012-02-06 Joseph Myers <joseph@codesourcery.com>
44956
44957 * sysdeps/i386/sysdep.h: Include <features.h>.
44958 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44959 version.
44960
d8e0ca50
JM
449612012-02-05 Joseph Myers <joseph@codesourcery.com>
44962
44963 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44964 Define.
44965 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44966 LOAD_PIC_REG_STR.
44967
b1da7dd9
JM
449682012-02-03 Joseph Myers <joseph@codesourcery.com>
44969
44970 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44971 (SETUP_PIC_REG): Use GET_PC_THUNK.
44972 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44973 macro.
44974
9a1d9254
JM
449752012-02-03 Joseph Myers <joseph@codesourcery.com>
44976
44977 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44978 for non-PIC compilation.
44979 (SETUP_PIC_REG): Add .p2align directive.
44980 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44981 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44982 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44983 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44984 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44985 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44986 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44987 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44988 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44989 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44990 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44991 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44992 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44993 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44994 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44995 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44996 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44997 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44998 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44999 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45001 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45002 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45003 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45004 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45005 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45006 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45007 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45008 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45009 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45010 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45011 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45012 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45013 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45014 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45015 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45016 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45017 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45018 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45019 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45020 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45021
65dc3b75
JM
450222012-02-03 Joseph Myers <joseph@codesourcery.com>
45023
45024 * math/tst-CMPLX.c: Include <stdio.h>.
45025
d55bf177
JM
450262012-01-31 Joseph Myers <joseph@codesourcery.com>
45027
45028 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45029 float.
45030 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45031 * sysdeps/sparc/bits/mathdef.h: Likewise.
45032
69db4f8f
MP
450332012-01-31 Marek Polacek <polacek@redhat.com>
45034
45035 * libio/libio.h: Don't define _PARAMS.
45036 * locale/programs/config.h: Don't define PARAMS.
45037 * stdlib/strtol_l.c: Likewise.
45038 (__strtol_l): Remove PARAMS from the prototype.
45039
41b81892
UD
450402012-01-31 Ulrich Drepper <drepper@gmail.com>
45041
3b49edc0
UD
45042 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45043 names. Just use the correct names. Remove unnecessary wrapper
45044 functions.
45045 * malloc/arena.c: Likewise.
45046 * malloc/hooks.c: Likewise.
45047
41b81892
UD
45048 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45049 ARENA_TEST says not to. Simplify test for creation of a new arena.
45050 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45051
27a25b6e
UD
450522012-01-30 Ulrich Drepper <drepper@gmail.com>
45053
45054 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45055 into tail calls.
45056 (update_get_addr): New function.
45057 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45058 GET_ADDR_MODULE parameter.
45059
c8a89e7d
JM
450602012-01-30 Joseph Myers <joseph@codesourcery.com>
45061
45062 * crypt/cert.c: Remove __STDC__ conditionals.
45063 * crypt/crypt-entry.c: Likewise.
45064 * crypt/crypt_util.c: Likewise.
45065 * libio/filedoalloc.c: Likewise.
45066 * libio/fileops.c: Likewise.
45067 * libio/genops.c: Likewise.
45068 * libio/iofclose.c: Likewise.
45069 * libio/iofdopen.c: Likewise.
45070 * libio/iofopen.c: Likewise.
45071 * libio/iofopen64.c: Likewise.
45072 * libio/iogetdelim.c: Likewise.
45073 * libio/iopopen.c: Likewise.
45074 * libio/obprintf.c: Likewise.
45075 * libio/oldfileops.c: Likewise.
45076 * libio/oldiofclose.c: Likewise.
45077 * libio/oldiofdopen.c: Likewise.
45078 * libio/oldiofopen.c: Likewise.
45079 * libio/oldiopopen.c: Likewise.
45080 * libio/wfiledoalloc.c: Likewise.
45081 * libio/wgenops.c: Likewise.
45082 * locale/programs/xmalloc.c: Likewise.
45083 * misc/syslog.c: Likewise.
45084 * stdio-common/xbug.c: Likewise.
45085 * string/memchr.c: Likewise.
45086 * string/memcmp.c: Likewise.
45087 * string/memrchr.c: Likewise.
45088 * string/rawmemchr.c: Likewise.
45089 * sysdeps/posix/getcwd.c: Likewise.
45090 * time/strftime_l.c: Likewise.
45091
3b100462
JM
450922012-01-30 Joseph Myers <joseph@codesourcery.com>
45093
45094 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
45095 * config.make.in (config-cflags-sse2avx): Define.
45096 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45097 Fix typo.
45098
607998af
CM
450992012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45100
45101 * scripts/config.guess: Update from upstream config git repository.
45102 * scripts/config.sub: Likewise.
45103
3601428f
CM
451042012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45105
3ac8b282
CM
45106 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45107 (EM_NUM): Update.
45108 (R_TILEPRO_*, R_TILEGX_*): New macros.
45109
e034841e
CM
45110 * scripts/firstversions.awk: Fix bug in version range handling.
45111
540d7568
CM
45112 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45113
3601428f
CM
45114 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45115
463de862
CM
45116 * include/sys/epoll.h: New file.
45117 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45118 libc_hidden_def.
45119
73139a76
UD
451202012-01-28 Ulrich Drepper <drepper@gmail.com>
45121
96bc5b45
UD
45122 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45123 Avoid unnecessary __WORDSIZE == 64 test.
45124 (fmaxf): Use VEX format if possible.
45125 (fmax): Likewise.
45126 (fminf): Likewise.
45127 (fmin): Likewise.
45128
56f6f6a2
UD
45129 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45130 * math/math_private.h: Remove libc_fegetround* and
45131 libc_fesetround*.
45132 * sysdeps/i386/configure.in: Check for -msse2avx.
45133 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45134 also if SSE2AVX is defined.
45135 Remove libc_fegetround* and libc_fesetround*.
45136 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45137 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45138 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45139 of HAS_YMM_USABLE.
45140 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45141 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45142 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45143 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45144 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45145
73139a76
UD
45146 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45147
d73f93a4
AZ
451482012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45149
45150 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45151 size is not set.
45152 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45153
6ee65ed6
UD
451542012-01-27 Ulrich Drepper <drepper@gmail.com>
45155
45156 [BZ #13618]
45157 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45158 relocation.
45159 * Makeconfig (libm): Define.
45160 * elf/Makefile: Add rules to build and run tst-relsort1.
45161 * elf/tst-relsort1.c: New file.
45162 * elf/tst-relsort1mod1.c: New file.
45163 * elf/tst-relsort1mod2.c: New file.
45164
8db21882
JM
451652012-01-27 Joseph Myers <joseph@codesourcery.com>
45166
45167 * math/s_ldexp.c: Remove __STDC__ conditionals.
45168 * math/s_ldexpf.c: Likewise.
45169 * math/s_ldexpl.c: Likewise.
45170 * math/s_nextafter.c: Likewise.
45171 * math/s_nexttowardf.c: Likewise.
45172 * math/s_significand.c: Likewise.
45173 * math/s_significandf.c: Likewise.
45174 * math/s_significandl.c: Likewise.
45175 * math/w_jnl.c: Likewise.
45176 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45177 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45178 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45179 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45180 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45182 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45183 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45184 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45185 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45186 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45187 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45188 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45189 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45190 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45191 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45192 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45193 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45194 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45195 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45196 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45197 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45198 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45199 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45200 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45201 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45202 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45203 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45204 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45205 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45206 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45207 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45208 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45209 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45210 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45211 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45212 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45213 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45214 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45215 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45216 * sysdeps/ieee754/k_standard.c: Likewise.
45217 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45218 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45219 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45220 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45221 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45222 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45223 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45224 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45225 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45226 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45227 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45228 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45229 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45230 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45231 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45232 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45233 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45234 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45235 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45236 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45237 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45238 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45239 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45240 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45241 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45242 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45247 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45248 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45249 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45250 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45252 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45253 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45254 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45255 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45256 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45257 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45259 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45260 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45261 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45262 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45263 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45264 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45265 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45266 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45267 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45268 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45269 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45270 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45271 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45272 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45273 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45274 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45275 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45276 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45277 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45278 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45279 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45280 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45281 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45282 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45283 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45284 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45285 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45286 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45287 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45288 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45289 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45290 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45291 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45292 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45293 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45294 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45295 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45296 * sysdeps/ieee754/s_matherr.c: Likewise.
45297 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45298 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45301
965a54a4
JM
453022012-01-26 Joseph Myers <joseph@codesourcery.com>
45303
45304 * crypt/md5.h: Remove __STDC__ conditionals.
45305 * libio/libioP.h: Likewise.
45306 * locale/programs/config.h: Likewise.
45307 * sysdeps/generic/sysdep.h: Likewise.
45308 * sysdeps/i386/asm-syntax.h: Likewise.
45309 * sysdeps/s390/asm-syntax.h: Likewise.
45310 * sysdeps/unix/sysdep.h: Likewise.
45311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45313
7071ad79
JM
453142012-01-26 Joseph Myers <joseph@codesourcery.com>
45315
45316 * libio/libio.h: Remove __STDC__ conditionals.
45317 * malloc/obstack.h: Likewise.
45318 * math/complex.h: Likewise.
45319 * math/math.h: Likewise.
45320 * sysdeps/generic/_G_config.h: Likewise.
45321 * sysdeps/gnu/_G_config.h: Likewise.
45322 * sysdeps/mach/hurd/_G_config.h: Likewise.
45323 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45324 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45325 * sysdeps/sparc/bits/mathdef.h: Likewise.
45326
afc5ed09
UD
453272012-01-26 Ulrich Drepper <drepper@gmail.com>
45328
45329 [BZ #13583]
45330 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45331 Clean up HAS_* macros.
afc5ed09 45332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45333 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45334 possible.
45335 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45336 HAS_AVX.
45337 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45338 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45339 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45340 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45341 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45342
bdb6de1d
JM
453432012-01-25 Joseph Myers <joseph@codesourcery.com>
45344
45345 * elf/tst-unique3.cc (gets): Remove declaration.
45346 * elf/tst-unique3lib.cc (gets): Likewise.
45347 * elf/tst-unique3lib2.cc (gets): Likewise.
45348 * elf/tst-unique4.cc (gets): Likewise.
45349
b15549e6
UD
453502012-01-24 Ulrich Drepper <drepper@gmail.com>
45351
45352 * include/stdio.h: Add C++ protection. Add gets declarations and
45353 definitions.
45354 * debug/tst-chk1.c: Don't declare gets here.
45355 * stdio-common/tst-gets.c: Likewise.
45356
a037381f
JM
453572012-01-24 Joseph Myers <joseph@codesourcery.com>
45358
45359 * posix/glob: Remove directory.
45360
f1d4aa75
JM
453612012-01-24 Joseph Myers <joseph@codesourcery.com>
45362
45363 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45364
81c0c964
PT
453652012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45366
45367 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45368 of the non-standard EPFNOSUPPORT.
45369
0ea698ae
ST
453702011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45371
45372 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45373 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45374 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45375
d220b117
UD
453762012-01-21 Ulrich Drepper <drepper@gmail.com>
45377
45378 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45379
3e1aa84e
UD
453802012-01-20 Ulrich Drepper <drepper@gmail.com>
45381
45382 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45383 transient errors.
45384 * nscd/grpcache.c (cache_addgr): Likewise.
45385 * nscd/hstcache.c (cache_addhst): Likewise.
45386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45387 * nscd/pwdcache.c (cache_addpw): Likewise.
45388 * nscd/servicescache.c (cache_addserv): Likewise.
45389
400aa020
UD
453902012-01-16 Ulrich Drepper <drepper@gmail.com>
45391
d77e7869
UD
45392 * malloc/malloc.c: Various cleanups.
45393 * malloc/hooks.c: Likewise.
45394
400aa020
UD
45395 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45396 * stdlib/bug-fmtmsg1.c: New file.
45397
45398 * stdlib/fmtmsg.c (init): Add missing unlock.
45399 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45400
e0a309cf
MP
454012012-01-12 Marek Polacek <polacek@redhat.com>
45402
45403 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45404 and _GNU_SOURCE.
45405
929d11c7
WS
454062012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45407
45408 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45409 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45410 macro to ensure uniqueness of label name.
45411 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45412 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45413
41d0e869
UD
454142012-01-11 Ulrich Drepper <drepper@gmail.com>
45415
0cc5ed3b
UD
45416 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45417
41d0e869
UD
45418 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45419 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45420 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45422
a47a831a
UD
454232012-01-10 Ulrich Drepper <drepper@gmail.com>
45424
daa891c0
UD
45425 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45426
45427 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45428 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45429 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45430
e58ef0f2
UD
45431 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45432
a47a831a 45433 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45434 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45435 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45437
45438 * math/bits/math-finite.h: Add ldexp support.
45439
a0bfc9c7
MP
454402012-01-10 Marek Polacek <polacek@redhat.com>
45441
45442 * locale/programs/localedef.h (show_archive_content): Add noreturn
45443 attribute.
45444
d6e97a1d
UD
454452012-01-09 Ulrich Drepper <drepper@gmail.com>
45446
45447 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45448
d5835c26
UD
454492012-01-08 Ulrich Drepper <drepper@gmail.com>
45450
e5f484c6
UD
45451 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45452
d5835c26
UD
45453 * io/Makefile (headers): Add bits/poll2.h.
45454
d1f741e9
WS
454552011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45456
45457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45458 typo #include statement.
45459
ec09c1c4
UD
454602012-01-08 Ulrich Drepper <drepper@gmail.com>
45461
45462 * include/sys/cdefs.h: Define __attribute_alloc_size.
45463 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45464 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45465 * elf/pldd.c: Likewise.
45466 * iconv/iconv_charmap.c: Likewise.
45467 * iconv/iconvconfig.c: Likewise.
45468 * iconv/strtab.c: Likewise.
45469 * locale/programs/locale.c: Likewise.
45470 * locale/programs/localedef.h: Likewise.
45471 * locale/programs/simple-hash.c: Likewise.
45472 * nscd/nscd.h: Likewise.
45473 * nss/makedb.c: Likewise.
45474 * sysdeps/generic/ldconfig.h: Likewise.
45475 * locale/programs/localedef.c: Remove xmalloc prototype.
45476 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45477
20b38e03
PP
454782012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45479
45480 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45481 appropriate.
45482
a0da5fe1
UD
454832012-01-08 Ulrich Drepper <drepper@gmail.com>
45484
1d5a644a 45485 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45486 * math/tst-CMPLX.c: New file.
1d5a644a 45487
8784a6db
UD
45488 * math/complex.h (CMPLXL): Fix typo.
45489
d9a216c0
UD
45490 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45491 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45492 GLIBC_2.16.
45493 * debug/tst-chk1.c: Add poll and ppoll tests.
45494 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45495 * include/sys/poll.h: Add hidden proto for ppoll.
45496 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45497 * sysdeps/mach/hurd/ppoll.c: Likewise.
45498 * io/ppoll.c: Likewise.
45499 * debug/poll_chk.c: New file.
45500 * debug/ppoll_chk.c: New file.
45501 * include/bits/poll2.h: New file.
45502 * io/bits/poll2.h: New file.
45503
ac097f5c
UD
45504 [BZ #1350]
45505 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45506
2119dcfa
UD
45507 * configure.in: static is always set to yes. Remove.
45508 * config.make.in: Don't set build-static.
45509 * Makeconfig: Remove use of build-static.
45510 * dlfcn/Makefile: Likewise.
45511 * elf/Makefile: Likewise.
45512 * math/Makefile: Likewise.
45513 * misc/Makefile: Likewise.
45514 * nptl/Makefile: Likewise.
45515 * sysdeps/mach/hurd/Makefile: Likewise.
45516
121766a9
UD
45517 * configure.in: PWD_P is not used anymore.
45518 * config.make.in: Remove PWD_P entry.
45519
51a1d39c 45520 * configure.in: Remove last remnants of RANLIB.
8720d066 45521 No need to check for signed size_t anymore.
215f4bdc
UD
45522 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45523 and IA-64.
3857022a 45524 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45525 * aclocal.m4: Likewise.
45526
d3ed7225
UD
45527 * wcsmbs/mbrtoc16.c: Implement using towc function.
45528 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45529 * wcsmbs/wcsmbsload.c: Likewise.
45530 * iconv/gconv_simple.c: Likewise.
45531 * iconv/gconv_int.h: Likewise.
45532 * iconv/gconv_builtin.h: Likewise.
45533 * iconv/iconv_prog.c: Remove CHAR16 handling.
45534
45535 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45536
45537 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45538
a0da5fe1
UD
45539 * configure.in: Remove --with-elf and --enable-bounded options.
45540 Dont set base_machine for ia64. More non-ELF conditions removed.
45541 Remove testing and setting of leading underscore information.
45542 * config.make.in (build-bounded): Set to no.
45543 * config.h.in: Remove NO_UNDERSCORES entry.
45544 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45545 them.
45546 * csu/start.c: Remove !NO_UNDERSCORE code.
45547 * locale/localeinfo.h: Likewise.
45548 * sysdeps/generic/machine-gmon.h: Likewise.
45549 * sysdeps/generic/sysdep.h: Likewise.
45550 * sysdeps/i386/sysdep.h: Likewise.
45551 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45552 * sysdeps/mach/sysdep.h: Likewise.
45553 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45554 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45555 * sysdeps/sh/sysdep.h: Likewise.
45556 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45557 * sysdeps/unix/i386/sysdep.S: Likewise.
45558 * sysdeps/unix/sparc/start.c: Likewise.
45559 * sysdeps/unix/sparc/sysdep.S: Likewise.
45560 * sysdeps/unix/sparc/sysdep.h: Likewise.
45561 * sysdeps/unix/start.c: Likewise.
45562 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45563 * sysdeps/x86_64/sysdep.h: Likewise.
45564
df78418a
UD
455652012-01-07 Ulrich Drepper <drepper@gmail.com>
45566
a784e502
UD
45567 [BZ #13553]
45568 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45569 for non-gcc.
45570 * argp/argp-fmtstream.h: Use const instead __const.
45571 * argp/argp.h: Likewise.
45572 * assert/assert.h: Likewise.
45573 * bits/fenv.h: Likewise.
45574 * bits/sched.h: Likewise.
45575 * bits/sigset.h: Likewise.
45576 * bits/sigthread.h: Likewise.
45577 * catgets/nl_types.h: Likewise.
45578 * conform/data/pthread.h-data: Likewise.
45579 * crypt/crypt-private.h: Likewise.
45580 * crypt/crypt.h: Likewise.
45581 * crypt/crypt_util.c: Likewise.
45582 * ctype/ctype.h: Likewise.
45583 * debug/execinfo.h: Likewise.
45584 * debug/mbsnrtowcs_chk.c: Likewise.
45585 * debug/mbsrtowcs_chk.c: Likewise.
45586 * debug/wcsnrtombs_chk.c: Likewise.
45587 * debug/wcsrtombs_chk.c: Likewise.
45588 * debug/wcstombs_chk.c: Likewise.
45589 * dirent/dirent.h: Likewise.
45590 * dlfcn/dlfcn.h: Likewise.
45591 * elf/neededtest4.c: Likewise.
45592 * grp/grp.h: Likewise.
45593 * gshadow/gshadow.h: Likewise.
45594 * iconv/gconv.h: Likewise.
45595 * iconv/gconv_int.h: Likewise.
45596 * iconv/gconv_simple.c: Likewise.
45597 * iconv/iconv.h: Likewise.
45598 * iconv/loop.c: Likewise.
45599 * iconv/skeleton.c: Likewise.
45600 * include/aio.h: Likewise.
45601 * include/aliases.h: Likewise.
45602 * include/argz.h: Likewise.
45603 * include/arpa/inet.h: Likewise.
45604 * include/assert.h: Likewise.
45605 * include/dirent.h: Likewise.
45606 * include/dlfcn.h: Likewise.
45607 * include/execinfo.h: Likewise.
45608 * include/fcntl.h: Likewise.
45609 * include/fenv.h: Likewise.
45610 * include/glob.h: Likewise.
45611 * include/grp.h: Likewise.
45612 * include/libintl.h: Likewise.
45613 * include/mntent.h: Likewise.
45614 * include/netdb.h: Likewise.
45615 * include/pwd.h: Likewise.
45616 * include/rpc/netdb.h: Likewise.
45617 * include/sched.h: Likewise.
45618 * include/search.h: Likewise.
45619 * include/shadow.h: Likewise.
45620 * include/signal.h: Likewise.
45621 * include/stdio.h: Likewise.
45622 * include/stdlib.h: Likewise.
45623 * include/string.h: Likewise.
45624 * include/sys/socket.h: Likewise.
45625 * include/sys/stat.h: Likewise.
45626 * include/sys/statfs.h: Likewise.
45627 * include/sys/statvfs.h: Likewise.
45628 * include/sys/syslog.h: Likewise.
45629 * include/sys/time.h: Likewise.
45630 * include/sys/uio.h: Likewise.
45631 * include/time.h: Likewise.
45632 * include/unistd.h: Likewise.
45633 * include/utmp.h: Likewise.
45634 * include/wchar.h: Likewise.
45635 * include/wctype.h: Likewise.
45636 * inet/aliases.h: Likewise.
45637 * inet/arpa/inet.h: Likewise.
45638 * inet/netinet/ether.h: Likewise.
45639 * inet/netinet/in.h: Likewise.
45640 * intl/libintl.h: Likewise.
45641 * io/bits/fcntl2.h: Likewise.
45642 * io/fcntl.h: Likewise.
45643 * io/ftw.h: Likewise.
45644 * io/sys/poll.h: Likewise.
45645 * io/sys/stat.h: Likewise.
45646 * io/sys/statfs.h: Likewise.
45647 * io/sys/statvfs.h: Likewise.
45648 * io/utime.h: Likewise.
45649 * libio/bits/stdio.h: Likewise.
45650 * libio/bits/stdio2.h: Likewise.
45651 * libio/libio.h: Likewise.
45652 * libio/libioP.h: Likewise.
45653 * libio/stdio.h: Likewise.
45654 * locale/lc-ctype.c: Likewise.
45655 * locale/locale.h: Likewise.
45656 * login/utmp.h: Likewise.
45657 * malloc/arena.c: Likewise.
45658 * malloc/malloc.c: Likewise.
45659 * malloc/malloc.h: Likewise.
45660 * malloc/mcheck.c: Likewise.
45661 * malloc/mtrace.c: Likewise.
45662 * math/bits/mathcalls.h: Likewise.
45663 * math/fenv.h: Likewise.
45664 * math/math_private.h: Likewise.
45665 * misc/bits/error.h: Likewise.
45666 * misc/bits/syslog.h: Likewise.
45667 * misc/err.h: Likewise.
45668 * misc/error.h: Likewise.
45669 * misc/fstab.h: Likewise.
45670 * misc/mntent.h: Likewise.
45671 * misc/regexp.h: Likewise.
45672 * misc/search.h: Likewise.
45673 * misc/sgtty.h: Likewise.
45674 * misc/sys/mman.h: Likewise.
45675 * misc/sys/syslog.h: Likewise.
45676 * misc/sys/uio.h: Likewise.
45677 * misc/sys/xattr.h: Likewise.
45678 * misc/ttyent.h: Likewise.
45679 * nis/rpcsvc/ypclnt.h: Likewise.
45680 * nss/nss.h: Likewise.
45681 * posix/bits/unistd.h: Likewise.
45682 * posix/fnmatch.h: Likewise.
45683 * posix/glob.h: Likewise.
45684 * posix/sched.h: Likewise.
45685 * posix/spawn.h: Likewise.
45686 * posix/sys/wait.h: Likewise.
45687 * posix/unistd.h: Likewise.
45688 * posix/wordexp.h: Likewise.
45689 * pwd/pwd.h: Likewise.
45690 * resolv/netdb.h: Likewise.
45691 * resource/sys/resource.h: Likewise.
45692 * rt/aio.h: Likewise.
45693 * rt/bits/mqueue2.h: Likewise.
45694 * rt/mqueue.h: Likewise.
45695 * shadow/shadow.h: Likewise.
45696 * signal/signal.h: Likewise.
45697 * socket/send.c: Likewise.
45698 * socket/sendto.c: Likewise.
45699 * socket/sys/socket.h: Likewise.
45700 * stdio-common/printf.h: Likewise.
45701 * stdlib/bits/stdlib.h: Likewise.
45702 * stdlib/fmtmsg.h: Likewise.
45703 * stdlib/monetary.h: Likewise.
45704 * stdlib/stdlib.h: Likewise.
45705 * stdlib/ucontext.h: Likewise.
45706 * streams/stropts.h: Likewise.
45707 * string/argz.h: Likewise.
45708 * string/bits/string2.h: Likewise.
45709 * string/string.h: Likewise.
45710 * string/strings.h: Likewise.
45711 * sunrpc/rpc/auth.h: Likewise.
45712 * sunrpc/rpc/auth_des.h: Likewise.
45713 * sunrpc/rpc/clnt.h: Likewise.
45714 * sunrpc/rpc/netdb.h: Likewise.
45715 * sunrpc/rpc/pmap_clnt.h: Likewise.
45716 * sunrpc/rpc/xdr.h: Likewise.
45717 * sysdeps/generic/inttypes.h: Likewise.
45718 * sysdeps/generic/net/if.h: Likewise.
45719 * sysdeps/generic/sys/swap.h: Likewise.
45720 * sysdeps/gnu/net/if.h: Likewise.
45721 * sysdeps/gnu/utmpx.h: Likewise.
45722 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45723 * sysdeps/i386/i486/bits/string.h: Likewise.
45724 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45725 * sysdeps/s390/bits/string.h: Likewise.
45726 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45727 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45728 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45729 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45730 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45731 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45732 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45733 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45734 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45735 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45736 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45737 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45738 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45739 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45740 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45741 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45742 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45744 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45745 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45746 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45747 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45748 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45749 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45750 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45751 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45752 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45753 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45754 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45755 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45756 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45757 * sysvipc/sys/ipc.h: Likewise.
45758 * sysvipc/sys/msg.h: Likewise.
45759 * sysvipc/sys/sem.h: Likewise.
45760 * sysvipc/sys/shm.h: Likewise.
45761 * termios/termios.h: Likewise.
45762 * time/sys/time.h: Likewise.
45763 * time/time.h: Likewise.
45764 * wcsmbs/bits/wchar2.h: Likewise.
45765 * wcsmbs/uchar.h: Likewise.
45766 * wcsmbs/wchar.h: Likewise.
45767 * wctype/wctype.h: Likewise.
45768
0269750c
UD
45769 [BZ #13551]
45770 * Makeconfig: Remove all but ELF support including AIX support.
45771 * Makerules: Likewise.
45772 * config.h.in: Likewise.
45773 * config.make.in: Likewise.
45774 * configure: Likewise.
45775 * configure.in: Likewise.
45776 * csu/Makefile: Likewise.
45777 * csu/version.c: Likewise.
45778 * debug/Makefile: Likewise.
45779 * dlfcn/Makefile: Likewise.
45780 * elf/Makefile: Likewise.
45781 * extra-lib.mk: Likewise.
45782 * iconv/Makefile: Likewise.
45783 * include/libc-symbols.h: Likewise.
45784 * include/shlib-compat.h: Likewise.
45785 * resolv/Makefile: Likewise.
45786 * resolv/res_libc.c: Likewise.
45787 * rt/Makefile: Likewise.
45788 * sysdeps/i386/asm-syntax.h: Likewise.
45789 * sysdeps/i386/sysdep.h: Likewise.
45790 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45791 * sysdeps/mach/sysdep.h: Likewise.
45792 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45793 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45794 * sysdeps/s390/asm-syntax.h: Likewise.
45795 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45796 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45797 * sysdeps/sh/sysdep.h: Likewise.
45798 * sysdeps/unix/sparc/sysdep.h: Likewise.
45799 * sysdeps/wordsize-32/divdi3.c: Likewise.
45800 * sysdeps/x86_64/sysdep.h: Likewise.
45801
00bbd29b
UD
45802 * argp/Versions: Remove _argp_unlock_xxx.
45803
45804 [BZ #13559]
45805 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45806 * abilist/libBrokenLocale.abilist: Likewise.
45807 * abilist/libanl.abilist: Likewise.
45808 * abilist/libc.abilist: Likewise.
45809 * abilist/libcrypt.abilist: Likewise.
45810 * abilist/libdl.abilist: Likewise.
45811 * abilist/libm.abilist: Likewise.
45812 * abilist/libnsl.abilist: Likewise.
45813 * abilist/libpthread.abilist: Likewise.
45814 * abilist/libresolv.abilist: Likewise.
45815 * abilist/librt.abilist: Likewise.
45816 * abilist/libthread_db.abilist: Likewise.
45817 * abilist/libutil.abilist: Likewise.
45818 * abilist/libnss_db.abilist: New file.
45819
45820 * scripts/abilist.awk: Add support for indirect functions.
45821
a2693a0e
UD
45822 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45823
3f05895f
UD
45824 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45825
ecb6fb48
UD
45826 * shlib-versions: Remove entries for ports architectures.
45827
664f8cb9
UD
45828 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45829 files in ports.
45830 * elf/stackguard-macros.h: Remove support for IA-64.
45831 * elf/tst-auditmod1.c: Likewise.
45832 * sysdeps/generic/ldsodefs.h: Likewise.
45833
7ae81d88
UD
45834 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45835 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45836 configure files.
45837
bdeba135
UD
45838 [BZ #13552]
45839 * configure.in: Remove --enable-omitfp support.
45840 * FAQ.in: Adjust.
45841 * config.make.in: Likewise.
45842 * Makeconfig: Likewise.
45843 * manual/install.texi: Likewise.
45844
d75a0a62
UD
45845 In case anyone cares, the IA-64 architecture could move to ports.
45846 * sysdeps/ia64/*: Removed.
45847 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45848 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45849
dcc9756b
UD
45850 [BZ #13555]
45851 * configure.in: Remove entries for unsupported architectures.
45852
d3761ebc 45853 [BZ #13533]
9954432e
UD
45854 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45855 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45856 routines.
45857 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45858 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45859 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45860 fall back to using wcrtomb.
45861 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45862 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45863 renaming.
45864 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45865 * wcsmbs/tst-c16c32-1.c: New file.
45866
45867 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45868 local variable.
45869
c3a87236
UD
45870 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45871
28926a1b
UD
45872 * elf/tst-unique3.cc: Add explicit declaration of gets.
45873 * elf/tst-unique3lib.cc: Likewise.
45874 * elf/tst-unique3lib2.cc: Likewise.
45875 * elf/tst-unique4.cc: Likewise.
45876
df78418a
UD
45877 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45878
8ecd6b2a
JM
458792012-01-06 Joseph Myers <joseph@codesourcery.com>
45880
45881 [BZ #13566]
45882 * assert/assert.h (static_assert): Don't define for C++.
45883 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45884 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45885
9f115170
UD
458862012-01-03 Ulrich Drepper <drepper@gmail.com>
45887
5e0d0300
UD
45888 * iconv/loop.c (single loop): Fix assertion in storing of
45889 remaining bytes.
45890
9f115170
UD
45891 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45892
81fb02b0
UD
458932012-01-01 Ulrich Drepper <drepper@gmail.com>
45894
45895 * posix/getconf.c: Update copyright year.
45896 * nss/getent.c: Likewise.
a316c1f6 45897 * nss/makedb.c: Likewise.
81fb02b0
UD
45898 * iconv/iconvconfig.c: Likewise.
45899 * iconv/iconv_prog.c: Likewise.
45900 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45901 * elf/pldd.c: Likewise.
45902 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45903 * catgets/gencat.c: Likewise.
45904 * csu/version.c: Likewise.
45905 * elf/ldd.bash.in: Likewise.
45906 * elf/sprof.c (print_version): Likewise.
45907 * locale/programs/locale.c: Likewise.
45908 * locale/programs/localedef.c: Likewise.
a316c1f6 45909 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45910 * nscd/nscd.c (print_version): Likewise.
45911 * debug/xtrace.sh: Likewise.
45912 * malloc/memusage.sh: Likewise.
45913 * malloc/mtrace.pl: Likewise.
45914 * debug/catchsegv.sh: Likewise.
45915
2ba92745
JJ
459162011-12-30 Jakub Jelinek <jakub@redhat.com>
45917
45918 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45919 pure attribute.
45920
dadebdae
UD
459212011-12-24 Ulrich Drepper <drepper@gmail.com>
45922
d3761ebc 45923 [BZ #13533]
db6af3eb
UD
45924 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45925 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45926 transformations.
45927 * iconv/gconv_int.h: Likewise.
45928 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45929 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45930 from libc for GLIBC_2.16.
45931 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45932 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45933 * wcsmbs/uchar.h: Really define mbstate_t.
45934 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45935 * wcsmbs/c16rtomb.c: New file.
45936 * wcsmbs/mbrtoc16.c: New file.
45937 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45938 for C/POSIX locale.
45939 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45940 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45941
dadebdae
UD
45942 * wcsmbs/wchar.h: Add missing __restrict.
45943
67371b56
UD
459442011-12-23 Ulrich Drepper <drepper@gmail.com>
45945
74033a25
UD
45946 [BZ #13532]
45947 * time/Makefile (routines): Add timespec_get.
45948 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45949 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45950 timespec for ISO C11.
45951 * time/timespec_get.c: New file.
45952 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45953 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45954
380d7e87
UD
45955 [BZ #13531]
45956 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45957 * stdlib/stdlib.h: Declare aligned_alloc.
45958 * Versions.def: Add GLIBC_2.16 for libc.
45959 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45960
4e9e7a35
UD
45961 [BZ 13527]
45962 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45963 ISO C11.
45964
380d7e87 45965 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45966 code.
45967
03a71829
UD
45968 [BZ #13528]
45969 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45970
839e283e
UD
45971 [BZ #13529]
45972 * assert/assert.h (static_assert): Define.
45973
ce5294e2 45974 * version.h: Update for 2.16 development version.
90fa7312 45975
8d44e150 45976 [BZ #13526]
d7809905
UD
45977 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45978 _ISOC11_SOURCE.
45979
c0da14cd
UD
45980 * version.h (RELEASE): Bump for 2.15 release.
45981 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45982
530a3249
MP
45983 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45984 Patch by Marek Polacek <mpolacek@redhat.com>.
45985
67371b56
UD
45986 * bits/byteswap.h: Protect long long constants with __extension__.
45987 * sysdeps/i386/bits/byteswap.h: Likewise.
45988 * sysdeps/ia64/bits/byteswap.h: Likewise.
45989 * sysdeps/s390/bits/byteswap.h: Likewise.
45990 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45991
15db4de1
LD
459922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45993
45994 [BZ #13540]
bbe315ea
LD
45995 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45996 destination buffer.
15db4de1
LD
45997 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45998
2b2596b1
MP
459992011-12-23 Marek Polacek <polacek@redhat.com>
46000
46001 * elf/dl-addr.c (determine_info): Add inline keyword.
46002 * elf/tst-auditmod4b.c (check_avx): Likewise.
46003 * elf/tst-auditmod6b.c (check_avx): Likewise.
46004 * elf/tst-auditmod6c.c (check_avx): Likewise.
46005 * elf/tst-auditmod7b.c (check_avx): Likewise.
46006
70c6c246
UD
460072011-12-23 Ulrich Drepper <drepper@gmail.com>
46008
46009 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46010 !__SSE_MATH__.
46011
c044cf14
LD
460122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46013
15db4de1 46014 [BZ #13540]
c044cf14
LD
46015 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46016 processing for last bytes.
46017
6b13d9d9
BH
460182011-08-06 Bruno Haible <bruno@clisp.org>
46019
d455f537
BH
46020 [BZ #13061]
46021 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46022 U+0385, not to U+1FEE.
46023
6b13d9d9
BH
46024 [BZ #13062]
46025 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46026 entry for U+00A5 U+0301.
46027
db910efd
UD
460282011-12-22 Ulrich Drepper <drepper@gmail.com>
46029
27deeafc
UD
46030 [BZ #13166]
46031 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46032 buffer for the output is too small.
46033
aed9d171
UD
46034 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46035 optimization.
46036
db910efd
UD
46037 [BZ #13185]
46038 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46039 SSE flags if possible.
46040
2bd779ae
LD
460412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46042
e7f9dac3 46043 [BZ #13540]
2bd779ae
LD
46044 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46045 processing for last bytes.
46046
154bfc16
JM
460472011-12-22 Joseph Myers <joseph@codesourcery.com>
46048
46049 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46050 (syscall-list-default-options, syscall-list-default-condition)
46051 (syscall-list-includes): Define.
46052 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46053 list of ABIs and options and #if conditions for each ABI. Do not
46054 handle common syscalls between ABIs specially.
46055 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46056 Remove.
46057 (syscall-list-variants, syscall-list-32bit-options)
46058 (syscall-list-32bit-condition, syscall-list-64bit-options)
46059 (syscall-list-64bit-condition): Define.
46060 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46065 Remove.
46066 (syscall-list-variants, syscall-list-32bit-options)
46067 (syscall-list-32bit-condition, syscall-list-64bit-options)
46068 (syscall-list-64bit-condition): Define.
46069 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46070 Remove.
46071 (syscall-list-variants, syscall-list-32bit-options)
46072 (syscall-list-32bit-condition, syscall-list-64bit-options)
46073 (syscall-list-64bit-condition): Define.
46074
21eaf3a5
UD
460752011-12-22 Ulrich Drepper <drepper@gmail.com>
46076
16c6f992
UD
46077 * locale/iso-639.def: Add brx entry.
46078
41043168
UD
46079 [BZ #13328]
46080 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46081 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46082
21eaf3a5
UD
46083 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46084 __feraiseexcept_renamed.
46085
e3a851a2
UD
460862011-12-21 Ulrich Drepper <drepper@gmail.com>
46087
4920765e
UD
46088 [BZ #13538]
46089 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46090 EPOLLET with unsigned values.
46091 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46092 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46093
e3a851a2
UD
46094 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46095 to large cancellation.
46096 * math/s_cacoshf.c: Likewise.
46097 * math/s_cacoshl.c: Likewise.
46098
b27e24b8
RK
460992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46100
46101 [BZ #13305]
aebefeee 46102 [BZ #12786]
b27e24b8
RK
46103 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46104 * math/s_cacoshf.c: Likewise.
46105 * math/s_cacoshl.c: Likewise.
46106
ee190f67
UD
461072011-12-21 Ulrich Drepper <drepper@gmail.com>
46108
46109 [BZ #13439]
46110 * iconv/gconv.h: Define __GCONV_SWAP.
46111 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46112 * iconvdata/utf-16.c: Likewise.
46113 * iconvdata/utf-32.c: Likewise.
46114
707f25df
AS
461152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46116
46117 [BZ #13524]
46118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46119 numerator after shifting it by one limb.
46120
d2daaa1e
RÁE
461212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46122
46123 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46124 under [__USE_EXTERN_INLINES].
46125
a4647e72
UD
461262011-12-17 Ulrich Drepper <drepper@gmail.com>
46127
46128 [BZ #13446]
46129 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46130
f0b264f1
AZ
461312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46132
46133 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46134 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46135 optimized code.
46136 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46137 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46138 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46139 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46140 for strncasecmp/strncasecmp_l compilation.
46141 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46142 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46143
8ef4f244
MP
461442011-12-08 Marek Polacek <mpolacek@redhat.com>
46145
46146 [BZ #13484]
46147 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46148 of __asm__.
46149
97ac2654
UD
461502011-12-17 Ulrich Drepper <drepper@gmail.com>
46151
46152 [BZ #13506]
46153 * time/tzfile.c (__tzfile_read): Check values from file header.
46154
91d2a845
WS
461552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46156
46157 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46158 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46159 * powerpc/powerpc32/dl-start.S: Likewise.
46160 * powerpc/powerpc32/elf/start.S: Likewise.
46161 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46162 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46163 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46164 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46165 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46166 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46167 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46168 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46169 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46170 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46171 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46172 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46173 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46174 * powerpc/powerpc32/memset.S: Likewise.
46175 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46176 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46177 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46178 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46179 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46180 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46181 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46182 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46183 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46184 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46185 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46186 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46187 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46188
a1267ba1
AZ
461892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46190
46191 * math/libm-test.inc: Added more nearbyint tests.
46192 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46193 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46194 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46195 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46196
ad8ac1bd
RL
461972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46198
46199 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46200 FD_CLOEXEC.
46201
1d3e4b61
UD
462022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46203
46204 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46205 Add wcscpy-ssse3 wcscpy-c.
46206 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46207 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46208 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46209 * sysdeps/x86_64/wcschr.S: New file.
46210 * sysdeps/x86_64/wcsrchr.S: New file.
46211 * string/test-strcmp.c: Remove checking of wcscmp function for
46212 wrong alignments.
46213 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46214 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46215 wcsrchr-sse2 wcsrchr-c.
46216 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46217 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46218 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46219 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46220 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46221 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46222 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46223 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46224 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46225 * wcsmbc/wcschr.c (WCSCHR): New macro.
46226
5b330a2d
UD
462272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46228
46229 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46230 * wcsmbs/test-wcsrchr.c: New file.
46231 * string/test-strrchr.c: Add wcsrchr support.
46232 (WIDE): New macro.
46233 * wcsmbs/test-wcscpy.c: New file.
46234 * string/test-strcpy.c: Add wcscpy support.
46235 (WIDE): New macro.
26428b7c 46236
f039c043
UD
462372011-12-10 Ulrich Drepper <drepper@gmail.com>
46238
46239 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46240 the inner loop.
46241
850fb039
AS
462422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46243
46244 [BZ #13472]
46245 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46246
4efbd5cb
UD
462472011-12-04 Ulrich Drepper <drepper@gmail.com>
46248
52ff5dd0 46249 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46250 Minor optimizations.
52ff5dd0 46251
4efbd5cb
UD
46252 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46253 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46254 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46255
8a426e12
UD
462562011-12-03 Ulrich Drepper <drepper@gmail.com>
46257
aff2453d
UD
46258 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46259 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46260 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46261 for gcc to avoid warnings.
46262 * inet/Makefile (tests): Add tst-checks.
46263 * inet/tst-checks.c: New file.
46264
46265 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46266 warning.
46267
46268 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46269 __wmemcmp_sse2.
46270
46271 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46272 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46273
8a426e12
UD
46274 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46275
9bea3473
UD
462762011-12-02 Ulrich Drepper <drepper@gmail.com>
46277
3a965496
UD
46278 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46279 problem.
46280
9bea3473
UD
46281 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46282
f101631b
UD
462832011-11-29 Joseph Myers <joseph@codesourcery.com>
46284
46285 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46286 conditional on GCC version.
46287 (__arch_compare_and_exchange_val_8_acq)
46288 (__arch_compare_and_exchange_val_16_acq)
46289 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46290 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46291 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46292
a98275aa
UD
462932011-12-02 Joseph Myers <joseph@codesourcery.com>
46294
46295 * sysdeps/sh/backtrace.c: New file.
46296
d4cc29a2
AS
462972011-12-02 Andreas Schwab <schwab@redhat.com>
46298
46299 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46300 parenthesis.
46301
6257af2d
AS
463022011-12-01 Andreas Schwab <schwab@redhat.com>
46303
46304 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46305 falling back to utime.
46306
b5f44c1a
AS
463072011-11-30 Andreas Schwab <schwab@redhat.com>
46308
46309 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46310 expectations for float.
46311
f3a6cc0a
AS
463122011-11-29 Andreas Schwab <schwab@redhat.com>
46313
46314 * locale/weight.h (findidx): Add parameter len.
46315 * locale/weightwc.h (findidx): Likewise.
46316 * posix/fnmatch_loop.c (FCT): Adjust caller.
46317 * posix/regcomp.c (build_equiv_class): Likewise.
46318 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46319 * posix/regexec.c (check_node_accept_bytes): Likewise.
46320 * string/strcoll_l.c (STRCOLL): Likewise.
46321 * string/strxfrm_l.c (STRXFRM): Likewise.
46322
9d65ea3a
UD
463232011-11-17 Ulrich Drepper <drepper@gmail.com>
46324
46325 * Makefile.in: Remove CVSOPT handling.
46326 * configure.in: Remove use of AC_REVISION.
46327 * iconvdata/Makefile (distribute): No need to filter out CVS.
46328 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46329 handling.
46330
5583a086
AS
463312011-11-16 Andreas Schwab <schwab@redhat.com>
46332
46333 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46334 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46335 [USE_AS_STRNCASECMP_L]: Likewise.
46336 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46337 NO_TLS_DIRECT_SEG_REFS.
46338 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46339 Fix argument offsets for non-PIC.
46340 [USE_AS_STRNCASECMP_L]: Likewise.
46341 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46342 NO_TLS_DIRECT_SEG_REFS.
46343
d62a8200
UD
463442011-11-15 Ulrich Drepper <drepper@gmail.com>
46345
9d65ea3a 46346 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46347 O_CLOEXEC.
46348 * locale/loadlocale.c (_nl_load_locale): Likewise.
46349
09f93bd3
AS
463502011-11-15 Andreas Schwab <schwab@redhat.com>
46351
446514f9
AS
46352 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46353 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46354 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46355 (SYSCALL_GETTIME): Set errno on error.
46356
09f93bd3
AS
46357 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46358 count references to noai6ai_cached.
46359
312be3f9
UD
463602011-11-15 Ulrich Drepper <drepper@gmail.com>
46361
46362 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46363
46364 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46365 FD_CLOEXEC for /proc/self/maps.
46366
46367 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46368 FD_CLOEXEC for /proc/meminfo.
46369
46370 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46371 gai.conf.
46372
46373 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46374 FD_CLOEXEC for given file.
46375
46376 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46377
46378 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46379 FD_CLOEXEC for /etc/hosts.
46380 (_gethtent): Likewise.
46381
46382 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46383
46384 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46385 cancellation and set FD_CLOEXEC for /etc/netgroup.
46386
46387 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46388 reading /etc/publickey.
46389
46390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46391 allow cancellation when reading /etc/group.
46392
46393 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46394 cancellation.
46395 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46396
46397 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46398 when using data file.
46399
46400 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46401
46402 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46403 (write_nis_obj): Use "c" and "e" in fopen.
46404
46405 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46406
46407 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46408
46409 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46410
46411 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46412
46413 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46414 locale.alias.
46415
46416 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46417
46418 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46419
46420 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46421
46422 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46423 file parsing and set FD_CLOEXEC.
46424
82af0fa8
UD
464252011-11-14 Ulrich Drepper <drepper@gmail.com>
46426
46427 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46428
a5fb313c
AS
464292011-11-14 Andreas Schwab <schwab@redhat.com>
46430
46431 * malloc/arena.c (arena_get2): Don't call reused_arena when
46432 _int_new_arena failed.
46433
6abf3465
UD
464342011-11-14 Ulrich Drepper <drepper@gmail.com>
46435
46436 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46437 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46438 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46439 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46440 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46441 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46442 to compile strcasecmp and strncasecmp.
46443 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46444 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46445
46446 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46447
76e3966e
UD
464482011-11-13 Ulrich Drepper <drepper@gmail.com>
46449
46450 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46451 locale-defines.sym to gen-as-const-headers.
46452 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46453 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46455 to compile strcasecmp and strncasecmp.
46456 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46457 strcasecmp_l and strncasecmp_l.
46458 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46459 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46460 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46461 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46462 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46463 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46464 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46465 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46466 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46467 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46468 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46469
ab26144e
UD
464702011-11-12 Ulrich Drepper <drepper@gmail.com>
46471
7edb22ef
UD
46472 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46473 result of SYSDEP_GETTIME_CPU to retval.
46474 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46475 parameter list to macro. Remove trailing semicolon. Adjust users.
46476
9694fc44
UD
46477 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46478 variable.
46479
8ad89ef8
UD
46480 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46481 mantissa words.
46482 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46483
0c822ef9
UD
46484 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46485 from unused variable.
46486
874e0564
UD
46487 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46488 DWARF definitions.
46489 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46490 for assembling.
46491
3a2edc79
UD
46492 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46493 over namespaces.
46494
f3c2577f
UD
46495 * sunrpc/rpc_prot.c (rejected): Fix case value.
46496
294ce126
UD
46497 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46498 unsigned long long int to avoid warnings in shift.
46499
5e2b63c6
UD
46500 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46501 of use of trans.
46502 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46503 variable tmp.
46504
e7f4b08e
UD
46505 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46506 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46507 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46508
ab26144e
UD
46509 * nis/nis_table.c (nis_list): Use variable of correct type for
46510 result of __follow_path call.
46511
8a6d5255
AZ
465122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46513
46514 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46515 of math functions ceil, trunc, floor, round, and sqrt, when
46516 avaliable on the platform.
46517 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46518 name clash.
46519 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46520 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46521 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46522
aaddc98c
MP
465232011-10-30 Marek Polacek <mpolacek@redhat.com>
46524
46525 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46526 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46527
95b7042b
RM
465282011-11-11 Roland McGrath <roland@hack.frob.com>
46529
46530 * include/unistd.h: Fix __readlink return type.
46531 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46532
57769839
UD
465332011-11-11 Ulrich Drepper <drepper@gmail.com>
46534
46535 * stdlib/ucontext.h: Undo last change for makecontext.
46536
edc5984d
AS
465372011-11-11 Andreas Schwab <schwab@redhat.com>
46538
98591e58
AS
46539 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46540
edc5984d
AS
46541 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46542 * setjmp/setjmp.h: Mark functions as non-leaf.
46543 * setjmp/bits/setjmp2.h: Likewise.
46544 * stdlib/ucontext.h: Likewise.
46545
77cdc054
AS
465462011-11-10 Andreas Schwab <schwab@redhat.com>
46547
46548 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46549 (reused_arena): Don't check arena limit.
46550 (arena_get2): Atomically check arena limit.
46551
fe72eebd
UD
465522011-11-08 Ulrich Drepper <drepper@gmail.com>
46553
5f078c32
UD
46554 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46555 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46556
fe72eebd
UD
46557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46558 instructions.
46559
ae1bc2fa
AS
465602011-11-07 Andreas Schwab <schwab@redhat.com>
46561
7583a88d
AS
46562 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46563 handler when locking.
46564
ae1bc2fa
AS
46565 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46566 Fix size of allocated buffer.
46567
10fb0bfa
AS
465682011-11-04 Andreas Schwab <schwab@redhat.com>
46569
998832a4
AS
46570 [BZ #10103]
46571 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46572 declarations for long double functions.
46573 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46574
10fb0bfa
AS
46575 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46576
3d7ba52b
AS
465772011-11-03 Andreas Schwab <schwab@redhat.com>
46578
a9ae54a1
AS
46579 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46580 installed.
46581
3d7ba52b
AS
46582 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46583 is disabled.
46584
bc8db248
ST
465852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46586
46587 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46588
45b96dd6
AS
465892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46590
647776f6
AS
46591 * include/alloca.h (stackinfo_alloca_round): Define.
46592 (extend_alloca): Use it.
46593 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46594 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46595 here.
46596
d91a8b93
AS
46597 * scripts/check-local-headers.sh: Ignore libaudit.h.
46598
45b96dd6
AS
46599 * nscd/Makefile (extra-objs): Make recursively expanded.
46600
432d41ce
UD
466012011-11-01 Ulrich Drepper <drepper@gmail.com>
46602
34372fc6
UD
46603 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46604 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46605
fadb59f8
UD
46606 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46607 * posix/tst-rfc3484-2.c: Likewise.
46608 * posix/tst-rfc3484-3.c: Likewise.
46609
78239589
UD
46610 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46611 process_vm_writev.
46612 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46613 process_vm_writev.
46614 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46615 process_vm_writev from libc using GLIBC_2.15 version.
46616
432d41ce
UD
46617 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46618
02f9c6cf
PP
466192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46620
46621 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46622 stack usage.
46623
3a2c0242
UD
466242011-10-31 Ulrich Drepper <drepper@gmail.com>
46625
f4ec4833
UD
46626 [BZ #13367]
46627 * nss/getent.c (initgroups_keys): Show error message in case no group
46628 names are given.
46629
3a2c0242
UD
46630 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46631 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46632 __bump_nl_timestamp.
46633 * nscd/connections (nscd_init): When host database is served open
46634 netlink socket and request notification about configuration changes.
46635 (main_loop_poll): Track netlink file descriptor and bump timestamp
46636 in case data becomes available.
46637 (main_loop_epoll): Likewise.
46638 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46639 (database_pers_head): Add extra_data fileds.
46640 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46641 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46642 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46643 Adjust caller.
46644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46645 in6ai data, call __free_in6ai.
46646 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46647 Add -DHAVE_NETLINK.
46648 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46649 interface information. Reuse previous data if netlink timestamp
46650 is not changed.
46651 (__bump_nl_timestamp): New function.
46652 (__free_in6ai): New function.
46653
636064eb
UD
466542011-10-30 Ulrich Drepper <drepper@gmail.com>
46655
46656 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46657 close_not_cancel_no_status here.
46658 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46659
9beb2334
UD
466602011-10-29 Ulrich Drepper <drepper@gmail.com>
46661
6ef76f3b
UD
46662 [BZ #13276]
46663 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46664 return value.
46665
0ffc4f3e 46666 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46667 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46668 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46669
cb95113e
UD
466702011-07-03 Andreas Jaeger <aj@suse.de>
46671
46672 [BZ #10709]
46673 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46674 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46675 * math/libm-test.inc (sin_test): Add test case.
46676
a1b560ff
UD
466772011-10-29 Ulrich Drepper <drepper@gmail.com>
46678
c9aaface
UD
46679 [BZ #13337]
46680 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46681 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46682
d272e7f1
UD
46683 * elf/chroot_canon.c (chroot_canon): Cleanups.
46684
1bc33071
UD
46685 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46686
1760874d
TJ
46687 [BZ #13335]
46688 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46689 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46690
51d91b18
UD
46691 * string/test-strchr.c: Make usable for strchrnul testing.
46692 * string/test-strchrnul.c: New file.
46693 * string/Makefile (strop-tests): Add strchrnul.
46694
a1b560ff 46695 * po/it.po: Update from translation team.
b611fb81 46696 * po/es.po: Likewise.
a1b560ff 46697
a5b81e1f
UD
466982011-10-28 Ulrich Drepper <drepper@gmail.com>
46699
fd52bc6d
UD
46700 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46701 the three constants needed as parameters. Drop the others.
46702 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46703 __m128i_strloadu_tolower.
52e4b9eb
UD
46704 Create and initialize variable zero and use it in all the places
46705 where _mm_setzero_si128 was used.
fd52bc6d 46706
a5b81e1f
UD
46707 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46708 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46709 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46710 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46711 anymore.
46712 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46713 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46714 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46715 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46716 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46717 __mpranred, __mptan.
46718 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46719 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46720 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46721 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46722 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46723 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46724 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46725 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46726 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46727
b4343346
AS
467282011-10-28 Andreas Schwab <schwab@redhat.com>
46729
0c92d8a8
AS
46730 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46731 redefine if SHARED.
46732 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46733
b4343346
AS
46734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46735 wide char related routines to wcsmbs subdir.
46736
3871f58f
AS
467372011-10-27 Andreas Schwab <schwab@redhat.com>
46738
46739 [BZ #13344]
46740 * misc/sys/cdefs.h (__THROWNL): Define.
46741 * posix/unistd.h: Use __THREADNL instead of __THREAD
46742 for memory synchronization functions.
46743
94d44d9f
RM
467442011-10-26 Roland McGrath <roland@hack.frob.com>
46745
21b64b15 46746 [BZ #13349]
94d44d9f
RM
46747 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46748 doesn't exist.
46749 * manual/stdio.texi (Obstack Streams): Node removed.
46750
f6ce9294
AS
467512011-10-26 Andreas Schwab <schwab@redhat.com>
46752
80479147
AS
46753 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46754 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46755 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46756
f6ce9294
AS
46757 * math/math_private.h (math_force_eval): Allow non-addressable
46758 arguments.
46759 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46760
618280a1
UD
467612011-10-25 Ulrich Drepper <drepper@gmail.com>
46762
e0016b11
UD
46763 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46764 file is not needed.
46765
46766 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46767 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46768 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46769 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46770 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46771 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46772 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46773 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46774 Add AVX variants.
46775 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46776 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46777 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46778 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46779 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46780 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46781 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46782 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46783 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46784 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46785 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46786 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46787 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46788 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46789 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46790 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46791 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46792 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46793 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46794
46795 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46796 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46797
618280a1
UD
46798 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46799 place. Use VEX encoding when compiling for AVX.
46800
37822576
AS
468012011-10-25 Andreas Schwab <schwab@redhat.com>
46802
1f1e1947
AS
46803 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46804 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46805
37822576
AS
46806 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46807
31ea014d
UD
468082011-10-25 Ulrich Drepper <drepper@gmail.com>
46809
d7826aa1 46810 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46811 useless if() expression.
d7826aa1
UD
46812 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46814 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46815 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46816 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46817 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46818 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46819 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46820 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46821 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46822 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46823 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46824 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46825 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46826 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46827 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46828 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46829 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46830 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46831
31ea014d
UD
46832 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46833
16437fec
AS
468342011-10-25 Andreas Schwab <schwab@redhat.com>
46835
46836 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46837 condition.
46838 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46839
31d3cc00
UD
468402011-10-25 Ulrich Drepper <drepper@gmail.com>
46841
46842 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46843 .text section. Avoid duplicate constants.
46844 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46846 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46848 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46852 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46853 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46854 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46855 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46856 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46857 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46858 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46859 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46860 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46861 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46862 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46863 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46864 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46865 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46866 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46867 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46868 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46869 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46870 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46871 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46872 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46873 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46874 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46875 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46876 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46877 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46878 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46879 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46880 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46881 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46882 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46883 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46884 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46885 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46886 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46887 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46888 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46889
58985aa9
UD
468902011-10-24 Ulrich Drepper <drepper@gmail.com>
46891
202c9deb
UD
46892 * sysdeps/x86_64/dla.h: Move to ...
46893 * sysdeps/x86_64/fpu/dla.h: ...here.
46894 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46895 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46896
af968f62
UD
46897 * config.make.in: Add have-mfma4 entry.
46898 * configure.in: Substitute libc_cv_cc_fma4.
46899 * math/Makefile (dbl-only-routines): Add sincostab.
46900 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46901 Use __sincostab not sincos.
46902 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46903 name is a macro.
46904 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46908 using __copysign.
46909 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46910 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46911 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46912 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46913 and __inv.
46914 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46915 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46916 __copysign.
46917 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46918 define aliases when function name is a macro.
46919 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46920 sysdeps/ieee754/dbl-64/sincos.tbl.
46921 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46922 fma4-enabled routines.
46923 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46924 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46925 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46926 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46927 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46928 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46929 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46930 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46931 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46932 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46933 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46934 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46935 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46936 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46937 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46938 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46939 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46940 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46941 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46942 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46943 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46944 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46945 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46946 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46947 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46948 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46949 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46950 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46951 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46952 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46953
58985aa9
UD
46954 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46955 rename.
46956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46957 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46958 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46959 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46960 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46962 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46964
a201fbcf
AS
469652011-10-24 Andreas Schwab <schwab@redhat.com>
46966
46967 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46968
fc2ee42a
LD
469692011-10-23 Ulrich Drepper <drepper@gmail.com>
46970
bb3129bd
UD
46971 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46972
0275fff8
UD
46973 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46974 prediction.
46975 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46976
2fa2ae85
UD
46977 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46978 Remove unused variable magic_bits.
46979 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46980
fc2ee42a
LD
46981 * string/strnlen.c: Define and use STRNLEN macro.
46982 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46983 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46984 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46985 * wcsmbs/wcslen.c: Define and use WCSLEN.
46986 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46987 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46988 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46989 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46990 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46991 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46992 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46993
ce7dd29f
LD
469942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46995
46996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46997 strnlen-sse2-no-bsf.
46998 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47000 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47001 Add strnlen support.
47002 (USE_AS_STRNLEN): New macro.
47003 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47004 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47005 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47006 * sysdeps/x86_64/wcslen.S: New file.
47007
979c70a3
MZ
470082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47009
47010 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47011 XMM-moves are used for copying on small sizes.
47012
2d09f82f
LD
470132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47014
47015 * wcsmbs/Makefile (strop-tests): Add wcschr.
47016 * wcsmbs/test-wcschr.c: New file.
47017 * string/test-strchr.c: Update.
47018 Add wcschr support.
47019 (WIDE): New macro.
47020
619fccca
LD
470212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47022
2d09f82f 47023 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
47024 * wcsmbs/test-wcslen.c: New file.
47025 * string/test-strlen.c: Update.
47026 Add wcslen support.
47027 (WIDE): New macro.
47028
09f699ea
UD
470292011-10-23 Ulrich Drepper <drepper@gmail.com>
47030
47031 * po/it.po: Update from translation team.
47032
95584d3b
LD
470332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47034
47035 * sysdeps/x86_64/wcscmp.S: Update.
47036 Fix wrong comparison semantics.
47037 wcscmp shall use signed comparison not unsigned.
47038 Don't use substraction to avoid overflow bug.
47039 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47040 * wcsmbc/wcscmp.c: Likewise.
47041 * string/test-strcmp.c: Likewise.
47042 Add new tests to check cases with negative values.
47043
c8b3296b
UD
470442011-10-23 Ulrich Drepper <drepper@gmail.com>
47045
47046 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47047 * sysdeps/x86_64/dla.h: ...here. New file.
47048 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47050 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47053 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47055 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47057
246ad57a
AS
470582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47059
47060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47061 __ynl_finite aliases.
47062
a1a87169
UD
470632011-10-22 Ulrich Drepper <drepper@gmail.com>
47064
0d355eb7
UD
47065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47066
a1a87169
UD
47067 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47068 define DLA_FMA.
47069 [DLA_FMA] (EMULV): Use DLA_FMA.
47070 [DLA_FMA] (MUL12): Use EMULV.
47071 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47072 that are not needed.
47073 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47074 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47075 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47076 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47077 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47078 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47079 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47080
ee2aafe0
AS
470812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47082
47083 * math/s_nan.c: Undef __nan.
47084 * math/s_nanf.c: Undef __nanf.
47085 * math/s_nanl.c: Undef __nanl.
47086 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47087 "math_private.h".
47088
bc62c2fb
UD
470892011-10-22 Ulrich Drepper <drepper@gmail.com>
47090
77425c63
UD
47091 * math/s_catan.c: Add branch predictions.
47092 * math/s_catanf.c: Likewise.
47093 * math/s_catanh.c: Likewise.
47094 * math/s_catanhf.c: Likewise.
47095 * math/s_catanhl.c: Likewise.
47096 * math/s_catanl.c: Likewise.
47097 * math/s_cexp.c: Likewise.
47098 * math/s_cexpf.c: Likewise.
47099 * math/s_cexpl.c: Likewise.
47100 * math/s_clog.c: Likewise.
47101 * math/s_clog10.c: Likewise.
47102 * math/s_clog10f.c: Likewise.
47103 * math/s_clog10l.c: Likewise.
47104 * math/s_clogf.c: Likewise.
47105 * math/s_clogl.c: Likewise.
47106 * math/s_csqrt.c: Likewise.
47107 * math/s_csqrtf.c: Likewise.
47108 * math/s_csqrtl.c: Likewise.
47109 * math/s_ctanf.c: Likewise.
47110 * math/s_ctanh.c: Likewise.
47111 * math/s_ctanhf.c: Likewise.
47112 * math/s_ctanhl.c: Likewise.
47113 * math/s_ctanl.c: Likewise.
47114
bc62c2fb
UD
47115 * math/math_private.h: Define __nan, __nanf, __nanl.
47116 * math/s_cacosh.c: Include <math_private.h>.
47117 * math/s_cacoshl.c: Likewise.
47118 * math/s_casinh.c: Likewise.
47119 * math/s_casinhf.c: Likewise.
47120 * math/s_casinhl.c: Likewise.
47121 * math/s_ccos.c: Rely entire on ccosh.
47122 * math/s_ccosf.c: Rely entire on ccoshf.
47123 * math/s_ccosl.c: Rely entirely on ccoshl.
47124 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47125 Remove tests for FE_INVALID.
47126 * math/s_ccoshf.c: Likewise.
47127 * math/s_ccoshl.c: Likewise.
47128 * math/s_csin.c: Likewise.
47129 * math/s_csinf.c: Likewise.
47130 * math/s_csinh.c Likewise.
47131 * math/s_csinhf.c: Likewise.
47132 * math/s_csinhl.c: Likewise.
47133 * math/s_csinl.c: Likewise.
47134 * math/s_ctan.c: Likewise.
47135 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47136 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47137 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47138
8ec250a4
UD
471392011-10-21 Ulrich Drepper <drepper@gmail.com>
47140
c196fed8
UD
47141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47142 compilation problems.
47143
8ec250a4
UD
47144 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47145 __builtin_expect.
47146
8d4f46c6
UD
471472011-10-20 Ulrich Drepper <drepper@gmail.com>
47148
ed72b654
UD
47149 * sysdeps/i386/configure.in: Test for -mfma4 option.
47150 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47151 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47152 COMMON_CPUID_INDEX_80000001.
47153 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47154 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47155 use it if FMA3 is not supported.
47156 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47157
8d4f46c6
UD
47158 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47159 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47160
d45c60c2
AS
471612011-10-20 Andreas Schwab <schwab@redhat.com>
47162
47163 [BZ #12892]
47164 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47165 it would create a cycle with a link time dependency.
47166
d9a4d2ab
UD
471672011-10-19 Ulrich Drepper <drepper@gmail.com>
47168
855d1560
UD
47169 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47170 instruction.
47171 * string/Makefile (strop-tests): Add rawmemchr.
47172 * string/test-rawmemchr.c: New file.
47173
d9a4d2ab
UD
47174 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47175 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47176 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47177 when compiling str{,n}casecmp and when AVX is available. Hook up
47178 new optimized code in initializers.
47179
8f3b1ffe
AS
471802011-10-19 Andreas Schwab <schwab@redhat.com>
47181
47182 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47183 __feraiseexcept instead of feraiseexcept.
47184
d38f1dba
UD
471852011-10-18 Ulrich Drepper <drepper@gmail.com>
47186
d9a8d0ab
UD
47187 * math/math_private.h: Define defaults for libc_fetestexcept and
47188 libc_feupdateenv.
47189 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47190 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47191 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47192 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47193 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47194 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47195 libc_fetestexcept and libc_feupdateenv.
47196
4855e3dd
UD
47197 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47198 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47199 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47200 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47201 libc_feholdexcept_setround.
47202
581d30e3
UD
47203 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47204 Add s_nearbyint-c and s_nearbyintf-c.
47205 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47206 nearbyintf inlines.
47207 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47208 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47209 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47210 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47211
d38f1dba
UD
47212 * math/math_private.h: Define defaults for libc_fegetround,
47213 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47214 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47215 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47216 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47217 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47218 standard functions.
47219 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47220 Remove comments and hacks for old compiler versions.
47221 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47222 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47223 libc_feholdexceptl.
47224
caa6c9d8
AS
472252011-10-18 Andreas Schwab <schwab@redhat.com>
47226
47227 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47228 (__feraiseexcept_renamed): Add __NTH.
47229 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47230 namespace violations.
47231
97c066e6
UD
472322011-10-17 Ulrich Drepper <drepper@gmail.com>
47233
99ce7b04
UD
47234 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47235
1004d182
UD
47236 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47237
228a984d
UD
47238 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47239 recently added interfaces.
47240 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47241
c8553a6a
UD
47242 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47243 about macro parameter expansion.
47244
ed22dcf6
UD
47245 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47246 __NO_MATH_INLINES is defined. Cleanups.
47247
47248 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47249 and __floorf is target has SSE4.1.
47250 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47251 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47252 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47253 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47254
b171c137
UD
47255 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47256 name.
47257 (floorf): Likewise.
47258
97c066e6
UD
47259 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47260
629f62ef
AS
472612011-10-17 Andreas Schwab <schwab@redhat.com>
47262
49a43d80
AS
47263 * misc/sys/cdefs.h: Fix last change.
47264
629f62ef
AS
47265 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47266 database lookup.
47267
e453f6cd
UD
472682011-10-16 Ulrich Drepper <drepper@gmail.com>
47269
aa78043a
UD
47270 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47271
ad0f5cad
UD
47272 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47274 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47275 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47276 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47277 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47278 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47279 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47280 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47281 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47282 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47283 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47284 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47285 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47286 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47287 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47288 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47289 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47290 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47291 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47292 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47293 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47294
47295 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47296 ceil, ceilf, floor, floorf.
47297
47298 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47299 Perform IRELATIVE relocations last.
47300
e453f6cd
UD
47301 * elf/do-rel.h: Add another parameter nrelative, replacing the
47302 local variable with the same name. Change name of the function
47303 to end in Rel or Rela (uppercase).
47304 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47305 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47306 elf_dynamic_do_##reloc function.
47307
fd5bdc09
UD
473082011-10-15 Ulrich Drepper <drepper@gmail.com>
47309
79b195b5
UD
47310 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47311 is sufficient, at least on modern CPUs.
47312
d4a28569
UD
47313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47314
b61099b5
UD
47315 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47316 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47317
bcf01e6d
UD
47318 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47319 __expl_finite.
47320 * math/bits/math-finite.h: Add entries for exp.
47321 * math/e_expl.c: Add __*_finite alias.
47322 * sysdeps/i386/fpu/e_exp.S: Likewise.
47323 * sysdeps/i386/fpu/e_expf.S: Likewise.
47324 * sysdeps/i386/fpu/e_expl.c: Likewise.
47325 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47326 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47327 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47329 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47330 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47331 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47332
ba1a0d59
UD
47333 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47334 is sufficient, at least on modern CPUs.
47335
fd5bdc09
UD
47336 * ctype/ctype-info.c (__ctype_init): Define.
47337 * include/ctype.h (__ctype_init): Declare.
47338 (__ctype_b_loc): The variable is always initialized.
47339 (__ctype_toupper_loc): Likewise.
47340 (__ctype_tolower_loc): Likewise.
47341 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47342 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47343
7872cfb0
AS
473442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47345
b468825a
AS
47346 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47347
7872cfb0
AS
47348 * configure.in: Also look in $cxxmachine/include for C++ system
47349 headers.
47350
be13f7bf
LD
473512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47352
47353 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47354 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47355 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47356 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47357 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47358 (USE_AS_WMEMCMP): New macro.
47359 Fixing indents.
47360 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47361 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47362 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47363 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47365 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47366 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47367 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47368 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47369 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47370 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47371 (USE_AS_WMEMCMP): New macro.
47372 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47373 * sysdeps/string/test-memcmp.c: Update.
47374 Fix simple_wmemcmp.
47375 Add new tests.
47376 * wcsmbs/wmemcmp.c: Update.
47377 (WMEMCMP): New macro.
47378 Fix overflow bug.
47379
556a2007
AJ
473802011-10-12 Andreas Jaeger <aj@suse.de>
47381
47382 [BZ #13268]
47383 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47384
538faaa7
UD
473852011-10-15 Ulrich Drepper <drepper@gmail.com>
47386
ab6737ff
UD
47387 * libio/iofwide.c (do_length): Avoid warning.
47388
538faaa7
UD
47389 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47390
396a21b1
UD
473912011-10-14 Ulrich Drepper <drepper@gmail.com>
47392
cdf2901f
UD
47393 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47394
38ad40ce
UD
47395 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47396 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47397 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47398 * sysdeps/i386/i686/fpu/e_log.S: New file.
47399 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47400 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47401
396a21b1
UD
47402 * ctype/ctype.h: Add support for inlined isXXX functions when
47403 compiling C++ code.
47404
6b1f68c9
AS
474052011-10-14 Andreas Schwab <schwab@redhat.com>
47406
349290c0
AS
47407 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47408
6b1f68c9
AS
47409 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47410
f2282d42
RM
474112011-10-13 Roland McGrath <roland@hack.frob.com>
47412
47413 [BZ #13291]
47414 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47415
5298ffa8
AS
474162011-10-13 Andreas Schwab <schwab@redhat.com>
47417
714fad23
AS
47418 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47419 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47420 feraiseexcept.
47421
81dcc7fb
AS
47422 * sysdeps/x86_64/memrchr.S: Check for zero size.
47423
5298ffa8
AS
47424 * string/stratcliff.c: Add memrchr tests.
47425
951fbcec
LD
474262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47427
47428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47429 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47430 rawmemchr-sse2 rawmemchr-sse2-bsf.
47431 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47432 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47433 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47434 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47435 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47436 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47437 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47438 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47439 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47440 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47441 * string/memrchr.c (MEMRCHR): New macro.
47442
0ac5ae23
UD
474432011-10-12 Ulrich Drepper <drepper@gmail.com>
47444
47445 Add integration with gcc's -ffinite-math-only and optimize wrapper
47446 functions in libm.
47447 * Versions.def: Define GLIBC_2.15 version for libm.
47448 * math/Makefile (headers): Add bits/math-finite.h.
47449 * math/bits/math-finite.h: New file.
47450 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47451 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47452 * math/e_acoshl.c: Add __*_finite alias.
47453 * math/e_acosl.c: Likewise.
47454 * math/e_asinl.c: Likewise.
47455 * math/e_atan2l.c: Likewise.
47456 * math/e_atanhl.c: Likewise.
47457 * math/e_coshl.c: Likewise.
47458 * math/e_exp10.c: Likewise.
47459 * math/e_exp10f.c: Likewise.
47460 * math/e_exp10l.c: Likewise.
47461 * math/e_exp2l.c: Likewise.
47462 * math/e_fmodl.c: Likewise.
47463 * math/e_gammal_r.c: Likewise.
47464 * math/e_hypotl.c: Likewise.
47465 * math/e_j0l.c: Likewise.
47466 * math/e_j1l.c: Likewise.
47467 * math/e_jnl.c: Likewise.
47468 * math/e_lgammal_r.c: Likewise.
47469 * math/e_log10l.c: Likewise.
47470 * math/e_log2l.c: Likewise.
47471 * math/e_logl.c: Likewise.
47472 * math/e_powl.c: Likewise.
47473 * math/e_sinhl.c: Likewise.
47474 * math/e_sqrtl.c: Likewise.
47475 * math/e_scalb.c: Completely rewritten and optimized.
47476 * math/e_scalbf.c: Likewise.
47477 * math/e_scalbl.c: Likewise.
47478 * math/w_acos.c: Likewise.
47479 * math/w_acosf.c: Likewise.
47480 * math/w_acosl.c: Likewise.
47481 * math/w_acosh.c: Likewise.
47482 * math/w_acoshf.c: Likewise.
47483 * math/w_acoshl.c: Likewise.
47484 * math/w_asin.c: Likewise.
47485 * math/w_asinf.c: Likewise.
47486 * math/w_asinl.c: Likewise.
47487 * math/w_atan2.c: Likewise.
47488 * math/w_atan2f.c: Likewise.
47489 * math/w_atan2l.c: Likewise.
47490 * math/w_atanh.c: Likewise.
47491 * math/w_atanhf.c: Likewise.
47492 * math/w_atanhl.c: Likewise.
47493 * math/w_exp10.c: Likewise.
47494 * math/w_exp10f.c: Likewise.
47495 * math/w_exp10l.c: Likewise.
47496 * math/w_fmod.c: Likewise.
47497 * math/w_fmodf.c: Likewise.
47498 * math/w_fmodl.c: Likewise.
47499 * math/w_j0.c: Likewise.
47500 * math/w_j0f.c: Likewise.
47501 * math/w_j0l.c: Likewise.
47502 * math/w_j1.c: Likewise.
47503 * math/w_j1f.c: Likewise.
47504 * math/w_j1l.c: Likewise.
47505 * math/w_jn.c: Likewise.
47506 * math/w_jnf.c: Likewise.
47507 * math/w_log.c: Likewise.
47508 * math/w_logf.c: Likewise.
47509 * math/w_logl.c: Likewise.
47510 * math/w_log10.c: Likewise.
47511 * math/w_log10f.c: Likewise.
47512 * math/w_log10l.c: Likewise.
47513 * math/w_log2.c: Likewise.
47514 * math/w_log2f.c: Likewise.
47515 * math/w_log2l.c: Likewise.
47516 * math/w_pow.c: Likewise.
47517 * math/w_powf.c: Likewise.
47518 * math/w_powl.c: Likewise.
47519 * math/w_remainder.c: Likewise.
47520 * math/w_remainderf.c: Likewise.
47521 * math/w_remainderl.c: Likewise.
47522 * math/w_scalb.c: Likewise.
47523 * math/w_scalbf.c: Likewise.
47524 * math/w_scalbl.c: Likewise.
47525 * math/w_sqrt.c: Likewise.
47526 * math/w_sqrtf.c: Likewise.
47527 * math/w_sqrtl.c: Likewise.
47528 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47529 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47530 used.
47531 * math/math_private.h: Declare __kernel_standard_f.
47532 * math/w_cosh.c: Remove cruft and optimize a bit.
47533 * math/w_coshf.c: Likewise.
47534 * math/w_coshl.c: Likewise.
47535 * math/w_exp2.c: Likewise.
47536 * math/w_exp2f.c: Likewise.
47537 * math/w_exp2l.c: Likewise.
47538 * math/w_hypot.c: Likewise.
47539 * math/w_hypotf.c: Likewise.
47540 * math/w_hypotl.c: Likewise.
47541 * math/w_lgamma.c: Likewise.
47542 * math/w_lgamma_r.c: Likewise.
47543 * math/w_lgammaf.c: Likewise.
47544 * math/w_lgammaf_r.c: Likewise.
47545 * math/w_lgammal.c: Likewise.
47546 * math/w_lgammal_r.c: Likewise.
47547 * math/w_sinh.c: Likewise.
47548 * math/w_sinhf.c: Likewise.
47549 * math/w_sinhl.c: Likewise.
47550 * math/w_tgamma.c: Likewise.
47551 * math/w_tgammaf.c: Likewise.
47552 * math/w_tgammal.c: Likewise.
47553 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47554 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47555 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47556 Minor optimizations. Pretty printing. Remove cruft.
47557 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47558 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47559 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47560 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47561 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47562 * sysdeps/i386/fpu/e_asin.S: Likewise.
47563 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47564 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47565 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47566 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47567 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47568 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47569 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47570 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47571 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47572 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47573 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47574 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47575 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47576 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47577 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47578 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47579 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47580 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47581 * sysdeps/i386/fpu/e_log.S: Likewise.
47582 * sysdeps/i386/fpu/e_log10.S: Likewise.
47583 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47584 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47585 * sysdeps/i386/fpu/e_log2.S: Likewise.
47586 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47587 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47588 * sysdeps/i386/fpu/e_logf.S: Likewise.
47589 * sysdeps/i386/fpu/e_logl.S: Likewise.
47590 * sysdeps/i386/fpu/e_pow.S: Likewise.
47591 * sysdeps/i386/fpu/e_powf.S: Likewise.
47592 * sysdeps/i386/fpu/e_powl.S: Likewise.
47593 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47594 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47595 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47596 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47597 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47598 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47599 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47600 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47601 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47602 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47603 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47605 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47606 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47607 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47608 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47609 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47610 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47611 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47612 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47613 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47615 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47616 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47618 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47619 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47622 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47623 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47624 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47625 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47626 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47627 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47628 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47629 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47630 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47631 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47632 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47633 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47634 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47635 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47636 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47637 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47638 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47639 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47640 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47641 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47642 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47643 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47644 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47645 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47647 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47648 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47649 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47650 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47651 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47652 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47653 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47654 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47655 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47656 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47657 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47658 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47659 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47660 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47661 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47662 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47663 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47664 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47665 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47666 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47667 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47668 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47669 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47670 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47671 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47672 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47673 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47674 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47675 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47676 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47677 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47678 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47679 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47680 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47681 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47682 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47683 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47685 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47686 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47687 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47688 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47689 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47690 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47691 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47692 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47693 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47694 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47695 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47696 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47697 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47698 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47699 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47700 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47701 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47702 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47703 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47704 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47705 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47706 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47707 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47708 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47709 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47710 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47711 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47712 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47713 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47714 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47715 (__isnanf): Likewise.
47716 (__isinf_ns): Likewise.
47717 (__isinf_nsf): Likewise.
47718 (__finite): Likewise.
47719 (__finitef): Likewise.
47720 (__ieee754_sqrt): Define as macro.
47721 (__ieee754_sqrtf): Define as macro.
47722 (__ieee754_sqrtl): Define as macro.
47723 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47724 inlined copy.
47725 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47726 __FINITE_MATH_ONLY__ consistent.
47727 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47728
12cc2fcd
AS
477292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47730
a843a204
AS
47731 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47732 of rawmemchr.
47733
12cc2fcd
AS
47734 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47735
c853acd5
UD
477362011-10-09 Ulrich Drepper <drepper@gmail.com>
47737
47738 * po/ja.po: Update from translation team.
47739
c658d255
RM
477402011-10-08 Roland McGrath <roland@hack.frob.com>
47741
110946e4
RM
47742 * locale/programs/locarchive.c (prepare_address_space): New function.
47743 (create_archive, enlarge_archive, open_archive): Use it.
47744
50604220
RM
47745 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47746 inside [SHARED], where it is used.
47747
c658d255
RM
47748 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47749
47750 * nss/getent.c (netgroup_keys): Remove unused variable.
47751 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47752
6a621eb7
UD
477532011-10-08 Ulrich Drepper <drepper@gmail.com>
47754
7edb55ce
UD
47755 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47756 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47758 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47759 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47760 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47761 * math/Makefile (libm-calls): Add s_isinf_ns.
47762 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47763 * math/multc3.c: Likewise.
47764 * math/s_casin.c: Likewise.
47765 * math/s_casinf.c: Likewise.
47766 * math/s_casinl.c: Likewise.
47767 * math/s_ccos.c: Likewise.
47768 * math/s_ccosf.c: Likewise.
47769 * math/s_ccosl.c: Likewise.
47770 * math/s_ctan.c: Likewise.
47771 * math/s_ctanf.c: Likewise.
47772 * math/s_ctanh.c: Likewise.
47773 * math/s_ctanhf.c: Likewise.
47774 * math/s_ctanhl.c: Likewise.
47775 * math/s_ctanl.c: Likewise.
47776 * math/w_fmod.c: Likewise.
47777 * math/w_fmodf.c: Likewise.
47778 * math/w_fmodl.c: Likewise.
47779 * math/w_remainder.c: Likewise.
47780 * math/w_remainderf.c: Likewise.
47781 * math/w_remainderl.c: Likewise.
47782 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47783 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47784 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47786 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47787 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47788 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47789 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47790
187da0ae
UD
47791 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47792 of the number.
47793 * stdio-common/printf_fphex.c: Likewise.
47794 * stdio-common/printf_size.c: Likewise.
47795
9277c064
UD
47796 * math/e_exp10.c: Include math_private.h using <...> not "...".
47797 * math/e_exp10f.c: Likewise.
47798 * math/e_exp10l.c: Likewise.
47799 * math/e_exp2l.c: Likewise.
47800 * math/e_j0l.c: Likewise.
47801 * math/e_j1l.c: Likewise.
47802 * math/e_jnl.c: Likewise.
47803 * math/e_lgammal_r.c: Likewise.
47804 * math/e_rem_pio2l.c: Likewise.
47805 * math/e_scalb.c: Likewise.
47806 * math/e_scalbf.c: Likewise.
47807 * math/e_scalbl.c: Likewise.
47808 * math/k_cosl.c: Likewise.
47809 * math/k_sinl.c: Likewise.
47810 * math/k_tanl.c: Likewise.
47811 * math/s_cacoshf.c: Likewise.
47812 * math/s_catan.c: Likewise.
47813 * math/s_catanf.c: Likewise.
47814 * math/s_catanh.c: Likewise.
47815 * math/s_catanhf.c: Likewise.
47816 * math/s_catanhl.c: Likewise.
47817 * math/s_catanl.c: Likewise.
47818 * math/s_ccosh.c: Likewise.
47819 * math/s_ccoshf.c: Likewise.
47820 * math/s_ccoshl.c: Likewise.
47821 * math/s_cexp.c: Likewise.
47822 * math/s_cexpf.c: Likewise.
47823 * math/s_cexpl.c: Likewise.
47824 * math/s_clog.c: Likewise.
47825 * math/s_clog10.c: Likewise.
47826 * math/s_clog10f.c: Likewise.
47827 * math/s_clog10l.c: Likewise.
47828 * math/s_clogf.c: Likewise.
47829 * math/s_clogl.c: Likewise.
47830 * math/s_csin.c: Likewise.
47831 * math/s_csinf.c: Likewise.
47832 * math/s_csinh.c: Likewise.
47833 * math/s_csinhf.c: Likewise.
47834 * math/s_csinhl.c: Likewise.
47835 * math/s_csinl.c: Likewise.
47836 * math/s_csqrt.c: Likewise.
47837 * math/s_csqrtf.c: Likewise.
47838 * math/s_csqrtl.c: Likewise.
47839 * math/s_ctan.c: Likewise.
47840 * math/s_ctanf.c: Likewise.
47841 * math/s_ctanh.c: Likewise.
47842 * math/s_ctanhf.c: Likewise.
47843 * math/s_ctanhl.c: Likewise.
47844 * math/s_ctanl.c: Likewise.
47845 * math/s_ldexp.c: Likewise.
47846 * math/s_ldexpf.c: Likewise.
47847 * math/s_ldexpl.c: Likewise.
47848 * math/s_significand.c: Likewise.
47849 * math/s_significandf.c: Likewise.
47850 * math/s_significandl.c: Likewise.
47851 * math/w_acos.c: Likewise.
47852 * math/w_acosf.c: Likewise.
47853 * math/w_acosh.c: Likewise.
47854 * math/w_acoshf.c: Likewise.
47855 * math/w_acoshl.c: Likewise.
47856 * math/w_acosl.c: Likewise.
47857 * math/w_asin.c: Likewise.
47858 * math/w_asinf.c: Likewise.
47859 * math/w_asinl.c: Likewise.
47860 * math/w_atan2.c: Likewise.
47861 * math/w_atan2f.c: Likewise.
47862 * math/w_atan2l.c: Likewise.
47863 * math/w_atanh.c: Likewise.
47864 * math/w_atanhf.c: Likewise.
47865 * math/w_atanhl.c: Likewise.
47866 * math/w_cosh.c: Likewise.
47867 * math/w_coshf.c: Likewise.
47868 * math/w_coshl.c: Likewise.
47869 * math/w_dremf.c: Likewise.
47870 * math/w_exp10.c: Likewise.
47871 * math/w_exp10f.c: Likewise.
47872 * math/w_exp10l.c: Likewise.
47873 * math/w_exp2.c: Likewise.
47874 * math/w_exp2f.c: Likewise.
47875 * math/w_fmod.c: Likewise.
47876 * math/w_fmodf.c: Likewise.
47877 * math/w_fmodl.c: Likewise.
47878 * math/w_hypot.c: Likewise.
47879 * math/w_hypotf.c: Likewise.
47880 * math/w_hypotl.c: Likewise.
47881 * math/w_j0.c: Likewise.
47882 * math/w_j0f.c: Likewise.
47883 * math/w_j0l.c: Likewise.
47884 * math/w_j1.c: Likewise.
47885 * math/w_j1f.c: Likewise.
47886 * math/w_j1l.c: Likewise.
47887 * math/w_jn.c: Likewise.
47888 * math/w_jnf.c: Likewise.
47889 * math/w_jnl.c: Likewise.
47890 * math/w_lgamma.c: Likewise.
47891 * math/w_lgamma_r.c: Likewise.
47892 * math/w_lgammaf.c: Likewise.
47893 * math/w_lgammaf_r.c: Likewise.
47894 * math/w_lgammal.c: Likewise.
47895 * math/w_lgammal_r.c: Likewise.
47896 * math/w_log.c: Likewise.
47897 * math/w_log10.c: Likewise.
47898 * math/w_log10f.c: Likewise.
47899 * math/w_log10l.c: Likewise.
47900 * math/w_log2.c: Likewise.
47901 * math/w_log2f.c: Likewise.
47902 * math/w_log2l.c: Likewise.
47903 * math/w_logf.c: Likewise.
47904 * math/w_logl.c: Likewise.
47905 * math/w_pow.c: Likewise.
47906 * math/w_powf.c: Likewise.
47907 * math/w_powl.c: Likewise.
47908 * math/w_remainder.c: Likewise.
47909 * math/w_remainderf.c: Likewise.
47910 * math/w_remainderl.c: Likewise.
47911 * math/w_scalb.c: Likewise.
47912 * math/w_scalbf.c: Likewise.
47913 * math/w_scalbl.c: Likewise.
47914 * math/w_sinh.c: Likewise.
47915 * math/w_sinhf.c: Likewise.
47916 * math/w_sinhl.c: Likewise.
47917 * math/w_sqrt.c: Likewise.
47918 * math/w_sqrtf.c: Likewise.
47919 * math/w_sqrtl.c: Likewise.
47920 * math/w_tgamma.c: Likewise.
47921 * math/w_tgammaf.c: Likewise.
47922 * math/w_tgammal.c: Likewise.
47923
6a621eb7
UD
47924 * po/ja.po: Update from translation team.
47925
bf582445
AJ
479262011-09-29 Andreas Jaeger <aj@suse.de>
47927
f9efbf3a
AJ
47928 [BZ #13179]
47929 * sunrpc/netname.c (netname2host): Fix logic.
47930
bf582445
AJ
47931 [BZ #6779]
47932 [BZ #6783]
47933 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47934 correctly.
47935 * math/w_remainder.c (__remainder): Likewise.
47936 * math/w_remainderf.c (__remainderf): Likewise.
47937 * math/libm-test.inc (remainder_test): Add test cases.
47938
48693bea
AK
479392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47940
47941 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47942 sdiv_qrnnd.
47943
42622229
LD
479442011-10-07 Ulrich Drepper <drepper@gmail.com>
47945
47946 * string/test-memcmp.c: Avoid unncessary #defines.
47947 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47948
093ecf92
LD
479492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47950
47951 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47952 Use new sse2 version for core i3 - i7 as it's faster
47953 than sse42 version.
47954 (bit_Prefer_PMINUB_for_stringop): New.
47955 * sysdeps/x86_64/rawmemchr.S: Update.
47956 Replace with faster SSE2 version.
47957 * sysdeps/x86_64/memrchr.S: New file.
47958 * sysdeps/x86_64/memchr.S: Update.
47959 Replace with faster SSE2 version.
47960
fde56e5c
MP
479612011-09-12 Marek Polacek <mpolacek@redhat.com>
47962
47963 * elf/dl-load.c (lose): Add cast to avoid warning.
47964
21fd49a9
UD
479652011-10-07 Ulrich Drepper <drepper@gmail.com>
47966
5a06e643
UD
47967 * po/ca.po: Update from translation team.
47968
684ae515
UD
47969 * inet/getnetgrent_r.c: Hook up nscd.
47970 * nscd/Makefile (routines): Add nscd_netgroup.
47971 (nscd-modules): Add netgroupcache.
47972 (CFLAGS-netgroupcache.c): Define.
47973 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47974 (cache_search): Add const to second parameter.
47975 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47976 INNETGR.
47977 (dbs): Add netgrdb entry.
47978 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47979 (verify_persistent_db): Handle netgrdb.
47980 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47981 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47982 GETFDNETGR.
47983 (netgroup_response_header): Define.
47984 (innetgroup_response_header): Define.
47985 (datahead): Add netgroup_response_header and innetgroup_response_header
47986 elements.
47987 * nscd/nscd.conf: Add entries for netgroup cache.
47988 * nscd/nscd.h (dbtype): Add netgrdb.
47989 (_PATH_NSCD_NETGROUP_DB): Define.
47990 (netgroup_iov_disabled): Declare.
47991 (xmalloc, xcalloc, xrealloc): Move declarations here.
47992 (cache_search): Adjust prototype.
47993 Add netgroup-related prototypes.
47994 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47995 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47996 (__nscd_innetgr): Declare.
47997 * nscd/selinux.c (perms): Use access_vector_t as element type and
47998 add netgroup-related initializers.
47999 * nscd/netgroupcache.c: New file.
48000 * nscd/nscd_netgroup.c: New file.
48001 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48002 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48003 For four parameters use innetgr.
48004 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48005 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48006 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48007 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48008
21fd49a9
UD
48009 * nscd/connections.c (register_traced_file): Don't register file
48010 for disabled databases.
48011
054c0457
UD
480122011-10-06 Ulrich Drepper <drepper@gmail.com>
48013
32b63198
UD
48014 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48015
054c0457
UD
48016 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48017 from tree and freeing node.
48018
64031225
JO
480192011-09-25 Jiri Olsa <jolsa@redhat.com>
48020
48021 * nss/nsswitch.c (__nss_database_lookup): Handle
48022 nss_parse_service_list out of memory case.
48023
0490345c
JO
480242011-09-15 Jiri Olsa <jolsa@redhat.com>
48025
48026 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48027 out of memory case.
48028
3a62d00d
AS
480292011-10-04 Andreas Schwab <schwab@redhat.com>
48030
48031 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48032 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48033 pass it down.
48034 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48035 elf_machine_rela, elf_machine_lazy_rel.
48036 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48037 (ELF_DYNAMIC_DO_REL): Likewise.
48038 (ELF_DYNAMIC_DO_RELA): Likewise.
48039 (ELF_DYNAMIC_RELOCATE): Likewise.
48040 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48041 to ELF_DYNAMIC_DO_REL.
48042 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48043 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48044 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48045 elf_machine_rela.
48046 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48047 skip_ifunc, don't call ifunc function if non-zero.
48048 (elf_machine_rela): Likewise.
48049 (elf_machine_lazy_rel): Likewise.
48050 (elf_machine_lazy_rela): Likewise.
48051 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48052 (elf_machine_lazy_rel): Likewise.
48053 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48054 Likewise.
48055 (elf_machine_lazy_rel): Likewise.
48056 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48057 Likewise.
48058 (elf_machine_lazy_rel): Likewise.
48059 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48060 (elf_machine_lazy_rel): Likewise.
48061 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48062 (elf_machine_lazy_rel): Likewise.
48063 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48064 (elf_machine_lazy_rel): Likewise.
48065 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48066 (elf_machine_lazy_rel): Likewise.
48067 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48068 (elf_machine_lazy_rel): Likewise.
48069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48070 (elf_machine_lazy_rel): Likewise.
48071
68577918
UD
480722011-09-28 Ulrich Drepper <drepper@gmail.com>
48073
48074 * nss/nss_files/files-init.c (_nss_files_init): Use static
48075 initialization for all the *_traced_file variables.
48076
68822d74
AS
480772011-09-28 Andreas Schwab <schwab@redhat.com>
48078
48079 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48080
2056100b
RM
480812011-09-27 Roland McGrath <roland@hack.frob.com>
48082
48083 [BZ #13226]
48084 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48085
32c76b63
AS
480862011-09-27 Andreas Schwab <schwab@redhat.com>
48087
48088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48089 Reread the line before reparsing it.
48090
bf972c9d
AS
480912011-09-26 Andreas Schwab <schwab@redhat.com>
48092
48093 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48094
e057a1b5
JM
480952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48096 Maxim Kuvyrkov <maxim@codesourcery.com>
48097 Joseph Myers <joseph@codesourcery.com>
48098
48099 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48100 if needed for __stack_chk_guard.
48101
bc7e1c36
RM
481022011-09-19 Roland McGrath <roland@hack.frob.com>
48103
ecb1482f
RM
48104 * sysdeps/posix/spawni.c (script_execute): Always define it.
48105 It will be optimized away if unused.
48106 (maybe_script_execute): New function.
48107 (__spawni): Call it.
48108
bc7e1c36
RM
48109 * Makerules: Don't include tls.make.
48110 (config-tls): Always set to thread.
48111 * tls.make.c: File removed.
48112
1c3b002b
MF
481132011-09-19 Mike Frysinger <vapier@gentoo.org>
48114
48115 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48116 * config.make.in (CPPFLAGS-config): New substituted variable.
48117
2840865d
UD
481182011-09-15 Ulrich Drepper <drepper@gmail.com>
48119
88738eb6
UD
48120 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48121
cbf645a6 48122 [BZ #13192]
2840865d
UD
48123 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48124 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48125
b402e91a
RM
481262011-09-15 Roland McGrath <roland@hack.frob.com>
48127
48128 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48129 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48131 (CALL_FAIL): Likewise.
48132 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48133 (CALL_FAIL): Macro removed.
48134 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48135
4c1a1f71
UD
481362011-09-15 Ulrich Drepper <drepper@gmail.com>
48137
48138 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48139 for __FINITE_MATH_ONLY__ == 1.
48140
edc121be
AS
481412011-09-15 Andreas Schwab <schwab@redhat.com>
48142
48143 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48144 __ieee754_sqrt instead of sqrt.
48145 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48146 __ieee754_sqrtf instead of sqrtf.
48147 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48148 __floorf instead of floorf.
48149 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48150 __floorf, __truncf instead of floorf, truncf.
48151
cd205654
UD
481522011-09-14 Ulrich Drepper <drepper@gmail.com>
48153
ee4d0315
UD
48154 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48155
cd205654
UD
48156 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48157 __extern_always_inline.
48158 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48159 32-bit.
48160
48b67d71
AS
481612011-09-14 Andreas Schwab <schwab@redhat.com>
48162
48163 * elf/rtld.c (dl_main): Also relocate in dependency order when
48164 doing symbol dependency testing.
48165
1ae12c75
AS
481662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48167
48168 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48169 Always define `refsym'.
48170
995a80df
AS
481712011-09-13 Andreas Schwab <schwab@redhat.com>
48172
e529793b
AS
48173 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48174 (__FD_ELT): Renamed from __FDELT.
48175 * misc/bits/select2.h (__FD_ELT): Likewise.
48176 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48177 __FD_MASK instead of __FDELT, __FDMASK.
48178 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48179 Likewise.
48180 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48181 Likewise.
48182
52d4fef8
AS
48183 * elf/Makefile (gen-ldd): Fix pattern.
48184
995a80df
AS
48185 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48186 (init_tls): Likewise.
48187
8682f8b0
UD
481882011-09-12 Ulrich Drepper <drepper@gmail.com>
48189
48190 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48191
de82006d
AS
481922011-09-12 Andreas Schwab <schwab@redhat.com>
48193
a7c8e6a1
AS
48194 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48195 `struct cmsghdr *' instead of `void *'.
48196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48197 Likewise.
48198
0f31fe77
AS
481992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48200
48201 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48202 if non-absolute.
48203 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48204 ldd_rewrite_script.
0f31fe77 48205
32b4c839
UD
482062011-09-11 Ulrich Drepper <drepper@gmail.com>
48207
83cd1420
UD
48208 * configure.in: Remove --with-tls option.
48209 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48210 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48211 out in case it is missing.
48212 * sysdeps/ia64/elf/configure.in: Likewise.
48213 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48214 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48215 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48216 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48217 * sysdeps/sh/elf/configure.in: Likewise.
48218 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48219 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48220 * sysdeps/x86_64/elf/configure.in: Likewise.
48221 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48222 * sysdeps/mach/hurd/tls.h: Likewise.
48223
633f745d
UD
48224 [BZ #13067]
48225 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48226
f318beb8
UD
48227 [BZ #13090]
48228 * configure.in: Fix use of AC_INIT.
48229
32b4c839
UD
48230 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48231
3ce1f295
UD
482322011-09-10 Ulrich Drepper <drepper@gmail.com>
48233
bb016596
UD
48234 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48235 __set_errno.
8e58439c
UD
48236 * malloc/hooks.c: Likewise.
48237
aebae053 48238 [BZ #11929]
02d46fc4
UD
48239 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48240 variables statically.
48241 (narenas): Initialize.
48242 (list_lock): Initialize.
bb016596
UD
48243 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48244 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48245 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48246 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48247 Add initializers to main_arena and mp_.
48248 (malloc_state): Remove pagesize member. Change all users to use
48249 GLRO(dl_pagesize).
48250
48251 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48252 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48253 is always initialized.
48254
22a89187
UD
48255 * malloc/malloc.c: Removed unused configurations and dead code.
48256 * malloc/arena.c: Likewise.
48257 * malloc/hooks.c: Likewise.
02d46fc4 48258 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48259
d063d164
UD
48260 * include/tls.h: Removed. USE___THREAD must always be defined.
48261 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48262 * elf/dl-libc.c: Likewise.
48263 * elf/dl-tsd.c: Likewise.
48264 * include/errno.h: Likewise.
48265 * include/netdb.h: Likewise.
48266 * include/resolv.h: Likewise.
48267 * inet/herrno-loc.c: Likewise.
48268 * inet/herrno.c: Likewise.
48269 * malloc/arena.c: Likewise.
48270 * malloc/hooks.c: Likewise.
48271 * malloc/malloc.c: Likewise.
48272 * resolv/res-state.c: Likewise.
48273 * resolv/res_libc.c: Likewise.
48274 * sysdeps/i386/dl-machine.h: Likewise.
48275 * sysdeps/ia64/dl-machine.h: Likewise.
48276 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48277 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48278 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48279 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48280 * sysdeps/sh/dl-machine.h: Likewise.
48281 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48282 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48283 * sysdeps/unix/i386/sysdep.S: Likewise.
48284 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48285 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48287 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48288 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48290 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48292 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48294 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48295 * sysdeps/x86_64/dl-machine.h: Likewise.
48296 * tls.make.c: Likewise.
48297
3ce1f295
UD
48298 * configure.in: Remove --with-__thread option. Make tests for
48299 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48300 tls_model attribute fail if no support is available. Remove
48301 USE_IN_LIBIO.
48302 * Makeconfig: Adjust for dropped configure option. All features are
48303 now mandatory.
48304 * Makerules: Likewise.
48305 * Versions.def: Likewise.
48306 * argp/argp-fmtstream.c: Likewise.
48307 * argp/argp-fmtstream.h: Likewise.
48308 * argp/argp-help.c: Likewise.
48309 * assert/assert.c: Likewise.
48310 * config.h.in: Likewise.
48311 * config.make.in: Likewise.
48312 * configure: Likewise.
48313 * configure.in: Likewise.
48314 * csu/Versions: Likewise.
48315 * csu/init.c: Likewise.
48316 * elf/tst-audit2.c: Likewise.
48317 * elf/tst-tls10.c: Likewise.
48318 * elf/tst-tls10.h: Likewise.
48319 * elf/tst-tls11.c: Likewise.
48320 * elf/tst-tls12.c: Likewise.
48321 * elf/tst-tls14.c: Likewise.
48322 * elf/tst-tlsmod11.c: Likewise.
48323 * elf/tst-tlsmod12.c: Likewise.
48324 * elf/tst-tlsmod13.c: Likewise.
48325 * elf/tst-tlsmod13a.c: Likewise.
48326 * elf/tst-tlsmod14a.c: Likewise.
48327 * elf/tst-tlsmod15b.c: Likewise.
48328 * elf/tst-tlsmod16a.c: Likewise.
48329 * elf/tst-tlsmod16b.c: Likewise.
48330 * elf/tst-tlsmod7.c: Likewise.
48331 * elf/tst-tlsmod8.c: Likewise.
48332 * elf/tst-tlsmod9.c: Likewise.
48333 * gmon/gmon.c: Likewise.
48334 * grp/fgetgrent_r.c: Likewise.
48335 * grp/putgrent.c: Likewise.
48336 * hurd/fopenport.c: Likewise.
48337 * include/libc-symbols.h: Likewise.
48338 * include/tls.h: Likewise.
48339 * intl/gettextP.h: Likewise.
48340 * intl/loadinfo.h: Likewise.
48341 * locale/global-locale.c: Likewise.
48342 * locale/localeinfo.h: Likewise.
48343 * mach/devstream.c: Likewise.
48344 * malloc/arena.c: Likewise.
48345 * malloc/set-freeres.c: Likewise.
48346 * misc/err.c: Likewise.
48347 * misc/getttyent.c: Likewise.
48348 * misc/mntent_r.c: Likewise.
48349 * posix/getopt.c: Likewise.
48350 * posix/wordexp.c: Likewise.
48351 * pwd/fgetpwent_r.c: Likewise.
48352 * resolv/Versions: Likewise.
48353 * resolv/res_hconf.c: Likewise.
48354 * shadow/fgetspent_r.c: Likewise.
48355 * shadow/putspent.c: Likewise.
48356 * stdio-common/printf_fphex.c: Likewise.
48357 * stdio-common/tmpfile.c: Likewise.
48358 * stdlib/abort.c: Likewise.
48359 * stdlib/fmtmsg.c: Likewise.
48360 * sunrpc/auth_unix.c: Likewise.
48361 * sunrpc/clnt_perr.c: Likewise.
48362 * sunrpc/clnt_tcp.c: Likewise.
48363 * sunrpc/clnt_udp.c: Likewise.
48364 * sunrpc/clnt_unix.c: Likewise.
48365 * sunrpc/openchild.c: Likewise.
48366 * sunrpc/svc_simple.c: Likewise.
48367 * sunrpc/svc_tcp.c: Likewise.
48368 * sunrpc/svc_udp.c: Likewise.
48369 * sunrpc/svc_unix.c: Likewise.
48370 * sunrpc/xdr.c: Likewise.
48371 * sunrpc/xdr_array.c: Likewise.
48372 * sunrpc/xdr_rec.c: Likewise.
48373 * sunrpc/xdr_ref.c: Likewise.
48374 * sunrpc/xdr_stdio.c: Likewise.
48375
1248c1c4
PB
483762011-09-09 Ulrich Drepper <drepper@gmail.com>
48377
48378 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48379
483802011-07-03 Andreas Jaeger <aj@suse.de>
48381
48382 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48383 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48384 regenerate with gen-libm-tests.pl.
48385
483862010-05-12 Petr Baudis <pasky@suse.cz>
48387
48388 [BZ #11589]
48389 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48390 around j0() zero points by switching to j1().
48391 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48392 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48393 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48394 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48395
f22e1074
UD
483962011-09-09 Ulrich Drepper <drepper@gmail.com>
48397
f19009c1
UD
48398 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48399 instead of 0.
48400 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48401 instead of 0.
f19009c1
UD
48402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48403 Patch in part by Pavel Roskin <proski@gnu.org>.
48404
3f8cc204
UD
48405 [BZ #13138]
48406 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48407 realloc.
48408 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48409 Free memory block if necessary.
48410
f22e1074
UD
48411 [BZ #12847]
48412 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48413 be NULL. Don't lock in this case.
48414
0a2349f9
RM
484152011-09-09 Roland McGrath <roland@hack.frob.com>
48416
48417 * elf/elf.h (ELFOSABI_GNU): New macro.
48418 (ELFOSABI_LINUX): Define to that.
48419
f3cdd467
DZ
484202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48421
48422 * string/strncat.c (strncat): Undef the symbol in case it has been
48423 defined in bits/string.h.
48424
74718d13
UD
484252011-09-09 Ulrich Drepper <drepper@gmail.com>
48426
633e9e0f
UD
48427 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48428
0a2349f9 48429 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48430 link map.
48431
f9924780
AJ
484322011-08-17 Andreas Jaeger <aj@suse.de>
48433
48434 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48435
7f5517aa
PP
484362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48437 Ian Lance Taylor <iant@google.com>
48438
48439 * math/libm-test.inc (lround_test): New testcase.
48440 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48441
762011fe
UD
484422011-09-08 Ulrich Drepper <drepper@gmail.com>
48443
92963737
UD
48444 * Makefile: Remove support for automatic cvs check-ins.
48445 * Makerules: Likewise.
48446 * config.make.in: Likewise.
48447 * configure.in: Likewise.
48448 * intl/Makefile: Likewise.
48449 * locale/Makefile: Likewise.
48450 * po/Makefile: Likewise.
48451 * posix/Makefile: Likewise.
48452 * sysdeps/gnu/Makefile: Likewise.
48453 * sysdeps/mach/hurd/Makefile: Likewise.
48454 * sysdeps/sparc/sparc32/Makefile: Likewise.
48455
b0727fd8
JS
48456 [BZ #13118]
48457 * posix/Makefile (bug-regex32-ENV): Define.
48458 Patch by John Stanley <jpsinthemix@verizon.net>.
48459
a0f33f99
UD
48460 * misc/Makefile (headers): Add bits/select2.h.
48461 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48462 * misc/bits/select2.h: New file.
48463 * include/bits/select2.h: New file.
48464 * debug/Makefile (routines): Add fdelt_chk.
48465 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48466 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48467 FD_ISSET.
48468 * debug/fdelt_chk.c: New file.
48469
762011fe
UD
48470 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48471 * wcsmbs/test-wmemcmp.c: Likewise.
48472 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48473 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48474
484752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48476
48477 * string/Makefile (strop-tests): Add memcmp.
48478 * string/test-wmemcmp.c: New file.
48479 * string/test-memcmp.c: Add wmemcmp support.
48480
7f513ec8
RM
484812011-09-08 Roland McGrath <roland@hack.frob.com>
48482
0442afb4
RM
48483 [BZ #13153]
48484 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48485 2011-07-19 change.
48486
7f513ec8
RM
48487 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48488 garbage value in a __mach_port_mod_refs call in the cases of the
48489 task-self and thread-self ports.
48490
a12b2239
ST
484912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48492
48493 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48494
610f9ab4
AS
484952011-09-08 Andreas Schwab <schwab@redhat.com>
48496
7f513ec8 48497 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48498
48882a1a
LD
484992011-09-07 Ulrich Drepper <drepper@gmail.com>
48500
b49865be
UD
48501 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48502
fdc86bc9
UD
48503 * elf/dl-libc.c (dlerror_run): Pass back error code from
48504 dl_catch_error.
48505
c966526a
UD
48506 [BZ #13123]
48507 * elf/dl-load.c (lose): Free l_origin if it is valid.
48508
48882a1a
LD
48509 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48510 names.
48511 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48512 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48513 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48514 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48515 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48516 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48517
77a2a8b4
AZ
485182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48519
48520 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48521 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48522 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48523 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48524 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48525 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48526 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48527 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48528 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48529 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48530
24f579d8
AM
485312011-08-15 Alan Modra <amodra@gmail.com>
48532
48533 [BZ #13092]
48534 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48535 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48536 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48537 ppc_mcount to static-only-routines.
48538 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48539 __mcount_internal.
48540 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48541 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48542
3d4837df
UD
485432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48544
48545 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48546 for finite and infinity parameters.
48547
22700377
WS
485482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48549
48550 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48551 and add nop instructions for throughput optimization.
48552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48553
5025581e
WS
485542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48555
48556 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48557 aligned copy for power7 with vector-scalar instructions.
48558 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48559
08a300c9
L
485602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48561
48562 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48563 AVX check.
48564
59178ef9
AS
485652011-09-07 Andreas Schwab <schwab@redhat.com>
48566
48567 [BZ #13144]
48568 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48569 last change.
48570
e38ba7ab
UD
485712011-09-07 Ulrich Drepper <drepper@gmail.com>
48572
48573 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48574 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48575 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48576 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48577 clock_gettime.
48578
d53a73ac
UD
485792011-09-06 Ulrich Drepper <drepper@gmail.com>
48580
fc8bffcc
UD
48581 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48582 Forgot to demangle the pointer.
48583
ceaa0c5d
UD
48584 * sysdeps/i386/sysdep.h: Define atom_text_section.
48585 * sysdeps/x86_64/sysdep.h: Likewise.
48586 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48587 section with atom_text_section.
48588 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48589 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48590 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48591 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48592 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48593
a77d3c17
UD
48594 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48595 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48596 already be defined. Change to take two parameters and don't assign
48597 result to variable. Adjust all users.
48598 Define INTERNAL_GETTIME if not already defined.
48599 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48600 call.
48601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48602 HAVE_CLOCK_GETTIME_VSYSCALL.
48603 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48604
d53a73ac
UD
48605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48606 gettimeofday vsyscall, just use time.
48607
a8f84144
AS
486082011-09-06 Andreas Schwab <schwab@redhat.com>
48609
48610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48611 <errno.h>.
48612
ef606249
UD
486132011-09-06 Ulrich Drepper <drepper@gmail.com>
48614
48615 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48616 syscall on x86-64.
48617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48618 syscall.
48619 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48620 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48621 syscall if possible.
48622
6585cb60
UD
486232011-09-05 Ulrich Drepper <drepper@gmail.com>
48624
48625 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48626 e_ident. Don't pass to find_mapsXX.
48627 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48628
a5f524e4
LD
486292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48630
48631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48632 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48633 * sysdeps/x86_64/multiarch/strchr.S: Update.
48634 Check bit_slow_BSF bit.
48635 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48636 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48637 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48638
554881ef
UD
486392011-09-05 Ulrich Drepper <drepper@gmail.com>
48640
d96de963
UD
48641 [BZ #13134]
48642 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48643 before glibc 2.15.
48644 (tryshell): Define.
48645 (__spawni): Change last parameter to be flag. Test
48646 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48647 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48648 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48649 * posix/spawni.c: Likewise.
48650 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48651 * posix/spawnp.c: Likewise. Change normal version to use
48652 SPAWN_XFLAGS_USE_PATH.
48653 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48654 SPAWN_XFLAGS_TRY_SHELL.
48655
d48e5868
UD
48656 [BZ #13150]
48657 * posix/glob.h: Remove gcc 1.x support.
48658
554881ef
UD
48659 [BZ #13068]
48660 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48661
693fb948
LD
486622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48663
48664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48665 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48666 strrchr-sse2-bsf
48667 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48668 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48669 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48670 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48671 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48672 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48673
1b48c537
UD
486742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48675
49d42c37
UD
48676 * sysdeps/x86_64/wcscmp.S: New file.
48677
1b48c537
UD
48678 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48679 wcscmp-c wcscmp-sse2
48680 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48681 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48682 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48683 * wcsmbs/wcscmp.c: Allow renaming.
48684
15c95c5d
DM
486852011-09-05 David S. Miller <davem@davemloft.net>
48686
48687 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48688 stack slot, rather than the struct return pointer slot.
48689 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48690 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48692 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48693
2f0ad8f3
UD
486942011-09-05 Ulrich Drepper <drepper@gmail.com>
48695
d88ae418
UD
48696 * po/ja.po: Update from translation team.
48697
2f0ad8f3
UD
48698 [BZ #13144]
48699 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48700 kernel in 64-bit binaries.
48701
5f4318d1
DM
487022011-09-01 David S. Miller <davem@davemloft.net>
48703
48704 * elf/elf.h (HWCAP_SPARC_*): Move to..
48705 * sysdeps/sparc/sysdep.h: this new file and add new values.
48706 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48707 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48708 _DL_HWCAP_COUNT to 24.
48709 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48710 entries.
48711 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48712 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48713 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48715 instead of magic constants.
48716 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48717
3ba57516
DM
487182011-08-31 David S. Miller <davem@davemloft.net>
48719
48720 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48722 Reimplement to do errno handling inline.
48723 (SYSCALL_ERROR_HANDLER): New macro.
48724 (__SYSCALL_STRING): Do not do errno handling in asm.
48725 (__CLONE_SYSCALL_STRING): Delete.
48726 (__INTERNAL_SYSCALL_STRING): Delete.
48727 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48728 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48729 (PSEUDO): Reimplement to do errno handling inline.
48730 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48731 (SYSCALL_ERROR_HANDLER): New macro.
48732 (__SYSCALL_STRING): Do not do errno handling in asm.
48733 (__CLONE_SYSCALL_STRING): Delete.
48734 (__INTERNAL_SYSCALL_STRING): Delete.
48735 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48736 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48737 i386.
48738 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48739 (inline_syscall*): Add 'err' argument.
48740 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48741 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48742 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48743 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48744
48745 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48746 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48747
2bc17433
AS
487482011-08-30 Andreas Schwab <schwab@redhat.com>
48749
48750 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48751
fbeb5f4d
JO
487522011-08-29 Jiri Olsa <jolsa@redhat.com>
48753
48754 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48755 directive.
48756
ad69cc26
DM
487572011-08-24 David S. Miller <davem@davemloft.net>
48758
48759 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48760
39dd69df
AS
487612011-08-24 Andreas Schwab <schwab@redhat.com>
48762
48763 * elf/Makefile: Add rules to build and run unload8 test.
48764 * elf/unload8.c: New file.
48765 * elf/unload8mod1.c: New file.
48766 * elf/unload8mod1x.c: New file.
48767 * elf/unload8mod2.c: New file.
48768 * elf/unload8mod3.c: New file.
48769
48770 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48771 it wasn't used.
48772
2c0b250a
DM
487732011-08-23 David S. Miller <davem@davemloft.net>
48774
48775 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48776 subtract stack bias.
48777 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48778 %sp not %fp in calculations.
48779 (_JMPBUF_UNWINDS_ADJ): Likewise.
48780
22044b48
DM
48781 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48782 (aio_suspend): Call it to force an exception region around the
48783 AIO_MISC_WAIT() invocation.
48784
2cae4995
AS
487852011-08-23 Andreas Schwab <schwab@redhat.com>
48786
48787 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48788 backslash.
48789
873a772e
AJ
487902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48791
48792 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48793 protection macro.
48794 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48795 and <dl-machine.h>.
48796 (Elf64_FuncDesc): Remove.
48797
25ad0df1
DM
487982011-08-22 David S. Miller <davem@davemloft.net>
48799
48800 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48801 sigaltstack check, add missing cfi directives.
48802 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48803 missing cfi directives, and sigaltstack handling.
48804
e888bcbe
AS
488052011-08-16 Andreas Schwab <schwab@redhat.com>
48806
48807 [BZ #11724]
48808 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48809 object is seen twice.
48810 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48811
48812 * elf/Makefile (distribute): Add tst-initorder2.c.
48813 (tests): Add tst-initorder2.
48814 (modules-names): Add tst-initorder2a tst-initorder2b
48815 tst-initorder2c tst-initorder2d. Add rules to build them.
48816 ($(objpfx)tst-initorder2.out): New rule.
48817 * elf/tst-initorder2.c: New file.
48818 * elf/tst-initorder2.exp: New file.
48819
87162f46
AS
488202011-08-22 Andreas Schwab <schwab@redhat.com>
48821
70538b7f
AS
48822 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48823
f55ffe58
AS
48824 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48825 dependencies back to end of function.
48826
87162f46
AS
48827 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48828 $(elfobjdir)/ld.so.
48829
91b392a4
UD
488302011-08-21 Ulrich Drepper <drepper@gmail.com>
48831
48832 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48833 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48834 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48835 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48836 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48837 of __vdso_gettimeofday.
48838 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48839 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48840 attribute_hidden.
48841 (_libc_vdso_platform_setup): Remove initialization of
48842 __vdso_gettimeofday and __vdso_time.
48843
5c43483f
UD
488442011-08-20 Ulrich Drepper <drepper@gmail.com>
48845
775a77e7
UD
48846 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48847 and fgetc_unlocked.
48848 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48849 getc_unlocked.
89f447ed 48850
49c74ba9
UD
48851 * elf/dl-open.c (add_to_global): Report additions to the global scope
48852 for LD_DEBUG=scopes.
48853 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48854 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48855
5c43483f
UD
48856 [BZ #13114]
48857 * stdio-common/Makefile (tests): Add bug24.
48858 * stdio-common/bug24.c: New file.
48859
a101b025
AJ
488602011-08-19 Andreas Jaeger <aj@suse.de>
48861
48862 [BZ #13114]
48863 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48864 non-existant file when using close-on-exec mode.
48865
c88f1766
UD
488662011-08-20 Ulrich Drepper <drepper@gmail.com>
48867
0276a718
UD
48868 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48869 the very first instruction.
48870
c88f1766
UD
48871 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48872 the CFI state in the end.
48873 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48874 inclusion of dl-trampoline.h.
48875 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48876
51ccffa0
AS
488772011-08-19 Andreas Schwab <schwab@redhat.com>
48878
94d7165f
AS
48879 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48880 expectations for long double.
48881
51ccffa0
AS
48882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48883 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48884
fd708658 488852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48886
48887 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48888 artificual limit depends upon the system page size.
48889
44f0a71e
UD
488902011-08-17 Ulrich Drepper <drepper@gmail.com>
48891
48892 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48893 * resolv/Makefile: Define CFLAGS-libresolv.
48894
8de79a24
AS
488952011-08-17 Andreas Schwab <schwab@redhat.com>
48896
48897 * nss/makedb.c (compute_tables): Make variables used in nested
48898 function static.
48899
27724598
UD
489002011-08-17 Ulrich Drepper <drepper@gmail.com>
48901
c5305d88
UD
48902 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48903 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48904 if buffer was too small.
48905
27724598
UD
48906 * elf/pldd.c (main): Attach to all threads in the process.
48907 Rewrite /proc handling to use *at functions.
48908
076fe015
UD
489092011-08-16 Ulrich Drepper <drepper@gmail.com>
48910
174baab3
UD
48911 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48912 specifies first scope to show.
48913 (dl_open_worker): Update callers. Move printing scope of new
48914 object to before the relocation.
44f0a71e 48915 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48916 * sysdeps/generic/ldsodefs.h: Update declaration.
48917
076fe015
UD
48918 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48919 string for the scope number.
48920
a60df2c3
UD
489212011-08-14 Ulrich Drepper <drepper@gmail.com>
48922
48923 * nscd/servicescache.c (cache_addserv): Make sure written is always
48924 initialized.
48925
5e4287d1
RM
489262011-08-14 Roland McGrath <roland@hack.frob.com>
48927
85ae0589
RM
48928 * sysdeps/i386/i486/bits/atomic.h
48929 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48930 statement expression, so as to suppress "set but not used" warning.
48931 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48932
69f63097
RM
48933 * string/strncat.c (STRNCAT): Use prototype definition.
48934
675456ef
RM
48935 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48936 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48937 -Iprograms here.
48938 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48939 (localedef-modules): Add localedef.
48940 (locale-modules): Add locale.
48941
5e4287d1
RM
48942 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48943 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48944 to avoid a warning.
48945
9c96ff23
DM
489462011-08-14 David S. Miller <davem@davemloft.net>
48947
48948 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48949 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48950
f9ddf089
UD
489512011-08-13 Ulrich Drepper <drepper@gmail.com>
48952
44f0a71e 48953 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48954 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48955 * elf/rtld.c (dl_main): Set l_name of vDSO.
48956 Call _dl_show_scope when DL_DEBUG_SCOPES.
48957 (process_dl_debug): Recognize scopes flag and also set it for all.
48958 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48959 Declare _dl_show_scope.
48960
1dc27704
UD
48961 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48962 (do_dlopen): Pass caller_dlopen to dl_open.
48963 (__libc_dlopen_mode): Initialize caller_dlopen.
48964
f9ddf089
UD
48965 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48966 of libc. Make tolower call locale-independent. Optimize a bit by
48967 using isdigit instead of isalnum.
48968 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48969
9ac533d3
UD
489702011-08-12 Ulrich Drepper <drepper@gmail.com>
48971
48972 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48973 was a dependency or dynamically loaded.
48974
89edf2e9
UD
489752011-08-11 Ulrich Drepper <drepper@gmail.com>
48976
8e999d29
UD
48977 * intl/l10nflist.c: Allow architecture-specific pop function.
48978 * sysdeps/x86_64/l10nflist.c: New file.
48979
89edf2e9
UD
48980 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48981 classification.
48982
14d96785
AS
489832011-08-10 Andreas Schwab <schwab@redhat.com>
48984
48985 * include/dirent.h: Add libc_hidden_proto for scandirat and
48986 scandirat64. Don't declare __scandirat64.
48987 * dirent/scandirat.c: Add libc_hidden_def.
48988 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48989 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48990
6761ac04
DM
489912011-08-10 David S. Miller <davem@davemloft.net>
48992
48993 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48994 enum.
48995 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48996 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48997 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48998
c55fbd1e
UD
489992011-08-09 Ulrich Drepper <drepper@gmail.com>
49000
49001 * Versions.def [libc]: Add GLIBC_2.15.
49002 * dirent/Makefile (routines): Add scandirat and scandirat64.
49003 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49004 GLIBC_2.15.
49005 * dirent/dirent.h: Declare scandirat and scandirat64.
49006 * dirent/scandirat.c: New file.
49007 * dirent/scandirat64.c: New file.
49008 * sysdeps/wordsize-64/scandirat.c: New file.
49009 * sysdeps/wordsize-64/scandirat64.c: New file.
49010 * dirent/opendir.c: Define opendirat.
49011 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49012 using scandirat.
49013 * dirent/scandir64.c: Adjust for scandir.c change.
49014 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49015 __scandirat64, and __scandir_cancel_handler.
49016 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49017 additional parameter and use openat instead of open (outside of ld.so).
49018 Add new __opendir as wrapper around __opendirat.
49019 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49020 here without requiring old scandirat implementation.
49021
879165f2
UD
490222011-08-08 Ulrich Drepper <drepper@gmail.com>
49023
49024 * dirent/scandir.c (cancel_handler): Renamed to
49025 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49026 defined. Adjust users.
49027 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49028 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49029
cb7e923b
UD
490302011-08-04 Ulrich Drepper <drepper@gmail.com>
49031
16292edd
UD
49032 * string/test-string.h (IMPL): Use __STRING to expand name and then
49033 stringify it.
49034
cb7e923b
UD
49035 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49036 of cleanups.
49037
cff82933
LD
490382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49039
49040 * string/Makefile: Update.
49041 (strop-tests): Append strncat.
49042 * string/test-wcscmp.c: New file.
49043 New comprehensive test for wcscmp.
49044 * string/test-strcmp.c: Update.
49045 (WIDE): New define.
49046
9be9bfcc
AS
490472011-07-22 Andreas Schwab <schwab@redhat.com>
49048
49049 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49050 line.
49051
2e96f1c7
AS
490522011-07-26 Andreas Schwab <schwab@redhat.com>
49053
49054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49055 encoding to ACE if AI_IDN.
49056
85188888
JJ
490572011-08-01 Jakub Jelinek <jakub@redhat.com>
49058
49059 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49060 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49061
5fa16e9b
LD
490622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49063
49064 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49065 Fix overflow bug in strncat.
49066 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49067
49068 * string/test-strncat.c: Update.
49069 Add new tests for checking overflow bugs.
49070
490712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49072
49073 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49074 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49075 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49076 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49077 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49078 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49079 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49080 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49081 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49082
49083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49084 (USE_AS_STRCAT): Define.
49085 Add strcat and strncat support.
49086 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49087
8c1a459f
AS
490882011-07-25 Andreas Schwab <schwab@redhat.com>
49089
49090 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49091 __n bigger than INT_MAX+1.
49092 (__strncmp_g): Likewise.
49093
bba33c28
UD
490942011-07-23 Ulrich Drepper <drepper@gmail.com>
49095
798be72d
UD
49096 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49097 * libio/stido.h: Likewise.
49098
8accd4dc
UD
49099 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49100 (AF_NFC): Define.
49101 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49102 (AF_NFC): Define.
49103
cbff0d96
UD
49104 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49105 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49106 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49107 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49108 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49109
9191c04a
UD
49110 [BZ #13021]
49111 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49112 installed.
49113
bba33c28
UD
49114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49115 typo.
49116 (_dl_x86_64_save_sse): Likewise.
49117
90f139dd
UD
491182011-07-22 Ulrich Drepper <drepper@gmail.com>
49119
1aae088a
UD
49120 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49121 OSXSAVE.
49122 (_dl_x86_64_save_sse): Likewise.
49123
8e2045f5
UD
49124 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49125
90f139dd
UD
49126 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49127
1d002f25
AS
491282011-07-21 Andreas Schwab <schwab@redhat.com>
49129
49130 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49131 change.
49132 (_dl_x86_64_save_sse): Use correct AVX check.
49133
21137f89
UD
491342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49135
49136 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49137 bug in strncpy/strncat.
49138 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49139
a65c0b7a
UD
491402011-07-21 Ulrich Drepper <drepper@gmail.com>
49141
49142 * string/tester.c (test_strcat): Add tests for different alignments
49143 of source and destination.
49144 (test_strncat): Likewise.
49145
6986b98a
UD
491462011-07-20 Ulrich Drepper <drepper@gmail.com>
49147
90bb2039
UD
49148 [BZ #12852]
49149 * posix/glob.c (glob): Check passed in values before using them in
49150 expressions to avoid some overflows.
49151 (glob_in_dir): Likewise.
49152
5644ef54
UD
49153 [BZ #13007]
49154 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49155 check for AVX enablement so that we don't crash with old kernels and
49156 new hardware.
49157 * elf/tst-audit4.c: Add same checks here.
49158 * elf/tst-audit6.c: Likewise.
49159
49160 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49161
bfc9dc9b
AS
491622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49163
49164 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49165
702e64bb
UD
491662011-07-20 Ulrich Drepper <drepper@gmail.com>
49167
49168 * po/cs.po: Update from translation team.
49169 * po/bg.po: Likewise.
49170
295e904f
MP
491712011-07-12 Marek Polacek <mpolacek@redhat.com>
49172
49173 * misc/sys/cdefs.h: Add support for const attribute.
49174 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49175 to gnu_dev_{major,minor,makedev} functions.
49176
3ff94596
MP
491772011-07-20 Marek Polacek <mpolacek@redhat.com>
49178
49179 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49180
28b59fca
AS
491812011-07-20 Andreas Schwab <schwab@redhat.com>
49182
49183 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49184 strlen results.
49185
19df733e
AK
491862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49187
49188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49189 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49190 register in order to avoid conflicts with the soft frame pointer
49191 being held in r11 when necessary.
49192 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49193 (INTERNAL_VSYSCALL_NCS): Likewise.
49194
c8835729
MP
491952011-07-14 Marek Polacek <mpolacek@redhat.com>
49196
49197 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49198 * elf/dl-fini.c (_dl_fini): Adjust caller.
49199 * elf/dl-close.c (_dl_close_worker): Likewise.
49200 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49201
b902330c
MP
492022011-07-15 Marek Polacek <mpolacek@redhat.com>
49203
8991e135
MP
49204 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49205 "aux_cache->nlibs < 0".
49206
b902330c
MP
49207 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49208 in the reload-count case.
49209
99710781
LD
492102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49211
49212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49213 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49214 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49215 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49216 * sysdeps/x86_64/multiarch/strcat.S: New file.
49217 * sysdeps/x86_64/multiarch/strncat.S: New file.
49218 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49219 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49220 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49221 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49223 (USE_AS_STRCAT): Define.
49224 Add strcat and strncat support.
49225 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49226 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49227 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49228 * string/strncat.c: Update.
49229 (USE_AS_STRNCAT): Define.
49230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49231 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49232 and i7.
49233 * sysdeps/x86_64/multiarch/init-arch.h
49234 (bit_Prefer_PMINUB_for_stringop): New.
49235 (index_Prefer_PMINUB_for_stringop): Likewise.
49236 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49237 bit_Prefer_PMINUB_for_stringop.
49238
7dc6bd90
UD
492392011-07-19 Ulrich Drepper <drepper@gmail.com>
49240
49241 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49242 buffer64.
49243 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49244 of casting of buffer.
49245 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49246 buffer32 and buffer64.
49247 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49248 writes instead of casting of buffer.
49249 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49250 buffer32.
49251 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49252 casting of buffer.
49253
e0e72284
AS
492542011-07-19 Andreas Schwab <schwab@redhat.com>
49255
49256 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49257
feb1eb0b
UD
492582011-07-19 Ulrich Drepper <drepper@gmail.com>
49259
49260 * nscd/nscd.c (termination_handler): Don't do anything for a database
49261 if it has not yet been initialized.
49262
298711ff
UD
492632011-07-18 Ulrich Drepper <drepper@gmail.com>
49264
49265 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49266
492672011-07-15 Marek Polacek <mpolacek@redhat.com>
49268
49269 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49270
f9d68389
UD
492712011-07-18 Ulrich Drepper <drepper@gmail.com>
49272
49273 * po/nl.po: Update from translation team.
49274 * po/sv.po: Likewise.
49275
db290cf5
RM
492762011-07-16 Roland McGrath <roland@hack.frob.com>
49277
49278 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49279 now disallowed by GCC.
5c550700 49280
fd5e21c7
RM
49281 * configure.in (use-default-link): Default to yes if a test -shared
49282 link meets our qualifications.
49283 * configure: Regenerated.
49284
5c550700
RM
49285 * config.make.in (output-format): New variable.
49286 * configure.in: Check for ld --print-output-format support.
49287 * configure: Regenerated.
49288 * Makerules ($(common-objpfx)format.lds)
49289 [$(output-format) != unknown]: Just use $(output-format),
49290 instead of the linker-script munging.
49291
9fa2c032
RM
492922011-07-14 Roland McGrath <roland@hack.frob.com>
49293
a6928d51
RM
49294 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49295 of $(common-objpfx)shlib.lds.
49296 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49297
661607b3
RM
49298 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49299 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49300
9fa2c032
RM
49301 * configure.in (-z relro check): Adjust test code to add a large
49302 writable data section after it.
49303 * configure: Regenerated.
49304
defe9061
RM
493052011-07-11 Roland McGrath <roland@hack.frob.com>
49306
49307 * configure.in (-z relro check): Fix test code to make the variable
49308 truly const.
49309 * configure: Regenerated.
49310
319b9ad4
UD
493112011-07-11 Ulrich Drepper <drepper@gmail.com>
49312
49313 * nscd/nscd.h (struct traced_file): Define.
49314 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49315 elements. Add traced_files.
49316 (inotify_fd): Declare.
49317 (register_traced_file): Declare.
49318 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49319 (inotify_fd): Export.
49320 (resolv_conf_descr): Remove.
49321 (nscd_init): Move inotify descriptor creation to main.
49322 Don't register files for notification here.
49323 (register_traced_file): New function.
49324 (invalidate_cache): Don't use reset_res to determine whether to call
49325 res_init, go through the list of registered files.
49326 (main_loop_poll): The inotify descriptors are now stored in the
49327 structures for the traced files.
49328 (main_loop_epoll): Likewise
49329 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49330 to __nss_disable_nscd.
49331 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49332 for a database anymore. Check the records for all the registered
49333 files instead.
49334 * nss/Makefile (libnss_files-routines): Add files-init.
49335 (libnss_db-routines): Add db-init.
49336 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49337 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49338 * nss/nss_db/db-init.c: New file.
49339 * nss/nss_files/files-init.c: New file.
49340 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49341 __nss_lookup_function.
49342 (__nss_lookup_function): Call nss_load_library.
49343 (nss_load_all_libraries): New function.
49344 (__nss_disable_nscd): Take parameter with callback function for files
49345 to register. Set is_nscd. Load all the DSOs for the NSS modules
49346 used for the cached services.
49347 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49348 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49349 options for features to all the files in nscd.
49350
49351 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49352
23bee3e8
RM
493532011-07-10 Roland McGrath <roland@hack.frob.com>
49354
49355 * csu/elf-init.c (__libc_csu_init): Comment typo.
49356
46a5b7f0
UD
493572011-07-09 Ulrich Drepper <drepper@gmail.com>
49358
49359 * po/pl.po: Update from translation team.
49360 * po/ja.po: Likewise.
49361 * po/ru.po: Likewise.
49362 * po/ko.po: Likewise.
49363 * po/fr.po: Likewise.
49364
d30cf5bb
RM
493652011-07-09 Roland McGrath <roland@hack.frob.com>
49366
113ddea4
RM
49367 * configure.in (.ctors/.dtors header and trailer check):
49368 Use an empirical test on a built program.
49369 * configure: Regenerated.
49370
574920b4
RM
49371 * configure.in (-z relro check): Use an empirical test on a built DSO.
49372 Detect, but do not require, on ia64.
49373 * configure: Regenerated.
49374
d30cf5bb
RM
49375 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49376 Update tests that use readelf to use $READELF instead.
49377 * configure: Regenerated.
49378
8538fdb3
UD
493792011-07-08 Ulrich Drepper <drepper@gmail.com>
49380
49381 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49382 if the result is not used.
49383
04d08991
AJ
493842011-07-05 Andreas Jaeger <aj@suse.de>
49385
49386 [BZ#9696]
49387 * stdlib/tst-strtod.c: Add testcase.
49388
de283087
AD
493892011-07-07 Ulrich Drepper <drepper@gmail.com>
49390
4e5f31c8 49391 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49392 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49393 The latter has a higher limit. Take additional parameter to pass to
49394 the new function.
49395 (__pathconf): Pass file to __statfs_link_max.
49396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49397 __statfs_link_max.
49398 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49399 __statfs_link_max.
49400
de283087
AD
49401 [BZ #12868]
49402 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49403 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49404 Handle Lustre.
49405 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49406 (__statfs_filesize_max): Likewise.
49407 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49408
c75fa153
AJ
494092011-07-05 Andreas Jaeger <aj@suse.de>
49410
49411 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49412
1a544854
UD
494132011-07-06 Marek Polacek <mpolacek@redhat.com>
49414
49415 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49416 `status' variable.
49417 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49418 Likewise.
49419
6f0eec67
UD
494202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49421
49422 * Makefile (strop-tests): Add strncat.
49423 * string/test-strncat.c: New file.
49424
aae30307
UD
494252011-06-30 Marek Polacek <mpolacek@redhat.com>
49426
49427 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49428
c0cfb5eb
UD
494292011-06-21 Andreas Jaeger <aj@suse.de>
49430
49431 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49432 Copy rule from iconvdata/Makefile.
49433
01636b21
UD
494342011-07-06 Ulrich Drepper <drepper@gmail.com>
49435
49436 [BZ #12922]
49437 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49438 but no long options are defined, just return 'W'.
49439
9895c8bc
UD
494402011-06-22 Marek Polacek <mpolacek@redhat.com>
49441
49442 [BZ #9696]
49443 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49444
5d4cf042
UD
494452011-07-06 Ulrich Drepper <drepper@gmail.com>
49446
49447 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49448 netgroups to read.
960e5535 49449 (innetgr): Likewise.
5d4cf042 49450
751eb97e
RM
494512011-07-05 Roland McGrath <roland@hack.frob.com>
49452
49453 * config.make.in (install_root): Default to $(DESTDIR).
49454
f15f1e45
UD
494552011-07-05 Ulrich Drepper <drepper@gmail.com>
49456
49457 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49458
4e34ac6a
RM
494592011-07-02 Roland McGrath <roland@hack.frob.com>
49460
5e9b6af4
RM
49461 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49462
84f9ea0f
RM
49463 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49464 containing directory rather than embedding absolute directory names.
49465
ea5ee9f7
RM
49466 * scripts/check-local-headers.sh: Rewritten using awk.
49467 Match by word, not by line. Print error messages for matches.
49468 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49469
1b74661a
RM
49470 * Makerules [shlib-lds-flags empty]:
49471 ($(common-objpfx)libc_pic.opts): New target.
49472 ($(common-objpfx)libc_pic.os.clean): New target.
49473 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49474
49475 * config.make.in (OBJCOPY): New variable.
49476 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49477 * configure: Regenerated.
49478
f781ef40
RM
49479 * config.make.in (use-default-link): New variable.
49480 * configure.in (use_default_link): Grok --with-default-link to set it.
49481 * configure: Regenerated.
49482 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49483 (shlib-lds, shlib-lds-flags): Define to empty.
49484
2d4fa81e
RM
49485 * Makerules (shlib-lds): New variable.
49486 (shlib-lds-flags): New variable.
49487 (build-shlib, build-moduile, build-module-asneeded): Use it.
49488 ($(common-objpfx)libc.so): Use $(shlib-lds).
49489 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49490 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49491
31fffa6b
RM
49492 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49493 DT_FLAGS/DT_FLAGS_1 with zero flags.
49494
4e34ac6a
RM
49495 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49496 linker script munging.
49497
fcfc776b
UD
494982011-07-02 Ulrich Drepper <drepper@gmail.com>
49499
49500 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49501 as 128-bit value.
49502 * crypt/sha512.c (sha512_process_block): Perform total addition using
49503 128-bit if possible.
49504 (__sha512_finish_ctx): Likewise.
49505 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49506 as 64-bit value.
49507 * crypt/sha256.c (SWAP64): Define.
49508 (sha256_process_block): Perform total addition using 64-bit if
49509 possible.
49510 (__sha256_finish_ctx): Likewise.
49511
99231d9a
UD
495122011-07-01 Ulrich Drepper <drepper@gmail.com>
49513
49514 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49515 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49516 * nscd/hstcache.c (cache_addhst): Likewise.
49517 * nscd/grpcache.c (cache_addgr): Likewise.
49518 * nscd/aicache.c (addhstaiX): Likewise
49519 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49520
445b4a53
TK
495212011-07-01 Thorsten Kukuk <kukuk@suse.de>
49522
49523 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49524 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49525 * nscd/hstcache.c (cache_addhst): Likewise.
49526 * nscd/grpcache.c (cache_addgr): Likewise.
49527 * nscd/aicache.c (addhstaiX): Likewise
49528
6d4d8e8e
AS
495292011-07-01 Andreas Schwab <schwab@redhat.com>
49530
49531 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49532 domain only when needed.
49533
89f654c5
AS
495342011-06-30 Andreas Schwab <schwab@redhat.com>
49535
49536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49537 is always restored.
49538
cf3b23ff
UD
495392011-06-29 Ulrich Drepper <drepper@gmail.com>
49540
49541 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49542 are re-adding the entry.
49543 * nscd/servicescache.c (cache_addserv): Likewise.
49544
751626f9
AJ
495452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49546
49547 * sysdeps/generic/dl-irel.h: fix protection against multiple
49548 inclusions.
49549 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49550
9113ea1f
UD
495512011-06-28 Ulrich Drepper <drepper@gmail.com>
49552
5c0b8d90
UD
49553 [BZ #12935]
49554 * malloc/memusage.sh: Fix quoting in message.
49555 * debug/xtrace.sh: Likewise.
49556
9113ea1f
UD
49557 * configure.in: Remove support for --experimental-malloc option, make
49558 it the default.
49559 * config.make.in: Likewise.
49560 * malloc/Makefile: Likewise.
49561
a4172181
AS
495622011-06-27 Andreas Schwab <schwab@redhat.com>
49563
49564 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49565 two-byte characters.
49566
78a7eee7
RM
495672011-06-27 Roland McGrath <roland@hack.frob.com>
49568
62bede13
RM
49569 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49570 AC_CACHE_CHECK invocation.
49571 * configure: Regenerated.
49572
78a7eee7
RM
49573 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49574
5ce33a62
UD
495752011-06-27 Ulrich Drepper <drepper@gmail.com>
49576
034807a9
UD
49577 [BZ #12350]
49578 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49579 bit from old_res_options.
49580
4902da17
UD
49581 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49582
5ce33a62
UD
49583 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49584 value type for setfct.
49585
c2344f56
L
495862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49587
49588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49589 __gettimeofday instead of gettimeofday.
49590
68468076
UD
495912011-06-26 Ulrich Drepper <drepper@gmail.com>
49592
49593 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49594
acb0d739
L
495952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49596
49597 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49598
49599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49600 info.
49601
8912479f
L
496022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49603
49604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49605 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49606 strcpy-sse2-unaligned strncpy-sse2-unaligned
49607 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49608 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49609 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49610 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49611 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49612 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49613 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49614 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49615 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49616 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49617 (STRCPY): Support SSE2 and SSSE3 versions.
49618
d5495a11
UD
496192011-06-24 Ulrich Drepper <drepper@gmail.com>
49620
49621 [BZ #12874]
49622 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49623 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49624 kernels which artificially limit size of requests.
49625
0b1cbaae
L
496262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49627
49628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49629 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49630 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49631 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49632 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49633 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49634 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49635 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49636 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49637 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49638 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49639 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49640 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49641 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49642 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49644 Enable unaligned load optimization for Intel Core i3, i5 and i7
49645 processors.
49646 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49647 Define.
49648 (index_Fast_Unaligned_Load): Define.
49649 (HAS_FAST_UNALIGNED_LOAD): Define.
49650
07f494a0
MP
496512011-06-23 Marek Polacek <mpolacek@redhat.com>
49652
49653 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49654
fa3fc0fe
UD
496552011-06-22 Ulrich Drepper <drepper@gmail.com>
49656
49657 [BZ #12907]
49658 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49659 until it is clear that the information is realy needed.
49660 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49661
e12df166
AS
496622011-06-22 Andreas Schwab <schwab@redhat.com>
49663
49664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49665
852eb34d
UD
496662011-06-22 Ulrich Drepper <drepper@gmail.com>
49667
84e2a551
UD
49668 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49669 /sys/devices/system/cpu/online if it is usable.
49670
852eb34d
UD
49671 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49672 reading the information from the /proc filesystem to once a second.
49673
6e502e19
UD
496742011-06-21 Andreas Jaeger <aj@suse.de>
49675
49676 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49677 NULL after inclusion of kernel headers.
49678
75d39ff2
UD
496792011-06-21 Ulrich Drepper <drepper@gmail.com>
49680
51f9aa6a
UD
49681 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49682 calls to internal_setent.
49683
c0244a9d
UD
49684 [BZ #12885]
49685 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49686 addresses using gethostbyname4_r ignore IPv4 addresses.
49687
c5e3c2ae
UD
49688 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49689 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49690
75d39ff2
UD
49691 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49692
42675c6f
DM
496932011-06-20 David S. Miller <davem@davemloft.net>
49694
49695 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49696 inclusions.
49697 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49698
49699 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49700 (elf_irel): Use it.
49701 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49702 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49703 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49704 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49705 * sysdeps/x86_64/dl-irel.h: Likewise.
49706
49707 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49708 * elf/dl-sym.c: Likewise.
49709
57912a71
UD
497102011-06-15 Ulrich Drepper <drepper@gmail.com>
49711
49712 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49713 need to dereference resplen2.
49714
ee22793d
AS
497152011-06-14 Andreas Schwab <schwab@redhat.com>
49716
49717 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49718
a9e836b0
UD
497192011-06-15 Ulrich Drepper <drepper@gmail.com>
49720
77fb9117
UD
49721 * Makeconfig: Define vardbdir and inst_vardbdir.
49722 * nss/Makefile: Add rules to install db-Makefile.
49723
40c1b22c
UD
49724 * nss/nss_db/db-XXX.c: Cleanup.
49725
9f2da732
UD
49726 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49727 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49728 GLIBC_PRIVATE.
49729 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49730 * nss/makedb.c: Implement -g option to specify that value strings
49731 are generated and should not be added to table iterated over for
49732 get*ent calls.
49733 * nss/nss_db/db-initgroups.c: New file.
49734
82e9a1f7
UD
49735 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49736 interface.
49737
c41af17e
UD
49738 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49739 (internal_getgrouplist): Adjust to name change.
49740 Update use_initgroups_entry if this is not the first call.
49741 * nss/databases.def: Add initgroups entry.
49742
a9e836b0
UD
49743 * nss/makedb.c (compute_tables): Check result of multiple hash table
49744 sizes to minimize maximum chain length.
49745
2666d441
UD
497462011-06-14 Ulrich Drepper <drepper@gmail.com>
49747
49748 * Versions.def: Add entry for libnss_db.
49749 * shlib-versions: Likewise.
49750 * nss/Makefile: Add rules to build libnss_db.
49751 * nss/Versions: Add libnss_db information. Organize libnss_files
49752 entries better.
49753 * nss/db-Makefile: Add gshadow support. Change rules for the new
49754 makedb progra. Some minor improvements to generate smaller files.
49755 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49756 here from...
49757 * nss/makedb.c: ...here.
49758 Improve database format to be smaller and require less memory at
49759 runtime.
49760 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49761 db anymore.
49762 * nss/nss_db/db-netgrp.c: Likewise.
49763 * nss/nss_db/db-open.c: Likewise.
49764 * nss/nss_files/flies-XXX.x: Adjust comments.
49765 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49766 * nss/nss_files/files-grp.c: Likewise.
49767 * nss/nss_files/files-hosts.c: Likewise.
49768 * nss/nss_files/files-network.c: Likewise.
49769 * nss/nss_files/files-proto.c: Likewise.
49770 * nss/nss_files/files-pwd.c: Likewise.
49771 * nss/nss_files/files-rpc.c: Likewise.
49772 * nss/nss_files/files-service.c: Likewise.
49773 * nss/nss_files/files-sgrp.c: Likewise.
49774 * nss/nss_files/files-spwd.c: Likewise.
49775 * nss/nss_db/db-alias.c: Removed.
49776 * nss/nss_db/dummy-db.h: Removed.
49777
9ee76b5a
UD
497782011-06-02 Ulrich Drepper <drepper@gmail.com>
49779
49780 * nss/makedb.c: Rewritten to not use database library.
49781 * nss/Makefile: Update to build new makedb program.
49782
c71ca1f8
AJ
497832011-06-14 Andreas Jaeger <aj@suse.de>
49784
49785 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49786 memset declaration.
49787
3154bfb8
UD
497882011-06-10 Andreas Schwab <schwab@redhat.com>
49789
49790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49791 tmpbuf.
49792
b350afab
RM
497932011-06-10 Roland McGrath <roland@hack.frob.com>
49794
decd4e50
RM
49795 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49796 * elf/Makefile ($(objpfx)ld.so): Likewise.
49797
5615eaf2
RM
49798 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49799 Don't list ld.so twice in dependencies.
49800
49801 * posix/bug-regex31.c: Include <stdlib.h>.
49802
49803 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49804
49805 * nis/nss_compat/compat-spwd.c
49806 (getspent_next_nss_netgr): Remove unused variable.
49807 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49808
49809 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49810 nonmembers" output to use the right array.
49811
49812 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49813
49814 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49815
49816 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49817 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49818 * catgets/gencat.c (read_input_file): Likewise.
49819 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49820
49821 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49822 variable definition inside #if's controlling its use.
49823
49824 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49825
49826 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49827
49828 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49829
49830 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49831 unreachable code.
49832
49833 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49834
b68e08db
RM
49835 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49836 * configure: Regenerated.
49837
b350afab
RM
49838 * Makerules: Revert last change.
49839 * elf/Makefile: Likewise.
49840
28368601
RM
498412011-06-09 Roland McGrath <roland@hack.frob.com>
49842
49843 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49844 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49845 (reloc-link): Likewise.
49846
11988f8f
UD
498472011-06-09 Ulrich Drepper <drepper@gmail.com>
49848
49849 * elf/Makefile: Add rules to build pldd.
49850 * elf/pldd.c: New file.
49851 * elf/pldd-xx.c: New file.
49852
e80fab37
UD
498532011-06-07 Ulrich Drepper <drepper@gmail.com>
49854
49855 * version.h: Update for 2.15 development version.
49856
9b849836
DM
498572011-06-07 David S. Miller <davem@davemloft.net>
49858
49859 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49860 ifuncs.
49861 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49862 elf_machine_lazy_rel): Likewise.
49863 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49864 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49865 elf_machine_lazy_rel): Likewise.
49866 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49867 dl_hwcap via passed in argument.
49868 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49869 Likewise.
49870
5a31b283
AK
498712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49872
49873 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49874
069e52f8
RM
498752011-06-06 Roland McGrath <roland@hack.frob.com>
49876
49877 [BZ #12849]
49878 * manual/fdl-1.1.texi: New file, verbatim from:
49879 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49880 * manual/lgpl-2.1.texi: New file, verbatim from:
49881 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49882 * manual/Makefile (licenses): New variable, list those new file names.
49883 (texis): Use it.
49884 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49885
49886 * manual/fdl.texi: File removed.
49887 * manual/lesser.texi: File removed.
49888 * manual/libc.texinfo (Copying, Documentation License):
49889 Use new @include file names, put @appendix directive before @include.
49890
f16846a5
JJ
498912011-06-04 Jakub Jelinek <jakub@redhat.com>
49892
49893 [BZ #12841]
49894 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49895 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49896 (mq_open): Add __NTH.
49897
3d29045b
L
498982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49899
49900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49901 Assume Intel Core i3/i5/i7 processor if AVX is available.
49902
8c297311
UD
499032011-05-31 Ulrich Drepper <drepper@gmail.com>
49904
49905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49906 typo.
49907
c8fc0c91
UD
499082011-05-31 Andreas Schwab <schwab@redhat.com>
49909
49910 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49911 memory. Use alloca_account. Fix memory leak when retrying.
49912
5b27a807
UD
499132011-05-31 Ulrich Drepper <drepper@gmail.com>
49914
356f8bc6
UD
49915 * version.h (RELEASE): Bump for 2.14 release.
49916 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49917
5b27a807
UD
49918 * config.make.in (RANLIB): Remove entry.
49919
01f16ab0
UD
499202011-05-30 Ulrich Drepper <drepper@gmail.com>
49921
41fce8bd
UD
49922 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49923 (libc.pot): Work around missing support for .ksh extension in xgettext.
49924
4769ae77
UD
49925 [BZ #12684]
49926 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49927 if both request failed.
49928 (send_dg): In case of server errors clear resplen or *resplen2.
49929
6b1e7d19
UD
49930 [BZ #12454]
49931 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49932 when there are multiple maps.
49933 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49934 (_dl_fini): Remove test here.
49935
01f16ab0
UD
49936 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49937
b1ebd700
UD
499382011-05-29 Ulrich Drepper <drepper@gmail.com>
49939
7ae22829
UD
49940 [BZ #12350]
49941 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49942 bit from old_res_options.
49943 (gaih_inet): Likewise.
49944
553149f6 49945 [BZ #11099]
18a84741 49946 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49947 as signed.
49948
652ffab1
UD
49949 * resolv/res_init.c (res_setoptions): Make the code more compact.
49950
16985fd0
UD
49951 [BZ #11558]
49952 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49953 set RES_USEVC.
49954
0464f746
UD
49955 [BZ #11634]
49956 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49957
7d17596c
UD
49958 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49959
cf6bbbd7
UD
49960 [BZ #11781]
49961 * malloc/malloc.h: Declare malloc hook variables as volatile.
49962
13f1ab36
UD
49963 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49964 in last patch.
49965
b1ebd700
UD
49966 [BZ #11799]
49967 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49968 raise in the comment.
80e2212d
UD
49969 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49970 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49971 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49972
ce67228d
UD
499732011-05-28 Ulrich Drepper <drepper@gmail.com>
49974
8887a920
UD
49975 [BZ #12811]
49976 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49977 grow the buffers more if it already has to be sufficient.
49978 (build_wcs_upper_buffer): Likewise.
49979 * posix/regexec.c (check_matching): Likewise.
49980 (clean_state_log_if_needed): Likewise.
49981 (extend_buffers): Don't enlarge buffers beyond size of the input
49982 buffer.
49983 Patches mostly by Emil Wojak <emil@wojak.eu>.
49984 * posix/bug-regex32.c: New file.
49985 * posix/Makefile (tests): Add bug-regex32.
49986
4f031072
UD
49987 * locale/findlocale.c (_nl_find_locale): Return right away if
49988 _nl_explode_name failed.
49989 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49990
d0478f0c
UD
49991 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49992
de81b246
UD
49993 * debug/xtrace.sh: Unify messages.
49994 * malloc/memusage.sh: Likewise.
49995
c738465a
UD
49996 [BZ #12813]
49997 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49998 time symbol from vDSO. Substitute with vsyscall if not available.
49999 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50000 __vdso_time.
50001
f1f929d7
UD
50002 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50003 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50004 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50005 Add sendmmsg and internal_sendmmsg.
50006 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50007 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50008 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50009
ce67228d
UD
50010 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50011 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50012 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50013
e57420c6
UD
500142011-05-27 Ulrich Drepper <drepper@gmail.com>
50015
a8509ca5
UD
50016 [BZ #12813]
50017 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50018 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50019 available.
50020 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50021 __vdso_getcpu.
50022
e57420c6
UD
50023 [BZ #12814]
50024 * iconvdata/Makefile (tests): Add bug-iconv9.
50025 * iconvdata/bug-iconv9.c: New file.
50026
4d07db15
AS
500272011-05-27 Andreas Schwab <schwab@redhat.com>
50028
50029 [BZ #12814]
50030 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50031
ea486f69
JJ
500322011-05-25 Jakub Jelinek <jakub@redhat.com>
50033
50034 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50035 (struct user_regs_struct): Change intcs field back to cs.
50036
6f038433
UD
500372011-05-25 Ulrich Drepper <drepper@gmail.com>
50038
50039 * po/ja.po: Update from translation team.
50040
67f86a25
UD
500412011-05-23 Ulrich Drepper <drepper@gmail.com>
50042
50043 [BZ #12795]
50044 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50045 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50046
def7fbd6
AS
500472011-05-20 Andreas Schwab <schwab@redhat.com>
50048
50049 * stdlib/longlong.h: Update from GCC.
50050
f50ef8f1
AS
500512011-05-23 Andreas Schwab <schwab@redhat.com>
50052
50053 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50054 parameter name.
50055 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50056 Add parameter name.
50057 (__sysconf): Pass it down.
50058
de7ce8f1
UD
500592011-05-22 Ulrich Drepper <drepper@gmail.com>
50060
f2962a71
UD
50061 [BZ #12671]
50062 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50063 some situations.
50064 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50065 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50066 add in in __libc_use_alloca calls. Adjust callers.
50067 (glob): Use malloc in some situations.
50068
de7ce8f1
UD
50069 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50070 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50071 pltexit.
50072
aec84f53
UD
500732011-05-21 Ulrich Drepper <drepper@gmail.com>
50074
05bb4a68
UD
50075 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50076 and CLOCK_BOOTTIME_ALARM.
50077
7ea72f99
UD
50078 [BZ #12782]
50079 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50080 is returned.
50081
7e4afad5
UD
50082 * string/_strerror.c (__strerror_r): Print negative errors as signed
50083 numbers.
50084
8e211fec
UD
50085 [BZ #12777]
50086 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50087 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50088 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50089
f7d82dc9
UD
50090 * configure.in: Fix typo in redirection and correct removal of test
50091 files in two cases.
50092
cc9e536d
UD
50093 [BZ #12788]
50094 * locale/setlocale.c (new_composite_name): Fix test to check for
50095 identical name of all categories.
50096
aec84f53
UD
50097 [BZ #12792]
50098 * libio/filedoalloc.c (local_isatty): New function.
50099 (_IO_file_doallocate): Use local_isatty.
50100 * stdio-common/perror.c (perror): In case a new stream is used
50101 forward the stream error.
50102 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50103 error flag.
50104
78e64fdc
RT
501052011-05-20 Ulrich Drepper <drepper@gmail.com>
50106
34a9094f
UD
50107 [BZ #11869]
50108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50109 alloca.
50110 * include/alloca.h (extend_alloca_account): Define.
50111
78e64fdc
RT
50112 [BZ #11857]
50113 * posix/regex.h: Fix comments with documentation of user-accessible
50114 fields after compilation and describe correct free'ing of pattern
50115 after re_compile_pattern.
50116 Patch by Reuben Thomas <rrt@sc3d.org>.
50117
457bddfc
RA
501182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50119
50120 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50121 and -mno-altivec to prevent the compiler from using Altivec and/or
50122 VSX instructions when the corresponding registers are not available.
50123
a4527b51
AS
501242011-05-19 Andreas Schwab <schwab@redhat.com>
50125
50126 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50127
ed690b2f
UD
501282011-05-19 Ulrich Drepper <drepper@gmail.com>
50129
50130 * libio/freopen.c (freopen): Use __dup2, not dup2.
50131 * libio/freopen64.c (freopen64): Likewise.
50132
8db73634
L
501332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50134
50135 [BZ #12775]
50136 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50137 * math/Makefile (tests): Add test-powl.
50138 (CFLAGS-test-powl.c): Define.
50139 * math/test-powl.c: New file.
50140
0a197a9d
L
501412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50142
50143 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50144
ee30c380
UD
501452011-05-17 Ulrich Drepper <drepper@gmail.com>
50146
50147 [BZ #11837]
50148 * iconvdata/gb18030.c: Update to GB18020-2005.
50149
6ce75379
UD
501502011-05-16 Ulrich Drepper <drepper@gmail.com>
50151
a4b89fd8
AR
50152 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50153 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50154 Patch by Aharon Robbins <arnold@skeeve.com>.
50155
ea389b12
UD
50156 [BZ #11892]
50157 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50158 on the stack.
50159
68a3f91f
UD
50160 [BZ #11895]
50161 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50162 through underflows.
50163
15cc7dd1
UD
50164 [BZ #12766]
50165 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50166 point to strings before performing equality test for error_one_per_line
50167 mode.
50168
f3799213
UD
50169 [BZ #11697]
50170 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50171
d79a9c94
UD
50172 [BZ #11820]
50173 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50174 (struct user_fpregs_struct): Avoid __uint*_t types.
50175
56e5eb46
UD
50176 [BZ #6420]
50177 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50178 symbol info. Use it instead of calling _dl_addr locally.
50179 (lock_and_info): New function.
50180 (tr_freehook): Call lock_and_info and pass symbol info as additional
50181 parameter to tr_where.
50182 (tr_mallochook): Likewise.
50183 (tr_reallochook): Likewise.
50184 (tr_memalignhook): Likewise.
50185
6ce75379
UD
50186 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50187 used and couldn't be at all thread-safe.
50188
f8a3b5bf
UD
501892011-05-15 Ulrich Drepper <drepper@gmail.com>
50190
94b7cc37
UD
50191 * libio/freopen.c (freopen): Don't close old file descriptor
50192 before the new one is opened. Instead dup the new file descriptor
50193 to the old one after the new stream is created.
50194 * libio/freopen64.c (freopen64): Likewise.
50195 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50196 * libio/fileops.c (_IO_new_file_close_it): Handle new
50197 _IO_FLAGS2_NOCLOSE flag.
50198 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50199 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50200 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50201 _IO_FLAGS2_NOCLOSE flag.
50202 * include/unistd.h: Add hidden_proto for dup3.
50203 Define __have_dup3.
50204 * io/dup3.c: Define hidden symbol.
50205 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50206
bd25564e
UD
50207 [BZ #7101]
50208 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50209 when an incomplete long option is used.
50210 * posix/tst-getopt_long1.c: New file.
50211 * posix/Makefile (tests): Add tst-getopt_long1.
50212
c84cfef4
UD
50213 [BZ #10138]
50214 * scripts/config.guess: Update from autoconf-2.68.
50215 * scripts/config.sub: Likewise.
50216
3b85df27
UD
50217 [BZ #10157]
50218 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50219 tests into ...
50220 (has_cpuclock): ...this. New function.
50221 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50222 macro here based on has_cpuclock code.
50223
15a856b1
UD
50224 [BZ #10149]
50225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50226 First byte (not low byte) is now always NUL.
50227 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50228
05f399e6
UD
50229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50230 Use non-cancelable interfaces.
50231
10a52685 50232 [BZ #9809]
94ecc67d
UD
50233 * locale/iso-639.def: Add entry for Sorani.
50234
f8a3b5bf
UD
50235 [BZ #11901]
50236 * include/stdlib.h: Move include protection to the right place.
50237 Define abort_msg_s. Declare __abort_msg with it.
50238 * stdlib/abort.c (__abort_msg): Adjust type.
50239 * assert/assert.c (__assert_fail_base): New function. Majority
50240 of code from __assert_fail. Allocate memory for __abort_msg with
50241 mmap.
50242 (__assert_fail): Now call __assert_fail_base.
50243 * assert/assert-perr.c: Remove bulk of implementation. Use
50244 __assert_fail_base.
50245 * include/assert.hL Declare __assert_fail_base.
50246 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50247 mmap.
50248 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50249
1af4e298
UD
502502011-05-14 Ulrich Drepper <drepper@gmail.com>
50251
f8a3b5bf 50252 [BZ #11952]
d26dfc60
MG
50253 [BZ #12453]
50254 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50255 until all modules are registered in the DTV.
50256 * elf/Makefile: Add rules to build and run tst-tls19.
50257 * elf/tst-tls19.c: New file.
50258 * elf/tst-tls19mod1.c: New file.
50259 * elf/tst-tls19mod2.c: New file.
50260 * elf/tst-tls19mod3.c: New file.
50261 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50262
2fc54d6f
UD
50263 [BZ #12083]
50264 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50265 correctly.
50266
98d76b46
UD
50267 [BZ #12601]
50268 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50269 two-byte sequence errors.
50270 * iconvdata/Makefile (tests): Add bug-iconv8.
50271 * iconvdata/bug-iconv8.c: New file.
50272
da3c19ef
UD
50273 [BZ #12626]
50274 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50275 buf2 definition.
50276
ca408c15
UD
50277 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50278
d6f67f7d
UD
50279 [BZ #12432]
50280 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50281 (dummy_getcfa): New function.
50282 (init): Get _Unwind_GetCFA address, use dummy if not found.
50283 (backtrace_helper): In recursion check, also check whether CFA changes.
50284 (__backtrace): Completely initialize arg.
50285
1af4e298 50286 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50287 storing incomplete byte sequence in state object. Avoid testing for
50288 guaranteed too small input if we know there is enough data available.
1af4e298 50289
da62f81b
AS
502902011-05-11 Andreas Schwab <schwab@redhat.com>
50291
50292 * Makeconfig (+link-pie): Indent.
50293 * Rules (binaries-pie): Define if $(have-fpie) and
50294 $(build-shared).
50295 (binaries-shared): Also filter out $(binaries-pie).
50296 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50297 * nscd/Makefile (others-pie): Add nscd.
50298 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50299 ($(objpfx)nscd): Remove command override.
50300 * login/Makefile (others-pie): Add pt_chown.
50301 ($(objpfx)pt_chown): Remove command override.
50302 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50303 remove command overrides.
50304
fcabc0f8
UD
503052011-05-13 Ulrich Drepper <drepper@gmail.com>
50306
20030ae6
UD
50307 * libio/tst_putwc.c: Fix error messages.
50308
fcabc0f8
UD
50309 [BZ #12724]
50310 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50311 currently writing and seek to current position when not.
50312 * libio/Makefile (tests): Add bug-fclose1.
50313 * libio/bug-fclose1.c: New file.
50314
320a5dc0
PB
503152011-05-12 Ulrich Drepper <drepper@gmail.com>
50316
50317 [BZ #12511]
50318 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50319 don't set DF_1_NODELETE here.
50320 (do_lookup_x): When entering new entry test for copy relocation
50321 and if necessary set DF_1_NODELETE flag.
50322 * elf/tst-unique4.cc: New file.
50323 * elf/tst-unique4.h: New file.
50324 * elf/tst-unique4lib.cc: New file.
50325 * elf/Makefile: Add rules to build and run tst-unique4.
50326 Patch by Piotr Bury <pbury@goahead.com>.
50327
22836f52
UD
503282011-05-11 Ulrich Drepper <drepper@gmail.com>
50329
f574184a
UD
50330 [BZ #12052]
50331 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50332
e1fb097f
UD
50333 [BZ #12625]
50334 * misc/mntent_r.c (addmntent): Flush the stream after the output
50335
22836f52
UD
50336 [BZ #12393]
50337 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50338 (is_trusted_path_normalize): Skip initial colon. Append slash
50339 to empty buffer. Duplicate is_trusted_path code but allow
50340 constructed patch to be prefix.
50341 (is_dst): Allow $ORIGIN followed by /.
50342 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50343 Correct testing of result of is_trusted_path_normalize
50344 (decompose_rpath): Fix warning.
50345
7b3b0b2a
UD
503462011-05-10 Ulrich Drepper <drepper@gmail.com>
50347
50348 [BZ #11257]
50349 * grp/initgroups.c (internal_getgrouplist): When we found the service
50350 list through the initgroups entry in nsswitch.conf do not always
50351 continue on a successful lookup. Don't always use the
eac80ce2 50352 __nss_group_database value if it is set.
7b3b0b2a
UD
50353 * nss/nsswitch.conf (initgroups): Change action for successful db
50354 lookup to continue for compatibility.
50355
2a81eaa5
UD
503562011-05-09 Ulrich Drepper <drepper@gmail.com>
50357
be97a69e
UD
50358 [BZ #11532]
50359 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50360 and CP774 modules.
50361 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50362 and CP774 modules.
50363 * iconvdata/tst-tables.sh: Likewise.
50364 * iconvdata/cp770.c: New file.
50365 * iconvdata/cp771.c: New file.
50366 * iconvdata/cp772.c: New file.
50367 * iconvdata/cp773.c: New file.
50368 * iconvdata/cp774.c: New file.
50369 * iconvdata/testdata/CP770: New file.
50370 * iconvdata/testdata/CP770..UTF8: New file.
50371 * iconvdata/testdata/CP771: New file.
50372 * iconvdata/testdata/CP771..UTF8: New file.
50373 * iconvdata/testdata/CP772: New file.
50374 * iconvdata/testdata/CP772..UTF8: New file.
50375 * iconvdata/testdata/CP773: New file.
50376 * iconvdata/testdata/CP773..UTF8: New file.
50377 * iconvdata/testdata/CP774: New file.
50378 * iconvdata/testdata/CP774..UTF8: New file.
50379
50380 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50381 END CHARMAP line.
50382 * iconvdata/gen-8bit-gap.sh: Likewise.
50383 * iconvdata/gen-8bit.sh: Likewise.
50384
c1e9e399
UD
50385 * locale/iso-639.def: Add ary entry.
50386
24c55fb3 50387 [BZ #11258]
96b4b1b0
UD
50388 * locale/C-translit.h.in: Add U20A1 transliteration.
50389
bdc2f971
KB
50390 [BZ #12178]
50391 * locale/iso-639.def: Add wae entry.
50392 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50393
2952b117
UD
50394 [BZ #12545]
50395 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50396 for n.
50397
2a81eaa5
UD
50398 [BZ #12711]
50399 * locale/C-translit.h.in: Add entry for U20B9.
50400 Patch by pravin.d.s@gmail.com.
50401
28377d1b
UD
504022011-05-08 Ulrich Drepper <drepper@gmail.com>
50403
7fb90fb8
UD
50404 [BZ #12713]
50405 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50406 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50407 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50408 in rtld. Use *stat64.
7fb90fb8 50409 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50410 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50411 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50412 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50413 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50414 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50415 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50416 __fstatat64 macros.
7fb90fb8
UD
50417 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50418 * dirent/rewinddir.c: Add libc_hidden_def.
50419 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50420 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50421
28377d1b
UD
50422 * include/dirent.h (__alloc_dir): Add flags parameter.
50423 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50424 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50425 __alloc_dir.
50426 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50427 from fdopendir if O_CLOEXEC is already set.
50428
66bdbaa4
AM
504292011-03-15 Alan Modra <amodra@gmail.com>
50430
50431 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50432 l_tls_firstbyte_offset non-zero. Save padding offset in
50433 l_tls_firstbyte_offset for later use.
50434 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50435 freeing static tls block.
50436
95721191
JN
504372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50438
50439 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50440 where #ifdef was intended. The intent is to prevent ARG_MAX from
50441 being defined by the kernel headers.
50442
f87dfb1f
UD
504432011-05-07 Ulrich Drepper <drepper@gmail.com>
50444
50445 [BZ #12734]
50446 * resolv/resolv.h: Define RES_NOTLDQUERY.
50447 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50448 no-tld-query and set RES_NOTLDQUERY.
50449 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50450 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50451 modern BIND to search name as TLD unless forbidden.
50452
47c3cd7a
UD
504532011-05-07 Petr Baudis <pasky@suse.cz>
50454 Ulrich Drepper <drepper@gmail.com>
50455
50456 [BZ #12393]
50457 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50458 (is_trusted_path): ...to here.
c1e9ea35 50459 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50460 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50461 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50462
8a35c912
PP
504632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50464
50465 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50466 __BEGIN/__END_DECLS.
50467
acd41f47
UD
504682011-05-06 Ulrich Drepper <drepper@gmail.com>
50469
50470 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50471 NSS_STATUS_NOTFOUND if no record was found.
50472
597df647
AS
504732011-05-05 Andreas Schwab <schwab@redhat.com>
50474
50475 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50476 (headers-not-in-tirpc): Remove rpc/netdb.h
50477 * resolv/netdb.h: Revert last change.
50478
b9af1301
PP
504792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50480
50481 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50482 circular dependency between libgcc.a and libc.a.
50483
4e34d5f5
AS
504842011-05-05 Andreas Schwab <schwab@redhat.com>
50485
50486 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50487 * nis/Makefile: Don't install rpcsvc/*.
50488 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50489 instead of <rpc/types.h>.
50490 (MAXHOSTNAMELEN): Define.
50491
00ee369c
AS
504922011-05-03 Andreas Schwab <schwab@redhat.com>
50493
50494 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50495
0b592a30
MB
504962011-04-28 Maciej Babinski <mbabinski@google.com>
50497
50498 [BZ #12714]
50499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50500 gethostbyname4_r when IPv6 results are possible.
50501
6e04cbbe
UD
505022011-05-02 Ulrich Drepper <drepper@gmail.com>
50503
50504 [BZ #12723]
50505 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50506 _PC_PIPE_BUF handling.
50507
e4ecafe0
BH
505082011-04-30 Bruno Haible <bruno@clisp.org>
50509
50510 [BZ #12717]
50511 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50512 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50513 to 'int'.
50514 * inet/getnameinfo.c (getnameinfo): Likewise.
50515
125ee683
UD
505162011-04-29 Ulrich Drepper <drepper@gmail.com>
50517
50518 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50519 to groups setting in database lookup.
50520 * nss/nsswitch.conf: Add initgroups entry.
50521
b722481a
EB
505222011-04-22 Ulrich Drepper <drepper@gmail.com>
50523
50524 [BZ #12685]
50525 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50526 mode string.
50527 Patch by Eric Blake <eblake@redhat.com>.
50528
4df46dbd
L
505292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50530
50531 * sunrpc/Makefile (need-export-routines): Add svc_run.
50532 (routines): Remove svc_run.
50533 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50534 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50535 * sunrpc/svc_run.c (svc_run): Likewise.
50536 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50537
e84142d2
UD
505382011-04-21 Ulrich Drepper <drepper@gmail.com>
50539
50540 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50541 problem in reallocation in last patch.
50542
877175d8
UD
505432011-04-20 Ulrich Drepper <drepper@gmail.com>
50544
50545 * sunrpc/Makefile: Move inclusion of Rules.
50546
ab8eed78
UD
505472011-04-19 Ulrich Drepper <drepper@gmail.com>
50548
50549 * nss/nss_files/files-initgroups.c: New file.
50550 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50551 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50552 _nss_files_initgroups_dyn.
50553
e3d8f584
RS
505542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50555
50556 * elf/elf.h (R_ARM_IRELATIVE): Define.
50557
af190f45
UD
505582011-04-19 Ulrich Drepper <drepper@gmail.com>
50559
50560 * po/ru.po: Update from translation team.
50561
53cf59ef
UD
505622011-04-17 Ulrich Drepper <drepper@gmail.com>
50563
50564 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50565 dependencies.
50566
4c559bcd
MF
505672011-02-06 Mike Frysinger <vapier@gentoo.org>
50568
50569 [BZ #12653]
50570 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50571 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50575
4420675c
AS
505762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50577
50578 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50579 differing bytes.
50580 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50581 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50583
75ea32ab
UD
505842011-04-17 Ulrich Drepper <drepper@gmail.com>
50585
50586 [BZ #12420]
50587 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50588 storing it.
50589 * stdlib/bug-getcontext.c: New file.
50590 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50591
27390476
AK
505922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50593
50594 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50595 instructions into .machine "z9-109".
50596 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50597 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50598
10442705
AK
505992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50600
50601 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50602 between environment variables and auxiliary vector.
50603
7b57bfe5
UD
506042011-04-16 Ulrich Drepper <drepper@gmail.com>
50605
50606 * Makefile: Add rules to build linkobj/libc.so.
50607 * include/libc-symbols.h: Define libc_hidden_nolink.
50608 * include/rpc/auth.h: Mark functions which are to be hidden.
50609 * include/rpc/auth_des.h: Likewise.
50610 * include/rpc/auth_unix.h: Likewise.
50611 * include/rpc/clnt.h: Likewise.
50612 * include/rpc/des_crypt.h: Likewise.
50613 * include/rpc/key_prot.h: Likewise.
50614 * include/rpc/pmap_clnt.h: Likewise.
50615 * include/rpc/pmap_prot.h: Likewise.
50616 * include/rpc/pmap_rmt.h: Likewise.
50617 * include/rpc/rpc_msg.h: Likewise.
50618 * include/rpc/svc.h: Likewise.
50619 * include/rpc/svc_auth.h: Likewise.
50620 * include/rpc/xdr.h: Likewise.
50621 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50622 * nss/Makefile: Likewise.
50623 * sunrpc/Makefile: Don't install headers. Build library with normal
50624 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50625 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50626 for the compat linking library. Remove use of INTDEF/INTUSE.
50627 * sunrpc/auth_none.c: Likewise.
50628 * sunrpc/auth_unix.c: Likewise.
50629 * sunrpc/authdes_prot.c: Likewise.
50630 * sunrpc/authuxprot.c: Likewise.
50631 * sunrpc/clnt_gen.c: Likewise.
50632 * sunrpc/clnt_perr.c: Likewise.
50633 * sunrpc/clnt_raw.c: Likewise.
50634 * sunrpc/clnt_simp.c: Likewise.
50635 * sunrpc/clnt_tcp.c: Likewise.
50636 * sunrpc/clnt_udp.c: Likewise.
50637 * sunrpc/clnt_unix.c: Likewise.
50638 * sunrpc/des_crypt.c: Likewise.
50639 * sunrpc/des_soft.c: Likewise.
50640 * sunrpc/get_myaddr.c: Likewise.
50641 * sunrpc/key_call.c: Likewise.
50642 * sunrpc/key_prot.c: Likewise.
50643 * sunrpc/netname.c: Likewise.
50644 * sunrpc/pm_getmaps.c: Likewise.
50645 * sunrpc/pm_getport.c: Likewise.
50646 * sunrpc/pmap_clnt.c: Likewise.
50647 * sunrpc/pmap_prot.c: Likewise.
50648 * sunrpc/pmap_prot2.c: Likewise.
50649 * sunrpc/pmap_rmt.c: Likewise.
50650 * sunrpc/publickey.c: Likewise.
50651 * sunrpc/rpc_cmsg.c: Likewise.
50652 * sunrpc/rpc_common.c: Likewise.
50653 * sunrpc/rpc_dtable.c: Likewise.
50654 * sunrpc/rpc_prot.c: Likewise.
50655 * sunrpc/rpc_thread.c: Likewise.
50656 * sunrpc/rtime.c: Likewise.
50657 * sunrpc/svc.c: Likewise.
50658 * sunrpc/svc_auth.c: Likewise.
50659 * sunrpc/svc_authux.c: Likewise.
50660 * sunrpc/svc_raw.c: Likewise.
50661 * sunrpc/svc_run.c: Likewise.
50662 * sunrpc/svc_simple.c: Likewise.
50663 * sunrpc/svc_tcp.c: Likewise.
50664 * sunrpc/svc_udp.c: Likewise.
50665 * sunrpc/svc_unix.c: Likewise.
50666 * sunrpc/svcauth_des.c: Likewise.
50667 * sunrpc/xcrypt.c: Likewise.
50668 * sunrpc/xdr.c: Likewise.
50669 * sunrpc/xdr_array.c: Likewise.
50670 * sunrpc/xdr_float.c: Likewise.
50671 * sunrpc/xdr_intXX_t.c: Likewise.
50672 * sunrpc/xdr_mem.c: Likewise.
50673 * sunrpc/xdr_rec.c: Likewise.
50674 * sunrpc/xdr_ref.c: Likewise.
50675 * sunrpc/xdr_sizeof.c: Likewise.
50676 * sunrpc/xdr_stdio.c: Likewise.
50677
e6c61494
UD
506782011-04-10 Ulrich Drepper <drepper@gmail.com>
50679
50680 [BZ #12650]
50681 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50682 * sysdeps/ia64/dl-tls.h: Likewise.
50683 * sysdeps/powerpc/dl-tls.h: Likewise.
50684 * sysdeps/s390/dl-tls.h: Likewise.
50685 * sysdeps/sh/dl-tls.h: Likewise.
50686 * sysdeps/sparc/dl-tls.h: Likewise.
50687 * sysdeps/x86_64/dl-tls.h: Likewise.
50688 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50689
34fe483e
AS
506902011-03-14 Andreas Schwab <schwab@redhat.com>
50691
50692 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50693 rpath element also skip the following colon.
50694 (expand_dynamic_string_token): Add is_path parameter and pass
50695 down to DL_DST_REQUIRED and _dl_dst_substitute.
50696 (decompose_rpath): Call expand_dynamic_string_token with
50697 non-zero is_path. Ignore empty rpaths.
50698 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50699 with zero is_path.
50700
f12a32e6
AS
507012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50702
50703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50704 Make cancelable.
50705
38a7d692
UD
507062011-04-09 Ulrich Drepper <drepper@gmail.com>
50707
50708 [BZ #12655]
50709 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50710 Patch by Filipe David Manana <fdmanana@apache.org>.
50711
e451d22b
AS
507122011-04-07 Andreas Schwab <schwab@redhat.com>
50713
50714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50715 Maintain aligned stack.
50716 (CHECK_RSP): Remove unused macro.
50717
dedc7c7b
UD
507182011-04-03 Ulrich Drepper <drepper@gmail.com>
50719
50720 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50721 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50722
94521213
UD
507232011-04-02 Ulrich Drepper <drepper@gmail.com>
50724
50725 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50726
8cb700c0 50727 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50728
0354e355
L
507292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50730
50731 [BZ #12518]
50732 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50733 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50734 * sysdeps/x86_64/memmove.c: New file.
50735 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50736 (memcpy): Renamed to ...
50737 (__new_memcpy): This.
50738 (memcpy): Provide GLIBC_2_14 memcpy.
50739 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50740 (memcpy): Provide GLIBC_2_2_5 memcpy.
50741
8593482f
UD
507422011-04-01 Ulrich Drepper <drepper@gmail.com>
50743
50744 [BZ #12631]
50745 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50746
81a5726b
AS
507472011-03-30 Andreas Schwab <schwab@redhat.com>
50748
50749 * misc/syncfs.c: New file.
50750 * misc/Makefile (routines): Add syncfs.
50751 * posix/unistd.h: Declare syncfs.
50752 * sysdeps/unix/syscalls.list: Add syncfs.
50753
00e5419f
AS
507542011-04-01 Andreas Schwab <schwab@redhat.com>
50755
50756 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50757 open_by_handle_at.
50758 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50759 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50763 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50764 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50765
748876bf
UD
507662011-04-01 Ulrich Drepper <drepper@gmail.com>
50767
658e451d
UD
50768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50769 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50770 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50774 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50775
748876bf
UD
50776 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50777 sync_file_range.c with -fexceptions.
50778 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50779 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50780 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50781 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50782 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50783 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50784 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50785 sync_file_range as cancellation point
50786 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50787 now a wrapper around __call_sync_file_range with cancellation handling.
50788 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50789 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50790 function name to __call_sync_file_range.
50791 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50792 Add call_sync_file_range.
748876bf 50793
6e63d5e1
AS
507942011-04-01 Andreas Schwab <schwab@redhat.com>
50795
50796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50797 bits/timex.h.
6e63d5e1 50798
46998f74
UD
507992011-04-01 Ulrich Drepper <drepper@gmail.com>
50800
4c1423ed
UD
50801 * iconv/iconv.h: Fix typo in comment.
50802 * io/fcntl.h: Likewise.
50803 * libio/stdio.h: Likewise.
50804 * posix/spawn.h: Likewise.
50805 * posix/unistd.h: Likewise.
50806 * stdlib/stdlib.h: Likewise.
50807 * time/time.h: Likewise.
50808 * wcsmbs/wchar.h: Likewise.
50809
158648c0
UD
50810 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50811 open_by_handle): Add.
50812 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50813 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50814 Augment a few comments.
50815 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50816 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50817 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50819 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50820 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50821 open_by_handle.
50822
46998f74
UD
50823 * io/fcntl.h (AT_EMPTY_PATH): Define.
50824
83fe108b
UD
508252011-03-30 Ulrich Drepper <drepper@gmail.com>
50826
50827 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50828 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50829 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50830 to...
50831 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50832 * Versions.def: Add GLIBC_2.14.
50833 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50834 Export.
83fe108b 50835
bb242059
UD
508362011-03-22 Ulrich Drepper <drepper@gmail.com>
50837
50838 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50839 round counter.
50840 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50841
c97a1282
L
508422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50843
50844 [BZ #12597]
50845 * string/test-strncmp.c (do_page_test): New function.
50846 (check2): Likewise.
50847 (test_main): Call check2.
50848 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50849
2a115601
UD
508502011-03-20 Ulrich Drepper <drepper@gmail.com>
50851
50852 [BZ #12587]
50853 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50854 Handle cache information in CPU leaf 4.
50855 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50856
8126d904
UD
508572011-03-18 Ulrich Drepper <drepper@gmail.com>
50858
042c49c6 50859 [BZ #12583]
8126d904
UD
50860 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50861 character representation.
50862 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50863
ccfe366e
RA
508642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50865
50866 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50867 END(__isnan) to END(__isnanf) to match function entry point/label
50868 EALIGN(__isnanf,...).
50869
c6e13027
JJ
508702011-03-10 Jakub Jelinek <jakub@redhat.com>
50871
50872 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50873
33f85a3f
UD
508742011-03-10 Ulrich Drepper <drepper@gmail.com>
50875
028478fa
UD
50876 [BZ #12510]
50877 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50878 copy from the symbol referenced in the relocation to initialize the
50879 used variable.
50880 Patch by Piotr Bury <pbury@goahead.com>.
50881 * elf/Makefile: Add rules to build and tst-unique3.
50882 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50883 * elf/tst-unique3.cc: New file.
50884 * elf/tst-unique3.h: New file.
50885 * elf/tst-unique3lib.cc: New file.
50886 * elf/tst-unique3lib2.cc: New file.
50887
33f85a3f
UD
50888 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50889
03592fc7
MF
508902011-03-10 Mike Frysinger <vapier@gentoo.org>
50891
50892 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50893 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50894 to _start.
03592fc7 50895
6a5ee102
UD
508962011-03-06 Ulrich Drepper <drepper@gmail.com>
50897
50898 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50899 to-be-loaded object along a path to loader is ld.so.
50900
7e4ba49c
HJ
509012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50902 Ulrich Drepper <drepper@gmail.com>
50903
50904 * sysdeps/x86_64/memset.S: After aligning destination, code
50905 branches to different locations depending on the value of
50906 misalignment, when multiarch is enabled. Fix this.
50907
509082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50909
50910 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50911 Set _x86_64_preferred_memory_instruction for AMD processsors.
50912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50913 Set bit_Prefer_SSE_for_memop for AMD processors.
50914
13a804de
UD
509152011-03-04 Ulrich Drepper <drepper@gmail.com>
50916
50917 * libio/fmemopen.c (fmemopen): Optimize a bit.
50918
9d25c392
AS
509192011-03-03 Andreas Schwab <schwab@redhat.com>
50920
50921 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50922
a5543c6a
RM
509232011-03-03 Roland McGrath <roland@redhat.com>
50924
50925 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50926
012d35f7
DM
509272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50928
7e4ba49c 50929 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50930 __bzero_ultra1 instead of __memset_ultra1.
50931
4bff6e01
AS
509322011-02-23 Andreas Schwab <schwab@redhat.com>
50933 Ulrich Drepper <drepper@gmail.com>
50934
50935 [BZ #12509]
50936 * include/link.h (struct link_map): Add l_orig_initfini.
50937 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50938 returning unsuccessfully.
50939 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50940 close of a file loaded at startup, restore the original l_initfini
50941 list.
50942 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50943 list, store the pointer.
50944 * elf/Makefile ($(objpfx)noload-mem): New rule.
50945 (noload-ENV): Define.
50946 (tests): Add $(objpfx)noload-mem.
50947 * elf/noload.c: Include <memcheck.h>.
50948 (main): Call mtrace. Close all opened handles.
50949
f2092faf
AS
509502011-02-17 Andreas Schwab <schwab@redhat.com>
50951
50952 [BZ #12454]
50953 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50954 dependencies are missing.
50955
6c8a2e88
ST
509562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50957
f2092faf 50958 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50959 Hurd needs munmap.
50960 * sysdeps/mach/hurd/ifreq.h: New file.
50961
84a42118
PB
509622011-01-27 Petr Baudis <pasky@suse.cz>
50963 Ulrich Drepper <drepper@gmail.com>
50964
071f805e 50965 [BZ 12445]#
84a42118
PB
50966 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50967 to extend_alloca().
50968 * stdio-common/bug23.c: New file.
50969 * stdio-common/Makefile (tests): Add bug23.
50970
e23fe25b
AS
509712010-09-28 Andreas Schwab <schwab@redhat.com>
50972 Ulrich Drepper <drepper@gmail.com>
50973
50974 [BZ #12489]
50975 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50976 before performing relro protection. At old place add assertion
50977 to make sure nothing changed.
50978
d3f02e10
NS
509792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50980 Glauber de Oliveira Costa <glommer@gmail.com>
50981
50982 * elf/elf.h: Add new ARM TLS relocs.
50983
d55fd7a5
RA
509842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50985
50986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50987 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50988 cast from r3.
50989 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50990 'tests' variable.
50991 * sysdeps/wordsize-64/tst-writev.c: New file.
50992
2206397e
RA
509932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50994
50995 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50996 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50997 insns in _dl_start to prevent a TOC reference before relocs are
50998 resolved.
50999
e9433893
UD
510002011-02-15 Ulrich Drepper <drepper@gmail.com>
51001
51002 [BZ #12469]
51003 * Makeconfig: Remove RANLIB definition.
51004 * Makerules: Don't use RANLIB.
51005 * aclocal.m4: Remove ranlib test.
51006 * configure.in: No need to check for ranlib.
51007 * elf/rtld-Rules: Don't use RANLIB.
51008
f75286c6
ST
510092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51010
8e31c82d
ST
51011 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51012 protection macro.
51013 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51014 inclusion protection macro.
51015
f75286c6
ST
51016 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51017 SIGRTMIN and SIGRTMAX and print information in that case only when
51018 SIGRTMIN is defined.
51019
c1d0e639
JJ
510202011-02-11 Jakub Jelinek <jakub@redhat.com>
51021
51022 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51023 arginfo fn returning -1.
51024
51025 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51026 and thousands string is zero terminated.
51027
edf9294e
AS
510282011-02-03 Andreas Schwab <schwab@redhat.com>
51029
51030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51031 sysdeps/unix/sysv/linux/bits/socket.h.
51032
2b7e92df
ST
510332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51034
edf9294e
AS
51035 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51036 (__CPU_COUNT): Remove old macros.
51037 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51038 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51039 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
51040 (__sched_cpualloc, __sched_cpufree): Add declarations.
51041
a4c7ea7b
UD
510422011-02-05 Ulrich Drepper <drepper@gmail.com>
51043
51044 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51045 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51046 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51047 (readdhstai): Return value of addhstaiX call.
51048 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51049 (addgrbyX): Return value returned by cache_addgr.
51050 (readdgrbyname): Return value returned by addgrbyX.
51051 (readdgrbygid): Likewise.
51052 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51053 (addpwbyX): Return value returned by cache_addpw.
51054 (readdpwbyname): Return value returned by addhstbyX.
51055 (readdpwbyuid): Likewise.
51056 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51057 (addservbyX): Return value returned by cache_addserv.
51058 (readdservbyname): Return value returned by addservbyX:
51059 (readdservbyport): Likewise.
51060 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51061 (addhstbyX): Return value returned by cache_addhst.
51062 (readdhstbyname): Return value returned by addhstbyX.
51063 (readdhstbyaddr): Likewise.
51064 (readdhstbynamev6): Likewise.
51065 (readdhstbyaddrv6): Likewise.
51066 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51067 (readdinitgroups): Return value returned by addinitgroupsX.
51068 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51069 (prune_cache): Keep track of timeout value of re-added entries.
51070 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51071 * nscd/nscd.h: Adjust prototypes of readd* functions.
51072
a0bf67cc
RM
510732011-02-04 Roland McGrath <roland@redhat.com>
51074
51075 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51076 (nis_stats): Likewise.
51077 * nis/nis_modify.c (nis_modify): Likewise.
51078 * nis/nis_remove.c (nis_remove): Likewise.
51079 * nis/nis_add.c (nis_add): Likewise.
51080
51081 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51082
51083 * posix/fnmatch_loop.c: Add some consts.
51084
51085 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51086
435b95eb
L
510872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51088
51089 [BZ #12460]
51090 * config.make.in (config-cflags-novzeroupper): Define.
51091 * configure.in: Substitute libc_cv_cc_novzeroupper.
51092 * elf/Makefile (AVX-CFLAGS): Define.
51093 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51094 (CFLAGS-tst-auditmod4a.c): Likewise.
51095 (CFLAGS-tst-auditmod4b.c): Likewise.
51096 (CFLAGS-tst-auditmod6b.c): Likewise.
51097 (CFLAGS-tst-auditmod6c.c): Likewise.
51098 (CFLAGS-tst-auditmod7b.c): Likewise.
51099 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51100
8517b15e
UD
511012011-02-02 Ulrich Drepper <drepper@gmail.com>
51102
51103 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51104 function to the callback.
51105 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51106
10a656fe
AS
511072011-02-02 Andreas Schwab <schwab@redhat.com>
51108
51109 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51110 of errno.
51111
968dad0a
UD
511122011-01-19 Ulrich Drepper <drepper@gmail.com>
51113
9f94d2ea 51114 [BZ #11724]
968dad0a
UD
51115 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51116 of constructors.
51117 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51118 of destructors.
51119 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51120
51121 [BZ #11724]
51122 * elf/Makefile: Add rules to build and run new test.
51123 * elf/tst-initorder.c: New file.
51124 * elf/tst-initorder.exp: New file.
51125 * elf/tst-initordera1.c: New file.
51126 * elf/tst-initordera2.c: New file.
51127 * elf/tst-initordera3.c: New file.
51128 * elf/tst-initordera4.c: New file.
51129 * elf/tst-initorderb1.c: New file.
51130 * elf/tst-initorderb2.c: New file.
51131 * elf/tst-order-a1.c: New file.
51132 * elf/tst-order-a2.c: New file.
51133 * elf/tst-order-a3.c: New file.
51134 * elf/tst-order-a4.c: New file.
51135 * elf/tst-order-b1.c: New file.
51136 * elf/tst-order-b2.c: New file.
51137 * elf/tst-order-main.c: New file.
51138 New test case by George Gensure <werkt0@gmail.com>.
51139
86e92359
UD
511402010-10-01 Andreas Schwab <schwab@redhat.com>
51141
51142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51143 decoding ACE if AI_CANONIDN.
51144
5d5732b0
UD
511452011-01-18 Ulrich Drepper <drepper@gmail.com>
51146
51147 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51148
a77e8cbc
UD
511492011-01-17 Ulrich Drepper <drepper@gmail.com>
51150
6392473f
UD
51151 * version.h (RELEASE): Bump for 2.13 release.
51152 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51153
620a0529
UD
51154 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51155
18ba70a5
UD
51156 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51157 MADV_NOHUGEPAGE.
32465c3e
UD
51158 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51159 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51160 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51161 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51162 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51164
c0dafcf1
UD
51165 * posix/getconf.c: Update copyright year.
51166 * catgets/gencat.c: Likewise.
51167 * csu/version.c: Likewise.
51168 * debug/catchsegv.sh: Likewise.
51169 * debug/xtrace.sh: Likewise.
51170 * elf/ldconfig.c: Likewise.
51171 * elf/ldd.bash.in: Likewise.
51172 * elf/sprof.c (print_version): Likewise.
51173 * iconv/iconv_prog.c: Likewise.
51174 * iconv/iconvconfig.c: Likewise.
51175 * locale/programs/locale.c: Likewise.
51176 * locale/programs/localedef.c: Likewise.
51177 * malloc/memusage.sh: Likewise.
51178 * malloc/mtrace.pl: Likewise.
51179 * nscd/nscd.c (print_version): Likewise.
51180 * nss/getent.c: Likewise.
51181
a77e8cbc
UD
51182 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51183 PF_CAIF, and PF_ALG.
51184 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51185
77e8bddf
AS
511862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51187
1f20b93a
AS
51188 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51189 (modules-names): Use them.
51190 (ifunc-test-modules, ifunc-pie-tests): Define.
51191 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51192 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51193 (test-extras): Likewise.
51194 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51195 $(compile-command.c).
51196 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51197 (all-built-dso): Define.
51198 (check-textrel.out, check-execstack.out): Depend on it.
51199
77e8bddf
AS
51200 * configure.in: Don't override --enable-multi-arch.
51201
bc425b33
UD
512022011-01-15 Ulrich Drepper <drepper@gmail.com>
51203
51204 [BZ #6812]
51205 * nscd/hstcache.c (tryagain): Define.
51206 (cache_addhst): Return tryagain not notfound for temporary errors.
51207 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51208 failed.
51209
794c3ad3
UD
512102011-01-14 Ulrich Drepper <drepper@gmail.com>
51211
70181fdd
UD
51212 [BZ #10563]
51213 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51214 to make the syscall.
51215 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51216
794c3ad3
UD
51217 [BZ #12378]
51218 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51219 and fall back to matching as normal character if the string ends before
51220 the matching ']' is found. This is what POSIX requires.
51221 * posix/testfnm.c: Adjust test result.
51222 * posix/globtest.sh: Adjust test result. Add new test.
51223 * posix/tst-fnmatch.input: Likewise.
51224 * posix/tst-fnmatch2.c: Add new test.
51225
68dc9497
AS
512262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51227
51228 * elf/Makefile (check-execstack): Revert last change. Depend on
51229 check-execstack.h.
51230 (check-execstack.h): New target.
51231 (generated): Add check-execstack.h.
51232 * elf/check-execstack.c: Include "check-execstack.h".
51233 (main): Revert last change.
51234 (handle_file): Return zero if GNU_STACK is absent and
51235 DEFAULT_STACK_PERMS doesn't include PF_X.
51236
451f001b
UD
512372011-01-13 Ulrich Drepper <drepper@gmail.com>
51238
cfa28e56
UD
51239 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51240 in child fails because the descriptor is already closed.
8cf8ce17
UD
51241 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51242 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51243 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51244
1086d70d
UD
51245 [BZ #12397]
51246 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51247 syscall.
51248
451f001b
UD
51249 [BZ #10484]
51250 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51251 temporary buffer used to handle multi lookups locally.
a85b5cb4 51252 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51253
08769175
UD
512542011-01-12 Ulrich Drepper <drepper@gmail.com>
51255
51256 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51257 loader is ld.so.
51258
5e49c52e
UD
512592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51260
51261 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51262 alignment for SSE2.
51263
60522a5f
UD
512642011-01-12 Ulrich Drepper <drepper@gmail.com>
51265
51266 [BZ #12394]
51267 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51268 characters. When rounding increased number of integer digits recompute
51269 number of groups.
51270 * stdio-common/tst-grouping.c: New file.
51271 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51272
f257bbd7
UD
512732011-01-09 Ulrich Drepper <drepper@gmail.com>
51274
51275 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51276 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51277
51278 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51279 void.
51280 * bits/select.h: Likewise.
51281
fa9c15cb
UD
512822011-01-08 Ulrich Drepper <drepper@gmail.com>
51283
51284 * po/ja.po: Update from translation team.
51285
16c2895f
DM
512862011-01-04 David S. Miller <davem@sunset.davemloft.net>
51287
51288 [BZ #11155]
51289 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51290 implementation just like for lxstat, fxstatat, et al.
51291
2543fef2
JM
512922010-12-27 Jim Meyering <meyering@redhat.com>
51293
51294 [BZ #12348]
51295 * posix/regexec.c (build_trtable): Return failure indication upon
51296 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51297
98727dbe
UD
512982010-12-25 Ulrich Drepper <drepper@gmail.com>
51299
5bd6dc5c
UD
51300 [BZ #12201]
51301 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51302 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51303 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51304 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51305
97983464
UD
51306 [BZ #12207]
51307 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51308
98727dbe
UD
51309 [BZ #12204]
51310 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51311 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51312
4a531bb0
L
513132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51314
51315 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51316 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51317 script has SORT_BY_INIT_PRIORITY.
51318 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51319 NO_CTORS_DTORS_SECTIONS is defined.
51320 * elf/soinit.c: Likewise.
51321 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51322 NO_CTORS_DTORS_SECTIONS is defined.
51323 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51324 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51325 * sysdeps/sh/init-first.c: Likewise.
51326 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51327
07eb4b71
UD
513282010-12-24 Ulrich Drepper <drepper@gmail.com>
51329
51330 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51331 always use the slow path.
51332
30950a5f
RA
513332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51334
51335 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51336 similar rule which adds the sysdep directories to the header search in
51337 order to pick up the correct platform stackinfo.h.
51338 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51339 perform test if it is, otherwise return successfully without testing.
51340 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51341 DEFAULT_STACK_PERMS define in stackinfo.h.
51342 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51343 defined in stackinfo.h.
51344 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51345 DEFAULT_STACK_PERMS defined in stackinfo.h.
51346 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51347 * sysdeps/ia64/stackinfo.h: Likewise.
51348 * sysdeps/s390/stackinfo.h: Likewise.
51349 * sysdeps/sh/stackinfo.h: Likewise.
51350 * sysdeps/sparc/stackinfo.h: Likewise.
51351 * sysdeps/x86_64/stackinfo.h: Likewise.
51352 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51353 PF_X for powerpc64. Retain PF_X for powerpc32.
51354
db753e2c
UD
513552010-12-19 Ulrich Drepper <drepper@gmail.com>
51356
14b697f7
UD
51357 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51358 accurately.
db753e2c
UD
51359 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51360 GETDENTS_64BIT_ALIGNED.
51361
28300719
UD
513622010-12-14 Ulrich Drepper <dreper@gmail.com>
51363
14b697f7 51364 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51365
4f197237
AS
513662010-12-10 Andreas Schwab <schwab@redhat.com>
51367
dbb0472f
AS
51368 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51369 _GNU_SOURCE.
51370
4f197237
AS
51371 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51372 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51373 Remove __restrict.
51374 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51375 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51376
fb88ac72
UD
513772010-12-09 Ulrich Drepper <drepper@gmail.com>
51378
51379 [BZ #11655]
51380 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51381 are initialized.
51382
42acbb92
JJ
513832010-12-09 Jakub Jelinek <jakub@redhat.com>
51384
51385 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51386
c038d98d
UD
513872010-12-03 Ulrich Drepper <drepper@gmail.com>
51388
51389 * po/it.po: Update from translation team.
51390
3a4a2499
L
513912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51392
51393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51394 unused codes.
51395
1e24cf6e
UD
513962010-11-30 Ulrich Drepper <drepper@gmail.com>
51397
51398 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51399
a7690819
AS
514002010-11-24 Andreas Schwab <schwab@redhat.com>
51401
51402 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51403 specially.
51404 (gaih_getanswer_slice): Likewise.
51405
3bf8d1b1
JJ
514062010-10-20 Jakub Jelinek <jakub@redhat.com>
51407
51408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51409
6db52fbb
PB
514102010-05-31 Petr Baudis <pasky@suse.cz>
51411
51412 [BZ #11149]
51413 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51414 silently even in the chroot mode.
51415
eaca7569
UD
514162010-11-22 Ulrich Drepper <drepper@gmail.com>
51417
51418 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51419 last patch a bit. Pretty printing
51420
3056dcdb
UD
514212010-05-31 Petr Baudis <pasky@suse.cz>
51422
51423 [BZ #10085]
51424 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51425 initialization of skip_initgroups_dyn.
51426
cf7c9078
UD
514272010-11-19 Ulrich Drepper <drepper@gmail.com>
51428
51429 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51430 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51431
a1fb5e3e
UD
514322010-11-16 Ulrich Drepper <drepper@gmail.com>
51433
51434 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51435
3540d66b
AS
514362010-11-11 Andreas Schwab <schwab@redhat.com>
51437
51438 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51439 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51440 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51441 ($(objpfx)tst-fnmatch-mem): New rule.
51442 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51443 * posix/tst-fnmatch.c (main): Call mtrace.
51444
13b69574
L
514452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51446
51447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51448 Support Intel processor model 6 and model 0x2c.
51449
da93d214
LM
514502010-11-10 Luis Machado <luisgpm@br.ibm.com>
51451
51452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51453 signed comparison.
51454
8ca52c6e
L
514552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51456
51457 [BZ #12205]
51458 * string/test-strncasecmp.c (check_result): New function.
51459 (do_one_test): Use it.
51460 (check1): New function.
51461 (test_main): Use it.
51462 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51463 Support strcasecmp and strncasecmp.
51464
69da074d
UD
514652010-11-08 Ulrich Drepper <drepper@gmail.com>
51466
51467 [BZ #12194]
51468 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51469 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51470
ff02d528
L
514712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51472
51473 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51474 IFUNC support.
51475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51476 memset-x86-64.
51477 * sysdeps/x86_64/multiarch/bzero.S: New file.
51478 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51479 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51480 * sysdeps/x86_64/multiarch/memset.S: New file.
51481 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51483 Set bit_Prefer_SSE_for_memop for Intel processors.
51484 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51485 Define.
51486 (index_Prefer_SSE_for_memop): Define.
51487 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51488
344d0b54
LM
514892010-11-04 Luis Machado <luisgpm@br.ibm.com>
51490
51491 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51492 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51493
c0dde15b
UD
514942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51495
51496 [BZ #12191]
51497 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51498 (__x86_64_raw_data_cache_size_half): Likewise.
51499 (__x86_64_raw_shared_cache_size): Likewise.
51500 (__x86_64_raw_shared_cache_size_half): Likewise.
51501
51502 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51503 (__x86_64_raw_data_cache_size_half): Likewise.
51504 (__x86_64_raw_shared_cache_size): Likewise.
51505 (__x86_64_raw_shared_cache_size_half): Likewise.
51506 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51507 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51508 and __x86_64_raw_shared_cache_size_half. Round
51509 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51510 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51511 to multiple of 256 bytes.
51512
0e516e0e
MS
515132010-11-03 Ulrich Drepper <drepper@gmail.com>
51514
51515 [BZ #12167]
51516 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51517 of inacessible symlinks. Verify result of symlink before returning it.
51518 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51519 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51520
0e012e87
ER
515212010-10-28 Erich Ritz <erichritz@gmail.com>
51522
51523 * math/math.h (isinf): Fix typo in comment.
51524
de0ff7bc
UD
515252010-11-01 Ulrich Drepper <drepper@gmail.com>
51526
51527 * po/da.po: Update from translation team.
51528
fa41c84d
UD
515292010-10-26 Ulrich Drepper <drepper@gmail.com>
51530
51531 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51532 is added to the list.
51533
f0967738
AK
515342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51535 Ulrich Drepper <drepper@gmail.com>
51536
51537 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51538 the global list here. Move code to...
51539 (_dl_add_to_namespace_list): ...here. New function.
51540 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51541 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51542 * elf/dl-load.c (lose): Don't remove the element from the list.
51543 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51544 (_dl_map_object): Likewise.
51545
515462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51547
51548 [BZ #12159]
51549 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51550 into all bytes of SSE register.
51551 Patch by Richard Li <richardpku@gmail.com>.
51552
f0967738 515532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51554
51555 [BZ #12140]
51556 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51557 perturbing.
51558
d0b9e94f
MB
515592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51560
51561 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51562 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51563 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51564 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51566 submachine.
51567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51568
8e9f92e9
AS
515692010-10-22 Andreas Schwab <schwab@redhat.com>
51570
51571 * include/dlfcn.h (__RTLD_SECURE): Define.
51572 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51573 mode & __RTLD_SECURE instead.
51574 (open_path): Rename preloaded parameter to secure.
51575 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51576 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51577 * elf/dl-deps.c (openaux): Likewise.
51578 * elf/rtld.c (struct map_args): Remove is_preloaded.
51579 (map_doit): Don't use it.
51580 (dl_main): Likewise.
51581 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51582 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51583
bc96fbda
AS
515842010-09-09 Andreas Schwab <schwab@redhat.com>
51585
51586 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51587 (sysd-rules-targets): Remove duplicates.
51588 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51589 rtld-%.$o dependency.
51590
22cd1c9b
AS
515912010-10-18 Andreas Schwab <schwab@redhat.com>
51592
51593 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51594 _dl_map_object do it.
51595
18edac48
UD
515962010-10-19 Ulrich Drepper <drepper@gmail.com>
51597
51598 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51599 fast fma builtins, define the macros in the C99 standard.
51600 (FP_FAST_FMAF): Likewise.
51601 (FP_FAST_FMAL): Likewise.
51602 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51603
51604 * bits/mathdef.h: Update copyright year.
51605 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51606
d2050124
MM
516072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51608
51609 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51610 builtins, define the macros in the C99 standard.
51611 (FP_FAST_FMAF): Likewise.
51612 (FP_FAST_FMAL): Likewise.
51613 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51614 multiply/add.
51615 (FP_FAST_FMAF): Likewise.
51616
475facd1
JJ
516172010-10-15 Jakub Jelinek <jakub@redhat.com>
51618
51619 [BZ #3268]
51620 * math/libm-test.inc (fma_test): Some new testcases.
51621 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51622 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51623 y and infinite z. Do multiplication by C already in long double.
51624 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51626 y and infinite z. Do bitwise or of inexact bit into u.d.
51627 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51628 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51629 * sysdeps/i386/fpu/s_fma.S: Removed.
51630 * sysdeps/i386/fpu/s_fmal.S: Removed.
51631
7c08a05c
JJ
516322010-10-16 Jakub Jelinek <jakub@redhat.com>
51633
51634 [BZ #3268]
51635 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51637 computation is not scheduled after fetestexcept. Fix value
51638 of minimum denormal long double.
51639
f3f7372d
JJ
516402010-10-14 Jakub Jelinek <jakub@redhat.com>
51641
51642 [BZ #3268]
51643 * math/libm-test.inc (fma_test): Add some more tests.
51644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51645 correctly.
51646
14d43591
AS
516472010-10-15 Andreas Schwab <schwab@redhat.com>
51648
51649 * scripts/data/localplt-s390-linux-gnu.data: New file.
51650 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51651
5e908464
JJ
516522010-10-13 Jakub Jelinek <jakub@redhat.com>
51653
51654 [BZ #3268]
51655 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51656 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51657 instead of dbl-64.
51658 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51659 inlines.
51660 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51662 if one of x and y is very large and the other is subnormal.
51663 * sysdeps/s390/fpu/s_fmaf.c: New file.
51664 * sysdeps/s390/fpu/s_fma.c: New file.
51665 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51666 * sysdeps/powerpc/fpu/s_fma.S: New file.
51667 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51668 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51669 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51670
516712010-10-12 Jakub Jelinek <jakub@redhat.com>
51672
51673 [BZ #3268]
51674 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51675 fma tests.
51676 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51677 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51678 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51679 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51680 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51681 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51682 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51683
b833d51f
UD
516842010-10-12 Ulrich Drepper <drepper@redhat.com>
51685
51686 [BZ #12078]
51687 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51688 * posix/bug-regex31.input: Add test case.
51689
1751705d
UD
516902010-10-11 Ulrich Drepper <drepper@gmail.com>
51691
e9b9cbf5
UD
51692 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51693 * posix/bug-regex31.input: New file.
51694
51695 [BZ #12078]
51696 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51697 (parse_sub_exp): Fix last change, use postorder.
51698
ef06edbe
UD
51699 * posix/bug-regex31.c: New file.
51700 * posix/Makefile: Add rules to build and run bug-regex31.
51701
a129c80d
UD
51702 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51703
51704 [BZ #12078]
51705 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51706
b76b818e
UD
51707 [BZ #12108]
51708 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51709 to have entries in sys_siglist.
51710
1751705d
UD
51711 [BZ #12093]
51712 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51713 be NULL.
51714
9ff8d36f
JJ
517152010-10-07 Jakub Jelinek <jakub@redhat.com>
51716
51717 [BZ #3268]
51718 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51719 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51720 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51721 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51722 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51723 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51724 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51725 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51726 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51727 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51728 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51729 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51730 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51731 * math/ftestexcept.c (fetestexcept): Likewise.
51732 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51733 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51734 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51735 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51736 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51737 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51738 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51739
af325969
UD
517402010-10-11 Ulrich Drepper <drepper@gmail.com>
51741
c579b202 51742 [BZ #12107]
af325969
UD
51743 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51744 newline.
51745
67a67b95
UD
517462010-10-06 Ulrich Drepper <drepper@gmail.com>
51747
51748 * string/bug-strstr1.c: New file.
51749 * string/Makefile: Add rules to build and run bug-strstr1.
51750
5fb308bc
EB
517512010-10-05 Eric Blake <eblake@redhat.com>
51752
51753 [BZ #12092]
51754 * string/str-two-way.h (two_way_long_needle): Always clear memory
51755 when skipping input due to the shift table.
51756
45db99c7
UD
517572010-10-03 Ulrich Drepper <drepper@gmail.com>
51758
3b111893
UD
51759 [BZ #12005]
51760 * malloc/mcheck.c: Handle large requests.
51761
45db99c7
UD
51762 [BZ #12077]
51763 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51764 for strncmp and strncasecmp.
51765 * string/stratcliff.c: Add tests for strcmp and strncmp.
51766 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51767
cf7a1eb8
NI
517682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51769
51770 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51771 __set_fpscr.
51772
6484ba5e
AJ
517732010-09-30 Andreas Jaeger <aj@suse.de>
51774
51775 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51776 (CGROUP_SUPER_MAGIC): Define.
51777 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51778 Handle btrfs and cgroup file systems.
51779 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51780 Likewise.
51781
91c42559
LM
517822010-09-27 Luis Machado <luisgpm@br.ibm.com>
51783
51784 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51785 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51786
87a97932
AK
517872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51788
51789 [BZ #12067]
51790 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51791 trying to locate the ELF header.
51792
c21cc9bc
AS
517932010-09-27 Andreas Schwab <schwab@redhat.com>
51794
51795 [BZ #11611]
51796 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51797 Mask out sign-bit copies when constructing f_fsid.
51798
315970f6
PB
517992010-09-24 Petr Baudis <pasky@suse.cz>
51800
51801 * debug/stack_chk_fail_local.c: Add missing licence exception.
51802 * debug/warning-nop.c: Likewise.
51803
1ac7a2c7
JM
518042010-09-15 Joseph Myers <joseph@codesourcery.com>
51805
51806 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51807 implementing getdents64 using getdents syscall, set d_type if
51808 __ASSUME_GETDENTS32_D_TYPE.
51809
56801c50
AS
518102010-09-16 Andreas Schwab <schwab@redhat.com>
51811
51812 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51813 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51814
dda51327
UD
518152010-09-21 Ulrich Drepper <drepper@redhat.com>
51816
51817 [BZ #12037]
51818 * posix/unistd.h: Undo change of feature selection for ftruncate from
51819 2010-01-11.
51820
8ffcee4a
UD
518212010-09-20 Ulrich Drepper <drepper@redhat.com>
51822
a545ecd9 51823 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51824 detection.
51825
e24f0a8b
AS
518262010-09-20 Andreas Schwab <schwab@redhat.com>
51827
51828 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51829 fanotify_mark.
51830 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51831
7291c56f
AS
518322010-09-14 Andreas Schwab <schwab@redhat.com>
51833
51834 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51835 variables after CHECK_SP call.
51836 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51837
bc5fb037
AS
518382010-09-13 Andreas Schwab <schwab@redhat.com>
51839 Ulrich Drepper <drepper@redhat.com>
51840
51841 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51842 re-relocationg ld.so.
51843 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51844 _dl_init_paths call.
51845 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51846 here anymore.
51847
e66e7419
UD
518482010-09-14 Ulrich Drepper <drepper@redhat.com>
51849
51850 * resolv/res_init.c (__res_vinit): Count the default server we added.
51851
c044aa75
CLT
518522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51853 Ulrich Drepper <drepper@redhat.com>
51854
51855 [BZ #11968]
51856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51857 (____longjmp_chk): Use %ebx for saving value across system call.
51858 Add unwind info.
51859
32cf4069
AS
518602010-09-06 Andreas Schwab <schwab@redhat.com>
51861
51862 * manual/Makefile: Don't mix pattern rules with normal rules.
51863
817328ee
AS
518642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51865
51866 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51867 operation.
51868 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51869 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51870 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51871 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51872 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51873 Likewise.
51874
29fddf61
UD
518752010-09-04 Ulrich Drepper <drepper@redhat.com>
51876
51877 [BZ #11979]
51878 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51879 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51880
0959ffc9
UD
518812010-09-02 Ulrich Drepper <drepper@redhat.com>
51882
51883 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51884 * sysdeps/x86_64/addmul_1.S: Likewise.
51885 * sysdeps/x86_64/lshift.S: Likewise.
51886 * sysdeps/x86_64/mul_1.S: Likewise.
51887 * sysdeps/x86_64/rshift.S: Likewise.
51888 * sysdeps/x86_64/sub_n.S: Likewise.
51889 * sysdeps/x86_64/submul_1.S: Likewise.
51890
ece29840
ST
518912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51892
0959ffc9
UD
51893 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51894 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51895 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51896 * bits/sched.h [__need_schedparam]
ece29840 51897 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51898 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51899 (__defined_schedparam): Define to 1.
ece29840
ST
51900 (__sched_param): New structure, identical to sched_param.
51901 (__need_schedparam): Undefine.
51902
e53a31fe
MF
519032010-08-31 Mike Frysinger <vapier@gentoo.org>
51904
fdc0c10d
MF
51905 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51906 (epoll_create1): Declare.
51907
e53a31fe
MF
51908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51909
a726d796
AS
519102010-08-31 Andreas Schwab <schwab@redhat.com>
51911
51912 [BZ #7066]
51913 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51914 shifting retval into place.
51915
2f3e3dc7
UD
519162010-09-01 Ulrich Drepper <drepper@redhat.com>
51917
f2933da9
UD
51918 * nis/rpcsvc/nis.h: Update copyright notice.
51919 * nis/rpcsvc/nis.x: Likewise.
51920 * nis/rpcsvc/nis_callback.h: Likewise.
51921 * nis/rpcsvc/nis_callback.x: Likewise.
51922 * nis/rpcsvc/nis_object.x: Likewise.
51923 * nis/rpcsvc/nis_tags.h: Likewise.
51924 * nis/rpcsvc/yp.h: Likewise.
51925 * nis/rpcsvc/yp.x: Likewise.
51926 * nis/rpcsvc/ypupd.h: Likewise.
51927 * nis/yp_xdr.c: Likewise.
51928 * nis/ypupdate_xdr.c: Likewise.
51929
2f3e3dc7
UD
51930 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51931 mainly the body of pmap_getport. Add parameters to specify timeouts.
51932 (pmap_getport): Use __libc_rpc_getport.
51933 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51934 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51935 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51936
f3dcc2f9
AS
519372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51938
51939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51940 fanotify_mark.
51941
6d34eb5b
RM
519422010-08-27 Roland McGrath <roland@redhat.com>
51943
51944 * sysdeps/i386/i686/multiarch/Makefile
51945 (CFLAGS-varshift.c): New variable.
51946
9ea3de11
UD
519472010-08-27 Ulrich Drepper <drepper@redhat.com>
51948
c96d23fc
UD
51949 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51950 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51951
9ea3de11
UD
51952 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51953
51954 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51955
623aac7f
L
519562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51957
51958 * sysdeps/x86_64/strlen.S: Unroll the loop.
51959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51960 strlen-sse2 strlen-sse2-bsf.
51961 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51962 __strlen_no_bsf if bit_Slow_BSF is set.
51963 (__strlen_sse42): Removed.
51964 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51965 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51966
8b2b7715
RM
519672010-08-25 Roland McGrath <roland@redhat.com>
51968
51969 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51970 * sysdeps/x86_64/multiarch/varshift.c: New file.
51971 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51972 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51973 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51974 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51975
e73015f2
L
519762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51977
51978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51979 strlen-sse2 strlen-sse2-bsf.
51980 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51981 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51982 (__strlen_sse2): Removed.
51983 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51984 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51986 bit_Slow_BSF for Atom.
51987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51988 (index_Slow_BSF): Define.
51989 (HAS_SLOW_BSF): Define.
51990
df24a73e
UD
519912010-08-25 Ulrich Drepper <drepper@redhat.com>
51992
51993 [BZ #10851]
51994 * resolv/res_init.c (__res_vinit): When no server address at all
51995 is given default to loopback.
51996
f2ac4868
RM
519972010-08-24 Roland McGrath <roland@redhat.com>
51998
09055553
RM
51999 * configure.in: Remove config-name.h generation.
52000 * configure: Regenerated.
52001 * config-name.in: File removed.
52002 * scripts/config-uname.sh: New file.
52003 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52004 ($(objdir)config-name.h): New target.
52005
f2ac4868
RM
52006 * sunrpc/rpc_parse.h: Avoid nested comment.
52007
73f27d5e
RH
520082010-08-24 Richard Henderson <rth@redhat.com>
52009 Ulrich Drepper <drepper@redhat.com>
52010 H.J. Lu <hongjiu.lu@intel.com>
52011
52012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52014 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52015 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52016 _mm_alignr_epi8 with _mm_loadu_si128.
52017 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52018 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52019 (__m128i_shift_right): Removed.
52020 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52021 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52022 * sysdeps/x86_64/multiarch/varshift.h: New file.
52023 * sysdeps/x86_64/multiarch/varshift.S: New file.
52024
84b9230c
MF
520252010-08-21 Mike Frysinger <vapier@gentoo.org>
52026
52027 * configure.in: Move assembler checks to before sysdep dir checking.
52028
9bbd0ddc
PB
520292010-08-20 Petr Baudis <pasky@suse.cz>
52030
52031 * LICENSES: Sync the sunrpc license.
52032
9da4bb31
UD
520332010-08-19 Ulrich Drepper <drepper@redhat.com>
52034
a7ab6ec8
UD
52035 * sunrpc/auth_des.c: Update copyright notice once again.
52036 * sunrpc/auth_none.c: Likewise.
52037 * sunrpc/auth_unix.c: Likewise.
52038 * sunrpc/authdes_prot.c: Likewise.
52039 * sunrpc/authuxprot.c: Likewise.
52040 * sunrpc/bindrsvprt.c: Likewise.
52041 * sunrpc/clnt_gen.c: Likewise.
52042 * sunrpc/clnt_perr.c: Likewise.
52043 * sunrpc/clnt_raw.c: Likewise.
52044 * sunrpc/clnt_simp.c: Likewise.
52045 * sunrpc/clnt_tcp.c: Likewise.
52046 * sunrpc/clnt_udp.c: Likewise.
52047 * sunrpc/clnt_unix.c: Likewise.
52048 * sunrpc/des_crypt.c: Likewise.
52049 * sunrpc/des_soft.c: Likewise.
52050 * sunrpc/get_myaddr.c: Likewise.
52051 * sunrpc/getrpcport.c: Likewise.
52052 * sunrpc/key_call.c: Likewise.
52053 * sunrpc/key_prot.c: Likewise.
52054 * sunrpc/openchild.c: Likewise.
52055 * sunrpc/pm_getmaps.c: Likewise.
52056 * sunrpc/pm_getport.c: Likewise.
52057 * sunrpc/pmap_clnt.c: Likewise.
52058 * sunrpc/pmap_prot.c: Likewise.
52059 * sunrpc/pmap_prot2.c: Likewise.
52060 * sunrpc/pmap_rmt.c: Likewise.
52061 * sunrpc/rpc/auth.h: Likewise.
52062 * sunrpc/rpc/auth_unix.h: Likewise.
52063 * sunrpc/rpc/clnt.h: Likewise.
52064 * sunrpc/rpc/des_crypt.h: Likewise.
52065 * sunrpc/rpc/key_prot.h: Likewise.
52066 * sunrpc/rpc/netdb.h: Likewise.
52067 * sunrpc/rpc/pmap_clnt.h: Likewise.
52068 * sunrpc/rpc/pmap_prot.h: Likewise.
52069 * sunrpc/rpc/pmap_rmt.h: Likewise.
52070 * sunrpc/rpc/rpc.h: Likewise.
52071 * sunrpc/rpc/rpc_des.h: Likewise.
52072 * sunrpc/rpc/rpc_msg.h: Likewise.
52073 * sunrpc/rpc/svc.h: Likewise.
52074 * sunrpc/rpc/svc_auth.h: Likewise.
52075 * sunrpc/rpc/types.h: Likewise.
52076 * sunrpc/rpc/xdr.h: Likewise.
52077 * sunrpc/rpc_clntout.c: Likewise.
52078 * sunrpc/rpc_cmsg.c: Likewise.
52079 * sunrpc/rpc_common.c: Likewise.
52080 * sunrpc/rpc_cout.c: Likewise.
52081 * sunrpc/rpc_dtable.c: Likewise.
52082 * sunrpc/rpc_hout.c: Likewise.
52083 * sunrpc/rpc_main.c: Likewise.
52084 * sunrpc/rpc_parse.c: Likewise.
52085 * sunrpc/rpc_parse.h: Likewise.
52086 * sunrpc/rpc_prot.c: Likewise.
52087 * sunrpc/rpc_sample.c: Likewise.
52088 * sunrpc/rpc_scan.c: Likewise.
52089 * sunrpc/rpc_scan.h: Likewise.
52090 * sunrpc/rpc_svcout.c: Likewise.
52091 * sunrpc/rpc_tblout.c: Likewise.
52092 * sunrpc/rpc_util.c: Likewise.
52093 * sunrpc/rpc_util.h: Likewise.
52094 * sunrpc/rpcinfo.c: Likewise.
52095 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52096 * sunrpc/rpcsvc/key_prot.x: Likewise.
52097 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52098 * sunrpc/rpcsvc/mount.x: Likewise.
52099 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52100 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52101 * sunrpc/rpcsvc/rex.x: Likewise.
52102 * sunrpc/rpcsvc/rstat.x: Likewise.
52103 * sunrpc/rpcsvc/rusers.x: Likewise.
52104 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52105 * sunrpc/rpcsvc/spray.x: Likewise.
52106 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52107 * sunrpc/rtime.c: Likewise.
52108 * sunrpc/svc.c: Likewise.
52109 * sunrpc/svc_auth.c: Likewise.
52110 * sunrpc/svc_authux.c: Likewise.
52111 * sunrpc/svc_raw.c: Likewise.
52112 * sunrpc/svc_run.c: Likewise.
52113 * sunrpc/svc_simple.c: Likewise.
52114 * sunrpc/svc_tcp.c: Likewise.
52115 * sunrpc/svc_udp.c: Likewise.
52116 * sunrpc/svc_unix.c: Likewise.
52117 * sunrpc/svcauth_des.c: Likewise.
52118 * sunrpc/xcrypt.c: Likewise.
52119 * sunrpc/xdr.c: Likewise.
52120 * sunrpc/xdr_array.c: Likewise.
52121 * sunrpc/xdr_float.c: Likewise.
52122 * sunrpc/xdr_mem.c: Likewise.
52123 * sunrpc/xdr_rec.c: Likewise.
52124 * sunrpc/xdr_ref.c: Likewise.
52125 * sunrpc/xdr_sizeof.c: Likewise.
52126 * sunrpc/xdr_stdio.c: Likewise.
52127
9da4bb31
UD
52128 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52129 handling.
52130
bdaa77bc
AS
521312010-08-19 Andreas Schwab <schwab@redhat.com>
52132
52133 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52134
fe2f79db
LM
521352010-08-19 Luis Machado <luisgpm@br.ibm.com>
52136
52137 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52138 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52139 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52140 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52141 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52142 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52143 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52144 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52145 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52146 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52147 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52148 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52149 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52150 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52151
b9b42ee0
AB
521522010-07-26 Anton Blanchard <anton@samba.org>
52153
52154 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52155 * malloc/arena.c (heap_trim): Likewise.
52156
1c06ba31
UD
521572010-08-16 Ulrich Drepper <drepper@redhat.com>
52158
52159 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52160 here. Not...
52161 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52162 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52163
f8392f40
L
521642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52165
52166 * sysdeps/i386/elf/Makefile: New file.
52167
3162f12e
AS
521682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52169
52170 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52171 from fanotify_init.
52172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52173 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52174
28c90b2c
UD
521752010-08-15 Ulrich Drepper <drepper@redhat.com>
52176
52177 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52178 of strncasecmp_l.
1feccb6c 52179 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52180
ca6bb004
UD
521812010-08-14 Ulrich Drepper <drepper@redhat.com>
52182
e9f82e0d
UD
52183 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52184 strncase_l-nonascii.
52185 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52186 Add strncase_l-ssse3.
52187 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52188 * sysdeps/x86_64/strcmp.S: Likewise.
52189 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52190 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52191 * sysdeps/x86_64/strncase.S: New file.
52192 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52193 * sysdeps/x86_64/strncase_l.S: New file.
52194 * string/Makefile (strop-tests): Add strncasecmp.
52195 * string/test-strncasecmp.c: New file.
52196
52197 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52198 warning.
52199
ca6bb004
UD
52200 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52201 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52202
052fa7b3
AS
522032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52204
52205 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52206
962dba78
UD
522072010-08-12 Ulrich Drepper <drepper@redhat.com>
52208
52209 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52210 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52211 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52212
bebff237
AM
522132010-05-01 Alan Modra <amodra@gmail.com>
52214
52215 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52216 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52217 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52218 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52219 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52220 tidying. Don't tail-call __sigjmp_save for static lib.
52221 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52222 save location.
52223 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52224 (CALL_MCOUNT): Add eh info, and nop after bl.
52225 (TAIL_CALL_SYSCALL_ERROR): New macro.
52226 (PSEUDO_RET): Use it.
52227 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52228 Correct save location of integer regs and cr.
52229 (_dl_profile_resolve): Correct cr save location. Delete nops
52230 after bl when SHARED. Reduce cfi size a little by better
52231 placement of cfi directives.
52232 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52233 make a stack frame. Instead use parm save area as a temp.
52234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52235 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52237 Don't make a stack frame for parent, use parm save area.
52238 Increase child stack frame to 112 bytes. Don't save unused reg,
52239 and adjust reg usage. Set up cfi on error recovery and
52240 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52242 (__makecontext): Add dummy nop after jump to exit.
52243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52244 Use correct parm save area and cr save, reduce stack frame.
52245 Correct cfi for possible PSEUDO_RET frame setup.
52246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52247 Branch to local label emitted by PSEUDO_RET rather than
52248 __syscall_error.
52249
02637374
AS
522502010-08-12 Andreas Schwab <schwab@redhat.com>
52251
52252 [BZ #11904]
52253 * locale/programs/locale.c (print_assignment): New function.
52254 (show_locale_vars): Use it.
52255
c3e2f19b
UD
522562010-08-11 Ulrich Drepper <drepper@redhat.com>
52257
3cdaa6ad
UD
52258 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52259 field.
52260 (struct statfs64): Likewise.
52261 (_STATFS_F_FLAGS): Define.
52262 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52263 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52264 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52265 (ST_VALID): Define locally.
52266 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52267 __statvfs_getflags, use the provided value.
52268 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52269 __ASSUME_STATFS_F_FLAGS.
52270
754f7da3
UD
52271 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52272
10b3bedc
UD
52273 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52274 Add sys/fanotify.h.
52275 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52276 fanotify_mask for GLIBC_2.13.
52277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52278 fanotify_init and fanotify_mark.
52279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52280 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52281
c08fb0d7
UD
52282 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52283 Add prlimit.
52284 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52285 prlimit64 for GLIBC_2.13.
52286 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52287 prlimit64.
52288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52289 syscall.
52290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52291 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52292 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52293 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52294 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52295 add prlimit alias.
52296 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52297
15bac72b
UD
52298 [BZ #11903]
52299 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52300 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52301
c3e2f19b
UD
52302 * nss/Makefile: Add rules to build and run tst-nss-test1.
52303 * shlib-versions: Add entry for libnss_test1.
52304 * nss/nss_test1.c: New file.
52305 * nss/tst-nss-test1.c: New file.
52306
52307 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52308 (__nss_configure_lookup): Set appropriate entry in
52309 __nss_configure_lookup to true.
52310 * nss/nsswitch.h: Define enum with indeces of databases in
52311 databases and __nss_database_custom arrays. Declare
52312 __nss_database_custom.
52313 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52314 to avoid using nscd when custom rules are installed.
52315 * nss/getXXbyYY_r.c: Likewise.
52316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52317
52318 * nss/nss_files/files-parse.c: Whitespace fixes.
52319
f15ce4d8
UD
523202010-08-09 Ulrich Drepper <drepper@redhat.com>
52321
52322 [BZ #11883]
52323 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52324 * posix/fnmatch_loop.c: Likewise.
52325
d22e4cc9
AK
523262010-07-17 Andi Kleen <ak@linux.intel.com>
52327
52328 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52329 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52330 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52331 * Versions.def [GLIBC_2.13]: Add.
52332
805bc17d
UD
523332010-08-06 Ulrich Drepper <drepper@redhat.com>
52334
52335 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52336 Also fail if tpwd after pwuid call is NULL.
52337
5a42321d
ST
523382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52339
52340 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52341 when converting to ms.
52342
fd3ebeda
ST
523432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52344
52345 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52346 EOPNOTSUPP errors with ENOTTY.
52347 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52348 EOPNOTSUPP errors with ENOTTY.
52349
73507d3a
UD
523502010-07-31 Ulrich Drepper <drepper@redhat.com>
52351
52352 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52353 Add strcasecmp_l-ssse3.
52354 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52355 strcasecmp.
52356 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52357 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52358 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52359
fe36dd02
UD
523602010-07-30 Ulrich Drepper <drepper@redhat.com>
52361
66f6765a
UD
52362 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52363
42e08a54
UD
52364 * string/Makefile (strop-tests): Add strcasecmp.
52365 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52366 strcasecmp_l-nonascii.
52367 (gen-as-const-headers): Add locale-defines.sym.
52368 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52369 * sysdeps/x86_64/strcasecmp.S: New file.
52370 * sysdeps/x86_64/strcasecmp_l.S: New file.
52371 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52372 * sysdeps/x86_64/locale-defines.sym: New file.
52373 * string/test-strcasecmp.c: New file.
52374
fe36dd02
UD
52375 * string/test-strcasestr.c: Test both ends of the range of characters.
52376 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52377
48cbc0d6
RM
523782010-07-29 Roland McGrath <roland@redhat.com>
52379
76e6d6bc 52380 [BZ #11856]
48cbc0d6
RM
52381 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52382
880113d9
UD
523832010-07-27 Ulrich Drepper <drepper@redhat.com>
52384
52385 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52386 for ld.so.
52387
deb9cabb
AS
523882010-07-27 Andreas Schwab <schwab@redhat.com>
52389
52390 * manual/memory.texi (Malloc Tunable Parameters): Document
52391 M_PERTURB.
52392
1c7570ff
RM
523932010-07-26 Roland McGrath <roland@redhat.com>
52394
52395 [BZ #11840]
52396 * configure.in (-fgnu89-inline check): Set and substitute
52397 gnu89_inline, not libc_cv_gnu89_inline.
52398 * configure: Regenerated.
52399 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52400
24fb0f88
UD
524012010-07-26 Ulrich Drepper <drepper@redhat.com>
52402
52403 * string/test-strnlen.c: New file.
52404 * string/Makefile (strop-tests): Add strnlen.
52405 * string/tester.c (test_strnlen): Add a few more test cases.
52406 * string/tst-strlen.c: Better error reporting.
52407
52408 * sysdeps/x86_64/strnlen.S: New file.
52409
8e96b93a
UD
524102010-07-24 Ulrich Drepper <drepper@redhat.com>
52411
52412 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52413 lower-latency instructions.
52414
dbc676d4
UD
524152010-07-23 Ulrich Drepper <drepper@redhat.com>
52416
52417 * string/test-strcasestr.c: New file.
52418 * string/test-strstr.c: New file.
52419 * string/Makefile (strop-tests): Add strstr and strcasestr.
52420 * string/str-two-way.h: Don't undefine MAX.
52421 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52422
f6a31e0e
AS
524232010-07-21 Andreas Schwab <schwab@redhat.com>
52424
52425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52426 strcasestr-nonascii.
52427 (CFLAGS-strcasestr-nonascii.c): Define.
52428 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52429 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52430 Remove unused attribute.
52431
5dbc3b6c
RM
524322010-07-20 Roland McGrath <roland@redhat.com>
52433
52434 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52435 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52436 ld.so.cache was broken. With it, there is no way to disable dsocaps
52437 like LD_HWCAP_MASK can disable hwcaps.
52438
23d101d8
EPM
524392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52440
52441 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52442
cc9f2e47
UD
524432010-07-16 Ulrich Drepper <drepper@redhat.com>
52444
52445 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52446 call in strcasestr.
52447 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52448 __strcasestr_sse42_nonascii.
52449 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52450 strcasestr-nonascii.c.
52451 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52452
77c1b069
LM
524532010-06-15 Luis Machado <luisgpm@br.ibm.com>
52454
52455 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52456 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52457 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52458 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52459
440566c3
UD
524602010-07-09 Ulrich Drepper <drepper@redhat.com>
52461
52462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52463 fcntl.
52464
5be9d05d
AS
524652010-07-06 Andreas Schwab <schwab@redhat.com>
52466
c30b7ee2 52467 [BZ #11577]
5be9d05d
AS
52468 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52469 dl_signal_cerror.
52470
8a492a67
UD
524712010-07-06 Ulrich Drepper <drepper@redhat.com>
52472
52473 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52474 _PC_PIPE_BUF using F_GETPIPE_SZ.
52475
713df3d5
RM
524762010-07-05 Roland McGrath <roland@redhat.com>
52477
52478 * manual/arith.texi (Rounding Functions): Fix rint description
52479 implicit in round description.
52480
702e8f14
UD
524812010-07-02 Ulrich Drepper <drepper@redhat.com>
52482
52483 * elf/Makefile: Fix linking for a few tests to make recent linker
52484 happy.
52485
52ed8be9
AS
524862010-06-30 Andreas Schwab <schwab@redhat.com>
52487
52488 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52489 $(common-objpfx)libc_nonshared.a.
52490
f47c9a11
LM
524912010-06-21 Luis Machado <luisgpm@br.ibm.com>
52492
52493 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52494 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52495 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52496 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52497 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52498 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52499 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52500 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52515 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52516 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52517 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52518 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52519 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52520 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52521 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52522 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52523 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52524 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52525 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52526 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52541
6fb8cbcb
L
525422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52543
52544 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52545 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52546 * string/memmove.c (memmove): Renamed to ...
52547 (MEMMOVE): ...this. Default to memmove.
52548 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52549 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52550 (END_CHK): Define.
52551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52552 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52553 mempcpy-ssse3-back memmove-ssse3-back.
52554 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52555 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52556 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52557 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52558 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52559 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52560 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52561 * sysdeps/x86_64/multiarch/memmove.c: New file.
52562 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52563 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52564 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52565 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52566 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52567 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52568 Define.
52569 (index_Fast_Copy_Backward): Define.
52570 (HAS_ARCH_FEATURE): Define.
52571 (HAS_FAST_REP_STRING): Define.
52572 (HAS_FAST_COPY_BACKWARD): Define.
52573
4e733bac 525742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52575
52576 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52577 Restore proper fallback handling.
52578
63c4ed22
UD
525792010-06-19 Ulrich Drepper <drepper@redhat.com>
52580
ac2b484c
UD
52581 [BZ #11701]
52582 * posix/group_member.c (__group_member): Correct checking loop.
52583
63c4ed22
UD
52584 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52585 OOM in getpwuid_r correctly. Return error number when the caller
52586 should return, otherwise -1.
52587 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52588 call returning > 0 value.
52589 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52590
765ade4b
AS
525912010-06-07 Andreas Schwab <schwab@redhat.com>
52592
52593 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52594 libc_nonshared.a from targets in modules-names.
52595
80da2e09
KS
525962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52597
52598 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52599 requires it.
52600
158db122
LM
526012010-06-10 Luis Machado <luisgpm@br.ibm.com>
52602
52603 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52604 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52605 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52606 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52607
caa78cf8
AS
526082010-06-02 Andreas Schwab <schwab@redhat.com>
52609
52610 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52611
b2ef2c01
UD
526122010-06-14 Ulrich Drepper <drepper@redhat.com>
52613
52614 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52615 and F_GETPIPE_SZ.
52616 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52617 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52620 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52621 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52622
fbd643b6
RM
526232010-06-14 Roland McGrath <roland@redhat.com>
52624
52625 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52626
f32f2869
JJ
526272010-06-07 Jakub Jelinek <jakub@redhat.com>
52628
52629 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52630 __REDIRECT followed by __THROW.
52631 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52632 * posix/getopt.h (getopt): Likewise.
52633
2a50c078
EPM
526342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52635
52636 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52637 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52638 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52639 in AT_FLAGS.
52640 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52641 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52642
eb5ad2eb
LM
526432010-05-28 Luis Machado <luisgpm@br.ibm.com>
52644
52645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52646
3c88fe1e
L
526472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52648
52649 [BZ #11640]
52650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52651 Properly check family and model.
52652
d2f73151
TY
526532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52654
52655 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52656
ebd2e13d
LM
526572010-05-24 Luis Machado <luisgpm@br.ibm.com>
52658
52659 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52660
b32b8b45
UD
526612010-05-21 Ulrich Drepper <drepper@redhat.com>
52662
52663 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52664 symbol reference.
52665
9acbe24d
AS
526662010-05-19 Andreas Schwab <schwab@redhat.com>
52667
52668 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52669 symbol reference.
52670
f0ccf6ea
AS
526712010-05-21 Andreas Schwab <schwab@redhat.com>
52672
3d04ff3a
AS
52673 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52674 and internal_recvmmsg.
52675 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52676 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52677 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52678 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52679
f0ccf6ea
AS
52680 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52681 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52682 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52683
5b08ac57
AS
526842010-05-20 Andreas Schwab <schwab@redhat.com>
52685
52686 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52687
4828935d
LM
526882010-05-17 Luis Machado <luisgpm@br.ibm.com>
52689
52690 POWER7 optimizations.
52691 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52692 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52693
373d545e
UD
526942010-05-19 Ulrich Drepper <drepper@redhat.com>
52695
52696 * version.h: Update for 2.13 development version.
52697
21a2b1ae
AS
526982010-05-12 Andrew Stubbs <ams@codesourcery.com>
52699
52700 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52701 exceptions. Return 0.
52702
3f7dcb2b
RM
527032010-05-07 Roland McGrath <roland@redhat.com>
52704
52705 * elf/ldconfig.c (main): Add a const.
52706
5f24d53a 527072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52708
a160f8d8
UD
52709 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52710 (args_options): Add no-idn option.
52711 (ahosts_keys_int): Add idn_flags to ai_flags.
52712 (parse_option): Handle 'i' option to clear idn_flags.
52713
5f24d53a
UD
52714 * malloc/malloc.c (_int_free): Possible race in the most recently
52715 added check. Only act on the data if no current modification
52716 happened.
265bb1ce
UD
52717
52718See ChangeLog.17 for earlier changes.