]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use MODULE_NAME in stap-probe instead of IN_LIB
[thirdparty/glibc.git] / ChangeLog
CommitLineData
279bc5b3
SP
12014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * Makeconfig (module-cppflags-real): Define MODULE_NAME
4 instead of IN_MODULE.
5 * include/libc-symbols.h (IN_MODULE): Define using
6 MODULE_NAME.
7 (PASTE_NAME, PASTE_NAME1): New macros.
8 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9 of IN_LIB.
10 (STAP_PROBE_ASM): Likewise.
11
e0cfa510
ST
122014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
13
14 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
15 __mach_init in dlopened libc.
16
34d97d87
MF
172014-11-22 Mike Frysinger <vapier@gentoo.org>
18
19 * sysdeps/arm/preconfigure.ac: Delete EABI check.
20 * sysdeps/arm/preconfigure: Regenerate.
21
33cd1f74
RM
222014-11-21 Roland McGrath <roland@hack.frob.com>
23
24 * nptl/pthread_create.c (__pthread_create_2_1): Set
25 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26 when copying values from IATTR into PD.
27
8c230039
WN
282014-11-21 Will Newton <will.newton@linaro.org>
29 Andrew Pinski <andrew.pinski@caviumnetworks.com>
30
6d3db89b
AP
31 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32 Refactor inline-asm. Also add comment.
33
01194ba1
WN
34 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
35 ElfW macro instead of hardcoded Elf64 types.
36 (la_aarch64_gnu_pltenter): Likewise.
37 * sysdeps/aarch64/dl-machine.h
38 (elf_machine_runtime_setup): Use ElfW(Addr).
39
8c230039
WN
40 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
41 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
42 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
44 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
45 (R_AARCH64_TLS_DTPMOD64): Rename to ..
46 (R_AARCH64_TLS_DTPMOD): This.
47 (R_AARCH64_TLS_DTPREL64): Rename to ...
48 (R_AARCH64_TLS_DTPREL): This.
49 (R_AARCH64_TLS_TPREL64): Rename to ...
50 (R_AARCH64_TLS_TPREL): This.
51 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
52 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
53 R_AARCH64_TLS_TPREL64.
54 (elf_machine_rela): Likewise.
55
0d79fa53
TR
562014-11-21 Torvald Riegel <triegel@redhat.com>
57
58 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
59 by setting it to 0. 64b atomics are not supported currently.
60
b59d114b
AO
612014-11-21 Alexandre Oliva <aoliva@redhat.com>
62
63 [BZ #16469]
64 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
65 search domain names.
66
f3d945d5
AO
672014-11-21 Alexandre Oliva <aoliva@redhat.com>
68
69 [BZ #16469]
70 * NEWS: Update.
71 * resolv/res_query.c (__libc_res_nquerydomain): Retain
72 trailing dot.
73 * posix/tst-getaddrinfo5.c: New.
74 * posix/Makefile (tests): Add it.
75
49698902
AO
762014-11-21 Alexandre Oliva <aoliva@redhat.com>
77
78 [BZ #14498]
79 * NEWS: Fixed.
80 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
81 after parsing line but before break_if_match.
82 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
83 if there is a protocol mismatch.
84
81959214
MS
852014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
86
87 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
88 because the potential race is on the user-supplied stream.
89
7729e0e9
AO
902014-11-21 Alexandre Oliva <aoliva@redhat.com>
91
92 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
93 string literal if not passed a buffer.
94 * manual/job.texi (ctermid): Update reasoning, note deviation
95 from posix, suggest mtasurace when not passed a buffer, for
96 future non-preliminary safety notes.
97
a4ea5e28
AO
982014-11-21 Alexandre Oliva <aoliva@redhat.com>
99
100 * manual/users.texi (cuserid): Fix MT-Safety note for the case
101 of not passing it a buffer.
102 Reported by Peng Haitao.
103
a2b581cb
AO
1042014-11-21 Alexandre Oliva <aoliva@redhat.com>
105
106 * manual/Makefile ($(objpfx)stamp-summary): Require
107 check-safety.sh to pass.
108 * manual/check-safety.sh: Wish for verification that every
109 @deftypefn and @deftypefun is followed by a @safety remark.
110
f214ff74
RM
1112014-11-20 Roland McGrath <roland@hack.frob.com>
112
7f0dfae0
RM
113 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
114
2f531bbb
RM
115 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
116 PTHREAD_CANCEL_ASYNCHRONOUS.
117 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
118 send SIGCANCEL.
119
f214ff74
RM
120 * nptl/default-sched.h: New file.
121 * sysdeps/unix/sysv/linux/default-sched.h: New file.
122 * nptl/pthread_create.c: Include it.
123 (__pthread_create_2_1): Use collect_default_sched instead of making
124 Linux syscalls here directly.
125
e37c91d4
TR
1262014-11-20 Torvald Riegel <triegel@redhat.com>
127
128 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
129 __pthread_once): Use C11 atomics.
130
1eccfecd
TR
1312014-11-20 Torvald Riegel <triegel@redhat.com>
132
133 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
134
ff871426
TR
1352014-11-20 Torvald Riegel <triegel@redhat.com>
136
137 * include/atomic.h (__atomic_link_error, __atomic_check_size,
138 atomic_thread_fence_acquire, atomic_thread_fence_release,
139 atomic_thread_fence_seq_cst, atomic_load_relaxed,
140 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
141 atomic_compare_exchange_weak_relaxed,
142 atomic_compare_exchange_weak_acquire,
143 atomic_compare_exchange_weak_release,
144 atomic_exchange_acquire, atomic_exchange_release,
145 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
146 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
147 atomic_fetch_and_acquire,
148 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
149
1ea339b6
TR
1502014-11-20 Torvald Riegel <triegel@redhat.com>
151
152 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
153 USE_ATOMIC_COMPILER_BUILTINS): Define.
154 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
155 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
156 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
157 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
158 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
159 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
160 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
161 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
162 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
163 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
164 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
165 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
166 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
167 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
168 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
169 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
170 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
171 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
172 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
173 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
174 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
175 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
176 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
177 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
178 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
179 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
180 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
181 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
182 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
183 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
184 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
185 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
186 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
187 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
188 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
189 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
190 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
191 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
192 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
193 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
194
cbd463e2
RM
1952014-11-19 Roland McGrath <roland@hack.frob.com>
196
d960211f
RM
197 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
198 the sched_priority value here. It was already checked when the user
199 called pthread_attr_setschedparam.
200
cbd463e2
RM
201 * nptl/tst-bad-schedattr.c: New file.
202 * nptl/Makefile (tests): Add it.
203
a39208bd
CD
2042014-11-19 Carlos O'Donell <carlos@redhat.com>
205 Florian Weimer <fweimer@redhat.com>
206 Joseph Myers <joseph@codesourcery.com>
207 Adam Conrad <adconrad@0c3.net>
208 Andreas Schwab <schwab@suse.de>
209 Brooks <bmoses@google.com>
210
211 [BZ #17625]
212 * wordexp-test.c (__dso_handle): Add prototype.
213 (__register_atfork): Likewise.
214 (__app_register_atfork): New function.
215 (registered_forks): New global.
216 (register_fork): New function.
217 (test_case): Add 3 new tests for WRDE_CMDSUB.
218 (main): Call __app_register_atfork.
219 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
220 fork count is non-zero fail the test.
221 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
222 is set.
223 (parse_dollars): Remove check for WRDE_NOCMD.
224 (parse_dquote): Likewise.
225
9cd47470
SP
2262014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
227
130ac68c
SP
228 * Makeconfig (built-modules): List non-library modules to be
229 built.
230 (module-cppflags): Include libc-modules.h for
231 everything except shlib-versions.v.i.
232 (CPPFLAGS): Use it.
233 (before-compile): Add libc-modules.h.
234 ($(common-objpfx)libc-modules.h,
235 $(common-objpfx)libc-modules.stmp): New targets.
236 (common-generated): Add libc-modules.h and libc-modules.stmp.
237 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
238 * include/libc-symbols.h: Don't include libc-modules.h.
239 * include/libc-modules.h: Remove file.
240 * scripts/gen-libc-modules.awk: New script to generate
241 libc-modules.h.
242 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
243 Depend on libc-modules.stmp.
244
286663c3
SP
245 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
246
9cd47470
SP
247 * Makeconfig (in-module): Get value of libof set for the
248 translation unit.
249 (CPPFLAGS): Use $(in-module).
250 * Makerules: Don't suffix routine names for nonlib.
251 * include/libc-modules.h: New file.
252 * include/libc-symbols.h: Include libc-modules.h
253 (IS_IN): New macro to replace IS_IN_* macros.
254 * elf/Makefile: Set libof-* for each routine.
255 * elf/rtld-Rules: Likewise.
256 * extra-modules.mk: Likewise.
257 * iconv/Makefile: Likewise.
258 * iconvdata/Makefile: Likewise.
259 * locale/Makefile: Likewise.
260 * malloc/Makefile: Likewise.
261 * nss/Makefile: Likewise.
262 * sysdeps/gnu/Makefile: Likewise.
263 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
264 * sysdeps/unix/sysv/linux/Makefile: Likewise.
265 * sysdeps/s390/s390-64/Makefile: Likewise.
266 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
267 CPPFLAGS for nscd instead of nonlib.
268
32fed10f
RM
2692014-11-18 Roland McGrath <roland@hack.frob.com>
270
d71035bd
RM
271 * nptl/createthread.c: New file.
272
6540b991
RM
273 * nptl/createthread.c: Moved ...
274 * sysdeps/unix/sysv/linux/createthread.c: ... here.
275
32fed10f
RM
276 * nptl/createthread.c: Add proper top-line comment.
277 (do_clone): Folded into ...
278 (create_thread): ... here. Take new arguments STOPPED_START and
279 THREAD_RAN. Always set PD->stopped_start to something here. Don't
280 increment __nptl_threads, do event-reporting logic, do
281 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
282 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
283 resource cleanup if sched_setaffinity or sched_setscheduler fails,
284 just send SIGCANCEL.
285 * nptl/pthread_create.c: Forward-declare create_thread before
286 including createthread.c.
287 (start_thread): Use new macro START_THREAD_DEFN to replace defining
288 declaration, and new macro START_THREAD_SELF to replace argument.
289 Remove return statement.
290 (report_thread_creation): New function.
291 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
292 synchronization logic, and __nptl_nthreads increment here, around
293 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
294 PD->parent_cancelhandling here, before create_thread. When
295 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
296 __deallocate_stack, and ENOMEM translation here.
297
107a5bf0
JM
2982014-11-18 Joseph Myers <joseph@codesourcery.com>
299
300 [BZ #17616]
301 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
302 (mptwo): Rename to __mptwo.
303 (__inv): Use __mptwo instead of mptwo.
304 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
305 (mptwo): Rename to __mptwo.
306 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
307 of mpone and __mptwo instead of mptwo.
308 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
309 instead of mpone.
310 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
311 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
312 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
313 of mpone and __mptwo instead of mptwo.
314 (__mpranred): Use __mpone instead of mpone.
315 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
316 variable.
317 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
318 (test-xfail-ISO99/math.h/linknamespace): Likewise.
319 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
320 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
321 (test-xfail-ISO11/math.h/linknamespace): Likewise.
322 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
323 (test-xfail-XPG3/math.h/linknamespace): Likewise.
324 (test-xfail-XPG4/math.h/linknamespace): Likewise.
325 (test-xfail-POSIX/math.h/linknamespace): Likewise.
326 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
327 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
328 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
329 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
330 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
331 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
332 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
333 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
334 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
335 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
336
3b679ab3
TV
3372014-11-18 Tom de Vries <tom@codesoucery.com>
338
339 * manual/signal.texi (Primitives Interrupted by Signals): In section,
340 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
341
3422014-11-17 Richard Henderson <rth@redhat.com>
343
344 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
345 (_FP_PACK_RAW_2): Remove.
346 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
347 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
348 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
349 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
350 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
351 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
352 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
353 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
354 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
355 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
356 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
357 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
358 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
359 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
360 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
361 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
362
0781a777
RM
3632014-11-14 Roland McGrath <roland@hack.frob.com>
364
365 * signal/signal.h [__USE_MISC]
366 (struct sigvec): Remove type.
367 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
368 (sigvec): Remove declaration.
369 * sysdeps/posix/sigvec.c: Moved ...
370 * signal/sigvec.c: ... here, replacing old file.
371 (struct sigvec): New type, copied from old signal.h definition.
372 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
373 (__sigvec): Convert definition to prototype.
374 (sigvec): Replace weak_alias with compat_symbol.
375 * signal/Versions (libc: GLIBC_2.21): New version set.
376 * include/signal.h: Remove __sigvec declaration.
377 * sysdeps/unix/bsd/sigvec.c: Remove file.
378 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
379 * manual/signal.texi (BSD Handler): Remove subsection.
380 Move siginterrupt up to ...
381 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
382 (Blocking in BSD): Fold subsection into its parent.
383 * NEWS: Mention sigvec removal.
384
a4733812
JM
3852014-11-14 Joseph Myers <joseph@codesourcery.com>
386
5ae4fe60
JM
387 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
388 (DLA_FMS): Make definition conditional only on [__FMA4__].
389 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
390 definition.
391
6a0dd472
JM
392 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
393 Make definition conditional only on [PROF].
394 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
395 definition.
396 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
397 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
398
a4733812
JM
399 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
400 !__GNUC__].
401 * include/signal.h (__sigpause): Move declaration above call to
402 libc_hidden_proto.
403 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
404 variable.
405 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
406 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
407
cf7246dd
DM
4082014-11-14 David S. Miller <davem@davemloft.net>
409
410 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
411 Define before including <string/memcpy.c> and <string/mempcpy.c>.
412
c1b0aadc
JM
4132014-11-14 Joseph Myers <joseph@codesourcery.com>
414
4863355a
JM
415 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
416 * configure: Regenerated.
417 * manual/install.texi (Tools for Compilation): Document a
418 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
419 compiler verified to work.
420 * INSTALL: Regenerated.
421
c1b0aadc
JM
422 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
423 redeclare with asm name.
424 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
425 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
426 including <string.h>.
427 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
428 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
429 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
430 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
431 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
432 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
433 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
434
2a1cfd94
JM
4352014-11-13 Joseph Myers <joseph@codesourcery.com>
436
bf438382
JM
437 * stdlib/strtol.c (__strtol): Use prototype definition.
438
2a1cfd94
JM
439 [BZ #17594]
440 * stdlib/strtol.c (SYM__): New macro.
441 (SYM__1): Likewise.
442 (__strtol): Likewise.
443 (strtol): Rename to __strtol and define as weak alias of
444 __strtol. Use libc_hidden_weak.
445
20ed0d26
SL
4462014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
447
448 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
449 Use numbered labels in inline assembly.
450
53244a4e
SL
4512014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
452
453 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
454 Add setjmp LIBC_PROBE.
455 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
456 Likewise.
457 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
458 Add longjmp, longjmp_target LIBC_PROBE.
459 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
460 Likewise.
461
47df8251
SL
4622014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
463
464 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
465 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
466 to get rid of unused variable warning.
467
618cebef
SL
4682014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
469
470 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
471 Check for unwind_backtrace == NULL only in SHARED case.
472 (__backchain_backtrace): Compile only in SHARED case.
473 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
474 Likewise.
475 (__backchain_backtrace): Declare as static.
476
c6aab2cb
RM
4772014-11-12 Roland McGrath <roland@hack.frob.com>
478
479 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
480 (__libc_multiple_threads_ptr): Variable moved ...
481 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
482
5a6fa4d7
JM
4832014-11-12 Joseph Myers <joseph@codesourcery.com>
484
24f4f825
JM
485 * conform/GlibcConform.pm: New file.
486 * conform/conformtest.pl: Use GlibcConform module.
487 * conform/linknamespace.pl: New file.
488 * conform/list-header-symbols.pl: Likewise.
489 * conform/Makefile (linknamespace-symlists-base): New variable.
490 (linknamespace-symlists-tests): Likewise.
491 (linknamespace-header-base): Likewise.
492 (linknamespace-header-tests): Likewise.
493 (tests-special): Add new tests.
494 ($(linknamespace-symlists-tests)): New rule.
495 (linknamespace-libs): New variable.
496 ($(objpfx)symlist-stdlibs): New rule.
497 ($(linknamespace-header-tests)): Likewise.
498 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
499 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
500 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
501 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
502 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
503 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
504 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
505 (test-xfail-ISO/math.h/linknamespace): Likewise.
506 (test-xfail-ISO/signal.h/linknamespace): Likewise.
507 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
508 (test-xfail-ISO/time.h/linknamespace): Likewise.
509 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
510 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
511 (test-xfail-ISO99/math.h/linknamespace): Likewise.
512 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
513 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
514 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
515 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
516 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
517 (test-xfail-ISO11/math.h/linknamespace): Likewise.
518 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
519 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
520 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
521 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
522 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
523 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
524 (test-xfail-XPG3/math.h/linknamespace): Likewise.
525 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
526 (test-xfail-XPG3/search.h/linknamespace): Likewise.
527 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
528 (test-xfail-XPG3/time.h/linknamespace): Likewise.
529 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
530 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
531 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
532 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
533 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
534 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
535 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
536 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
537 (test-xfail-XPG4/math.h/linknamespace): Likewise.
538 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
539 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
540 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
541 (test-xfail-XPG4/search.h/linknamespace): Likewise.
542 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
543 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
544 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
545 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
546 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
547 (test-xfail-XPG4/time.h/linknamespace): Likewise.
548 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
549 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
550 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
551 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
552 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
553 (test-xfail-POSIX/math.h/linknamespace): Likewise.
554 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
555 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
556 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
557 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
558 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
559 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
560 (test-xfail-POSIX/time.h/linknamespace): Likewise.
561 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
562 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
563 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
564 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
565 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
566 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
567 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
568 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
569 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
570 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
571 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
572 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
573 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
574 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
575 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
576 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
577 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
578 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
579 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
580 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
581 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
582 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
583 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
584 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
585 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
586 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
587 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
588 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
589 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
590 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
591 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
592 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
593 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
594 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
595 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
596 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
597 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
598 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
599 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
600 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
601 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
602 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
603 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
604 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
605 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
606 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
607 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
608 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
609 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
610 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
611 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
612 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
613 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
614 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
615 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
616 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
617 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
618 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
619 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
620 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
621 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
622 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
623 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
624 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
625 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
626 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
627 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
628 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
629 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
630 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
631 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
632 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
633 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
634 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
635 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
636 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
637 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
638 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
639 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
640 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
641 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
642 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
643 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
644 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
645 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
646 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
647 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
648 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
649 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
650 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
651 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
652 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
653 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
654 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
655 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
656 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
657 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
658 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
659
cc67478e
JM
660 [BZ #17589]
661 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
662 of fgets_unlocked.
663
9975e3d3
JM
664 [BZ #17585]
665 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
666 (memmem): Rename to __memmem and define as weak alias of
667 __memmem. Use libc_hidden_weak.
668 (__memmem): Use libc_hidden_def.
669 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
670 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
671 memmem.
672
c4eae752
JM
673 [BZ #17582]
674 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
675 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
676 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
677 and define as weak alias of __fgets_unlocked. Use
678 libc_hidden_weak.
679 (__fgets_unlocked): Use libc_hidden_def.
680 * include/stdio.h (__fgets_unlocked): Declare. Use
681 libc_hidden_proto.
682 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
683 __fgets_unlocked instead of fgets_unlocked.
684 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
685 (GET_NPROCS_CONF_PARSER): Likewise.
686 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
687 (GET_NPROCS_CONF_PARSER): Likewise.
688
01cad84e
JM
689 [BZ #17574]
690 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
691 weak alias of __wmemset. Use libc_hidden_weak.
692 (__wmemset): Use libc_hidden_def.
693 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
694 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
695 of wmemset.
696
939da411
JM
697 [BZ #17573]
698 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
699 with asm name __mempcpy.
700 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
701
293d9a41
JM
702 [BZ #17572]
703 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
704 and define as weak alias of __rawmemchr.
705 (__rawmemchr): Do not define as strong alias of rawmemchr.
706
bef8fd60
JM
707 [BZ #17571]
708 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
709 alias of __qsort_r.
710 (qsort): Call __qsort_r instead of qsort_r.
711 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
712 (__qsort_r): Declare. Call libc_hidden_proto.
713 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
714 instead of qsort_r.
715 * nscd/gai.c (__qsort_r): Define to qsort_r.
716 * posix/tst-rfc3484.c (__qsort_r): Likewise.
717 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
718 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
719
c52ff39e
JM
720 [BZ #17570]
721 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
722 define as weak alias of __malloc_info.
723
2f5c1b00
JM
724 [BZ #17584]
725 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
726 as weak alias of __rewinddir. Don't use libc_hidden_def.
727 (__rewinddir): Use libc_hidden_def.
728 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
729 as weak alias of __rewinddir. Don't use libc_hidden_def.
730 (__rewinddir): Use libc_hidden_def.
731 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
732 weak alias of __rewinddir. Don't use libc_hidden_def.
733 (__rewinddir): Use libc_hidden_def.
734 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
735 (__rewinddir): Use libc_hidden_proto.
736 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
737 rewinddir.
738 (__getcwd): Use __rewinddir instead of rewinddir.
739
5a6fa4d7
JM
740 [BZ #17583]
741 * libio/fileno.c (fileno): Rename to __fileno and define as weak
742 alias of __fileno. Use libc_hidden_weak.
743 (__fileno): Use libc_hidden_def.
744 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
745 * libio/ftello.c (ftello): Rename to __ftello and define as weak
746 alias of __ftello.
747 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
748 __ftello.
749 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
750 (__fread_unlocked): Define as strong alias of _IO_fread. Use
751 libc_hidden_def.
752 (fread_unlocked): Don't use libc_hidden_ver.
753 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
754 and define as weak alias of __fread_unlocked. Don't use
755 libc_hidden_def.
756 (__fread_unlocked): Use libc_hidden_def.
757 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
758 (ftello): Don't use libc_hidden_proto.
759 (__ftello): Declare. Use libc_hidden_proto.
760 (fread_unlocked): Don't use libc_hidden_proto.
761 (__fread_unlocked): Declare. Use libc_hidden_proto.
762 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
763 and __ftello instead of fileno, fread_unlocked and ftello.
764
2581b98e
SP
7652012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
766
767 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
768 GOT12.
769 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
770 Likewise.
771 (_dl_start_user): Likewise.
772 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
773
533bb7c2
SP
7742014-11-12 Carlos O'Donell <carlos@redhat.com>
775 Siddhesh Poyarekar <siddhesh@redhat.com>
776
777 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
778 Move argv and envp down instead of moving argc up.
779 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
780
fffa1cf8
LH
7812014-11-12 Leonhard Holz <leonhard.holz@web.de>
782
783 [BZ #17506]
784 * test-skeleton.c (main): Return successful if one of
785 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
786 * string/tst-strcoll-overflow.c: Define expected status.
787
fb89b46d
TU
7882014-11-12 Tatiana Udalova <t.udalova@samsung.com>
789
790 [BZ #17475]
791 * locale/iso-639.def: Define Bhili and Tulu language codes.
792
5c40c3ba
AH
7932014-11-11 Alan Hayward <alan.hayward@arm.com>
794
795 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
796
b17fe01b 7972014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
798
799 [BZ #17555]
800 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
801
bd805071
AS
8022014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
803
804 * configure.ac: Updated check of minimal required version to
805 2.22.
806 * manual/install.texi (Tools for Compilation): Updated version
807 number.
808 * configure: Regenerated.
809 * INSTALL: Likewise.
810
1400983e
AS
8112014-11-07 Andreas Schwab <schwab@linux-m68k.org>
812
813 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
814 __tls_get_addr.
815
2c46a66a
JM
8162014-11-07 Joseph Myers <joseph@codesourcery.com>
817
818 * include/sys/wait.h (__libc_waitpid): Remove declaration.
819 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
820 (__waitpid): Don't define as alias. Use libc_hidden_def not
821 libc_hidden_weak.
822 (waitpid): Define as alias of __waitpid.
823 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
824 __waitpid.
825 (__waitpid): Don't define as alias. Use libc_hidden_def not
826 libc_hidden_weak.
827 (waitpid): Define as alias of __waitpid.
828 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
829 __libc_waitpid alias.
830 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
831 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
832 Likewise.
833 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
834 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
835 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
836 alias.
837 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
838 __waitpid.
839 (__waitpid): Don't define as alias. Use libc_hidden_def not
840 libc_hidden_weak.
841 (waitpid): Define as alias of __waitpid.
842
da53d6db
CD
8432014-11-06 Carlos O'Donell <carlos@redhat.com>
844
a2887bdb
CD
845 * manual/llio.texi: Add comment that write safety has been
846 fixed in Linux.
847
da53d6db
CD
848 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
849 (localplt-build-dso): Add elf/ld.so.
850 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
851 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
852 and free for ld.so.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
854 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
856 Likewise.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
858 Likewise.
859 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
860 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
861 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
862 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
863 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
864 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
865 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
866 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
867 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
868 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
869 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
870
9cf27b8d
JM
8712014-11-05 Joseph Myers <joseph@codesourcery.com>
872
873 [BZ #14132]
874 * include/libc-symbols.h (INTUSE): Remove macro.
875 (INTDEF): Likewise.
876 (INTVARDEF): Likewise.
877 (_INTVARDEF): Likewise.
878 (INTDEF2): Likewise.
879 (INTVARDEF2): Likewise.
880 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
881 rtld_hidden_def instead of INTVARDEF.
882 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
883 (_dl_starting_up_internal): Remove declaration.
884 (_dl_starting_up): Use rtld_hidden_proto.
885 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
886 declaration.
887 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
888 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
889 _dl_starting_up.
890 * elf/dl-writev.h (_dl_writev): Likewise.
891 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
892 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
893 _dl_starting_up_internal.
894
af83568d
AZ
8952014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
896
897 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
898 test-skeleton.c.
899
b01ee67c
WN
9002014-11-05 Will Newton <will.newton@linaro.org>
901
902 * benchtests/Makefile: (bench-malloc): Add malloc thread
903 scalability benchmark.
904 * benchtests/bench-malloc-threads.c: New file.
905
be9d4ccc
RE
9062014-11-05 Richard Earnshaw <rearnsha@arm.com>
907
908 * sysdeps/aarch64/strchrnul.S: New file.
909
7110166d
AZ
9102014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
911
912 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
913 definition.
914 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
915 Likwise.
916 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
917 Likewise.
918 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
919 Likewise.
920 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
921 Likewise.
922 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
923 Likewise.
924
9252014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
926
927 * catgets/test-gencat.c: Use test-skeleton.c.
928 * catgets/tst-catgets.c: Likewise.
929 * csu/tst-empty.c: Likewise.
930 * elf/tst-audit2.c: Likewise.
931 * elf/tst-global1.c: Likewise.
932 * elf/tst-pathopt.c: Likewise.
933 * elf/tst-piemod1.c: Likewise.
934 * elf/tst-tls10.c: Likewise.
935 * elf/tst-tls11.c: Likewise.
936 * elf/tst-tls12.c: Likewise.
937 * gnulib/tst-gcc.c: Likewise.
938 * iconvdata/tst-e2big.c: Likewise.
939 * iconvdata/tst-loading.c: Likewise.
940 * iconv/tst-iconv1.c: Likewise.
941 * iconv/tst-iconv2.c: Likewise.
942 * inet/test-inet6_opt.c: Likewise.
943 * inet/tst-gethnm.c: Likewise.
944 * inet/tst-network.c: Likewise.
945 * inet/tst-ntoa.c: Likewise.
946 * intl/tst-codeset.c: Likewise.
947 * intl/tst-gettext2.c: Likewise.
948 * intl/tst-gettext3.c: Likewise.
949 * intl/tst-ngettext.c: Likewise.
950 * intl/tst-translit.c: Likewise.
951 * io/test-stat.c: Likewise.
952 * libio/test-fmemopen.c: Likewise.
953 * libio/tst-freopen.c: Likewise.
954 * libio/tst-sscanf.c: Likewise.
955 * libio/tst-ungetwc1.c: Likewise.
956 * libio/tst-ungetwc2.c: Likewise.
957 * libio/tst-widetext.c: Likewise.
958 * localedata/tst-ctype.c: Likewise.
959 * localedata/tst-digits.c: Likewise.
960 * localedata/tst-leaks.c: Likewise.
961 * localedata/tst-mbswcs1.c: Likewise.
962 * localedata/tst-mbswcs2.c: Likewise.
963 * localedata/tst-mbswcs3.c: Likewise.
964 * localedata/tst-mbswcs4.c: Likewise.
965 * localedata/tst-mbswcs5.c: Likewise.
966 * localedata/tst-setlocale.c: Likewise.
967 * localedata/tst-trans.c: Likewise.
968 * localedata/tst-wctype.c: Likewise.
969 * localedata/tst-xlocale1.c: Likewise.
970 * login/tst-grantpt.c: Likewise.
971 * malloc/tst-calloc.c: Likewise.
972 * malloc/tst-malloc.c: Likewise.
973 * malloc/tst-mallocstate.c: Likewise.
974 * malloc/tst-mcheck.c: Likewise.
975 * malloc/tst-mtrace.c: Likewise.
976 * malloc/tst-obstack.c: Likewise.
977 * math/atest-exp2.c: Likewise.
978 * math/atest-exp.c: Likewise.
979 * math/atest-sincos.c: Likewise.
980 * math/test-matherr.c: Likewise.
981 * math/test-misc.c: Likewise.
982 * math/test-powl.c: Likewise.
983 * math/tst-definitions.c: Likewise.
984 * misc/tst-dirname.c: Likewise.
985 * misc/tst-efgcvt.c: Likewise.
986 * misc/tst-fdset.c: Likewise.
987 * misc/tst-hsearch.c: Likewise.
988 * misc/tst-mntent2.c: Likewise.
989 * nptl/tst-sem7.c: Likewise.
990 * nptl/tst-sem8.c: Likewise.
991 * nptl/tst-sem9.c: Likewise.
992 * nss/test-netdb.c: Likewise.
993 * posix/tst-fnmatch.c: Likewise.
994 * posix/tst-getlogin.c: Likewise.
995 * posix/tst-gnuglob.c: Likewise.
996 * posix/tst-mmap.c: Likewise.
997 * pwd/tst-getpw.c: Likewise.
998 * resolv/tst-inet_ntop.c: Likewise.
999 * rt/tst-timer.c: Likewise.
1000 * stdio-common/test-fseek.c: Likewise.
1001 * stdio-common/test-popen.c: Likewise.
1002 * stdio-common/test-vfprintf.c: Likewise.
1003 * stdio-common/tst-cookie.c: Likewise.
1004 * stdio-common/tst-fileno.c: Likewise.
1005 * stdio-common/tst-gets.c: Likewise.
1006 * stdio-common/tst-obprintf.c: Likewise.
1007 * stdio-common/tst-perror.c: Likewise.
1008 * stdio-common/tst-sprintf2.c: Likewise.
1009 * stdio-common/tst-sprintf3.c: Likewise.
1010 * stdio-common/tst-sprintf.c: Likewise.
1011 * stdio-common/tst-swprintf.c: Likewise.
1012 * stdio-common/tst-tmpnam.c: Likewise.
1013 * stdio-common/tst-unbputc.c: Likewise.
1014 * stdio-common/tst-wc-printf.c: Likewise.
1015 * stdlib/tst-environ.c: Likewise.
1016 * stdlib/tst-fmtmsg.c: Likewise.
1017 * stdlib/tst-limits.c: Likewise.
1018 * stdlib/tst-rand48-2.c: Likewise.
1019 * stdlib/tst-rand48.c: Likewise.
1020 * stdlib/tst-random2.c: Likewise.
1021 * stdlib/tst-random.c: Likewise.
1022 * stdlib/tst-strtol.c: Likewise.
1023 * stdlib/tst-strtoll.c: Likewise.
1024 * stdlib/tst-tls-atexit.c: Likewise.
1025 * stdlib/tst-xpg-basename.c: Likewise.
1026 * string/test-ffs.c: Likewise.
1027 * string/tst-bswap.c: Likewise.
1028 * string/tst-inlcall.c: Likewise.
1029 * string/tst-strtok.c: Likewise.
1030 * string/tst-strxfrm.c: Likewise.
1031 * sysdeps/x86_64/tst-audit10.c: Likewise.
1032 * sysdeps/x86_64/tst-audit3.c: Likewise.
1033 * sysdeps/x86_64/tst-audit4.c: Likewise.
1034 * sysdeps/x86_64/tst-audit5.c: Likewise.
1035 * time/tst-ftime_l.c: Likewise.
1036 * time/tst-getdate.c: Likewise.
1037 * time/tst-mktime3.c: Likewise.
1038 * time/tst-mktime.c: Likewise.
1039 * time/tst-posixtz.c: Likewise.
1040 * time/tst-strptime2.c: Likewise.
1041 * time/tst-strptime3.c: Likewise.
1042 * wcsmbs/tst-btowc.c: Likewise.
1043 * wcsmbs/tst-mbrtowc.c: Likewise.
1044 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1045 * wcsmbs/tst-wchar-h.c: Likewise.
1046 * wcsmbs/tst-wcpncpy.c: Likewise.
1047 * wcsmbs/tst-wcrtomb.c: Likewise.
1048 * wcsmbs/tst-wcsnlen.c: Likewise.
1049 * wcsmbs/tst-wcstof.c: Likewise.
1050
2004e7fb
JM
10512014-11-04 Joseph Myers <joseph@codesourcery.com>
1052
ab97ee8f
JM
1053 [BZ #14132]
1054 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1055 INTDEF.
1056 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1057 declaration.
1058 (_dl_mcount): Use rtld_hidden_proto.
1059 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1060 _dl_mcount.
1061 * elf/rtld.c (_rtld_global_ro): Likewise.
1062
c5684fdb
JM
1063 [BZ #14132]
1064 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1065 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1066 of _dl_init_internal.
1067 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1068 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1069 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1070 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1071 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1072 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1073 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1074 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1075 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1076 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1077 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1078 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1079 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1080 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1081 * sysdeps/tile/dl-start.S (_start): Likewise.
1082 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1083 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1084
4243cbea
JM
1085 [BZ #14132]
1086 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1087 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1088 (rtld_progname): Make macro definition unconditional.
1089 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1090 INTDEF.
1091 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1092 (dl_main): Likewise.
1093 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1094 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1095 instead of _dl_argv_internal.
1096 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1097 __GI__dl_argv instead of INTUSE(_dl_argv).
1098 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1099 __GI__dl_argv instead of _dl_argv_internal.
1100
2004e7fb
JM
1101 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1102 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1103 macro.
1104 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1105 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1106 New macro.
1107 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1108 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1109 macro.
1110 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1111 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1112
97827bfc
AS
11132014-11-04 Andreas Schwab <schwab@suse.de>
1114
1115 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1116
5e4df284
AZ
11172014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1118
1119 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1120 mtvsrd instruction in binary form.
1121
04b76b5a
AS
11222014-11-03 Andreas Schwab <schwab@suse.de>
1123
1124 [BZ #17522]
1125 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1126 for less than MB_LEN_MAX use a local buffer of that size.
1127 * libio/tst-fputws.c: New file.
1128 * libio/Makefile (tests): Add tst-fputws.
1129
4c6da7da
JM
11302014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1131
1132 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1133 the size of the fpu_fr.fpu_dregs[] array.
1134
1679ba8e
JM
11352014-11-01 Joseph Myers <joseph@codesourcery.com>
1136
1137 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1138 (__nanosleep): Do not define as alias.
1139 (nanosleep): Define as alias of __nanosleep.
1140 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1141 __libc_nanosleep name.
1142
2626c183
JM
11432014-10-31 Joseph Myers <joseph@codesourcery.com>
1144
1145 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1146 install.texi in comment.
1147
7f981fc2
TR
11482014-10-31 Torvald Riegel <triegel@redhat.com>
1149
1150 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1151 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1152 ... add here and use lwsync or sync ...
1153 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1154 ... and add here using lwsync.
1155
d6f373d2
MF
11562014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1157
1158 * elf/dl-machine-reject-phdr.h: New file.
1159 * elf/dl-load.c: #include that.
1160 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1161 if that returned true.
1162
67c37987
RM
11632014-10-31 Roland McGrath <roland@hack.frob.com>
1164
1165 [BZ #17496]
1166 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1167 gen-as-const-headers chunk. Add a big scare comment after the last
1168 safe place to touch before-compile.
1169
94a42455 11702014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1171
f3f5d895
JM
1172 * manual/install.texi (Tools for Compilation): Update autoconf
1173 version requirements.
1174 * INSTALL: Regenerated.
1175
f62ff286
JM
1176 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1177 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1178 (__libc_pselect): Likewise.
94a42455
JM
1179
1180 [BZ #14138]
1181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1185
ff9dbdc0
TR
11862014-10-31 Torvald Riegel <triegel@redhat.com>
1187
1188 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1189 correct barrier instruction.
1190 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1191 Likewise.
1192 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1193 Likewise.
1194
b4f66884
RM
11952014-10-30 Roland McGrath <roland@hack.frob.com>
1196
1197 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1198 after defining inlines. Instead, just use parens to defeat macro
1199 expansion of __isctype in its declaration.
1200
e19c95fd
JM
12012014-10-30 Joseph Myers <joseph@codesourcery.com>
1202
1203 * include/sys/uio.h (__libc_readv): Remove declaration.
1204 (__libc_writev): Likewise.
1205 * misc/readv.c (__libc_readv): Rename to __readv.
1206 (__readv): Do not define as alias.
1207 (readv): Define as alias of __readv.
1208 * misc/writev.c (__libc_writev): Rename to __writev.
1209 (__writev): Do not define as alias.
1210 (writev): Define as alias of __writev.
1211 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1212 (__readv): Do not define as alias.
1213 (readv): Define unconditionally as alias of __readv.
1214 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1215 (__writev): Do not define as alias.
1216 (writev): Define unconditionally as alias of __writev.
1217 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1218 name.
1219 (writev): Do not define __libc_writev name.
1220
65b00b6c
RM
12212014-10-30 Roland McGrath <roland@hack.frob.com>
1222
1223 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1224 (convert_charseq): New function, broken out of ...
1225 (use_from_charmap): ... here. Call it.
1226 (use_to_charmap): Use convert_charseq and free instead of duplicating
1227 its code with a variable-length stack struct.
1228
d4e157aa
JM
12292014-10-30 Joseph Myers <joseph@codesourcery.com>
1230
1231 * include/fcntl.h (__libc_creat): Remove declaration.
1232 * io/creat.c (__libc_creat): Rename to creat.
1233 (creat): Do not define as alias.
1234 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1235 of creat instead of __libc_creat.
1236 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1237 to creat.
1238 (creat): Do not define as alias.
1239 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1240 __libc_creat.
1241 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1242 __libc_creat name.
1243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1244 Likewise.
1245
0c6891a0
CD
12462014-10-29 Carlos O'Donell <carlos@redhat.com>
1247
1248 * manual/llio.texi: Add comments discussing why write() may be
1249 considered MT-unsafe on Linux.
1250
cc00cece
CD
12512014-10-28 Carlos O'Donell <carlos@redhat.com>
1252
1253 * dl-load.c (local_strdup): Remove.
1254 (expand_dynamic_string_token): Use __strdup.
1255 (decompose_rpath): Likewise.
1256 (_dl_map_object): Likewise.
1257
51e623f2
JM
12582014-10-28 Joseph Myers <joseph@codesourcery.com>
1259
1260 [BZ #14132]
1261 * sysdeps/generic/unwind-dw2-fde.c
1262 (__register_frame_info_bases_internal): Do not declare.
1263 (__register_frame_info_table_bases_internal): Likewise.
1264 (__deregister_frame_info_bases_internal): Likewise.
1265 (__register_frame_info_bases): Declare and use hidden_proto before
1266 definition. Use hidden_def instead of INTDEF.
1267 (__register_frame_info_table_bases): Likewise.
1268 (__deregister_frame_info_bases): Likewise.
1269 (__register_frame_info): Do not use INTUSE.
1270 (__register_frame): Likewise.
1271 (__register_frame_info_table): Likewise.
1272 (__register_frame_table): Likewise.
1273 (__deregister_frame_info): Likewise.
1274 (__deregister_frame): Likewise.
1275
03d41216
GC
12762014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1277
1278 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1279 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1280 not undefine.
1281 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1282 Likewise.
1283 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1284 Likewise.
1285
a4b3624d
JM
12862014-10-27 Joseph Myers <joseph@codesourcery.com>
1287
1288 [BZ #14138]
1289 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1290 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1291 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1292 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1293 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1294 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1295 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1296 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1297 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1298 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1299 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1300 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1301 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1302 syscall.
1303 (setfsuid): Likewise.
1304 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1305 (setfsuid): Likewise.
1306 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1307 (setfsuid): Likewise.
1308 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1309 Likewise.
1310 (setfsuid): Likewise.
1311 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1312 (setfsuid): Likewise.
1313 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1314 Likewise.
1315 (setfsuid): Likewise.
1316
3574f2fd
AS
13172014-10-27 Andreas Schwab <schwab@suse.de>
1318
1319 [BZ #17501]
1320 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1321 check for Slow_SSE4_2 feature bit.
1322 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1323 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1324 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1325 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1326
70996a37
RM
13272014-10-24 Roland McGrath <roland@hack.frob.com>
1328
461a7b1e
RM
1329 * configure.ac: Validate compiler version with a empirical test of
1330 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1331 $CC -v output.
1332 * configure: Regenerated.
1333
70996a37
RM
1334 * inet/htons.c (htons): Prototypify.
1335 * inet/htonl.c (htonl): Likewise.
1336
e80514b5
WD
13372014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1338
1339 * string/strncat.c (strncat): Improve performance by using strlen.
1340
6e46de42
WD
13412014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1342
1343 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1344
6a9ad2fa
WD
13452014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1346
1347 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1348 Call libc_fetestexcept_aarch64.
1349
1c8810ed
WD
13502014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1351
1352 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1353 Call libc_feholdexcept_aarch64.
1354
8b1af712
WD
13552014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1356
1357 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1358 Call get_rounding_mode.
1359
a7b00c11
WD
13602014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1361
1362 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1363 Simplify logic.
1364
3a84f1a6
WD
13652014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1366
1367 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1368 Simplify logic.
1369
48eb7a94
JM
13702014-10-24 Joseph Myers <joseph@codesourcery.com>
1371
c8bc4038
JM
1372 [BZ #14138]
1373 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1374 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1375 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1376 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1377 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1378 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1379 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1380 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1381 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1382 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1383 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1384 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1385 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1386 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1387 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1388 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1389 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1390 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1391 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1392 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1393 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1394 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1395 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1396 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1397 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1398 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1399 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1400 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1401 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1402 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1403 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1404 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1405 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1406 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1407 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1408 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1409 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1410 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1411 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1412 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1413 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1414 syscall.
1415 (geteuid): Likewise.
1416 (getgid): Likewise.
1417 (getuid): Likewise.
1418 (getresgid): Likewise.
1419 (getresuid): Likewise.
1420 (getgroups): Likewise.
1421 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1422 (geteuid): Likewise.
1423 (getgid): Likewise.
1424 (getuid): Likewise.
1425 (getresgid): Likewise.
1426 (getresuid): Likewise.
1427 (getgroups): Likewise.
1428 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1429 (geteuid): Likewise.
1430 (getgid): Likewise.
1431 (getuid): Likewise.
1432 (getresgid): Likewise.
1433 (getresuid): Likewise.
1434 (getgroups): Likewise.
1435 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1436 Likewise.
1437 (geteuid): Likewise.
1438 (getgid): Likewise.
1439 (getuid): Likewise.
1440 (getresgid): Likewise.
1441 (getresuid): Likewise.
1442 (getgroups): Likewise.
1443 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1444 (geteuid): Likewise.
1445 (getgid): Likewise.
1446 (getuid): Likewise.
1447 (getresgid): Likewise.
1448 (getresuid): Likewise.
1449 (getgroups): Likewise.
1450 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1451 Likewise.
1452 (geteuid): Likewise.
1453 (getgid): Likewise.
1454 (getuid): Likewise.
1455 (getgroups): Likewise.
1456
48eb7a94
JM
1457 [BZ #14138]
1458 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1459 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1460 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1462 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1464 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1465 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1466 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1467 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1468 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1469 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1470 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1471 __chown.
1472 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1473 (lchown): Likewise.
1474 (fchown): Likewise.
1475 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1476 Likewise.
1477 (lchown): Likewise.
1478 (fchown): Likewise.
1479 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1480 (lchown): Likewise.
1481 (fchown): Likewise.
1482 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1483 Likewise.
1484 (lchown): Likewise.
1485 (fchown): Likewise.
1486
ea9a7c8b
WD
14872014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1488
1489 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1490 Simplify logic.
1491
e226de33
WD
14922014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1493
1494 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1495 Cleanup logic.
1496
6e3d8ed3
WD
14972014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1498
1499 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1500 Remove unused include.
1501
eb04247d
WD
15022014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1503
1504 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1505 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1506 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1507 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1508
13d84554
CD
15092014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1510 Helge Deller <deller@gmx.de>
1511
1512 [BZ #17508]
1513 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1514 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1515 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1516
15f9c5df
JM
15172014-10-23 Joseph Myers <joseph@codesourcery.com>
1518
1519 [BZ #14132]
1520 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1521 Remove macro definition.
1522 (__ashrdi3_v_glibc20): Likewise.
1523 (__lshrdi3_v_glibc20): Likewise.
1524 (__cmpdi2_v_glibc20): Likewise.
1525 (__ucmpdi2_v_glibc20): Likewise.
1526 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1527 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1528 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1529 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1530 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1531 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1532
c6dfed24
RM
15332014-10-22 Roland McGrath <roland@hack.frob.com>
1534
1535 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1536 old GNU extension [0] syntax.
1537 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1538 alloca rather than an array member with variable length.
1539 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1540 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1541 (parse_opt): ... here. Likewise use alloca there.
1542 Validate the -i argument before checking for rootness.
1543 (send_shutdown): New function, broken out of ...
1544 (parse_opt): ... here.
1545
8c2b1ed8
RM
15462014-10-22 Roland McGrath <roland@hack.frob.com>
1547
1548 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1549 macro to get at the _rt_local_ro field.
1550 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1551 ([PIC] case) or _dl_hwcap ([!PIC] case).
1552 * sysdeps/arm/setjmp.S: Likewise.
1553
1554 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1555 * sysdeps/arm/configure.ac: New check to define it.
1556 * sysdeps/arm/configure: Regenerated.
1557 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1558 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1559 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1560 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1561 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1562 Use move/movt pair instead of a load.
1563 (LDST_GLOBAL): Macro removed.
1564 (LDR_GLOBAL): New macro replaces it.
1565 (LDR_HIDDEN): New macro.
1566 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1567 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1568
1569 * setjmp/tst-setjmp-static.c: New file.
1570 * setjmp/Makefile (tests): Add it.
1571 (tests-static): New variable.
1572
b5af9297
MR
15732014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1574
1575 [BZ #17485]
1576 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1577
a13d0d74
JM
15782014-10-21 Joseph Myers <joseph@codesourcery.com>
1579
1580 [BZ #14132]
1581 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1582
f05e73f6
RM
15832014-10-21 Roland McGrath <roland@hack.frob.com>
1584
1585 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1586
6ab1d1ea
RM
15872014-10-20 Roland McGrath <roland@hack.frob.com>
1588
1589 * io/fts.c (dirent_not_directory): New function.
1590 (fts_build): Call it.
1591
ab49e763
RM
15922014-10-20 Roland McGrath <roland@hack.frob.com>
1593
e436eb79
RM
1594 * nptl/version.c (__nptl_main): Use normal __write rather than
1595 INTERNAL_SYSCALL.
1596 (banner): Update copyright years.
1597
6af246cf
RM
1598 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1599 gettimeofday.
1600 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1601 * nptl/pthread_cond_timedwait.c: Likewise.
1602 * nptl/pthread_mutex_timedlock.c: Likewise.
1603 * nptl/sem_timedwait.c: Likewise.
1604
ab49e763
RM
1605 * sysdeps/nptl/bits/libc-lock.h
1606 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1607 (__libc_lock_init_recursive): Return void, not 0.
1608 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1609 (__libc_rwlock_init): Likewise.
1610 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1611
f50277c1
TR
16122014-10-20 Torvald Riegel <triegel@redhat.com>
1613
1614 [BZ #15215]
1615 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1616 (__pthread_once_slow): ... here.
1617 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1618 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1619
63668b70
TR
16202014-10-20 Torvald Riegel <triegel@redhat.com>
1621
1622 [BZ #15215]
1623 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1624 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1625 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1626 * nptl/pthread_once.c (__pthread_once): Likewise.
1627 Update comments.
1628
42b7f5d4
JM
16292014-10-20 Joseph Myers <joseph@codesourcery.com>
1630
1631 [BZ #14138]
1632 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1633 name.
1634 (writev): Use __libc_writev as strong name.
1635 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1636 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1637
b0643088
RM
16382014-10-17 Roland McGrath <roland@hack.frob.com>
1639
114c4e09
RM
1640 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1641
674b8978
RM
1642 * sysdeps/i386/nptl/tls.h
1643 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1644 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1645 New macros.
1646 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1647 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1648 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1649 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1650 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1651 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1652
184ee940
RM
1653 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1654 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1655 on [__NR_futex].
1656 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1657 broken out of ...
1658 (__pthread_mutex_init): ... here. Call it.
1659 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1660 Conditionalize PI cases on [__NR_futex].
1661 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1662 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1663 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1664
327ae257
RM
1665 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1666 conditional on [SIGSETXID].
1667 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1668 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1669 is defined. Likewise for SIGSETXID.
1670 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1671 Conditionalize definitions on [SIGSETXID].
1672 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1673 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1674 unblocking on [SIGCANCEL].
1675
b0643088
RM
1676 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1677 [__NR_set_robust_list].
1678
33cc770b
SP
16792014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1680
1681 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1682 (do_compare): Likewise.
1683
0742aef6
LH
16842014-10-17 Leonhard Holz <leonhard.holz@web.de>
1685
1686 [BZ #15884]
1687 * string/strcoll_l.c: Don't include stdio.h.
1688 (coll_seq): Remove members idxarr and rulearr.
1689 (get_next_seq_cached): Remove function.
1690 (get_next_seq): Likewise.
1691 (get_next_seq_nocache): Rename to get_next_seq.
1692 (do_compare): Remove function.
1693 (do_compare_nocache): Rename to do_compare.
1694 (STRCOLL): Remove weight and rules cache.
1695
ee54ce44
RM
16962014-10-16 Roland McGrath <roland@hack.frob.com>
1697
1698 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1699 * sysdeps/arm/sfp-machine.h: ... to here.
1700 * sysdeps/arm/Implies: Remove arm/soft-fp.
1701
a75d3b02
JM
17022014-10-14 Joseph Myers <joseph@codesourcery.com>
1703
1704 * conform/data/sys/utsname.h-data (*_t): Allow.
1705 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1706 [POSIX] (WEXITED): Do not expect constant.
1707 [POSIX] (WSTOPPED): Likewise.
1708 [POSIX] (WNOHANG): Likewise.
1709 [POSIX] (WNOWAIT): Likewise.
1710 [POSIX] (siginfo_t): Do not expect type or elements.
1711 [POSIX] (pid_t): Do not expect type.
1712 [POSIX] (signal.h): Do not allow header.
1713 [POSIX] (sys/resource.h): Likewise.
1714 [POSIX] (si_*): Do not allow pattern.
1715 [POSIX] (W*): Likewise.
1716 [POSIX] (P_*): Likewise.
1717 [POSIX] (BUS_*): Likewise.
1718 [POSIX] (CLD_*): Likewise.
1719 [POSIX] (FPE_*): Likewise.
1720 [POSIX] (ILL_*): Likewise.
1721 [POSIX] (POLL_*): Likewise.
1722 [POSIX] (SEGV_*): Likewise.
1723 [POSIX] (SI_*): Likewise.
1724 [POSIX] (TRAP_*): Likewise.
1725 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1726 variable.
1727
fda389c8
SP
17282014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1729
1730 [BZ #12926]
1731 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1732 infinite loop when __recvmsg returns 0.
1733
6bc6bd3b
JM
17342014-10-10 Joseph Myers <joseph@codesourcery.com>
1735
fcb32af1
JM
1736 * CANCEL-FCT-WAIVE: Remove file.
1737 * CANCEL-FILE-WAIVE: Likewise.
1738
6bc6bd3b
JM
1739 [BZ #14132]
1740 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1741 instead of INTVARDEF.
1742 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1743 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1744 rtld_hidden_data_def instead of INTVARDEF.
1745 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1746 * elf/dl-deps.c (expand_dst): Likewise.
1747 * elf/dl-load.c (_dl_dst_count): Likewise.
1748 (_dl_dst_substitute): Likewise.
1749 (decompose_rpath): Likewise.
1750 (_dl_init_paths): Likewise.
1751 (open_path): Likewise.
1752 (_dl_map_object): Likewise.
1753 * elf/rtld.c (dl_main): Likewise.
1754 (process_dl_audit): Likewise.
1755 (process_envvars): Likewise.
1756 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1757 Remove declaration.
1758 (__libc_enable_secure): Use rtld_hidden_proto.
1759
b8c80a7e
KS
17602014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1761
1762 * elf/dl-load.c
1763 (add_path): New function broken out of _dl_rtld_di_serinfo.
1764 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1765
ff12c11f
JM
17662014-10-09 Joseph Myers <joseph@codesourcery.com>
1767
5c0508a3
JM
1768 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1769 parentheses around macro arguments.
1770 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1771 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1772 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1773 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1774 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1775 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1776 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1777 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1778 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1779 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1780 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1781 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1782 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1783 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1784 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1785 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1786 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1787 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1788 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1789 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1790 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1791 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1792 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1793 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1794 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1795 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1796 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1797 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1798 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1799 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1800 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1801 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1802 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1803 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1804 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1805 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1806 Likewise.
1807 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1808 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1809 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1810 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1812 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1813 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1814 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1815 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1816 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1817 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1818 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1819 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1820 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1821 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1822 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1823 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1825 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1826 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1827 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1828 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1829 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1830 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1831 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1832 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1833 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1834 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1835 (_FP_FRAC_SRS_1): Likewise.
1836 (_FP_FRAC_CLZ_1): Likewise.
1837 (_FP_MUL_MEAT_1_imm): Likewise.
1838 (_FP_MUL_MEAT_1_wide): Likewise.
1839 (_FP_MUL_MEAT_1_hard): Likewise.
1840 (_FP_SQRT_MEAT_1): Likewise.
1841 (_FP_FRAC_ASSEMBLE_1): Likewise.
1842 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1843 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1844 (__FP_CLZ_2): Likewise.
1845 (_FP_MUL_MEAT_2_wide): Likewise.
1846 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1847 (_FP_MUL_MEAT_2_gmp): Likewise.
1848 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1849 (_FP_SQRT_MEAT_2): Likewise.
1850 (_FP_FRAC_ASSEMBLE_2): Likewise.
1851 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1852 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1853 (_FP_FRAC_CLZ_4): Likewise.
1854 (_FP_MUL_MEAT_4_wide): Likewise.
1855 (_FP_MUL_MEAT_4_gmp): Likewise.
1856 (_FP_SQRT_MEAT_4): Likewise.
1857 (_FP_FRAC_ASSEMBLE_4): Likewise.
1858 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1859 * soft-fp/op-common.h (_FP_CMP): Likewise.
1860 (_FP_CMP_EQ): Likewise.
1861 (_FP_CMP_UNORD): Likewise.
1862 (_FP_TO_INT): Likewise.
1863 (_FP_FROM_INT): Likewise.
1864 [!__FP_CLZ] (__FP_CLZ): Likewise.
1865 (_FP_DIV_HELP_imm): Likewise.
1866 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1867 Likewise.
1868 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1869 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1870 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1871 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1872 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1873 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1874 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1875 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1876 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1877 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1878 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1879 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1880 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1881 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1882 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1883 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1884 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1885 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1886 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1887 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1888 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1889 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1890 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1891 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1892 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1893 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1894 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1895 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1896 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1897 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1898 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1899 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1900 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1901 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1902 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1903 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1904 (FP_UNPACK_RAW_SP): Likewise.
1905 (FP_PACK_RAW_S): Likewise.
1906 (FP_PACK_RAW_SP): Likewise.
1907 (FP_UNPACK_S): Likewise.
1908 (FP_UNPACK_SP): Likewise.
1909 (FP_UNPACK_SEMIRAW_S): Likewise.
1910 (FP_UNPACK_SEMIRAW_SP): Likewise.
1911 (FP_PACK_S): Likewise.
1912 (FP_PACK_SP): Likewise.
1913 (FP_PACK_SEMIRAW_S): Likewise.
1914 (FP_PACK_SEMIRAW_SP): Likewise.
1915 (_FP_SQRT_MEAT_S): Likewise.
1916 (FP_CMP_S): Likewise.
1917 (FP_CMP_EQ_S): Likewise.
1918 (FP_CMP_UNORD_S): Likewise.
1919 (FP_TO_INT_S): Likewise.
1920 (FP_FROM_INT_S): Likewise.
1921
a736ec37
JM
1922 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1923
ff12c11f
JM
1924 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1925 (FP_EX_INVALID_IMZ): Likewise.
1926 (FP_EX_INVALID_IMZ_FMA): Likewise.
1927 (FP_EX_INVALID_ISI): Likewise.
1928 (FP_EX_INVALID_ZDZ): Likewise.
1929 (FP_EX_INVALID_IDI): Likewise.
1930 (FP_EX_INVALID_SQRT): Likewise.
1931 (FP_EX_INVALID_CVI): Likewise.
1932 (FP_EX_INVALID_VC): Likewise.
1933 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1934 "invalid" exceptions.
1935 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1936 (_FP_ADD_INTERNAL): Likewise.
1937 (_FP_MUL): Likewise.
1938 (_FP_FMA): Likewise.
1939 (_FP_DIV): Likewise.
1940 (_FP_CMP_CHECK_NAN): Likewise.
1941 (_FP_SQRT): Likewise.
1942 (_FP_TO_INT): Likewise.
1943 (FP_EXTEND): Likewise.
1944
b6dcfe8c
AM
19452014-10-09 Allan McRae <allan@archlinux.org>
1946
1947 * po/fr.po: Update French translation from translation project.
1948
2d6a47ba
JM
19492014-10-09 Joseph Myers <joseph@codesourcery.com>
1950
cb831245
JM
1951 [BZ #14132]
1952 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1953 of INTDEF.
1954 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1955 (__cxa_atexit): Use libc_hidden_proto.
1956 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1957
5deeb190
JM
1958 [BZ #14132]
1959 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1960 declaration.
1961 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1962 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1963 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1964 [!_ISOMAC] (__iswctype_internal): Likewise.
1965 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1966 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1967 alias.
1968 (fcntl): Remove __fcntl_internal alias.
1969 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1970 __connect_internal alias.
1971 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1972 Likewise.
1973
454ac701
JM
1974 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1975 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1976 FP_DENORM_ZERO.
1977 (_FP_CHECK_FLUSH_ZERO): New macro.
1978 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1979 (_FP_CMP): Likewise.
1980 (_FP_CMP_EQ): Likewise.
1981 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1982 FP_DENORM_ZERO.
1983 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1984 (FP_TRUNC): Likewise.
1985
0022e688
JM
1986 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1987 treated as invalid conversion, not as normal exponent.
1988
73e28d9c
JM
1989 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1990 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1991 (_FP_CMP_EQ): Likewise.
1992 (_FP_CMP_UNORD): Likewise.
1993 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1994 (FP_CMP_EQ_D): Likewise.
1995 (FP_CMP_UNORD_D): Likewise.
1996 * soft-fp/extended.h (FP_CMP_E): Likewise.
1997 (FP_CMP_EQ_E): Likewise.
1998 (FP_CMP_UNORD_E): Likewise.
1999 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2000 (FP_CMP_EQ_Q): Likewise.
2001 (FP_CMP_UNORD_Q): Likewise.
2002 * soft-fp/single.h (FP_CMP_S): Likewise.
2003 (FP_CMP_EQ_S): Likewise.
2004 (FP_CMP_UNORD_S): Likewise.
2005 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2006 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2007 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2008 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2009 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2010 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2011 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2012 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2013 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2014 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2015 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2016 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2017 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2018 to FP_CMP_Q.
2019 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2020 FP_CMP_Q.
2021 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2022 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2023 FP_CMP_EQ_Q.
2024 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2025 FP_CMP_Q.
2026 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2027 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2028 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2029 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2030 FP_CMP_EQ_Q.
2031 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2032 FP_CMP_Q.
2033 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2034 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2035 FP_CMP_EQ_Q.
2036 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2037 FP_CMP_Q.
2038 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2039 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2040 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2041 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2042 FP_CMP_EQ_Q.
2043
43059f42
JM
2044 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2045 a subnormal result, set the underflow exception if trapping on
2046 underflow is enabled.
2047 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2048 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2049 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2050 redefine to 0.
2051 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2052 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2053 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2054 * soft-fp/extendxftf2.c (__extendxftf2): Use
2055 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2056
2d6a47ba
JM
2057 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2058 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2059 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2060 FP_HANDLE_EXCEPTIONS.
2061 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2062 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2063 FP_HANDLE_EXCEPTIONS.
2064 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2065 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2066 FP_HANDLE_EXCEPTIONS.
2067 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2068 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2069 FP_HANDLE_EXCEPTIONS.
2070
620f462e
JM
20712014-10-08 Joseph Myers <joseph@codesourcery.com>
2072
2073 [BZ #14132]
2074 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2075 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2076 use INTUSE.
2077 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2078 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2079 Remove alias.
2080 (__adjtimex): Define using libc_hidden_ver.
2081 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2082 Remove declaration.
2083 (ntp_gettime): Call __adjtimex directly.
2084 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2085 Remove declaration.
2086 (ntp_gettimex): Call __adjtimex directly.
2087 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2088 __adjtimex_internal alias.
2089
c763c5d2
RM
20902014-10-08 Roland McGrath <roland@hack.frob.com>
2091
2092 [BZ #17460]
2093 * nscd/nscd.c (more_help): Rewrite list of tables collection
2094 using xstrdup and asprintf.
2095
2096 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2097
7b8fb2b8
RM
20982014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2099 Roland McGrath <roland@hack.frob.com>
2100
2101 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2102 (do_lookup_unique): ... local function 'enter' here; update callers.
2103
abb280f7
JM
21042014-10-06 Joseph Myers <joseph@codesourcery.com>
2105
f7b42517
JM
2106 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2107 compat_symbol calls on [SHARED].
2108 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2109 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2110 Remove.
2111 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2112 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2113 (oldsetrlimit): Remove.
2114 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2116 (lchown): New syscall entry.
2117 (oldsetrlimit): Remove.
2118 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2119 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2120 (oldsetrlimit): Remove.
2121 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2122
abb280f7
JM
2123 [BZ #14138]
2124 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2125 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2126 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2127 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2128 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2129 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2130 (fchown): Likewise.
2131 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2132 (fchown): Likewise.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2134 Likewise.
2135
47d46237
AZ
21362014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2137
2138 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2139 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2140 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2141 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2142 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2143 Likewise.
2144 (__old_sem_post): Likewise.
2145
21462014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2147
845a7343
CM
2148 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2149 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2150 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2151 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2152 Use INLINE_VSYSCALL macro.
2153 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2154 __vdso_clock_gettime.
2155 * sysdeps/unix/sysv/linux/tile/init-first.c
2156 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2157 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2158 __vdso_clock_gettime.
2159
83d641ef
CM
2160 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2161 to set up frame more cleanly.
2162
d9cd52e6
CM
2163 * sysdeps/tile/memcmp.c: New file.
2164
4b68ea11
CM
2165 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2166
c86f7b80
CM
2167 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2168 * sysdeps/tile/tilegx/strcasestr.c: New file.
2169 * sysdeps/tile/tilegx/strnlen.c: New file.
2170 * sysdeps/tile/tilegx/strstr.c: New file.
2171
1c4c1a6f
CM
2172 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2173
99d86ea3
AS
21742014-10-06 Arjun Shankar <arjun.is@lostca.se>
2175
2176 * nptl/tst-setuid3.c: Write errors to stdout.
2177
06210a44
KS
21782014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2179
2180 * elf/dl-deps.c
2181 (preload): New functions broken out of _dl_map_object_deps.
2182 (_dl_map_object_deps): Remove a nested function. Update call sites.
2183
6268f532
JM
21842014-10-01 Joseph Myers <joseph@codesourcery.com>
2185
2186 [BZ #14138]
2187 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2188 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2189
b925285f
SE
21902014-10-01 Steve Ellcey <sellcey@mips.com>
2191
2192 * sysdeps/mips/strcmp.S: New.
2193
754a15c6
JM
21942014-09-30 Joseph Myers <joseph@codesourcery.com>
2195
2196 [BZ #14138]
2197 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2198 (linkat): Likewise.
2199 (mkdirat): Likewise.
2200 (readlinkat): Likewise.
2201 (renameat): Likewise.
2202 (symlinkat): Likewise.
2203 (unlinkat): Likewise.
2204 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2205 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2206 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2207 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2208 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2209 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2210 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2211
85bb81c9
WN
22122014-09-30 Will Newton <will.newton@linaro.org>
2213
dc6fe23b
WN
2214 * math/math.h: Define long double math functions if
2215 _LIBC_TEST is defined.
2216 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2217
85bb81c9
WN
2218 * localedata/Makefile: Move assignment to tests-special
2219 into an ifdef testing run-built-tests.
2220 * timezone/Makefile: Likewise.
2221
b7e02da4
JM
22222014-09-29 Joseph Myers <joseph@codesourcery.com>
2223
2224 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2225 with $(BASH) not $(SHELL).
2226
62058ce6
CD
22272014-09-29 Carlos O'Donell <carlos@redhat.com>
2228 Matthew LeGendre <legendre1@llnl.gov>
2229
2230 [BZ #17411]
2231 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2232 l_reloc_result.
2233
8e257a29
KS
22342014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2235
2236 * stdio-common/printf_fp.c
2237 (hack_digit): New function, broken out of ...
2238 (__printf_fp): ... local function here. Update call sites.
2239 hack_digit now takes an additional parameter that is a pointer
2240 to a struct of the referenced locals. Those locals moved inside
2241 the struct and references updated.
2242
f4a58f0d
L
22432014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2244
2245 * aclocal.m4: Require autoconf 2.69.
2246 * configure: Regenerated.
2247 * sysdeps/aarch64/configure: Likewise.
2248 * sysdeps/alpha/configure: Likewise.
2249 * sysdeps/arm/armv7/configure: Likewise.
2250 * sysdeps/arm/configure: Likewise.
2251 * sysdeps/ia64/configure: Likewise.
2252 * sysdeps/mach/configure: Likewise.
2253 * sysdeps/mips/configure: Likewise.
2254 * sysdeps/s390/configure: Likewise.
2255 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2257
2258 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2259 file.
2260 * sysdeps/ia64/configure.ac: Likewise.
2261
93ae1eba
JM
22622014-09-26 Joseph Myers <joseph@codesourcery.com>
2263
1810d3ab
JM
2264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2265 specify symbol version for ld.so. Do not include entry for
2266 libpthread.
2267 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2268 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2269 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2270
93ae1eba
JM
2271 [BZ #14171]
2272 * Makeconfig [$(build-shared) = yes]
2273 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2274 makefiles.
2275 [$(build-shared) = yes && $(soversions.mk-done) = t]
2276 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2277 [$(build-shared) = yes && $(soversions.mk-done) = t]
2278 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2279 to Makerules.
2280 [$(build-shared) = yes && $(soversions.mk-done) = t]
2281 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2282 here.
2283 [$(build-shared) = yes && $(soversions.mk-done) = t]
2284 (common-generated): Don't append gnu/lib-names.h and
2285 gnu/lib-names.stmp here.
2286 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2287 (lib-names-h-abi): New variable.
2288 [$(build-shared) = yes && $(soversions.mk-done) = t]
2289 (lib-names-stmp-abi): Likewise.
2290 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2291 abi-variants] (before-compile): Append
2292 $(common-objpfx)$(lib-names-h-abi).
2293 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2294 abi-variants] (common-generated): Append gnu/lib-names.h.
2295 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2296 abi-variants] (install-others-nosubdir): Depend on
2297 $(inst_includedir)/$(lib-names-h-abi).
2298 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2299 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2300 [$(build-shared) = yes && $(soversions.mk-done) = t]
2301 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2302 [$(build-shared) = yes && $(soversions.mk-done) = t]
2303 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2304 [$(build-shared) = yes && $(soversions.mk-done) = t]
2305 (common-generated): Append $(lib-names-h-abi) and
2306 $(lib-names-stmp-abi).
2307 * scripts/lib-names.awk: Do not handle multi being set.
2308 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2309 Remove variable.
2310 (abi-lp64_be-ld-soname): Likewise.
2311 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2312 Likewise.
2313 (abi-hard-ld-soname): Likewise.
2314 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2315 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2316 Remove variable.
2317 (abi-o32_hard-ld-soname): Likewise.
2318 (abi-o32_soft_2008-ld-soname): Likewise.
2319 (abi-o32_hard_2008-ld-soname): Likewise.
2320 (abi-n32_soft-ld-soname): Likewise.
2321 (abi-n32_hard-ld-soname): Likewise.
2322 (abi-n32_soft_2008-ld-soname): Likewise.
2323 (abi-n32_hard_2008-ld-soname): Likewise.
2324 (abi-n64_soft-ld-soname): Likewise.
2325 (abi-n64_hard-ld-soname): Likewise.
2326 (abi-n64_soft_2008-ld-soname): Likewise.
2327 (abi-n64_hard_2008-ld-soname): Likewise.
2328 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2329 Likewise.
2330 (abi-64-v2-ld-soname): Likewise.
2331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2332 ld.so entries.
2333 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2334 variable.
2335 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2336 entry.
2337 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2338 variable.
2339 (abi-64-ld-soname): Likewise.
2340 (abi-x32-ld-soname): Likewise.
2341 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2342 entry.
2343 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2344
68870f12
JM
23452014-09-23 Joseph Myers <joseph@codesourcery.com>
2346
2347 [BZ #14138]
2348 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2349 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2350 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2351 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2352 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2353 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2354 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2355 syscall entry for GLIBC_2.2 symbol version.
2356 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2357 Likewise.
2358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2359 (setrlimit): Likewise.
2360 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2361 Likewise.
2362
ea58f202
WN
23632014-09-23 Will Newton <will.newton@linaro.org>
2364
2365 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2366 _LINUX_ARM_SYSDEP_H include guard too.
2367 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2368 define.
2369
69eb9a18
RV
23702014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2371
2372 * sysdeps/unix/sysv/linux/eventfd.c:
2373 Make first argument unsigned.
2374 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2375 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2376
20e5a5f7
OB
23772014-09-20 Ondřej Bílka <neleai@seznam.cz>
2378
2379 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2380 * socket/sys/socket.h: Likewise
2381 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2382
d3c827e7
AK
23832014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2384
2385 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2386
fe1cc35a
AS
23872014-09-17 Arjun Shankar <arjun.is@lostca.se>
2388
2389 * time/tst-ftime.c: New test.
2390 * time/Makefile (tests): Add tst-ftime.
2391
4e8afe69
JM
23922014-09-17 Joseph Myers <joseph@codesourcery.com>
2393
c4fe3ea7
JM
2394 * soft-fp/extended.h: Fix comment formatting.
2395 * soft-fp/op-1.h: Likewise.
2396 * soft-fp/op-2.h: Likewise.
2397 * soft-fp/op-4.h: Likewise.
2398 * soft-fp/op-8.h: Likewise.
2399 * soft-fp/op-common.h: Likewise.
2400 * soft-fp/soft-fp.h: Likewise.
2401
4e8afe69
JM
2402 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2403
af296fcd
JM
24042014-09-16 Joseph Myers <joseph@codesourcery.com>
2405
2406 [BZ #6652]
2407 * Makeconfig (soversions-default-setname): Remove variable.
2408 ($(common-objpfx)soversions.i): Don't pass default_setname to
2409 soversions.awk.
2410 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2411 oldest_abi to abi-versions.awk.
2412 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2413 * config.make.in (oldest-abi): Remove variable.
2414 * configure.ac (--enable-oldest-abi): Remove configure option.
2415 * configure: Regenerated.
2416 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2417 text.
2418 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2419 * scripts/soversions.awk: Do not handle default_setname variable.
2420 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2421 variable.
2422 * sysdeps/mach/hurd/configure: Regenerated.
2423 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2424 variable.
2425 * sysdeps/unix/sysv/linux/configure: Regenerated.
2426
545583d6
SP
24272014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2428
d330b980
SP
2429 * elf/Makefile (CFLAGS-interp.c): Remove.
2430 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2431 path string.
2432 * elf/interp.c: Include generated runtime-linker.h
2433
02657da2
SP
2434 * Makerules (lib%.so): Don't include $(+interp) in
2435 prerequisites.
2436 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2437 * dlfcn/eval.c: Remove file.
2438
653b1080
SP
2439 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2440 macros.
2441
602f80ec
SP
2442 [BZ #17266]
2443 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2444 4.2 and newer.
2445
545583d6
SP
2446 [BZ #17370]
2447 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2448
884ddc50
SP
24492014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2450 Jakub Jelinek <jakub@redhat.com>
2451
2452 [BZ #17266]
2453 * libio/stdio.h: Check definition of __fortify_function
2454 instead of __extern_always_inline to include bits/stdio2.h.
2455 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2456 check if __extern_always_inline is defined.
2457 [__USE_MISC || __USE_XOPEN]: Likewise.
2458 [__USE_ISOC99] Likewise.
2459 * misc/sys/cdefs.h (__fortify_function): Define only if
2460 __extern_always_inline is defined.
2461 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2462 __extern_always_inline and __extern_inline only for g++-4.3
2463 and newer or a compatible gcc.
2464
a7b87268
AS
24652014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2466
2467 [BZ #17371]
2468 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2469 last change to handle zero prefix length.
2470
3f41521d
SP
24712014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2472
61fe374a
SP
2473 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2474 _SC_REGEX_VERSION.
2475
3f41521d
SP
2476 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2477 _POSIX_RAW_SOCKETS.
2478
d8f879ee
AM
24792014-09-13 Allan McRae <allan@archlinux.org>
2480
2481 * po/ru.po: Update Russian translation from translation project.
2482
c079afb7
RM
24832014-09-12 Roland McGrath <roland@hack.frob.com>
2484
a62b3c15
RM
2485 * locale/programs/locale.c (show_locale_vars): Inline local function
2486 into its sole call site. Clean up some style nits.
2487 (print_item): New function, broken out of ...
2488 (show_info): ... local function here. Clean up style nits.
2489
d7e49b19
RM
2490 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2491 out of ...
2492 (set_class_defaults): ... local function set_default here.
2493 Define set_default as a macro locally to pass constant parameters.
2494 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2495 rather than a shared local.
2496
c079afb7
RM
2497 * stdlib/rpmatch.c (try): New function, broken out of ...
2498 (rpmatch): ... local function here. Also, prototypify definition.
2499
0bd72468
JM
25002014-09-12 Joseph Myers <joseph@codesourcery.com>
2501
ba90e050
JM
2502 * scripts/soversions.awk: Do not handle configuration names.
2503 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2504 vendor and os variables to soversions.awk.
2505 * configure.ac: Do not modify gnu-* host_os.
2506 * configure: Regenerated
2507 * shlib-versions: Remove first column with configuration names.
2508 * nptl/shlib-versions: Likewise.
2509 * nptl_db/shlib-versions: Likewise.
2510 * sysdeps/hppa/shlib-versions: Likewise.
2511 * sysdeps/m68k/shlib-versions: Likewise.
2512 * sysdeps/mach/hurd/shlib-versions: Likewise.
2513 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2514 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2515 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2516 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2517 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2518 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2519 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2520 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2522 Likewise.
2523 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2524 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2525 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2526 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2527 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2528 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2529 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2530 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2531
73a39112
JM
2532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2533 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2535 Regenerated.
2536 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2538 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2539
c729e7c1
JM
2540 * shlib-versions: Remove OS-specific entries. Moved to files in
2541 sysdeps.
2542 * sysdeps/mach/hurd/shlib-versions: New file.
2543 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2544
dc932a24
JM
2545 * nptl/shlib-versions: Remove architecture-specific entries.
2546 Moved to files in sysdeps.
2547 * shlib-versions: Likewise.
2548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2549 file.
2550 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2551 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2552 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2553 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2554
0bd72468
JM
2555 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2556 (UDP_NO_CHECK6_RX): Likewise.
2557
920238e0
SP
25582014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2559
2560 * sysdeps/posix/sysconf.c (__sysconf): Spell
2561 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2562
ba7b4d29
FW
25632014-08-12 Florian Weimer <fweimer@redhat.com>
2564
2565 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2566 loading.
2567 * iconv/Versions (__gconv_transliterate): Export for use from
2568 gconv modules.
2569 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2570 (struct __gconv_trans_data, __gconv_trans_fct,
2571 __gconv_trans_context_fct, __gconv_trans_query_fct,
2572 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2573 definitions.
2574 (struct __gconv_step_data): Remove __trans member.
2575 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2576 longer hidden. Remove unused trans_data argument.
2577 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2578 (__gconv_translit_find): Remove declaration.
2579 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2580 prototype.
2581 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2582 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2583 trans_data argument. Add hidden definition.
2584 (__gconv_translit_find): Remove.
2585 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2586 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2587 * iconv/skeleton.c: Remove transliteration initialization.
2588 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2589 __gconv_step_data initialization.
2590 * libio/iofwide.c (__libio_translit_): Remove.
2591 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2592 * wcsmbs/btowc.c (__btowc): Likewise.
2593 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2594 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2595 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2596 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2597 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2598 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2599 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2600 * wcsmbs/wctob.c (wctob): Likewise.
2601
5379aebd
SP
26022014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2603
2604 [BZ #16194]
2605 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2606 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2607 register usage.
2608 * sysdeps/x86/Makefile: Adjust.
2609
8c0ab919
RM
26102014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2611 Roland McGrath <roland@hack.frob.com>
2612
2613 * locale/weight.h: Add include guard.
2614 (findidx): Make static rather than auto; take new parameters
2615 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2616 * locale/weightwc.h: Likewise.
2617 * posix/fnmatch_loop.c
2618 (FCT): Change type of EXTRA from int32_t to wint_t.
2619 Don't include either header inside the function.
2620 Call FINDIDX rather than findidx, and pass new arguments.
2621 #undef FINDIDX at the end of the file.
2622 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2623 FINDIDX before including fnmatch_loop.c for the non-wide version.
2624 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2625 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2626 for the wide version.
2627 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2628 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2629 Pass new arguments to findidx.
2630 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2631 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2632 Don't #include it inside the function. Pass new arguments to findidx.
2633 * posix/regex_internal.h
2634 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2635 (re_string_elem_size_at): Don't #include it inside the function.
2636 Pass new arguments to findidx.
2637 * string/strcoll_l.c: #include WEIGHT_H at top level.
2638 (get_next_seq): Don't #include it inside the function.
2639 Pass new arguments to findidx.
2640 (get_next_seq_nocache): Likewise.
2641 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2642 (STRXFRM): Don't #include it inside the function.
2643 Pass new arguments to findidx.
2644
52ffbdf2
FW
26452014-09-11 Florian Weimer <fweimer@redhat.com>
2646
2647 [BZ #17344]
2648 * malloc/malloc.c (unlink): Turn asserts into a call to
2649 malloc_printerr.
2650
984c0ea9
TL
26512014-09-11 Tim Lammens <tim.lammens@gmail.com>
2652
2653 [BZ #17370]
2654 * libio/wfileops (do_ftell_wide): Free OUT.
2655
3daee107
CM
26562014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2657
2658 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2659
58b930ae
SP
26602014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2661
2662 [BZ #17363]
2663 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2664 group if the current group is empty.
2665
3b473fec
AZ
26662014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2667
71ae8647
AZ
2668 * benchtests/bench-memset.c (test_main): Add more test from size
2669 from 32 to 512 bytes.
2670 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2671 Add POWER8 memset object.
2672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2673 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2674 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2675 implementation.
2676 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2677 Likewise.
2678 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2679 multiarch POWER8 memset optimization.
2680 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2681 POWER8 memset optimization.
2682
3b473fec
AZ
2683 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2684 Remove bzero multiarch objects.
2685 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2686 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2687 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2688 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2689 Remove define.
2690 [__bzero]: Redefine to specific name.
2691 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2692 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2693 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2694 define.
2695 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2696 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2697
e6fb9587
FW
26982014-09-10 Florian Weimer <fweimer@redhat.com>
2699
2700 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2701 warnings into errors.
2702
2703 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2704 __cxa_thread_atexit_impl prototype.
2705
9d3a350b
SE
27062014-09-09 Steve Ellcey <sellcey@mips.com>
2707
2708 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2709 Fix capitalization of error message.
2710
0febba23
SE
27112014-09-09 Steve Ellcey <sellcey@mips.com>
2712
2713 * sysdeps/mips/preconfigure: Modify ABI tests.
2714
645a0e9c
CD
27152014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2716
2717 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2718
d83f0734
CD
27192014-09-07 Roland McGrath <roland@hack.frob.com>
2720 Carlos O'Donell <carlos@systemhalted.org>
2721
2722 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2723 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2724 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2725 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2726 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2727 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2728 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2729 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2730 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2731 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2732 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2733 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2734 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2735 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2736 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2737 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2738 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2739 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2740 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2741 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2742 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2743 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2744 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2745 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2746 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2747 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2748 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2749 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2750 Deconditionalize the code that was previously under [RESET_PID].
2751 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2752 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2753 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2754 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2755 include sysdep.h.
2756
21c83793
AM
27572014-09-08 Allan McRae <allan@archlinux.org>
2758
2759 * version.h (RELEASE): Set to "development".
2760 (VERSION): Set to "2.20.90"
2761
1cd9b65c
AM
27622014-09-07 Allan McRae <allan@archlinux.org
2763
b8079dd0
AM
2764 * version.h (RELEASE): Set to "stable".
2765 (VERSION): Set to "2.20"
2766 * include/features.h (__GLIBC_MINOR__): Set to 20.
2767
c46303ef
AM
2768 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2769 Liebler.
2770
1cd9b65c
AM
2771 * po/ko.po: Update Korean translation from translation project.
2772
8622092d
CM
27732014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2774
2775 [BZ #17354]
2776 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2777 macro for handling signed relocations.
2778
41488498
FW
27792014-09-03 Florian Weimer <fweimer@redhat.com>
2780
2781 [BZ #17325]
2782 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2783 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2784 assert.
2785 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2786 * iconvdata/ibm935.c (BODY): Likewise.
2787 * iconvdata/ibm937.c (BODY): Likewise.
2788 * iconvdata/ibm939.c (BODY): Likewise.
2789 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2790 assert.
2791 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2792 script.
2793 * iconvdata/run-iconv-test.sh: New test loop for checking for
2794 decoder crashers.
2795
a78b712d
KR
27962014-09-02 Khem Raj <raj.khem@gmail.com>
2797
2798 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2799 libm_hidden_ver.
2800
cb08abc6
AM
28012014-09-01 Allan McRae <allan@archlinux.org>
2802
2c31e102
AM
2803 * po/eo.po: Update Esperanto translation from translation project.
2804
cb08abc6
AM
2805 * po/ca.po: Update Catalan translation from translation project.
2806
17a62de1
ST
28072014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2808
2809 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2810 __proc_dostop call.
2811
9570bc53
MW
28122014-08-27 Mark Wielaard <mjw@redhat.com>
2813
2814 [BZ #17319]
2815 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2816 to call set_thread_area instead of hand written asm.
2817 (__NR_set_thread_area): Removed define.
2818 (TLS_FLAG_WRITABLE): Likewise.
2819 (__ASSUME_SET_THREAD_AREA): Remove check.
2820 (TLS_EBX_ARG): Remove define.
2821 (TLS_LOAD_EBX): Likewise.
2822
b0f955c9
ST
28232014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2824
2825 Simplify atomicity of socket creation in bind.
2826
2827 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2828 looking up the name after linking the file.
2829
529bf515
AM
28302014-08-27 Allan McRae <allan@archlinux.org>
2831
2832 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2833
a1a6a401
FW
28342014-08-26 Florian Weimer <fweimer@redhat.com>
2835
2836 [BZ #17187]
2837 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2838 trans_compare, open_translit, __gconv_translit_find):
2839 Remove module loading code.
2840
686ab290
AM
28412014-08-26 Allan McRae <allan@archlinux.org>
2842
e4e7cfd2
AM
2843 * po/vi.po: Update Vietnamese translation from translation project.
2844
6aa09f71
AM
2845 * po/uk.po: Update Ukrainian translation from translation project.
2846
edc0660e
AM
2847 * po/fr.po: Update French translation from translation project.
2848
7eea72ac
AM
2849 * po/ru.po: Update Russian translation from translation project.
2850
93c49eff
AM
2851 * po/pl.po: Update Polish translation from translation project.
2852
46acaf63
AM
2853 * po/cs.po: Update Czech translation from translation project.
2854
a9f5ce98
AM
2855 * po/de.po: Update German translation from translation project.
2856
373f2b78
AM
2857 * po/bg.po: Update Bulgarian translation from translation project.
2858
e7548bd8
AM
2859 * po/sv.po: Update Sweedish translation from translation project.
2860
c526bf4d
AM
2861 * po/nl.po: Update Dutch translation from translation project.
2862
686ab290
AM
2863 * po/es.po: Update Spanish translation from translation project.
2864
eb72478a
SP
28652014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2866
dd763fdb
SP
2867 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2868
318c7a58
SP
2869 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2870 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2871 (CPPFLAGS-iconvconfig): Likewise.
2872 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2873
eb72478a
SP
2874 * include/libc-symbols.h: Remove unnecessary check for
2875 NOT_IN_libc.
2876 * nptl/pthreadP.h: Likewise.
2877 * sysdeps/aarch64/setjmp.S: Likewise.
2878 * sysdeps/alpha/setjmp.S: Likewise.
2879 * sysdeps/arm/sysdep.h: Likewise.
2880 * sysdeps/i386/setjmp.S: Likewise.
2881 * sysdeps/m68k/setjmp.c: Likewise.
2882 * sysdeps/posix/getcwd.c: Likewise.
2883 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2884 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2885 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2886 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2887 * sysdeps/sh/sh3/setjmp.S: Likewise.
2888 * sysdeps/sh/sh4/setjmp.S: Likewise.
2889 * sysdeps/unix/alpha/sysdep.h: Likewise.
2890 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2891 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2892 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2893 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2896 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2898 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2899 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2901 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2902 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2903 * sysdeps/x86_64/setjmp.S: Likewise.
2904
d44a052c
JM
29052014-08-13 Joseph Myers <joseph@codesourcery.com>
2906
2907 [BZ #17263]
2908 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2909 <stdint.h>.
2910 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2911 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2912
508ce3ac
SP
29132014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2914
e44c8b0e
SP
2915 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2916
508ce3ac
SP
2917 [BZ #17262]
2918 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2919 and __x86_64__ when disabling x87 inline functions.
2920
b4acef1f
L
29212014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2922
2923 [BZ #17259]
2924 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2925 asm statement with __cpuid_count.
2926
61b1ef6e
MF
29272014-08-12 Mike Frysinger <vapier@gentoo.org>
2928
2929 * configure.ac: Change __ehdr_start code to dereference the struct.
2930 Run readelf on the output to look for relocations.
2931 * configure: Regenerated.
2932
898c62f4
JM
29332014-08-12 Joseph Myers <joseph@codesourcery.com>
2934
2935 [BZ #17261]
2936 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2937 value to 0.
2938 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2939
9a8a5720
RM
29402014-08-12 Roland McGrath <roland@hack.frob.com>
2941
2942 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2943
4e75751c
BO
29442014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2945
2946 [BZ #16892]
2947 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2948 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2949
bb2ce416
SA
29502014-08-12 Sean Anderson <seanga2@gmail.com>
2951
2952 * malloc/malloc.c: Fix typo in comment.
2953
7950a4ee
AM
29542014-08-09 Allan McRae <allan@archlinux.org>
2955
2956 * Regenerate libc.po.
2957
f469c49f
MF
29582014-08-08 Mike Frysinger <vapier@gentoo.org>
2959
2960 * intl/tst-gettext2.sh: Check every lang file for creation.
2961
656b84c2
WD
29622014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2963
2964 * sysdeps/aarch64/fpu/math_private.h
2965 (libc_feholdsetround_noex_aarch64_ctx): New function.
2966
538e9e45
W
29672014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2968
2969 * sysdeps/arm/armv6/strcpy.S (strcpy):
2970 Fix performance issue in misaligned cases.
2971
d4795e4a
AZ
29722014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2973
2974 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2975 Move definition from termios.h.
2976 (struct termio): Likewise.
2977 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2978 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2979 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2980 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2981 Likewise.
2982 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2983 Move definition to ioctl-types.h
2984 (struct termio): Likewise.
2985 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2986 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2987 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2988 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2989 Likewise.
2990
64accb62
RH
29912014-08-05 Richard Henderson <rth@redhat.com>
2992
27bb6dc0
RH
2993 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2994 exceptions.
2995 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2996 Add fraiseexcpt.
2997 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2998 Use __feraiseexcept.
2999 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3000 Protect libm symbols with IS_IN_libm.
3001
64accb62
RH
3002 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3003
e5292691
BO
30042014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3005
3006 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3007
5b4bd2d4
WN
30082014-08-04 Will Newton <will.newton@linaro.org>
3009
3010 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3011 file.
3012
fcadaeef
MF
30132014-08-04 Mike Frysinger <vapier@gentoo.org>
3014
3015 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3016 variants for each function.
3017
43a94c64
RM
30182014-08-04 Roland McGrath <roland@hack.frob.com>
3019
3020 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3021 appended ...
3022 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3023 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3024 appended ...
3025 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3026 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3027 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3028 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3029 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3030 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3031 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3032 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3033 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3034 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3035 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3036 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3037 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3038 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3039 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3040 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3041 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3042 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3043 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3044 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3045 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3046 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3047 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3048 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3049 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3050 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3051 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3052 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3053 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3054 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3055 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3056 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3057 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3058 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3059 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3060 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3061 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3062 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3063 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3064 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3065 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3066 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3067 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3068 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3069 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3070 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3071 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3072 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3073 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3074 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3075 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3076 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3077 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3078 Update #include.
3079 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3080 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3081
8f3c1fa4
RM
30822014-08-04 Roland McGrath <roland@hack.frob.com>
3083
3084 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3085 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3086 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3087 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3088 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3089 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3090
ca08746f
RM
30912014-08-04 Roland McGrath <roland@hack.frob.com>
3092
3093 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3094 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3095 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3096 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3097
9c925ff9
RM
30982014-08-04 Roland McGrath <roland@hack.frob.com>
3099
3100 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3101 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3102 (__libc_vfork): Define function under this name.
3103 (__vfork): Define as an alias.
3104 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3105 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3106
e641054c
RM
31072014-08-04 Roland McGrath <roland@hack.frob.com>
3108
3109 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3110 that was previously under [RESET_PID].
3111 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3112
dacdc867
AS
31132014-08-04 Andreas Schwab <schwab@suse.de>
3114
3115 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3116
41f725ff
MF
31172014-08-03 Mike Frysinger <vapier@gentoo.org>
3118
3119 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3120 (main): Likewise.
3121
277cfb31
RM
31222014-08-01 Roland McGrath <roland@hack.frob.com>
3123
3124 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3125
4896f049
RH
31262014-08-01 Richard Henderon <rth@redhat.com>
3127
3128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3129 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3130 typo in exact zero test.
3131 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3132 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3133 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3134
6f64e7d7
RM
31352014-08-01 Roland McGrath <roland@hack.frob.com>
3136
3137 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3138 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3139 * sysdeps/arm/sysdep.h: ... here.
3140 [!__ASSEMBLER__]: Include <stdint.h>.
3141
3f3dd810
SP
31422014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3143
a476ac4b
SP
3144 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3145 (HAVE_WCTYPE_H): Likewise.
3146 (HAVE_ISWCTYPE): Likewise.
3147 (ENABLE_NLS): Likewise.
3148 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3149 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3150
78dd658a
SP
3151 * posix/regex_internal.c: Check if DEBUG is defined and is
3152 set.
3153
3f3dd810
SP
3154 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3155 (HAVE_MBSRTOWCS): Likewise.
3156 * posix/fnmatch.c: Include string.h unconditionally.
3157
95ee7fb1
SL
31582014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3159
3160 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3161 reversal.
3162
23fe486b
RM
31632014-07-31 Roland McGrath <roland@hack.frob.com>
3164
f61a113f
RM
3165 * sysdeps/generic/safe-fatal.h: New file.
3166 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3167 * nptl/forward.c: Include it.
3168 (__pthread_unwind): Use __safe_fatal as default action, rather
3169 than a bogus use of INTERNAL_SYSCALL that could never work.
3170
9fe7e787
RM
3171 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3172 * configure.ac (libc_cv_builtin_trap): New test.
3173 * configure: Regenerated.
3174 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3175 (ABORT_INSTRUCTION): Define using __builtin_trap.
3176
23fe486b
RM
3177 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3178 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3179 * sysdeps/nptl/nptl-signals.h: New file.
3180 * nptl/pthreadP.h: Include <nptl-signals.h>.
3181
f349489e
SL
31822014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3183
3184 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3185 (ONE_DIRECTION): Define.
3186 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3187 (ONE_DIRECTION): Define.
3188 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3189 (ONE_DIRECTION): Define.
3190
2f438e20
SL
31912014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3192
3193 * sysdeps/s390/Makefile: Delete file.
3194 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3195 * sysdeps/s390/__longjmp.c: Delete file.
3196 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3197 Remove fields __flags and __reserved.
3198 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3199 and add versioning.
3200 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3201 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3202 * sysdeps/s390/rtld-setjmp.S: Likewise.
3203 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3204 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3205 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3206 * sysdeps/s390/s390-32/setjmp.S: ... here.
3207 Add versioning.
3208 (__sigsetjmp): Remove setting __flags field.
3209 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3210 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3211 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3212 * sysdeps/s390/s390-64/setjmp.S: ... here.
3213 Add versioning.
3214 (__sigsetjmp): Remove setting __flags field.
3215 * sysdeps/s390/setjmp.S: Delete file.
3216 * sysdeps/s390/sigjmp.c: Likewise.
3217 * sysdeps/s390/v1-longjmp.c: Likewise.
3218 * sysdeps/s390/v1-setjmp.h: Likewise.
3219 * sysdeps/s390/v1-sigjmp.c: Likewise.
3220 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3221 Remove v1-longjmp_chk.
3222 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3223 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3224 Include debug/longjmp_chk.c and add versioning.
3225 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3226 Include nptl/pt-longjmp.c and add versioning.
3227 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3228 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3229 Include __longjmp.c.
3230 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3231 Move to ...
3232 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3233 (__getcontext): Remove setting __flags field.
3234 Add versioning.
3235 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3236 Don't restore upper high grps.
3237 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3238 Likewise.
3239 (__swapcontext): Remove setting uc_flags field.
3240 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3241 Delete file.
3242 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3243 Include __longjmp.c.
3244 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3245 Move to ...
3246 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3247 (__getcontext): Remove setting __flags field.
3248 Add versioning.
3249 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3250 (__swapcontext): Remove setting uc_flags field.
3251 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3252 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3253 Remove fields uc_high_gprs and __reserved.
3254 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3255 New file with reverted content.
3256 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3257 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3258 Regenerated.
3259 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3260 Regenerated.
3261
6c9578a2
AS
32622014-07-31 Andreas Schwab <schwab@suse.de>
3263
3264 * config.h.in (HAVE_IFUNC): Define to 0.
3265 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3266 definedness.
3267
05f3633d
LM
32682014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3269
3270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3271 memmove-avx-unaligned, memcpy-avx-unaligned and
3272 mempcpy-avx-unaligned.
3273 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3274 Add tests for AVX memcpy functions.
3275 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3276 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3277 memcpy_chk.
3278 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3279 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3280 memmove_chk.
3281 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3282 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3283 mempcpy_chk.
3284 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3285 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3286 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3287
a53fbd8e
AZ
32882013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3289
3290 [BZ #17213]
3291 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3292 powerpc64le.
3293
0961f7e1
JL
32942014-07-29 Jeff Layton <jlayton@poochiereds.net>
3295
3296 [BZ #16839]
3297 * manual/llio.texi: Add section about open file description locks.
3298 * manual/examples/ofdlocks.c: Example of open file description
3299 lock usage.
3300 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3301 F_OFD_SETLK, and F_OFD_SETLKW.
3302
cc5fb300
AM
33032014-07-23 Allan McRae <allan@archlinux.org>
3304
3305 * po/es.po: Update Spanish translation from translation project.
3306
23329dca
AS
33072014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3308
3309 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3310
9c82da17
MR
33112014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3312
3313 [BZ #17078]
3314 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3315 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3316 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3317
29c4f53e
JM
33182014-07-17 Joseph Myers <joseph@codesourcery.com>
3319
831b9896
JM
3320 [BZ #17088]
3321 * math/fesetenv.c (__fesetenv)
3322 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3323 * math/feupdateenv.c (__feupdateenv)
3324 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3325
b21c2d50
JM
3326 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3327 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3328 (__ASSUME_SOCKETCALL): Do not define.
3329
067764ef
JM
3330 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3331 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3332 (__ASSUME_SOCKETCALL): Do not define.
3333 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3334 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3335 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3336 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3337 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3338 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3339 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3340 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3341
642530c1
JM
3342 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3343 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3344 (__ASSUME_SOCKETCALL): Do not define.
3345 (__ASSUME_IPC64): Define unconditionally.
3346 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3347 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3348 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3349 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3350 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3351 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3352 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3353 Likewise.
3354
03f77315
JM
3355 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3356 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3357 (__ASSUME_SOCKETCALL): Do not define.
3358 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3359 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3360 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3361 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3362 (__ASSUME_REQUEUE_PI): Define unconditionally.
3363 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3364 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3365 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3366 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3367 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3368 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3369
083b1f7c
JM
3370 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3371 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3372 (__ASSUME_SOCKETCALL): Do not define.
3373 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3374 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3375 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3376 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3377 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3378 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3379
5be44ea6
JM
3380 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3381 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3382 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3383 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3384 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3385 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3386 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3387 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3388 (__ASSUME_GETCPU_SYSCALL): Likewise.
3389
d95ffd4c
JM
3390 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3391 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3392 cases for individual architectures.
3393 * sysdeps/gnu/configure: Regenerated.
3394 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3395 LIBC_SLIBDIR_RTLDDIR.
3396 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3397 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3398 LIBC_SLIBDIR_RTLDDIR.
3399 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3401 LIBC_SLIBDIR_RTLDDIR.
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3403 Regenerated.
3404 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3405 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3406 file.
3407 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3408 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3409 file.
3410 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3411 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3412 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3413 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3414
29c4f53e
JM
3415 * sysdeps/aarch64/shlib-versions: Move to ...
3416 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3417 * sysdeps/alpha/shlib-versions: Move to ...
3418 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3419 * sysdeps/arm/shlib-versions: Move to ...
3420 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3421 * sysdeps/hppa/shlib-versions: Move all contents except for
3422 libgcc_s entry to ...
3423 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3424 entry from ...
3425 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3426 * sysdeps/ia64/shlib-versions: Move to ...
3427 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3428 entry from ...
3429 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3430 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3431 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3432 * sysdeps/microblaze/shlib-versions: Move to ...
3433 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3434 * sysdeps/mips/shlib-versions: Move to ...
3435 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3436 entry from ...
3437 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3438 * sysdeps/tile/shlib-versions: Move to ...
3439 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3440 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3441 from ...
3442 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3443 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3444 entry from ...
3445 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3446
32bead5b
WN
34472014-07-17 Will Newton <will.newton@linaro.org>
3448
57977c4b
WN
3449 * sysdeps/arm/bits/atomic.h
3450 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3451 (__arch_compare_and_exchange_bool_16_int): Likewise.
3452 (__arch_compare_and_exchange_bool_64_int): Likewise.
3453
32bead5b
WN
3454 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3455 into an #else block.
3456
37fccd41
RM
34572014-07-16 Roland McGrath <roland@hack.frob.com>
3458
3459 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3460 just Linux configurations. Test empirically that the compiler sets
3461 __ARM_EABI__, rather than using the tuple to decide.
3462 * sysdeps/arm/preconfigure: Regenerated.
3463 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3464 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3465 contents appended ...
3466 * sysdeps/arm/configure.ac: ... here.
3467 * sysdeps/arm/configure: Regenerated.
3468
b365f3ec
RM
34692014-07-15 Roland McGrath <roland@hack.frob.com>
3470
8badf496
RM
3471 * nptl/pthread_kill.c: New file.
3472 * nptl/pthread_sigmask.c: New file.
3473 * nptl/pthread_sigqueue.c: New file.
3474
3df6f22e
RM
3475 * sysdeps/nptl/lowlevellock.h: New file.
3476 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3477 * sysdeps/nptl/lowlevellock-futex.h: New file.
3478
b365f3ec
RM
3479 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3480 Remove dead declarations.
3481
f2fef657
L
34822014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3483
3484 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3485 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3486 config-cflags-avx2.
3487 * sysdeps/x86_64/configure.ac: Likewise.
3488 * sysdeps/i386/configure: Regenerated.
3489 * sysdeps/x86_64/configure: Likewise.
3490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3491 memset-avx2 only if config-cflags-avx2 is yes.
3492 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3493 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3494 defined.
3495 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3496 only if HAVE_AVX2_SUPPORT is defined.
3497 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3498
f6c44d47
AM
34992014-07-14 Alan Modra <amodra@gmail.com>
3500
3501 [BZ #17153]
3502 * elf/elf.h (DT_PPC64_NUM): Correct value.
3503 * NEWS: Add to fixed bug list.
3504
7ee03f00
JM
35052014-07-13 Jim Meyering <meyering@fb.com>
3506
3507 [BZ 17150]
3508 regex: don't deref NULL upon heap allocation failure
3509 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3510 failure in one more place.
3511 To trigger the segfault, configure grep -with-included-regex,
3512 build it, and run these commands:
3513 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3514
9d39d517
AS
35152014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3516
3517 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3518
a75b89b7
RH
35192014-07-11 Richard Henderson <rth@redhat.com>
3520
3521 * sysdeps/aarch64/libm-test-ulps: Update.
3522
771eb141
FW
35232014-07-10 Florian Weimer <fweimer@redhat.com>
3524
3525 [BZ #17135]
3526 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3527 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3528 (__nptl_setxid): Initialize error member. Call
3529 __nptl_setxid_error.
3530 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3531 * nptl/descr.h (struct xid_command): Add error member.
3532 * nptl/tst-setuid3.c: New file.
3533 * nptl/Makefile (tests): Add it.
3534
bc1da176
AZ
35352014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3536
3537 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3538 New define.
3539 (__lll_trylock): Use __lll_base_trylock.
3540 (__lll_cond_trylock): Likewise.
3541
887865fc
RM
35422014-07-10 Roland McGrath <roland@hack.frob.com>
3543
c0c6bac9
RM
3544 * nptl/pthread_create.c (start_thread): Use atomic_or and
3545 lll_futex_wake directly rather than lll_robust_dead.
3546 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3547 (lll_robust_dead): Macro removed.
6a42be57 3548 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3549 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3550 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3551 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3552 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3553 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3554 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3555 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3556 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3557 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3558 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3559 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3560 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3561 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3562 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3563
887865fc
RM
3564 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3565 Use atomic_compare_and_exchange_val_acq directly rather than
3566 lll_robust_trylock.
3567 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3568 (__lll_robust_trylock, lll_robust_trylock): Removed.
3569 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3570 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3571 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3572 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3573 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3574 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3575 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3576 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3577 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3578 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3579 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3580 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3581 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3582 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3583
58536726
FW
35842014-07-02 Florian Weimer <fweimer@redhat.com>
3585
3586 * manual/locale.texi (Locale Names): New section documenting
3587 locale name syntax. Adjust menu and node chaining accordingly.
3588 (Choosing Locale): Reference Locale Names, Locale Categories.
3589 Mention setting LC_ALL=C. Reflect that name syntax is now
3590 documented.
3591 (Locale Categories): New section title. Reference Locale Names.
3592 LC_ALL is an environment variable, but not a category.
3593 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3594 description, now in Locale Name. Reference that section. Locale
3595 name syntax is now documented.
3596
4e8f95a0
FW
35972014-07-02 Florian Weimer <fweimer@redhat.com>
3598
3599 [BZ #17137]
3600 * locale/findlocale.c (name_present, valid_locale_name): New
3601 functions.
3602 (_nl_find_locale): Use the loc_name variable to store name
3603 candidates. Call name_present and valid_locale_name to check and
3604 validate locale names. Return an error if the locale is invalid.
3605
d1836456
FW
36062014-07-02 Florian Weimer <fweimer@redhat.com>
3607
3608 * locale/setlocale.c (setlocale): Use strdup for allocating
3609 composite name copy.
3610
d69b7f5a
SP
36112014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3612
888c679b
SP
3613 Sync up with gnulib.
3614 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3615 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3616 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3617 and _GL_ARG_NONNULL.
3618 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3619 [!_LIBC]: Include code for Windows and Cygwin.
3620 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3621 Include prototype for int strerror_r.
3622 [!_LIBC] (is_open): New function.
3623 (flush_stdout): New function.
3624 (print_errno_message): Use it.
3625 (error): Likewise.
3626 (error_at_line): Likewise.
3627 (error_tail) Add function attribute macros. Use
3628 __builtin_expect.
3629
180e0e4b
SP
3630 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3631
d22f1fe2
SP
3632 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3633
12f2254b
SP
3634 * io/ftw.c: Include sys/param.h unconditionally.
3635
c3c7c360
SP
3636 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3637
d62aa75a
SP
3638 [BZ #17125]
3639 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3640 libc_freeres_ptr.
3641 (freecache): New function to free CACHE on exit.
3642
d69b7f5a
SP
3643 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3644 initialization.
3645
5efe06a1
DM
36462014-07-09 David S. Miller <davem@davemloft.net>
3647
3648 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3649
7000d82e
DM
3650 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3651 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3652 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3653 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3654 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3655 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3656 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3657 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3658 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3659 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3660 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3661 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3662 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3663
c213442d
AS
36642014-07-09 Andreas Schwab <schwab@suse.de>
3665
4a2552c3
AS
3666 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3667 output.
3668 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3669 (do_test): Likewise.
3670
c213442d
AS
3671 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3672
82374e65
WN
36732014-07-09 Will Newton <will.newton@linaro.org>
3674
3675 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3676 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3677 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3678 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3679 * sysdeps/hppa/start.S (_start): Likewise.
3680
6680738a
SP
36812014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3682
6ee3eab4
SP
3683 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3684
6680738a
SP
3685 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3686 defined.
3687
80b5c505
SP
36882014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3689
e35c53e3
SP
3690 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3691 after checking that it is non-NULL.
3692
80b5c505
SP
3693 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3694
91f4b564
AZ
36952014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3696
27b75f56
AZ
3697 * sysdeps/powerpc/memmove.c: Remove file.
3698 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3699 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3700 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3701 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3702 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3703 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3704 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3705 string memmove instead of removed powerpc one.
3706
e7f95bb5
AZ
3707 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3708 [weak_alias]: Fix compiler warning due trailing data.
3709 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3710 [weak_alias]: Likewise.
3711 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3712 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3713
91f4b564
AZ
3714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3715 (__libc_ifunc_impl_list): Add memmove functions.
3716
7c33f1e5
SP
37172014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3718
3719 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3720 Remove code.
3721 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3722 Likewise
3723 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3724 Likewise
3725 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3726 Likewise
3727 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3728 Likewise
3729 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3730 Likewise
3731 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3732 Likewise
3733 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3734 Likewise
3735 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3736 Likewise
3737 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3738 Likewise
3739 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3740 Likewise
3741 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3742 Likewise
3743 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3744 Likewise
3745 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3746 Likewise
3747 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3748 Likewise
3749 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3750 Likewise
3751 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3752 Likewise
3753
3f17b03b
AZ
37542014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3755
87868c24
AZ
3756 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3757 to avoid alignment traps in non-cacheable memory.
3758 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3759
07aedd78
AZ
3760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3761 multiarch objects.
3762 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3763 file: multiarch power7 memmove.
3764 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3765 multiarch default memmove.
3766 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3767 multiarch memove for powerpc32/power4.
3768
17762f66
AZ
3769 * string/bcopy.c: Use full path to include memmove.c.
3770 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3771 multiarch objects.
3772 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3773 bcopy for powerpc64.
3774 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3775 bcopy for powerpc64.
3776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3777 and memmove implementations.
3778 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3779 optimized multiarch memmove for POWER7/powerpc64.
3780 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3781 default multiarch memmove for powerpc64.
3782 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3783 multiarch for powerpc64.
3784 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3785 for POWER7/powerpc64.
3786 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3787 memmove for POWER7/powerpc64.
3788
d6f68bbe
AZ
3789 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3790 glibc default one.
3791
3f17b03b
AZ
3792 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3793 __ELF_NATIVE_CLASS equal to 64.
3794
08192659
RM
37952014-07-07 Roland McGrath <roland@hack.frob.com>
3796
f4c4021b
RM
3797 * sysdeps/nptl/lowlevellock.h: File removed.
3798
f083450f
RM
3799 * NEWS: NPTL is no longer an add-on!
3800 * nptl/internaltypes.h: Moved ...
3801 * sysdeps/nptl/internaltypes.h: ... here.
3802 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3803 * sysdeps/nptl/fork.c: Likewise.
3804 * sysdeps/nptl/gai_misc.h: Likewise.
3805 * sysdeps/nptl/librt-cancellation.c: Likewise.
3806 * sysdeps/nptl/jmp-unwind.c: Likewise.
3807 * sysdeps/nptl/setxid.h: Likewise.
3808 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3809 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3810 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3811 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3812 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3813 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3814 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3815 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3816 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3817 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3818 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3819 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3820 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3821 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3822 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3823 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3824 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3825 * nptl/Makeconfig: Moved ...
3826 * sysdeps/nptl/Makeconfig: ... here.
3827 * nptl/configure: File removed.
3828 * nptl/ANNOUNCE: File removed.
3829 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3830 * sysdeps/unix/sysv/linux/configure: Regenerated.
3831
08192659
RM
3832 * nptl/Makefile (routines): Add libc_pthread_init,
3833 libc_multiple_threads, register-atfork and unregister-atfork.
3834 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3835 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3836 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3837 pthread-pi-defines.sym, structsem.sym.
3838 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3839 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3840 [$(subdir) = nptl] (tests): Add tst-setgetname.
3841 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3842 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3843 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3844 [!LIBC_SIGACTION]: Remove aliases.
3845 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3846 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3847 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3848 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3849 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3850 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3851 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3852 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3853 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3854 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3855 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3856 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3857 __libc_allocate_rtsig_private.
3858 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3859 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3860 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3861 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3862 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3863 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3864 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3865 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3866 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3867 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3868 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3869 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3870 * nptl/internaltypes.h: ... here.
3871 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3872 * sysdeps/nptl/jmp-unwind.c: ... here.
3873 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3874 * nptl/libc-lowlevellock.c: ... here.
3875 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3876 * nptl/libc_multiple_threads.c: ... here.
3877 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3878 * nptl/libc_pthread_init.c: ... here.
3879 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3880 * nptl/lowlevelbarrier.sym: ... here.
3881 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3882 * nptl/lowlevelcond.sym: ... here.
3883 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3884 * nptl/lowlevellock.c: ... here.
3885 * nptl/lowlevellock.h: Moved ...
3886 * sysdeps/nptl/lowlevellock.h: ... here.
3887 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3888 * nptl/lowlevelrobustlock.c: ... here.
3889 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3890 * nptl/lowlevelrobustlock.sym: ... here.
3891 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3892 * nptl/lowlevelrwlock.sym: ... here.
3893 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3894 * nptl/pt-fork.c: ... here.
3895 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3896 * nptl/pthread-pi-defines.sym: ... here.
3897 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3898 * nptl/pthread_attr_getaffinity.c: ... here.
3899 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3900 * nptl/pthread_attr_setaffinity.c: ... here.
3901 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3902 * nptl/pthread_mutex_cond_lock.c: ... here.
3903 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3904 Update #include.
3905 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3906 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3907 * nptl/pthread_once.c: ... here, replacing old file.
3908 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3909 * nptl/pthread_yield.c: ... here.
3910 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3911 * nptl/register-atfork.c: ... here.
3912 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3913 * nptl/sem_post.c: ... here.
3914 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3915 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3916 * nptl/sem_timedwait.c: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3918 * nptl/sem_trywait.c: ... here.
3919 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3920 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3921 * nptl/sem_wait.c: ... here.
3922 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3923 * nptl/structsem.sym: ... here.
3924 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3925 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3926 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3927 * nptl/unregister-atfork.c: ... here.
3928 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3929 * nptl/unwindbuf.sym: ... here.
3930 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3931 * sysdeps/nptl/fork.c: ... here.
3932 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3933 * sysdeps/nptl/fork.h: ... here.
3934 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3935 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3936 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3937 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3938 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3939 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3940 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3941 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3942 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3943 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3944 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3945 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3946 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3947 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3948 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3949 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3950 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3951 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3952 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3953 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3954 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3955 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3956 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3957 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3958 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3959 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3960 * sysdeps/unix/sysv/linux/raise.c: ... here.
3961 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3962 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3963 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3964 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3965 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3966 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3967 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3968 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3969 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3970 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3971 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3972 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3973 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3974 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3975 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3976
96baf6ff
SP
39772014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3978
3979 * sysdeps/generic/memcopy.h: Add comment for
3980 MEMCPY_OK_FOR_FWD_MEMMOVE.
3981
6b7b14b2
WN
39822014-07-04 Will Newton <will.newton@linaro.org>
3983
1570a72b
WN
3984 * string/memchr.c: Merge from gnulib.
3985 [_LIBC]: Remove conditionals.
3986 (__ptr_t): Remove define.
3987 (LONG_MAX_32_BITS): Likewise.
3988 (LONG_MAX): Likewise.
3989 (MEMCHR): Use ANSI prototype and optimize algorithm.
3990
6b7b14b2
WN
3991 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3992
38851324
SP
39932014-07-03 Roland McGrath <roland@hack.frob.com>
3994
3d9eb57c
RM
3995 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3996 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3997
78b984ae
RM
3998 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3999 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4000 in a bare environment with no <stdlib.h> installed.
4001 * sysdeps/nptl/configure: Regenerated.
4002
2d5976a5
RM
4003 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4004
c1f5acd4
RM
4005 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4006 AC_EGREP_CPP for kernel header checks, so they only succeed if
4007 including <linux/version.h> actually works right.
4008 * sysdeps/unix/sysv/linux/configure: Regenerated.
4009
4d614fe5
RM
4010 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4011 value so it's not diagnosed as unused.
4012
38851324
SP
4013 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4014 thing) with "ifeq ($(subdir),rt)".
4015
b3ec00e5
RH
40162014-07-03 Richard Henderson <rth@redhat.com>
4017
69862e25
RH
4018 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4019 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4020 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4021
d5e16ade
RH
4022 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4023 (math_force_eval): New.
4024
ca7b945c
RH
4025 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4026 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4027
cd1175a3
RH
4028 * sysdeps/alpha/fpu/s_round.c: Remove file.
4029 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4030
b3ec00e5
RH
4031 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4032 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4033 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4034 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4035 (_dl_start, print_statistics): Likewise.
4036 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4037 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4038
4039 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4040 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4041 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4042 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4043 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4044 (HP_SMALL_TIMING_AVAIL): Define.
4045 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4046 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4047 (HP_SMALL_TIMING_AVAIL): Define.
4048 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4049 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4050
4051 * sysdeps/aarch64/hp-timing.h: New file.
4052
4053 * sysdeps/generic/hp-timing.h: Remove dead comment.
4054 * sysdeps/generic/hp-timing-common.h: New file.
4055 * sysdeps/alpha/hp-timing.h: Include it.
4056 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4057 * sysdeps/i386/i686/hp-timing.h: Likewise.
4058 * sysdeps/ia64/hp-timing.h: Likewise.
4059 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4060 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4061 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4062 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4063 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4064 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4065 (hp_timing_t): New.
4066
4067 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4068 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4069 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4070 * elf/rtld.c (_dl_start_final): Likewise.
4071 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4072 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4073 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4074 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4075 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4076 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4077 (HP_TIMING_DIFF_INIT): Remove.
4078 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4080 (HP_TIMING_DIFF_INIT): Remove.
4081 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4082 * sysdeps/i386/i686/hp-timing.c: Remove file.
4083 * sysdeps/x86_64/hp-timing.c: Remove file.
4084 * sysdeps/ia64/hp-timing.c: Remove file.
4085 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4086 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4087 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4088 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4089
4090 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4091 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4092 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4093 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4094 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4095 (HP_TIMING_ACCUM): Remove.
4096 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4097 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4098 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4099
4100 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4101 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4102 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4103 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4104 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4105 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4106 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4107 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4108
4109 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4110
225f410f
MR
41112014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4112
4113 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4114
3247f285
SP
41152014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4116
4117 Sync up with gettext.
4118 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4119 [_MSC_VER]: Include malloc.h
4120 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4121 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4122 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4123 TEMP_FAILURE_RETRY. Cast return of alloca.
4124 [!_LIBC] Call gl_rwlock_init.
4125 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4126
d12704c7
SP
41272014-07-02 Roland McGrath <roland@hack.frob.com>
4128
4129 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4130 before checking its value.
4131
99f8dc92
SP
41322014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4133
05fdac77
SP
4134 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4135
99f8dc92
SP
4136 * debug/memcpy_chk.c: Don't include pagecopy.h.
4137 * debug/mempcpy_chk.c: Likewise.
4138 * string/memcpy.c: Likewise.
4139 * string/memmove.c: Likewise.
4140 * sysdeps/powerpc/memmove.c: Likewise.
4141 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4142 definition of PAGE_COPY_FWD_MAYBE here...
4143 * sysdeps/generic/pagecopy.h: ... from here.
4144 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4145
bc8ea385
VR
41462014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4147 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4148
4149 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4151 optimizations.
4152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4153 (__libc_ifunc_impl_list): Likewise.
4154 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4155 multiarch strcat for PPC64.
4156 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4157 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4158
fe5f34e4
RM
41592014-07-02 Roland McGrath <roland@hack.frob.com>
4160
4161 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4162
256aa665
SP
41632014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4164
d4eb8195
SP
4165 * intl/loadmsgcat.c: Remove declaration of
4166 get_sysdep_segment_value.
4167 (get_sysdep_segment_value): Use ISO C style.
4168 (_nl_load_domain): Use ISO C style. Get rid of redundant
4169 semicolon. Fix typo and formatting in comment.
4170 (_nl_unload_domain): Use ISO C style.
4171
256aa665
SP
4172 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4173
b100f9aa
WN
41742014-07-02 Will Newton <will.newton@linaro.org>
4175
4176 * malloc/obstack.c: Merge from gnulib master.
4177 [HAVE_CONFIG_H]: Remove conditional code.
4178 [!_LIBC]: Include config.h.
4179 [!ELIDE_CODE]: Don't include inttypes.h, include
4180 stdint.h unconditionally.
4181 (print_and_abort): Mark as _Noreturn.
4182 (_obstack_allocated_p): Mark as __attribute_pure__.
4183 (obstack_free): Rename to __obstack_free.
4184 [!__attribute__]: Remove conditional code.
4185 * malloc/obstack.h: Merge from gnulib master.
4186 [__cplusplus]: Move conditional down.
4187 [!__attribute_pure__]: Define __attribute_pure__ here
4188 if it is not already defined.
4189 (_obstack_memory_used): Mark as __attribute_pure__.
4190 [!__obstack_free]: Define as obstack_free.
4191 [__GNUC__]: Remove check for ancient NeXT gcc.
4192
c4c41244
PE
41932014-07-02 Will Newton <will.newton@linaro.org>
4194 Paul Eggert <eggert@cs.ucla.edu>
4195
4196 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4197
e1e041c4
SP
41982014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4199
4200 * resolv/gethnamaddr.c: Add comment warning that the file is
4201 not maintained.
4202
ccf431ff
CD
42032014-07-01 Carlos O'Donell <carlos@redhat.com>
4204
d34570a6
CD
4205 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4206 entries.
4207
ccf431ff
CD
4208 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4209 entry for aio_cancel and aio_cancel64.
4210 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4211 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4212 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4213 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4214 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4215 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4216 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4217 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4218 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4219 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4220 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4221 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4222 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4223
ca06321d
RM
42242014-07-01 Roland McGrath <roland@hack.frob.com>
4225
4226 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4227 * nptl/pthread_mutex_lock.c: Likewise.
4228 * nptl/pthread_mutex_timedlock.c: Likewise.
4229 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4230
a1ac3184
RH
42312014-07-01 Richard henderson <rth@redhat.com>
4232
631021e0
RH
4233 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4234 (__isnan, __isnanl): Remove.
4235 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4236
a1ac3184
RH
4237 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4238
0c1d731f
SL
42392014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4240
4241 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4242
76985d3e
SP
42432014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4244
4245 * resolv/nss_dns/dns-host.c (getanswer_r)
4246 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4247
b0cb3096
JM
42482014-07-01 Joseph Myers <joseph@codesourcery.com>
4249
4250 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4251 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4252 undefine.
4253 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4254 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4255
4d76cb39
RM
42562014-07-01 Roland McGrath <roland@hack.frob.com>
4257
4258 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4259 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4260
4261 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4262 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4263
4264 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4265 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4266 ... here.
4267 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4268 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4269
4270 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4271 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4272 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4273 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4274
4275 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4276 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4277 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4278 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4279 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4280 Moved ...
4281 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4282 ... here.
4283 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4284 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4285 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4286 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4287 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4288 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4289 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4290 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4291 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4292 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4293 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4294 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4295 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4296 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4297 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4298 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4299 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4300 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4301 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4302 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4303 ... here.
4304 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4305 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4306 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4307 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4308 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4309 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4310 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4311 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4312
0cdcad17
DH
43132014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4314
4315 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4316 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4317 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4318 Add sysdep.
4319
9b71d0e3
AZ
43202014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4321
4322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4323
665390c2
JM
43242014-06-30 Joseph Myers <joseph@codesourcery.com>
4325
ae05a9d7
JM
4326 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4327 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4328
a7672a2f
JM
4329 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4330
665390c2
JM
4331 * sysdeps/arm/libm-test-ulps: Regenerated.
4332
d7a05d07
MR
43332014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4334 Roland McGrath <roland@hack.frob.com>
4335
4336 * test-skeleton.c (signal_handler): Kill the whole process group
4337 before killing the child individually.
4338 (main): Report any failure on `setpgid'.
4339
46f1d8a6
RM
43402014-06-30 Roland McGrath <roland@hack.frob.com>
4341
4342 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4343 from _TLS_H to _ARM_NPTL_TLS_H.
4344 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4345 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4346
9c37ec0b
JM
43472014-06-30 Joseph Myers <joseph@codesourcery.com>
4348
ce9c5b3e
JM
4349 [BZ #16539]
4350 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4351 (__expm1l): Return argument unchanged when small but not
4352 subnormal.
4353
3a6e9887
JM
4354 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4355 include macro name.
4356 (_FP_UNPACK_RAW_1_P): Likewise.
4357 (_FP_PACK_RAW_1): Likewise.
4358 (_FP_PACK_RAW_1_P): Likewise.
4359 (_FP_MUL_MEAT_1_wide): Likewise.
4360 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4361 (_FP_MUL_MEAT_1_hard): Likewise.
4362 (_FP_DIV_MEAT_1_imm): Likewise.
4363 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4364 (_FP_DIV_MEAT_1_udiv): Likewise.
4365 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4366 (_FP_UNPACK_RAW_2): Likewise.
4367 (_FP_UNPACK_RAW_2_P): Likewise.
4368 (_FP_PACK_RAW_2): Likewise.
4369 (_FP_PACK_RAW_2_P): Likewise.
4370 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4371 (_FP_MUL_MEAT_2_wide): Likewise.
4372 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4373 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4374 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4375 (_FP_MUL_MEAT_2_gmp): Likewise.
4376 (_FP_DIV_MEAT_2_udiv): Likewise.
4377 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4378 (_FP_FRAC_SRL_4): Likewise.
4379 (_FP_FRAC_SRST_4): Likewise.
4380 (_FP_FRAC_SRS_4): Likewise.
4381 (_FP_UNPACK_RAW_4): Likewise.
4382 (_FP_UNPACK_RAW_4_P): Likewise.
4383 (_FP_PACK_RAW_4): Likewise.
4384 (_FP_PACK_RAW_4_P): Likewise.
4385 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4386 (_FP_MUL_MEAT_4_wide): Likewise.
4387 (_FP_MUL_MEAT_4_gmp): Likewise.
4388 (umul_ppppmnnn): Likewise.
4389 (_FP_DIV_MEAT_4_udiv): Likewise.
4390 (__FP_FRAC_ADD_4): Likewise.
4391 (__FP_FRAC_SUB_3): Likewise.
4392 (__FP_FRAC_SUB_4): Likewise.
4393 (__FP_FRAC_DEC_3): Likewise.
4394 (__FP_FRAC_DEC_4): Likewise.
4395 (__FP_FRAC_ADDI_4): Likewise.
4396 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4397 (_FP_FRAC_SRL_8): Likewise.
4398 (_FP_FRAC_SRS_8): Likewise.
4399
9c37ec0b
JM
4400 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4401 include macro name.
4402 (FP_UNPACK_RAW_EP): Likewise.
4403 (FP_PACK_RAW_E): Likewise.
4404 (FP_PACK_RAW_EP): Likewise.
4405 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4406 (_FP_ISSIGNAN): Likewise.
4407 (_FP_ADD_INTERNAL): Likewise.
4408 (_FP_FMA): Likewise.
4409 (_FP_CMP): Likewise.
4410 (_FP_SQRT): Likewise.
4411 (_FP_TO_INT): Likewise.
4412 (_FP_FROM_INT): Likewise.
4413 (FP_EXTEND): Likewise.
4414 (_FP_DIV_MEAT_N_loop): Likewise.
4415
2125f674
MR
44162014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4417
4418 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4419 throughout.
4420
edea4028
JM
44212014-06-29 Joseph Myers <joseph@codesourcery.com>
4422
4423 [BZ #17097]
4424 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4425 result with correct sign in case of exponents that produce
4426 overflow except for X very close to 1.
4427
dd0ba018
PE
44282014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4429
4430 mktime: merge #if/#ifdef usage from glibc
4431 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4432 as that works with both Glibc's and Gnulib's style.
4433 See thread starting at Siddhesh Poyarekar's bug report at:
4434 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4435
64df73c2
SP
44362014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4437
4438 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4439 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4440 * sysdeps/tile/tilegx/memmove.c: Remove file.
4441
f1eafb41
JM
44422014-06-27 Joseph Myers <joseph@codesourcery.com>
4443
4444 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4445 abi-name definition.
4446 * scripts/soversions.awk: Do not handle or generate ABI lines.
4447 * shlib-versions: Remove ABI entries.
4448 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4449 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4450
58eb0862
RM
44512014-06-27 Roland McGrath <roland@hack.frob.com>
4452
37caf178
RM
4453 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4454 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4455 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4456 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4458 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4459 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4460 Moved ...
4461 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4462 ... here.
4463 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4464 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4466 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4467 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4468 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4469 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4470 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4471 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4472 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4473 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4474 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4475 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4476 Moved ...
4477 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4478 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4479 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4480 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4481 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4482 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4483 Moved ...
4484 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4485 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4486 Moved ...
4487 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4488 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4489 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4491 Moved ...
4492 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4494 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4500 Moved ...
4501 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4503 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4504 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4505 Moved ...
4506 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4508 Moved ...
4509 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4510 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4511 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4512 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4513 Moved ...
4514 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4515 ... here.
4516 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4517 Identical file removed.
4518 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4519 Moved ...
4520 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4522 Identical file removed.
4523 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4524 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4525 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4526 Moved ...
4527 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4529 Identical file removed.
4530 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4531 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4532 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4533 Identical file removed.
4534 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4537 Identical file removed.
4538 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4539 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4541 Identical file removed.
4542 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4543 Moved ...
4544 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4545 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4546 Identical file removed.
4547 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4548 Moved ...
4549 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4550 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4551 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4552 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4553 Identical file removed.
4554 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4555 Moved ...
4556 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4557 ... here.
4558 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4559 Identical file removed.
4560 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4561 Moved ...
4562 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4564 Identical file removed.
4565 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4566 Moved ...
4567 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4569 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4570 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4571 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4572 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4573 Moved ...
4574 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4575 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4576 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4577
58eb0862
RM
4578 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4579 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4580 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4581 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4582 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4583
6f12d062
AS
45842014-06-27 Arjun Shankar <arjun.is@lostca.se>
4585
4586 [BZ #17092]
4587 * nscd/nscd.c (monitor_child): Return exit status of child
4588 instead of return value from wait syscall.
4589
be254932
JM
45902014-06-27 Joseph Myers <joseph@codesourcery.com>
4591
cb403c34
JM
4592 * configure.ac (libc_commonpagesize): Remove variable.
4593 (libc_relro_required): Likewise.
4594 (libc_cv_z_relro): Remove configure test.
4595 * configure: Regenerated.
4596 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4597 variable.
4598 (libc_relro_required): Likewise.
4599 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4600 (libc_relro_required): Likewise.
4601 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4602 (libc_relro_required): Likewise.
4603 * sysdeps/arm/preconfigure: Regenerated.
4604 * sysdeps/ia64/preconfigure: Remove file.
4605 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4606 variable.
4607 (libc_relro_required): Likewise.
4608
be254932
JM
4609 [BZ #16561]
4610 [BZ #16562]
4611 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4612 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4613 recompute overflowing results in original rounding mode.
4614 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4615 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4616 recompute overflowing results in original rounding mode.
4617 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4618 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4619 recompute overflowing results in original rounding mode.
4620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4621 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4622 recompute overflowing results in original rounding mode.
4623 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4624 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4625 recompute overflowing results in original rounding mode.
4626 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4627 (libc_feholdsetround_ctx): New macro.
4628 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4629 * sysdeps/i386/fpu/libm-test-ulps: Update.
4630 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4631
b351d85a
JM
46322014-06-26 Joseph Myers <joseph@codesourcery.com>
4633
4634 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4635 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4636 corresponding .cpsetup call.
4637
3cb4de47
RM
46382014-06-26 Roland McGrath <roland@hack.frob.com>
4639
4640 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4641 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4642 * sysdeps/arm/Makefile [$(subdir) = csu]
4643 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4644 (static-only-routines): Add aeabi_read_tp here.
4645 (shared-only-routines): Add libc-aeabi_read_tp here.
4646 (CFLAGS-libc-start.c): Add -fexceptions here.
4647 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4648 (sysdep_routines, static-only-routines, shared-only-routines):
4649 Don't add to these here.
4650 (CFLAGS-libc-start.c): Likewise.
4651
4652 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4653 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4654 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4655 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4656 * sysdeps/arm/Makefile [$(subdir) = rt]
4657 (librt-sysdep_routines, librt-shared-only-routines):
4658 Append rt-aeabi_unwind_cpp_pr1 here.
4659 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4660 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4661 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4662 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4663 Append nptl-aeabi_unwind_cpp_pr1 here.
4664 (tests): Filter out tst-cleanupx4 here.
4665 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4666 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4667 Don't do those here.
4668
354426bb
JM
46692014-06-26 Joseph Myers <joseph@codesourcery.com>
4670
4671 * scripts/list-sources.sh: Do not handle ports specially.
4672
28b0a8c9
RM
46732014-06-26 Roland McGrath <roland@hack.frob.com>
4674
a3dd035d
RM
4675 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4676 * sysdeps/arm/feupdateenv.c: Likewise.
4677
28b0a8c9
RM
4678 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4679
e66a8203
JM
46802014-06-26 Joseph Myers <joseph@codesourcery.com>
4681
4682 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4683 trailing whitespace removed.
4684 * scripts/config.guess: Update to version 2014-03-23.
4685 * scripts/config.sub: Update to version 2014-05-01
4686 * scripts/install-sh: Update to version 2013-12-25.23.
4687 * scripts/move-if-change: Update from gnulib.
4688
74171115
SP
46892014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4690
b97c9ce5
SP
4691 * debug/memmove_chk.c: Remove pagecopy.h include.
4692
4000f892
SP
46932014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4694
74171115
SP
4695 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4696 identical to gnulib mktime.
4697
a8779c28
JM
46982014-06-26 Joseph Myers <joseph@codesourcery.com>
4699
e64708de
JM
4700 * configure.ac: Do not test for machine being rs6000. Do not test
4701 for powerpc*-*soft.
4702 * configure: Regenerated.
4703
a8779c28
JM
4704 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4705 test.
4706 * configure: Regenerated.
4707 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4708 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4709 Remove configure test.
4710 * sysdeps/arm/configure: Regenerated.
4711 * sysdeps/nptl/configure.ac: Do not check
4712 libc_cv_asm_cfi_directives.
4713 * sysdeps/nptl/configure: Regenerated.
4714 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4715 * sysdeps/x86_64/nptl/configure: Remove generated file.
4716 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4717 unconditional.
4718 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4719
2aac0a86
SP
47202014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4721
059bf913
SP
4722 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4723 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4724 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4725 it is defined.
4726
4cf5b6d0
SP
4727 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4728 instead of whether it is defined.
4729 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4730 * sysdeps/hppa/dl-machine.h: Likewise.
4731 * sysdeps/ia64/dl-machine.h: Likewise.
4732 * sysdeps/m68k/dl-machine.h: Likewise.
4733 * sysdeps/microblaze/dl-machine.h: Likewise.
4734 * sysdeps/mips/dl-machine.: Likewise.
4735 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4736 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4737 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4738 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4739 * sysdeps/sh/dl-machine.h: Likewise.
4740 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4741 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4742 * sysdeps/tile/dl-machine.h: Likewise.
4743 * sysdeps/x86_64/dl-machine.h: Likewise.
4744
2aac0a86
SP
4745 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4746 code.
4747 (verify_persistent_db): Likewise.
4748
6ad2df0b
RM
47492014-06-26 Roland McGrath <roland@hack.frob.com>
4750
d8a483f3
RM
4751 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4752 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4754 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4756 Moved ...
4757 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4758 ... here.
4759 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4760 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4762 Identical file removed.
4763 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4764 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4766 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4767 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4768 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4770 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4772 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4774 Moved ...
4775 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4777 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4779 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4781 Moved ...
4782 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4784 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4786 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4788 Identical file removed.
4789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4790 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4792 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4794 Moved ...
4795 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4796 ... here.
4797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4798 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4800 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4802 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4804 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4806 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4808 Moved ...
4809 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4811 Moved ...
4812 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4814 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4816 Moved ...
4817 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4819 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4820
52ae23b4
RM
4821 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4822 folded into ...
4823 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4824 * sysdeps/unix/sysv/linux/s390/Versions
4825 (libpthread: GLIBC_2.19): New version set.
4826 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4827 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4828 (librt: GLIBC_2.3.3): New version set.
4829 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4830 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4831 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4832 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4833 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4834 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4835 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4836 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4837 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4838 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4839 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4840 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4841 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4842 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4843 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4844 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4845 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4846 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4847 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4848 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4849 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4850 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4851 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4852 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4853 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4854 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4855 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4856 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4857 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4858 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4859 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4860 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4861 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4862 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4863 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4865 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4867 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4869 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4871 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4873 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4874
39507e4a
RM
4875 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4876 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4877 (__libc_vfork): Define the function under this name.
4878 [!NOT_IN_libc] (__vfork): Make this an alias.
4879 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4880 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4881 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4882 (__libc_vfork): Define the function under this name.
4883 [!NOT_IN_libc] (__vfork): Make this an alias.
4884 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4885 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4886 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4887 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4888 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4889 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4890
e549ee56
RM
4891 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4892 code that was previously under [RESET_PID].
4893 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4894 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4895 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4896
6ad2df0b
RM
4897 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4898 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4899 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4900 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4901 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4902 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4903 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4904 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4905 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4906 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4907 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4908 Moved ...
4909 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4910 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4911 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4912 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4913 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4914 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4915 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4916 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4917 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4918 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4919 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4920 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4921 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4922 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4923 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4924 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4925 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4926 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4927 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4928 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4929 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4930 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4931 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4932 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4933 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4934 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4935 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4936 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4937 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4938
7c1c1d8e
RM
49392014-06-25 Roland McGrath <roland@hack.frob.com>
4940
4941 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4942 that was previously under [RESET_PID].
4943 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4944
3e239be6
JM
49452014-06-25 Joseph Myers <joseph@codesourcery.com>
4946
74385da5
JM
4947 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4948 not undefine and redefine.
4949 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4950 [O_CLOEXEC]: Make code unconditional.
4951 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4952 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4953 <kernel-features.h>.
4954 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4955 conditional variable definition.
4956 (shm_open) [O_CLOEXEC]: Make code unconditional.
4957 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4958 code.
4959
c2570a0b
JM
4960 * configure.ac (USE_REGPARMS): Don't define here.
4961 * configure: Regenerated.
4962 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4963 * sysdeps/i386/configure: Regenerated.
4964
11b076bb
JM
4965 * nptl/createthread.c: Don't include kernel-features.h.
4966 * nptl/pthread_cancel.c: Likewise.
4967 * nptl/pthread_condattr_setclock.c: Likewise.
4968 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4969 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4970 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4971 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4972 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4973 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4974 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4976 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4977 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4978 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4979 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4980 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4981 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4982 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4983 * nscd/gai.c: Likewise.
4984 * nss/nss_db/db-open.c: Likewise.
4985 * sysdeps/generic/ldsodefs.h: Likewise.
4986 * sysdeps/sh/nptl/tls.h: Likewise.
4987 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4988 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4989 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4990 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4991 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4992 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4993 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4994 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4995 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4996 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4997 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4998 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4999 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5000 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5001 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5002 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5003 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5004 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5005 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5006 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5007 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5008 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5009 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5010 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5011 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5012 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5013 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5014 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5015 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5016 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5017 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5018 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5019 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5020 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5021 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5022 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5023 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5024 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5025 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5026 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5027 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5028 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5029 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5030 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5031 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5032 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5033 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5034 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5035 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5036 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5037 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5038 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5039 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5040 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5041 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5042 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5043 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5044 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5067 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5068 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5069 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5070 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5071 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5072 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5073 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5074 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5075 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5076 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5077 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5078 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5079 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5080 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5081 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5082 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5083 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5084 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5085 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5086 * sysdeps/unix/sysv/linux/system.c: Likewise.
5087 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5088 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5089 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5090 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5091 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5092 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5093 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5094
92072d57
JM
5095 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5096 * configure: Regenerated.
5097 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5098
3e239be6
JM
5099 * configure.ac (base_machine): Do not set specially for particular
5100 machines here.
5101 * configure: Regenerated.
5102 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5103 settings from configure.ac.
5104 * sysdeps/i386/preconfigure: New file.
5105 * sysdeps/s390/preconfigure: Likewise.
5106 * sysdeps/sh/preconfigure: Likewise.
5107 * sysdeps/sparc/preconfigure: Likewise.
5108
06d50baa
RM
51092014-06-25 Roland McGrath <roland@hack.frob.com>
5110
74836003
RM
5111 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5112 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5113 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5114 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5115 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5116 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5117 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5118 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5119 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5120 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5121 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5122 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5123 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5124 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5125 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5126 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5127 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5128 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5129 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5130
5131 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5132 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5133 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5134 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5135 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5136 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5137 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5138 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5139 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5140 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5141 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5142 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5143 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5144 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5145 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5146 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5147 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5148 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5149 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5150 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5152 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5153 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5154 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5155 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5156 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5157 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5158 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5159 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5160 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5161 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5162 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5164 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5165 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5166 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5168 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5169
06d50baa
RM
5170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5171 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5173 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5175 Moved ...
5176 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5177 ... here.
5178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5179 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5180 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5181 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5182 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5183 Moved ...
5184 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5186 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5188 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5190 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5192 Moved ...
5193 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5195 Moved ...
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5198 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5200 Moved ...
5201 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5203 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5205 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5207 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5209 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5211 Moved ...
5212 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5213 ... here.
5214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5215 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5217 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5219 Moved ...
5220 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5222 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5224 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5226 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5227 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5228 Moved ...
5229 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5231 Moved ...
5232 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5234 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5236 Moved ...
5237 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5239 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5241 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5242
a4ccbc9b
JM
52432014-06-25 Joseph Myers <joseph@codesourcery.com>
5244
0828edbf
JM
5245 * timezone/checktab.awk: Update from tzcode 2014e.
5246 * timezone/private.h: Likewise.
5247 * timezone/tzfile.h: Likewise.
5248 * timezone/zdump.c: Likewise.
5249 * timezone/zic.c: Likewise.
5250
a4ccbc9b
JM
5251 * sysdeps/unix/sysv/linux/kernel-features.h
5252 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5253 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5254 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5255 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5256 Remove conditional code.
5257
9aea0cb8
WN
52582014-06-25 Will Newton <will.newton@linaro.org>
5259
5260 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5261 (_dl_arm_cap_flags): Add HWCAP2 values.
5262 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5263 (_DL_HWCAP_COUNT): Increase to 37.
5264 (_DL_HWCAP_LAST): New define.
5265 (_DL_HWCAP2_LAST): New define.
5266 (_dl_procinfo): Add support for printing
5267 AT_HWCAP2 entries.
5268 (_dl_string_hwcap): Use _dl_hwcap_string.
5269
6eaa65ce
AZ
52702014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5271
5272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5273
0f5b7185
JM
52742014-06-25 Joseph Myers <joseph@codesourcery.com>
5275
cfd2ea50
JM
5276 * README: Do not mention ports directory.
5277
cecf2ed4
JM
5278 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5279 Remove macro.
5280 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5281 <kernel-features.h>.
5282 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5283 conditional variable definition.
5284 (__futimes): Update comment.
5285 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5286 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5287
a638de82
JM
5288 [BZ #16560]
5289 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5290 arguments close to 0.
5291 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5292 Likewise.
5293 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5294 Likewise.
5295 * math/auto-libm-test-in: Add more tests of exp10.
5296 * math/auto-libm-test-out: Regenerated.
5297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5298
0f5b7185
JM
5299 * sysdeps/unix/sysv/linux/kernel-features.h
5300 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5301 * sysdeps/unix/sysv/linux/readv.c: Do not include
5302 <kernel-features.h>.
5303 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5304 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5305 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5306 unconditional.
5307 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5308 conditional code.
5309 * sysdeps/unix/sysv/linux/writev.c: Do not include
5310 <kernel-features.h>.
5311 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5312 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5313 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5314 unconditional.
5315 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5316 conditional code.
5317
c7aec4be
WN
53182014-06-25 Will Newton <will.newton@linaro.org>
5319
5320 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5321 comment changes throughout the file. Remove checks
5322 for HAVE_*_H definitions that are not required.
5323 (__gen_tempname): Call abort if an unknown kind value is
5324 passed.
5325
c5241f95
AS
53262014-06-25 Andreas Schwab <schwab@suse.de>
5327
5328 [BZ #17086]
5329 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5330 scalbln, scalblnf, scalblnl in libc.
5331
911422da
SP
53322014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5333
5334 [BZ #17086]
5335 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5336 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5337 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5338
0d749bbe
RM
53392014-06-24 Roland McGrath <roland@hack.frob.com>
5340
5341 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5342 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5343 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5344 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5345 Update #include.
5346 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5347 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5348 Update #include.
5349 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5350 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5351 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5352 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5353 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5354 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5355 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5356 * sysdeps/x86/bits/semaphore.h: ... here.
5357 * sysdeps/x86/nptl/elide.h: Moved ...
5358 * sysdeps/x86/elide.h: ... here.
5359 * sysdeps/x86_64/nptl/Implies: File removed.
5360 * sysdeps/i386/nptl/Implies: File removed.
5361
0ea5d373
JM
53622014-06-24 Joseph Myers <joseph@codesourcery.com>
5363
4060283d
JM
5364 [BZ #16539]
5365 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5366 return the argument for normal arguments with exponent below -64.
5367 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5368 Likewise.
5369 * math/auto-libm-test-in: Add another test of expm1.
5370 * math/auto-libm-test-out: Regenerated.
5371
e7dd3c8c
JM
5372 [BZ #16287]
5373 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5374 calling __erfcl for arguments at least 16.
5375 * math/auto-libm-test-in: Add more tests of erf.
5376 * math/auto-libm-test-out: Regenerated.
5377
0ea5d373
JM
5378 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5379 individual architectures.
5380 * sysdeps/unix/sysv/linux/configure: Regenerated.
5381 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5382 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5383 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5384 (ldd_rewrite_script): Define variable.
5385 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5387 file.
5388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5389 generated file.
5390 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5391 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5392 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5393 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5394 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5395 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5396 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5397 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5398
2307e126
SP
53992014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5400
5401 [BZ #17084]
5402 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5403 Rename member __data.d to __data.__elision_data.
5404
c0a4ed77
W
54052014-06-24 Wilco <wdijkstr@arm.com>
5406
5407 * NEWS: Add 16918 to fixed bug list.
5408
b8c00573
W
54092014-06-24 Wilco <wdijkstr@arm.com>
5410
5411 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5412
b5570d92
W
54132014-06-24 Wilco <wdijkstr@arm.com>
5414
5415 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5416 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5417 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5418 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5419 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5420 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5421 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5422 Use _FPU_MASK_RM.
5423
947bdca2
W
54242014-06-24 Wilco <wdijkstr@arm.com>
5425
5426 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5427
00f669ed
W
54282014-06-24 Wilco <wdijkstr@arm.com>
5429
5430 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5431 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5432 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5433 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5434
db59bad3
W
54352014-06-24 Wilco <wdijkstr@arm.com>
5436
5437 [BZ #16918]
5438 * sysdeps/arm/feupdateenv.c (feupdateenv):
5439 Rewrite to reduce FPSCR accesses and fix return value.
5440
001f7b77
W
54412014-06-24 Wilco <wdijkstr@arm.com>
5442
5443 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5444 Optimize to avoid unnecessary FPSCR writes.
5445 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5446 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5447 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5448 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5449
4841e6a6
W
54502014-06-24 Wilco <wdijkstr@arm.com>
5451
5452 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5453 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5454 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5455 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5456 Call libc_fetestexcept_vfp.
5457 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5458 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5459 __SOFTFP__ ifdef so that they can be built for softfp.
5460
0813022c
SP
54612014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5462
08e5862f
SP
5463 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5464 argument type signed char.
5465
0813022c
SP
5466 * Makerules (check-abi): Dump diff of symlist if the test
5467 fails.
5468
3fc7236a
RM
54692014-06-23 Roland McGrath <roland@hack.frob.com>
5470
aba8ef95
RM
5471 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5472 using abort.
5473
3fc7236a
RM
5474 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5475 Remove unused variable ST.
5476
4da6db51
JM
54772014-06-23 Joseph Myers <joseph@codesourcery.com>
5478
4648909d
JM
5479 [BZ #16354]
5480 [BZ #17061]
5481 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5482 small arguments before calling __expm1.
5483 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5484 small arguments before calling __expm1f.
5485 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5486 small arguments before calling __expm1l.
5487 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5488 Likewise.
5489 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5490 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5491 spurious underflow for some cosh tests.
5492 * math/auto-libm-test-out: Regenerated.
5493 * sysdeps/i386/fpu/libm-test-ulps: Update.
5494
46a3d3c7
JM
5495 [BZ #17050]
5496 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5497 (__ieee754_y1): Set errno if return value overflows.
5498 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5499 (__ieee754_y1f): Set errno if return value overflows.
5500 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5501 (__ieee754_y1l): Set errno if return value overflows.
5502 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5503 (__ieee754_y1l): Set errno if return value overflows.
5504 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5505 * math/auto-libm-test-out: Regenerated.
5506
863893ec
JM
5507 * math/gen-auto-libm-tests.c: Document use of
5508 ignore-zero-inf-sign.
5509 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5510 (input_flags): Add ignore-zero-inf-sign.
5511 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5512 * math/gen-libm-test.pl (generate_testfile): Handle
5513 ignore-zero-inf-sign.
5514 * math/auto-libm-test-in: Mark some cpow tests with
5515 ignore-zero-inf-sign and some with xfail-rounding.
5516 * math/auto-libm-test-out: Regenerated.
5517 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5518 * sysdeps/i386/fpu/libm-test-ulps: Update.
5519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5520
4da6db51
JM
5521 [BZ #16315]
5522 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5523 overflowing or underflowing operations take place with sign of
5524 result.
5525 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5526 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5527 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5528 (__ieee754_pow): Recompute overflowing and underflowing results in
5529 original rounding mode.
5530 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5531 (__powl_helper): Allow negative argument X and scale negated value
5532 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5533 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5534 overflowing or underflowing operations take place with sign of
5535 result.
5536 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5537 Include <math.h>.
5538 * math/auto-libm-test-in: Add more tests of pow.
5539 * math/auto-libm-test-out: Regenerated.
5540 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5541 (pow_tonearest_test_data): Remove.
5542 (pow_test_tonearest): Likewise.
5543 (pow_towardzero_test_data): Likewise.
5544 (pow_test_towardzero): Likewise.
5545 (pow_downward_test_data): Likewise.
5546 (pow_test_downward): Likewise.
5547 (pow_upward_test_data): Likewise.
5548 (pow_test_upward): Likewise.
5549 (main): Don't call removed functions.
5550 * sysdeps/i386/fpu/libm-test-ulps: Update.
5551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5552
5686b236
RM
55532014-06-23 Roland McGrath <roland@hack.frob.com>
5554
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5556 Moved ...
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5559 Moved ...
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5562 Moved ...
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5565 Moved ...
5566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5568 File removed.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5570 File removed.
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5572 File removed.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5574 File removed.
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5576 File removed.
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5578 File removed.
5579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5580 File removed.
5581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5582 File removed.
5583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5584 File removed.
5585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5586 File removed.
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5588 File removed.
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5590 File removed.
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5592 Moved ...
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5595 Moved ...
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5597 ... here.
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5599 Moved ...
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5602 Moved ...
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5605 Moved ...
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5608 Moved ...
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5611 Moved ...
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5614 Moved ...
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5617 Moved ...
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5621 ... here.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5623 Moved ...
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5626 Moved ...
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5628 ... here.
5629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5630 Moved ...
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5632 ... here.
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5634 Moved ...
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5636 ... here.
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5638 Moved ...
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5641 Moved ...
5642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5646 Moved ...
5647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5648 ... here.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5650 Moved ...
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5652 ... here.
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5654 Moved ...
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5657 Moved ...
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5660 Moved ...
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5663 Moved ...
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5666 Moved ...
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5668 ... here.
5669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5670 Moved ...
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5673 Moved ...
5674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5676 Moved ...
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5679 Moved ...
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5684 Moved ...
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5687 Moved ...
5688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5690 Moved ...
5691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5692 ... here.
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5694 Moved ...
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5696 ... here.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5698 Moved ...
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5700 ... here.
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5702 Moved ...
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5705 Moved ...
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5708 Moved ...
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5711 Moved ...
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5713 ... here.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5715 Moved ...
5716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5717 ... here.
5718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5719 Moved ...
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5721 ... here.
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5723 Moved ...
5724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5726 Moved ...
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5728
e6d90d67
WD
57292014-06-23 Will Newton <will.newton@linaro.org>
5730 Wilco <wdijkstr@arm.com>
5731
5732 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5733 implementation. Include get-rounding-mode.h.
5734 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5735 [!libc_feholdsetround_noex_ctx]: Define
5736 libc_feholdsetround_noex_ctx.
5737 [!libc_feholdsetround_noexf_ctx]: Define
5738 libc_feholdsetround_noexf_ctx.
5739 [!libc_feholdsetround_noexl_ctx]: Define
5740 libc_feholdsetround_noexl_ctx.
5741 (libc_feholdsetround_ctx): New function.
5742 (libc_feresetround_ctx): New function.
5743 (libc_feholdsetround_noex_ctx): New function.
5744 (libc_feresetround_noex_ctx): New function.
5745
d42df555
RM
57462014-06-23 Roland McGrath <roland@hack.frob.com>
5747
88a46474
RM
5748 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5749 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5750 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5751 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5752 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5753 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5754
15bed472
RM
5755 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5756 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5757 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5758 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5759 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5760 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5761 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5762 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5763 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5764 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5765 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5766 Moved ...
5767 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5768 ... here.
5769 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5770 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5771 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5772 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5773 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5774 Moved ...
5775 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5776 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5777 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5778 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5779 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5780 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5781 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5782 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5783 Moved ...
5784 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5785 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5786 Moved ...
5787 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5788 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5789 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5790 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5791 Moved ...
5792 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5794 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5795 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5796 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5797 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5798 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5799 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5800 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5801 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5802 Moved ...
5803 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5804 ... here.
5805 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5806 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5807 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5808 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5810 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5811 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5812 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5813 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5814 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5815 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5816 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5817 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5818 Moved ...
5819 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5820 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5821 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5822 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5823 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5824 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5825 Moved ...
5826 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5827 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5828 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5829 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5830 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5831
d42df555
RM
5832 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5833 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5834 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5835 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5836 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5837 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5838 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5839 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5841 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5842 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5843 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5844 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5845 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5846 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5847 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5848 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5849 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5850 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5851 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5852 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5853 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5854 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5855 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5856 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5857 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5858 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5859 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5860
76e5216e
JM
58612014-06-23 Joseph Myers <joseph@codesourcery.com>
5862
5863 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5864 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5865 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5866 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5867 (IPV6_PMTUDISC_INTERFACE): Likewise.
5868 (IPV6_PMTUDISC_OMIT): Likewise.
5869
7a81cbcc
AS
58702014-06-23 Andreas Schwab <schwab@suse.de>
5871
5872 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5873 Remove unused errout label.
5874
db224009
AZ
58752014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5876
5877 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5878 macro: hardware supports Vector Crypto instructions.
5879
f393b4aa
WN
58802014-06-23 Will Newton <will.newton@linaro.org>
5881
cc7d0447
WN
5882 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5883 rather than __builtin_expect.
5884
d6d06225
WN
5885 * elf/dl-lookup.c (undefined_msg): Remove variable.
5886 (_dl_lookup_symbol_x): Replace undefined_msg with string
5887 literal.
5888
f393b4aa
WN
5889 * elf/dl-lookup.c (do_lookup_unique): New function.
5890 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5891 to a separate function.
5892
ac60763e
AS
58932014-06-23 Andreas Schwab <schwab@suse.de>
5894
5895 [BZ #17079]
5896 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5897 before reading the next line.
5898
c5c13355
WN
58992014-06-23 Will Newton <will.newton@linaro.org>
5900
5901 * test-skeleton.c (signal_handler): Use printf and %m
5902 rather than perror. Use printf rather than fprintf to
5903 stderr. Use puts rather than fputs to stderr.
5904 (main): Likewise.
5905
bd3675f9
LC
59062014-06-22 Ludovic Courtès <ludo@gnu.org>
5907
5908 * nscd/nscd.c (thread_info_t): Remove typedef.
5909 (thread_info): Remove variable.
5910
d03efb2f
AM
59112014-06-21 Allan McRae <allan@archlinux.org>
5912
5913 * NEWS: Mention CVE-2014-4043.
5914
bc4a86fa
RM
59152014-06-20 Roland McGrath <roland@hack.frob.com>
5916
dc9a54f8
RM
5917 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5918 * nptl/smp.h: ... here.
5919
bd7022c4
RM
5920 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5921
26ffd5e6
RM
5922 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5923 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5924 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5925 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5926
93a6d082
RM
5927 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5928 * nptl/stack-aliasing.h: New file.
5929 * sysdeps/i386/i686/stack-aliasing.h: New file.
5930 * sysdeps/i386/i686/nptl/Makefile: File removed.
5931 * sysdeps/x86_64/stack-aliasing.h: New file.
5932 * sysdeps/x86_64/nptl/Makefile
5933 (CFLAGS-pthread_create.c): Variable removed.
5934
bc4a86fa
RM
5935 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5936 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5937 old file.
5938 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5939 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5940 old file.
5941
2272ffc1
JM
59422014-06-21 Joseph Myers <joseph@codesourcery.com>
5943
5944 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5945 (__ASSUME_SIGFRAME_V2): Remove macro.
5946 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5947 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5948 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5949 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5950 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5951 Declare as function. Remove conditional macro definitions.
5952 (__default_rt_sa_restorer): Likewise.
5953 (__default_sa_restorer_v1): Remove declaration.
5954 (__default_sa_restorer_v2): Likewise.
5955 (__default_rt_sa_restorer_v1): Likewise.
5956 (__default_rt_sa_restorer_v2): Likewise.
5957 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5958 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5959 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5960
4b88139b
RM
59612014-06-20 Roland McGrath <roland@hack.frob.com>
5962
5963 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5964 (libpthread-routines): Add sysdep.
5965 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5966 * sysdeps/unix/sysv/linux/sparc/Versions
5967 (libpthread: GLIBC_2.3.3): New version set.
5968 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5969 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5970 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5971 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5972 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5973 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5974 Moved ...
5975 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5976 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5977 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5978 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5979 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5980 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5981 * sysdeps/sparc/nptl/sem_init.c: ... here.
5982 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5983 * sysdeps/sparc/nptl/sem_post.c: ... here.
5984 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5985 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5986 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5987 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5988 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5989 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5990 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5991 (libpthread-routines): Add cpu_relax.
5992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5993 File removed.
5994 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5995 (librt: GLIBC_2.3.3): New version set.
5996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5997 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5998 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5999 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6000 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6001 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6002 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6003 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6004 Moved ...
6005 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6006 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6007 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6008 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6009 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6010 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6011 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6013 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6015 Moved ...
6016 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6017 Update #include.
6018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6019 Moved ...
6020 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6021 Update #include.
6022 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6023 Moved ...
6024 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6025 Update #include.
6026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6027 Moved ...
6028 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6029 Update #include.
6030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6031 Moved ...
6032 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6033 Update #include.
6034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6035 Moved ...
6036 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6037 Update #include.
6038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6039 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6041 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6043 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6045 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6047 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6049 Moved ...
6050 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6051 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6052 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6054 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6055
d7109027
JM
60562014-06-20 Joseph Myers <joseph@codesourcery.com>
6057
9bc6103d
JM
6058 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6059 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6060 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6061 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6062 * nscd/nscd.c: Likewise.
6063 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6064 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6065 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6066 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6067
d7109027
JM
6068 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6069 <kernel-features.h>.
6070 (init_mq_netlink): Remove conditional have_sock_cloexec
6071 definitions. Remove code conditional on have_sock_cloexec < 0.
6072 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6073 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6074 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6075 <kernel-features.h>.
6076 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6077 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6078
d92d8f8a
L
60792014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6080
6081 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6082 Add tests for memset_chk and memset.
6083
6084 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6085 with AVX2_Usable.
6086
4e6d2347
MR
60872014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6088
257ce712
MR
6089 [BZ #16046]
6090 * elf/tst-dl-iter-static.c: New file.
6091 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6092
4e6d2347
MR
6093 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6094 error.
6095
a2a76afe
JM
60962014-06-20 Joseph Myers <joseph@codesourcery.com>
6097
7fd00f99
JM
6098 * sysdeps/unix/sysv/linux/kernel-features.h
6099 (__ASSUME_F_GETOWN_EX): Remove macro.
6100 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6101 <kernel-features.h>.
6102 (miss_F_GETOWN_EX): Remove variable or macro.
6103 (do_fcntl): Do not check miss_F_GETOWN_EX.
6104 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6105
4a103975
JM
6106 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6107 Remove macro.
6108 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6109 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6110 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6111
a2a76afe
JM
6112 * sysdeps/unix/sysv/linux/kernel-features.h
6113 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6114 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6115 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6116 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6117
90e5dd48
MR
61182014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6119
6120 [BZ #17075]
6121 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6122 Fix calculation of the symbol's value.
6123 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6124 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6125 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6126 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6127 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6128 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6129 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6130 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6131 (modules-names): Add `tst-armtlsdescmod',
6132 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6133 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6134 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6135 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6136 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6137 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6138 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6139 ($(objpfx)tst-armtlsdescloc): New dependency.
6140 ($(objpfx)tst-armtlsdescextnow): Likewise.
6141 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6142 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6143 TLS scheme support.
6144 * sysdeps/arm/configure: Regenerate.
6145
809fdf0d
JM
61462014-06-20 Joseph Myers <joseph@codesourcery.com>
6147
6148 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6149 (__atfct_seterrno_2): Likewise.
6150 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6151 <kernel-features.h>.
6152 (__ASSUME_ATFCTS): Do not undefine and redefine.
6153 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6154 (__have_atfcts): Remove conditional definition.
6155 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6156 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6157 unreachable if [__ASSUME_ATFCTS].
6158 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6159 not undefine and redefine.
6160 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6161 <kernel-features.h>.
6162 (faccessat) [__NR_faccessat]: Make code unconditional.
6163 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6164 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6165 <kernel-features.h>.
6166 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6167 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6168 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6169 <kernel-features.h>.
6170 (fchownat) [__NR_fchownat]: Make code unconditional.
6171 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6172 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6173 <kernel-features.h>.
6174 (futimesat) [__NR_futimesat]: Make code unconditional.
6175 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6176 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6177 <kernel-features.h>.
6178 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6179 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6180 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6181 <kernel-features.h>.
6182 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6183 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6184 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6185 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6186 <kernel-features.h>.
6187 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6188 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6189 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6190 <kernel-features.h>.
6191 (linkat) [__NR_linkat]: Make code unconditional.
6192 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6193 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6194 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6195 <kernel-features.h>.
6196 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6197 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6198 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6199 <kernel-features.h>.
6200 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6201 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6202 * sysdeps/unix/sysv/linux/openat.c: Do not include
6203 <kernel-features.h>.
6204 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6205 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6206 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6207 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6208 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6209 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6210 <kernel-features.h>.
6211 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6212 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6213 result of INLINE_SYSCALL directly, not via int variable.
6214 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6215 <kernel-features.h>.
6216 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6217 (renameat) [__NR_renameat]: Make code unconditional.
6218 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6219 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6220 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6221 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6222 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6223 (__ASSUME_ATFCTS): Do not undefine and redefine.
6224 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6225 <kernel-features.h>.
6226 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6227 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6228 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6229 <kernel-features.h>.
6230 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6231 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6232 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6233 (__ASSUME_ATFCTS): Do not undefine and redefine.
6234 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6235 <kernel-features.h>.
6236 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6237 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6238 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6239 <kernel-features.h>.
6240 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6241 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6242
224c6c51
L
62432014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6244
6245 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6246
aa6ec754
AS
62472014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6248
6249 [BZ #17069]
6250 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6251 constructed tree before returning error.
6252 * posix/bug-regexp36.c: Expand test case.
6253
d8c2869d
SL
62542014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6255
3ef6b850
SL
6256 [BZ #6803]
6257 * math/libm-test.inc (scalbln_test_date):
6258 Add errno expectations.
6259 * math/w_scalblnf.c: New File.
6260 Add wrapper which checks for setting errno to ERANGE.
6261 Add weak_alias for corresponding scalbln function.
6262 * math/w_scalbln.c: Likewise.
6263 * math/w_scalblnl.c: Likewise.
6264 * math/Makefile (libm-calls): Add w_scalbln.
6265 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6266 Remove weak_alias for corresponding scalbln function.
6267 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6271 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6272 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6273 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6274 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6275 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6276 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6277 Remove long_double_symbol for scalblnl function in libm, libc.
6278 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6279 Add wrapper which checks for setting errno to ERANGE.
6280 Add long_double_symbol for scalblnl function in libm, libc.
6281 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6282 Remove long_double_symbol for scalblnl in libm.
6283 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6284 Add wrapper which checks for setting errno to ERANGE.
6285 Add long_double_symbol for scalblnl function in libm.
6286 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6287 Do not use wrapper because of own implementation.
6288
c8daec5c
L
62892014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6290
6291 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6292 3 bytes for __pad1 for x32.
6293 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6294
5c74e47c
LM
62952014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6296 H.J. Lu <hongjiu.lu@intel.com>
6297
6298 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6299 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6300 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6301 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6302 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6303
4d43ef1e
AS
63042014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6305
6306 [BZ #17069]
6307 * posix/regcomp.c (parse_expression): Deallocate partially
6308 constructed tree before returning error.
6309 * posix/Makefile.c (tests): Add bug-regex36.
6310 (generated): Add bug-regex36.mtrace.
6311 (tests-special): Add $(objpfx)bug-regex36-mem.out
6312 (bug-regex36-ENV): New variable.
6313 ($(objpfx)bug-regex36-mem.out): New rule.
6314 * posix/bug-regex36.c: New file.
6315
51a7380b
WN
63162014-06-19 Will Newton <will.newton@linaro.org>
6317
6318 * malloc/malloc.c (systrim): If extra is zero then return
6319 early.
6320
91b84fe5
SP
63212014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6322
6323 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6324
f940b965
RE
63252014-06-19 Richard Earnshaw <rearnsha@arm.com>
6326
6327 * sysdeps/aarch64/strchr.S: New file.
6328
4ba7a00f
JM
63292014-06-18 Joseph Myers <joseph@codesourcery.com>
6330
6331 [BZ #17022]
6332 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6333 from arguments -2 or below.
6334 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6335 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6336
b3a9f56b
AS
63372014-06-18 Andreas Schwab <schwab@suse.de>
6338
6339 [BZ #17062]
6340 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6341 of a bracket expr not to run off the end of the string.
6342 * posix/Makefile (tests): Add tst-fnmatch3.
6343 * posix/tst-fnmatch3.c: New file.
6344
85d89278
JM
63452014-06-18 Joseph Myers <joseph@codesourcery.com>
6346
6347 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6348 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6349 [$(cross-compiling) = no]: Likewise.
6350 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6351 [$(cross-compiling) = no]: Likewise.
6352
754c5a08
RS
63532014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6354
6355 [BZ #17031]
6356 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6357 double, adjusted for any remainder from the high double.
6358 * math/libm-test.inc (nearbyint): Add tests.
6359 (rint): Likewise.
6360
556f529d
AZ
63612014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6362
6363 * nptl/sysdeps/powerpc/Makefile: Moved ...
6364 * sysdeps/powerpc/nptl/Makefile: ... here.
6365 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6366 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6367 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6368 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6369 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6370 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6371 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6372 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6373 * nptl/sysdeps/powerpc/tls.h: Moved ...
6374 * sysdeps/powerpc/nptl/tls.h: ... here.
6375
91c03c53
JM
63762014-06-16 Joseph Myers <joseph@codesourcery.com>
6377
6378 [BZ #16681]
6379 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6380 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6381 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6382 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6383 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6384 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6385 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6386 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6387 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6388
a76e63c5
AS
63892014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6390
6391 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6392
f2f6d82f
AS
63932014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6394
ea8a15f6
AS
6395 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6396 defined operator.
6397
f2f6d82f
AS
6398 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6399 $TIMEOUTFACTOR.
6400
a7291117
FW
64012014-06-16 Florian Weimer <fweimer@redhat.com>
6402
6403 [BZ #17058]
6404 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6405 non-executed part of the test.
6406
3d7c00e3
AS
64072014-06-16 Andreas Schwab <schwab@suse.de>
6408
6409 * string/bits/string2.h (strdup, strndup): Update feature guard.
6410
6957fb31
DM
64112014-06-14 David S. Miller <davem@davemloft.net>
6412
6413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6414
11b9e55b
AS
64152014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6416
1d2a0492
AS
6417 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6418 that was previously under [RESET_PID].
6419 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6420
11b9e55b
AS
6421 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6422 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6423 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6424 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6425 (__libc_vfork): New strong alias.
6426 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6427
0f6901d0
AK
64282014-06-14 Andi Kleen <ak@linux.intel.com>
6429
6430 * sysdeps/generic/elide.h: New file.
6431
38bbbb9f
SL
64322014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6433
6434 * Makefile (installed-headers): Adjust path of pthread.h header.
6435
45193bb8
RM
64362014-06-13 Roland McGrath <roland@hack.frob.com>
6437
9a25fd1e
RM
6438 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6439 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6440 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6441 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6442
4004f7e4
RM
6443 * nptl/sysdeps/s390/Makefile: Moved ...
6444 * sysdeps/s390/nptl/Makefile: ... here.
6445 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6446 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6447 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6448 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6449 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6450 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6451 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6452 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6453 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6454 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6455 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6456 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6457 * nptl/sysdeps/s390/tls.h: Moved ...
6458 * sysdeps/s390/nptl/tls.h: ... here.
6459
45193bb8
RM
6460 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6461 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6462
f6fdf533
DM
64632014-06-13 David S. Miller <davem@davemloft.net>
6464
6465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6466 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6467 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6468 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6470 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6471 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6472 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6473 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6474 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6475 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6476 Remove RESET_PID cpp guards.
6477 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6478 Remove RESET_PID cpp guards.
6479 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6480
f5d71e14
AS
64812014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6482
6483 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6484 __sp to uintptr_t.
6485
b7aa8caa
AK
64862014-06-13 Andi Kleen <ak@linux.intel.com>
6487
4b266200
AZ
6488 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6489 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6490 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6491 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6492 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6494 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6495 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6496 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6497 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6498 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6499 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6501 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6502 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6503 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6504 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6505 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6506 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6507 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6508
6509 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6510 (pthread_rwlock_rdlock): Add elision.
6511 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6512 (pthread_rwlock_wrlock): Add elision.
6513 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6514 (pthread_rwlock_trywrlock): Add elision.
6515 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6516 (pthread_rwlock_tryrdlock): Add elision.
6517 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6518 (pthread_rwlock_tryrdlock): Add elision unlock.
6519 * nptl/sysdeps/pthread/pthread.h:
6520 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6521 (PTHREAD_RWLOCK_INITIALIZER,
6522 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6523 Handle new elision field.
6524 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6525 * sysdeps/arm/nptl/bits/pthreadtypes.h
6526 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6527 * sysdeps/sh/nptl/bits/pthreadtypes.h
6528 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6529 * sysdeps/tile/nptl/bits/pthreadtypes.h
6530 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6531 * sysdeps/a/nptl/bits/pthreadtypes.h
6532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6533 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6534 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6535 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6536 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6537 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6538 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6539 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6540 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6541 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6542 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6543 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6545 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6546 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6547 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6549 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6550 (elision_init): Set try_xbegin to zero when no RTM.
6551 * sysdeps/x86/nptl/bits/pthreadtypes.h
6552 (pthread_rwlock_t): Change __pad1 to __rwelision.
6553 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6554
a832bdd3
AK
65552014-06-13 Andi Kleen <ak@linux.intel.com>
6556
6557 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6558 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6559 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6560 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6561
995a46bb
MI
65622014-06-13 Meador Inge <meadori@codesourcery.com>
6563
6564 [BZ #16996]
03ed7738 6565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6566 that the cached result has been set before returning it.
6567
45262aee
RM
65682014-06-12 Roland McGrath <roland@hack.frob.com>
6569
febf6cc5
RM
6570 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6571 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6572 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6573 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6574 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6575 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6576
e2682246
RM
6577 * nptl/sysdeps/sparc/Makefile: Moved ...
6578 * sysdeps/sparc/nptl/Makefile: ... here.
6579 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6580 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6581 * nptl/sysdeps/sparc/tls.h: Moved ...
6582 * sysdeps/sparc/nptl/tls.h: ... here.
6583 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6584 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6585 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6586 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6587 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6588 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6589 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6590 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6591 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6592 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6593 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6594 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6595 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6596 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6597 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6598 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6599 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6601 Update #include.
6602 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6603 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6604 Update #include.
6605 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6606 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6607 Update #include.
6608 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6609 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6610 Update #include.
6611
b0725f43
RM
6612 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6613
b14368b8
RM
6614 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6615 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6616
c5620eb3
RM
6617 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6618 (struct list_links): Type removed.
6619 (struct thread_node, struct timer_node): Replace struct list_links
6620 with struct list_head.
6621 (list_unlink_ip): Likewise.
6622 * sysdeps/pthread/timer_routines.c
6623 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6624 (list_append, list_insbefore): Likewise.
6625 (list_init): Function removed.
6626 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6627 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6628 * sysdeps/pthread/Makefile: ... here, new file.
6629
6630 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6631 * sysdeps/nptl/Implies: ... here.
6632 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6633 * nptl/sysdeps/pthread/list.h: Moved ...
6634 * include/list.h: ... here.
6635 * nptl/sysdeps/pthread/createthread.c: Moved ...
6636 * nptl/createthread.c: ... here.
6637 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6638 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6639 * nptl/pt-longjmp.c: ... here.
6640 * nptl/sysdeps/pthread/Makefile: Moved ...
6641 * sysdeps/nptl/Makefile: ... here.
6642 * nptl/sysdeps/pthread/Subdirs: Moved ...
6643 * sysdeps/nptl/Subdirs: ... here.
6644 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6645 * sysdeps/nptl/aio_misc.h: ... here.
6646 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6647 * sysdeps/nptl/bits/libc-lock.h: ... here.
6648 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6649 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6650 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6651 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6652 * nptl/sysdeps/pthread/configure: Moved ...
6653 * sysdeps/nptl/configure: ... here.
6654 * nptl/sysdeps/pthread/configure.ac: Moved ...
6655 * sysdeps/nptl/configure.ac: ... here.
6656 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6657 * sysdeps/nptl/gai_misc.h: ... here.
6658 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6659 * sysdeps/nptl/librt-cancellation.c: ... here.
6660 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6661 * sysdeps/nptl/malloc-machine.h: ... here.
6662 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6663 * sysdeps/nptl/pthread-functions.h: ... here.
6664 * nptl/sysdeps/pthread/pthread.h: Moved ...
6665 * sysdeps/nptl/pthread.h: ... here.
6666 * nptl/sysdeps/pthread/setxid.h: Moved ...
6667 * sysdeps/nptl/setxid.h: ... here.
6668 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6669 * sysdeps/nptl/sigfillset.c: ... here.
6670 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6671 * sysdeps/nptl/tcb-offsets.h: ... here.
6672 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6673 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6674 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6675 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6676 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6677 * sysdeps/pthread/allocalim.h: ... here.
6678 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6679 * sysdeps/pthread/bits/sigthread.h: ... here.
6680 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6681 * sysdeps/pthread/flockfile.c: ... here.
6682 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6683 * sysdeps/pthread/ftrylockfile.c: ... here.
6684 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6685 * sysdeps/pthread/funlockfile.c: ... here.
6686 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6687 * sysdeps/pthread/posix-timer.h: ... here.
6688 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6689 * sysdeps/pthread/timer_create.c: ... here.
6690 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6691 * sysdeps/pthread/timer_delete.c: ... here.
6692 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6693 * sysdeps/pthread/timer_getoverr.c: ... here.
6694 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6695 * sysdeps/pthread/timer_gettime.c: ... here.
6696 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6697 * sysdeps/pthread/timer_routines.c: ... here.
6698 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6699 * sysdeps/pthread/timer_settime.c: ... here.
6700 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6701 * sysdeps/pthread/tst-timer.c: ... here.
6702 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6703 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6704
e876b090
RM
6705 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6706 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6707
f6b07b3d
RM
6708 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6709 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6710 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6711 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6712 Update #include target.
6713 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6714 * sysdeps/i386/i686/nptl/Makefile: ... here.
6715 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6716 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6717 Update #include target.
6718 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6719 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6720 * nptl/sysdeps/i386/Makefile: Moved ...
6721 * sysdeps/i386/nptl/Makefile: ... here.
6722 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6723 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6724 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6725 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6726 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6727 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6728 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6729 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6730 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6731 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6732 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6733 * nptl/sysdeps/i386/tls.h: Moved ...
6734 * sysdeps/i386/nptl/tls.h: ... here.
6735
45262aee
RM
6736 * sysdeps/sh/Makefile [$(subdir) = csu]
6737 (gen-as-const-headers): Add tcb-offsets.sym.
6738 * nptl/sysdeps/sh/Makefile: File removed.
6739 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6740 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6741 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6742 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6743 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6744 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6745 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6746 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6747 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6748 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6749 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6750 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6751 * nptl/sysdeps/sh/tls.h: Moved ...
6752 * sysdeps/sh/nptl/tls.h: ... here.
6753 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6754 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6755 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6756 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6757 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6758 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6759 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6760 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6761 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6762 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6763 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6764 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6765 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6766 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6767 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6768 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6769 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6770 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6771 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6772 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6773 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6774 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6775 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6776 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6777 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6778 Moved ...
6779 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6780 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6781 Moved ...
6782 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6783 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6784 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6785 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6786 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6787 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6788 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6789 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6790 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6791 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6792 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6793 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6794 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6795 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6796 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6797 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6798 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6799 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6800 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6801
35a5e3e3
SL
68022014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6803
6804 * posix/spawn_faction_addopen.c: Include string.h.
6805
14642b85
RM
68062014-06-11 Roland McGrath <roland@hack.frob.com>
6807
6808 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6809 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6810 * nptl/sysdeps/x86_64/Makefile: Moved ...
6811 * sysdeps/x86_64/nptl/Makefile: ... here.
6812 * nptl/sysdeps/x86_64/configure: Moved ...
6813 * sysdeps/x86_64/nptl/configure: ... here.
6814 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6815 * sysdeps/x86_64/nptl/configure.ac: ... here.
6816 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6817 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6818 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6819 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6820 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6821 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6822 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6823 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6824 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6825 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6826 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6827 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6828 * nptl/sysdeps/x86_64/tls.h: Moved ...
6829 * sysdeps/x86_64/nptl/tls.h: ... here.
6830 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6831 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6832 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6833 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6834
6835 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6836
31c44fea
AZ
68372014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6838
6839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6840
e81a4f9a
JM
68412014-06-11 Joseph Myers <joseph@codesourcery.com>
6842
6843 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6844 type.
6845 [POSIX] (off_t): Likewise.
6846 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6847 [POSIX] (S_ISBLK): Require macro.
6848 [POSIX] (S_ISCHR): Likewise.
6849 [POSIX] (S_ISDIR): Likewise.
6850 [POSIX] (S_ISFIFO): Likewise.
6851 [POSIX] (S_ISREG): Likewise.
6852 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6853 optional-macro.
6854 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6855 type.
6856 [POSIX] (time_t): Likewise.
6857 [POSIX] (timer_t): Likewise.
6858
89e435f3
FW
68592014-06-11 Florian Weimer <fweimer@redhat.com>
6860
6861 [BZ #17048]
6862 * posix/spawn_int.h (struct __spawn_action): Make the path string
6863 non-const to support deallocation.
6864 * posix/spawn_faction_addopen.c
6865 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6866 * posix/spawn_faction_destroy.c
6867 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6868 path in all spawn_do_open actions.
6869 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6870 posix_spawn_file_actions_addopen.
6871
c3a2ebe1
CM
68722014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6873
6874 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6875 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6876 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6877 conditional code always true.
6878 (__libc_vfork): New alias.
6879
9503784a
RM
68802014-06-11 Roland McGrath <roland@hack.frob.com>
6881
c9cab3d2
RM
6882 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6883 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6884
d3996c79
RM
6885 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6886
ba5ec611
RM
6887 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6888 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6889
f12b4814
RM
6890 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6891 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6892
9503784a
RM
6893 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6894 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6895
e23d3d26
VR
68962014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6897
6898 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6899 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6900 multiarch strcmp for PPC64.
6901 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6902 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6904 multiarch optimizations.
6905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6906 (__libc_ifunc_impl_list): Likewise.
6907
42b1161e
SP
69082014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6909
6910 * benchtests/scripts/validate_benchout.py: New script.
6911 * benchtests/Makefile (bench-func): Call it.
6912 * benchtests/scripts/benchout.schema.json: New file.
6913
2d0fc4dc
CM
69142014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6915
4a594c34
AZ
6916 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6917 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6918 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6919 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6920 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6921 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6922 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6923 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6924 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6925 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6926 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6927 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6928 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6929 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6930 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6931 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6933 Moved ...
4a594c34 6934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6935 ... here.
4a594c34 6936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6937 Moved ...
4a594c34
AZ
6938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6940 Moved ...
4a594c34 6941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6942 ... here.
4a594c34 6943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6944 Moved ...
4a594c34 6945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6946 ... here.
4a594c34 6947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6948 Moved ...
4a594c34
AZ
6949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6951 Moved ...
4a594c34 6952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6953 ... here.
4a594c34 6954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6955 Moved ...
4a594c34 6956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6957 ... here.
4a594c34 6958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6959 Moved ...
4a594c34
AZ
6960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6962 Moved ...
4a594c34 6963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6964 ... here.
4a594c34 6965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6966 Moved ...
4a594c34 6967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6968 ... here.
4a594c34 6969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6970 Moved ...
4a594c34 6971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6972 ... here.
4a594c34 6973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6974 Moved ...
4a594c34
AZ
6975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6977 Moved ...
4a594c34 6978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6979 ... here.
4a594c34 6980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6981 Moved ...
4a594c34 6982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6983 ... here.
4a594c34 6984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6985 Moved ...
4a594c34 6986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6987 ... here.
4a594c34 6988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6989 Moved ...
4a594c34
AZ
6990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6992 Moved ...
4a594c34 6993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6994 ... here.
4a594c34 6995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6996 Moved ...
4a594c34 6997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6998 ... here.
4a594c34 6999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 7000 Moved ...
4a594c34
AZ
7001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 7003 Moved ...
4a594c34 7004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 7005 ... here.
4a594c34 7006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 7007 Moved ...
4a594c34
AZ
7008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 7010 Moved ...
4a594c34
AZ
7011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 7013 Moved ...
4a594c34 7014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 7015 ... here.
4a594c34 7016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 7017 Moved ...
4a594c34 7018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 7019 ... here.
4a594c34 7020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 7021 Moved ...
4a594c34 7022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 7023 ... here.
4a594c34 7024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 7025 Moved ...
4a594c34
AZ
7026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 7028 Moved ...
4a594c34 7029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 7030 ... here.
4a594c34 7031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 7032 Moved ...
4a594c34 7033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 7034 ... here.
4a594c34
AZ
7035 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7036 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7037 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7038 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7039 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 7040 Moved ...
4a594c34 7041 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 7042 ... here.
4a594c34
AZ
7043 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7044 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7045 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7046 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7047 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7048 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7049 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7050 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7051 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7052 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7053 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7054 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7055 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 7056 Moved ...
4a594c34
AZ
7057 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 7059 Moved ...
4a594c34
AZ
7060 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7062 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 7064 Moved ...
4a594c34
AZ
7065 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7066 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7067 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7068 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7069 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7070 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7071 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 7072
0570cfed
W
70732014-06-10 Wilco <wdijkstr@arm.com>
7074
7075 * math/test-fenv-return.c: New file.
7076 * math/Makefile: Add new test test-fenv-return.
7077
f8ba1b56
JM
70782014-06-10 Joseph Myers <joseph@codesourcery.com>
7079
7080 [BZ #17042]
7081 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7082 when x - 1 is zero.
7083 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7084 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7085 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7086 0.0L for an argument of 1.0L.
7087 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7088 Likewise.
7089 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7090 value when x - 1 is zero.
7091 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7092 * sysdeps/i386/fpu/libm-test-ulps: Update.
7093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7094
2c3520d9
BO
70952014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7096
7097 [BZ #15119]
7098 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7099
acaa4d24
RM
71002014-06-09 Roland McGrath <roland@hack.frob.com>
7101
7102 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7103 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7104
962b744d
RM
71052014-06-09 Roland McGrath <roland@hack.frob.com>
7106
d752f0cc
RM
7107 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7108 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7109
34eda6d1
RM
7110 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7111 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7112
50f0a637
RM
7113 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7114 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7115
08f41f04
RM
7116 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7117 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7118
962b744d
RM
7119 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7120 if not already defined.
7121 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7122 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7123 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7124 (TLS_INIT_TP): Use it.
7125 (TLS_DEFINE_INIT_TP): New macro.
7126 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7127
09f19b05
JM
71282014-06-09 Joseph Myers <joseph@codesourcery.com>
7129
7130 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7131 constant.
7132 [POSIX] (IXANY): Likewise.
7133 [POSIX] (OLCUC): Likewise.
7134 [POSIX || POSIX2008] (CBAUD): Do not allow.
7135 [POSIX || POSIX2008] (DEFECHO): Likewise.
7136 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7137 [POSIX || POSIX2008] (ECHOKE): Likewise.
7138 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7139 [POSIX || POSIX2008] (EXTA): Likewise.
7140 [POSIX || POSIX2008] (EXTB): Likewise.
7141 [POSIX || POSIX2008] (FLUSHO): Likewise.
7142 [POSIX || POSIX2008] (LOBLK): Likewise.
7143 [POSIX || POSIX2008] (PENDIN): Likewise.
7144 [POSIX || POSIX2008] (SWTCH): Likewise.
7145 [POSIX || POSIX2008] (VDISCARD): Likewise.
7146 [POSIX || POSIX2008] (VDSUSP): Likewise.
7147 [POSIX || POSIX2008] (VLNEXT): Likewise.
7148 [POSIX || POSIX2008] (VREPRINT): Likewise.
7149 [POSIX || POSIX2008] (VSTATUS): Likewise.
7150 [POSIX || POSIX2008] (VWERASE): Likewise.
7151 (B*): Change to B[0123456789]*.
7152 * conform/data/time.h-data [POSIX || UNIX98]
7153 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7154 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7155 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7156 [POSIX] (tm_*): Do not allow.
7157
686554bf
JM
71582014-06-07 Joseph Myers <joseph@codesourcery.com>
7159
7160 * Makefile (install): Don't set LANGUAGE.
7161 * Makefile.in (install): Likewise.
7162 * assert/Makefile (test-assert-ENV): Remove variable.
7163 (test-assert-perr-ENV): Likewise.
7164 * elf/Makefile (neededtest4-ENV): Likewise.
7165 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7166 [$(cross-compiling) = no]: Don't set LANGUAGE.
7167 * io/ftwtest-sh (LANG): Remove variable.
7168 * libio/Makefile (tst-widetext-ENV): Likewise.
7169 * manual/install.texi (Running make install): Don't refer to
7170 environment settings for make install.
7171 * INSTALL: Regenerated.
7172 * nptl/tst-tls6.sh: Don't set LANG.
7173 * posix/globtest.sh (LANG): Remove variable.
7174 * string/Makefile (tester-ENV): Likewise.
7175 (inl-tester-ENV): Likewise.
7176 (noinl-tester-ENV): Likewise.
7177 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7178 [$(cross-compiling) = no]: Don't set LANGUAGE.
7179 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7180 without explicit environment settings.
7181
68e6b6b1
RM
71822014-06-06 Roland McGrath <roland@hack.frob.com>
7183
7184 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7185 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7186 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7187 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7188
4d3ae034
CM
71892014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7190
7191 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7192 other files in the crypt directory.
7193 * crypt/crypt.c: Remove duplicate includes.
7194 * crypt/crypt-entry.c: Likewise.
7195 * crypt/crypt_util.c: Likewise.
7196
8540f6d2
JM
71972014-06-06 Joseph Myers <joseph@codesourcery.com>
7198
7199 * Makeconfig (run-program-env): New variable.
7200 (run-program-prefix-before-env): Likewise.
7201 (run-program-prefix-after-env): Likewise.
7202 (run-program-prefix): Define in terms of new variables.
7203 (built-program-cmd-before-env): New variable.
7204 (built-program-cmd-after-env): Likewise.
7205 (built-program-cmd): Define in terms of new variables.
7206 (test-program-prefix-before-env): New variable.
7207 (test-program-prefix-after-env): Likewise.
7208 (test-program-prefix): Define in terms of new variables.
7209 (test-program-cmd-before-env): New variable.
7210 (test-program-cmd-after-env): Likewise.
7211 (test-program-cmd): Define in terms of new variables.
7212 * Rules (make-test-out): Use $(run-program-env).
7213 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7214 (help): Do not mention environment variables. Mention
7215 --timeoutfactor option.
7216 (timeoutfactor): New variable.
7217 (blacklist_exports): Remove function.
7218 (exports): Remove variable.
7219 (command): Do not include ${exports}.
7220 * manual/install.texi (Configuring and compiling): Do not mention
7221 test wrappers preserving environment variables. Mention that last
7222 assignment to a variable must take precedence.
7223 * INSTALL: Regenerated.
7224 * benchtests/Makefile (run-bench): Use $(run-program-env).
7225 * catgets/Makefile ($(objpfx)test1.cat): Use
7226 $(built-program-cmd-before-env), $(run-program-env) and
7227 $(built-program-cmd-after-env).
7228 ($(objpfx)test2.cat): Do not specify environment variables
7229 explicitly.
7230 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7231 $(run-program-env) and $(built-program-cmd-after-env).
7232 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7233 $(run-program-env) and $(test-program-cmd-after-env).
7234 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7235 explicitly.
7236 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7237 run_program_env and test_program_cmd_after_env arguments.
7238 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7239 * elf/tst-pathopt.sh: Use run_program_env argument.
7240 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7241 $(test-wrapper-env) and $(run-program-env).
7242 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7243 run_program_env arguments.
7244 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7245 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7246 $(test-program-prefix-before-env), $(run-program-env) and
7247 $(test-program-prefix-after-env).
7248 ($(objpfx)tst-gettext2.out): Likewise.
7249 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7250 run_program_env and test_program_prefix_after_env arguments.
7251 * intl/tst-gettext2.sh: Likewise.
7252 * intl/tst-gettext4.sh: Do not set environment variables
7253 explicitly.
7254 * intl/tst-gettext6.sh: Likewise.
7255 * intl/tst-translit.sh: Likewise.
7256 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7257 $(test-program-prefix-before-env), $(run-program-env) and
7258 $(test-program-prefix-after-env).
7259 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7260 run_program_env and test_program_prefix_after_env arguments.
7261 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7262 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7263 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7264 explicitly with each use of ${test_wrapper_env}.
7265 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7266 $(test-program-prefix-before-env), $(run-program-env) and
7267 $(test-program-prefix-after-env).
7268 * posix/tst-getconf.sh: Do not set environment variables
7269 explicitly.
7270 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7271 run_program_env and test_program_prefix_after_env arguments.
7272 * stdio-common/tst-printf.sh: Do not set environment variables
7273 explicitly.
7274 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7275 $(test-program-prefix-before-env), $(run-program-env) and
7276 $(test-program-prefix-after-env).
7277 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7278 run_program_env and test_program_prefix_after_env arguments.
7279 Split $test calls into $test_pre and $test.
7280 * timezone/Makefile (build-testdata): Use
7281 $(built-program-cmd-before-env), $(run-program-env) and
7282 $(built-program-cmd-after-env).
7283
ed36bfa1
AZ
72842014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7285
7286 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7287 strlen for non SHARED builds.
7288
fc75bf46
SP
72892014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7290
7291 * nptl/allocatestack.c (check_list): Inlined function...
7292 (__reclaim_stacks): ... here.
7293
d89b3d80
OB
72942014-06-05 Ondřej Bílka <neleai@seznam.cz>
7295
7296 [BZ #15698]
7297 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7298 memory overrun.
7299
2bf18041
JM
73002014-06-05 Joseph Myers <joseph@codesourcery.com>
7301
7302 * Rules (make-test-out): Include
7303 LOCPATH=$(common-objpfx)localedata in default environment.
7304 * debug/Makefile (tst-chk1-ENV): Remove variable.
7305 (tst-chk2-ENV): Likewise.
7306 (tst-chk3-ENV): Likewise.
7307 (tst-chk4-ENV): Likewise.
7308 (tst-chk5-ENV): Likewise.
7309 (tst-chk6-ENV): Likewise.
7310 (tst-lfschk1-ENV): Likewise.
7311 (tst-lfschk2-ENV): Likewise.
7312 (tst-lfschk3-ENV): Likewise.
7313 (tst-lfschk4-ENV): Likewise.
7314 (tst-lfschk5-ENV): Likewise.
7315 (tst-lfschk6-ENV): Likewise.
7316 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7317 (tst-iconv7-ENV): Likewise.
7318 * intl/Makefile (LOCPATH-ENV): Likewise.
7319 (tst-codeset-ENV): Likewise.
7320 (tst-gettext3-ENV): Likewise.
7321 (tst-gettext5-ENV): Likewise.
7322 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7323 (tst-fopenloc-ENV): Likewise.
7324 (tst-fgetws-ENV): Remove variable.
7325 (tst-ungetwc1-ENV): Likewise.
7326 (tst-ungetwc2-ENV): Likewise.
7327 (bug-ungetwc2-ENV): Likewise.
7328 (tst-swscanf-ENV): Likewise.
7329 (bug-ftell-ENV): Likewise.
7330 (tst-fgetwc-ENV): Likewise.
7331 (tst-fseek-ENV): Likewise.
7332 (tst-ftell-partial-wide-ENV): Likewise.
7333 (tst-ftell-active-handler-ENV): Likewise.
7334 (tst-ftell-append-ENV): Likewise.
7335 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7336 (tst-regexloc-ENV): Likewise.
7337 (bug-regex1-ENV): Likewise.
7338 (tst-regex-ENV): Likewise.
7339 (tst-regex2-ENV): Likewise.
7340 (bug-regex5-ENV): Likewise.
7341 (bug-regex6-ENV): Likewise.
7342 (bug-regex17-ENV): Likewise.
7343 (bug-regex18-ENV): Likewise.
7344 (bug-regex19-ENV): Likewise.
7345 (bug-regex20-ENV): Likewise.
7346 (bug-regex22-ENV): Likewise.
7347 (bug-regex23-ENV): Likewise.
7348 (bug-regex25-ENV): Likewise.
7349 (bug-regex26-ENV): Likewise.
7350 (bug-regex30-ENV): Likewise.
7351 (bug-regex32-ENV): Likewise.
7352 (bug-regex33-ENV): Likewise.
7353 (bug-regex34-ENV): Likewise.
7354 (bug-regex35-ENV): Likewise.
7355 (tst-rxspencer-ENV): Likewise.
7356 (tst-rxspencer-no-utf8-ENV): Likewise.
7357 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7358 (tst-sscanf-ENV): Likewise.
7359 (tst-swprintf-ENV): Likewise.
7360 (tst-swscanf-ENV): Likewise.
7361 (test-vfprintf-ENV): Likewise.
7362 (scanf13-ENV): Likewise.
7363 (bug14-ENV): Likewise.
7364 (tst-grouping-ENV): Likewise.
7365 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7366 (tst-strtod3-ENV): Likewise.
7367 (tst-strtod4-ENV): Likewise.
7368 (tst-strtod5-ENV): Likewise.
7369 (testmb2-ENV): Likewise./
7370 * string/Makefile (tst-strxfrm-ENV): Likewise.
7371 (tst-strxfrm2-ENV): Likewise.
7372 (bug-strcoll1-ENV): Likewise.
7373 (test-strcasecmp-ENV): Likewise.
7374 (test-strncasecmp-ENV): Likewise.
7375 * time/Makefile (tst-strptime-ENV): Likewise.
7376 (tst-ftime_l-ENV): Likewise.
7377 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7378 (tst-mbrtowc-ENV): Likewise.
7379 (tst-wcrtomb-ENV): Likewise.
7380 (tst-mbrtowc2-ENV): Likewise.
7381 (tst-c16c32-1-ENV): Likewise.
7382 (tst-mbsnrtowcs-ENV): Likewise.
7383
cd1fb604
OB
73842014-06-05 Ondřej Bílka <neleai@seznam.cz>
7385
7386 * manual/resource.texi (How to get information about the memory
7387 subsystem?): Fix typo.
7388 Reported by Peon de la Parra Ivan <peon@keba.com>
7389
b42eca7d
GY
73902014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7391
7392 [BZ #16882]
7393 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7394 (pthread_spin_lock): Branch out of spin loop to proper location.
7395 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7396 (pthread_spin_lock): Likewise.
7397
902b71f9
DM
7398 * nptl/tst-spin4.c: New test.
7399 * nptl/Makefile (tests): Add tst-spin4.
7400
f9d2d032
AS
74012014-06-03 Andreas Schwab <schwab@suse.de>
7402
7403 [BZ #15946]
7404 * resolv/res_send.c (send_dg): Reload file descriptor after
7405 calling reopen.
7406
cf7bfd28
SL
74072014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7408
7409 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7410
111cc714
RH
74112014-06-03 Richard Henderson <rth@redhat.com>
7412
89b4bd6b
RH
7413 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7414 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7415 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7416 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7417 in the SAVE_PID block.
7418 (__libc_vfork): New alias.
71840409 7419 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7420
111cc714
RH
7421 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7422 child in registers, not on the stack. Remove RESET_PID conditionals.
7423 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7424
ccc39911
MS
74252014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7426
7427 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7428
693096cc
W
74292014-06-03 Wilco <wdijkstr@arm.com>
7430
7431 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7432 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7433 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7434 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7435 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7436 Likewise.
7437
0b4366bc
W
74382014-06-03 Wilco <wdijkstr@arm.com>
7439
7440 * sysdeps/aarch64/fpu/math_private.h
7441 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7442 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7443 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7444 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7445 Fix declarations.
7446
8747cd03
KS
74472014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7448
7449 * crypt/crypt-private.h: Include ufc-crypt.h.
7450 (__b64_from_24bit): Declare extern.
7451 * crypt/crypt_util.c(__b64_from_24bit): New function.
7452 (b64t): New static const variable.
7453 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7454 (b64t): Remove variable.
7455 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7456 * crypt/sha256-crypt.c: Include crypt-private.h.
7457 (b64t): Remove variable.
7458 (__sha256_crypt_r): Remove b64_from_24bit and replace
7459 with __b64_from_24bit.
7460 * crypt/sha512-crypt.c: Likewise.
7461
d936d379
RM
74622014-06-02 Roland McGrath <roland@hack.frob.com>
7463
7464 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7465 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7466 Label the code __libc_vfork rather than __vfork.
7467 [!NOT_IN_libc] (vfork): Define as weak alias.
7468 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7469 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7470 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7471
9fa76613
SP
74722014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7473
7474 * malloc/malloc.c (malloc_info): Fix format specifier for
7475 n_mmaps.
7476
a88dadbe
W
74772014-06-02 Wilco <wdijkstr@arm.com>
7478
7479 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7480 FPCR write.
7481
c95b3011
W
74822014-06-02 Wilco <wdijkstr@arm.com>
7483
7484 [BZ #17009]
7485 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7486 Rewrite to reduce FPCR/FPSR accesses.
7487
6b4d7a90
DM
74882014-06-01 David S. Miller <davem@davemloft.net>
7489
7490 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7491
30f3d07c
DM
74922014-05-31 David S. Miller <davem@davemloft.net>
7493
7494 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7495 to occur in round to nearest mode when |x| >= 2.0
7496
74f31c18
RH
74972014-05-30 Richard Henderson <rth@twiddle.net>
7498
f0712b54
RH
7499 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7500 (PSEUDO_RET_NOERRNO): Remove.
7501 (ret): Don't redefine.
7502 (ret_NOERRNO): Define in terms of ret.
7503 (ret_ERRVAL): Likewise.
7504
74f31c18
RH
7505 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7506 use of PSEUDO_RET; perform the error check directly.
7507
30477995
MM
75082014-05-30 Marko Myllynen <myllynen@redhat.com>
7509
7510 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7511 with __int128_t.
7512
62a58816
SP
75132014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7514
7515 * malloc/malloc (malloc_info): Fix formatting.
7516
4d653a59
SP
75172014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7518 Roland McGrath <roland@hack.frob.com>
7519
7520 * malloc/malloc (malloc_info): Also print mmapped statistics.
7521
5190c17f
RM
75222014-05-30 Roland McGrath <roland@hack.frob.com>
7523
7524 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7525 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7526
987c0269
OB
75272014-05-30 Ondřej Bílka <neleai@seznam.cz>
7528
7529 * malloc/malloc.c (malloc_info): Inline mi_arena.
7530
af4e8ef9
RH
75312014-05-29 Richard Henderson <rth@twiddle.net>
7532
1670e207
RH
7533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7534 Remove comma before expanding ASM_ARGS_##nr.
7535 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7536 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7537 of ASM_ARGS_##nr.
7538 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7539 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7540 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7541 (ASM_ARGS_1): Add leading comma.
7542
11a28aee
RH
7543 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7544 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7545 to __errno_location.
7546 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7547 Remove the expected plt for __errno_location.
7548
a17e5ffb 7549 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7550 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7551 call to __read_tp.
7552
b5be4597
RH
7553 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7554 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7555 it and break it down.
7556 (DOCARGS_0, DOCARGS_1): Do nothing.
7557 (DOCARGS_2): Update to store into the new stack frame.
7558 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7559 (UNDOCARGS_1): Update to restore from the new stack frame.
7560 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7561 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7562
645d44ab
RH
7563 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7564 (SINGLE_THREAD_P): New parameter for result regno.
7565 (PSEUDO): Update to match; use cbz instead of beq.
7566
a8b4f04a
RH
7567 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7568 Use ENTRY to define the _nocancel entry point. Share the syscall
7569 and syscall error check paths with the cancel path.
7570 (PSEUDO_END): New.
7571
af4e8ef9
RH
7572 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7573 whitespace; tabs before and after asm mnemonics.
7574
26b0d2e1
EW
75752014-05-29 Eric Wong <normalperson@yhbt.net>
7576
7577 [BZ #15132]
7578 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7579 Call fstat64 or stat64 internally, depending on arguments passed.
7580 Replace stat buffer argument with file descriptor argument.
7581 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7582 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7583 Pass fd to __internal_statvfs instead of calling fstat64.
7584 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7585 Pass fd to __internal_statvfs64 instead of calling fstat64.
7586 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7587 Pass -1 to __internal_statvfs instead of calling stat64.
7588 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7589 Pass -1 to __internal_statvfs64 instead of calling stat64.
7590
1efe2bd9
RM
75912014-05-28 Roland McGrath <roland@hack.frob.com>
7592
0d3b7a19
RM
7593 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7594 that was previously under [RESET_PID].
7595 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7596
1efe2bd9
RM
7597 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7598 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7599
a6bea3ca
RM
76002014-05-27 Roland McGrath <roland@hack.frob.com>
7601
30b6629e
RM
7602 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7603
a6bea3ca
RM
7604 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7605 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7606
3dfb9a5c
OB
76072014-05-27 Ondřej Bílka <neleai@seznam.cz>
7608
7609 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7610
774f9285
AS
76112014-05-27 Andreas Schwab <schwab@suse.de>
7612
7613 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7614 TLS_INIT_TP macro.
7615 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7616 * elf/rtld.c (init_tls, dl_main): Likewise.
7617 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7618 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7619 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7620 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7621 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7622 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7623 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7624 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7625 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7626 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7627 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7628 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7629 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7630 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7631 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7632 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7633 * sysdeps/generic/tls.h: Update description.
7634
36ffe739
WN
76352014-05-27 Will Newton <will.newton@linaro.org>
7636
7637 [BZ #16990]
7638 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7639 and restore r2 rather than just restoring.
7640
2482ae43
SP
76412014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7642
7643 [BZ #16724]
7644 * libio/tst-ftell-append.c: New test case.
7645 * libio/Makefile (tests): Add test case.
7646 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7647 append mode.
7648 * libio/wfileops.c (do_ftell_wide): Likewise.
7649
3d1024e8
AZ
76502014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7651
bab90016
AZ
7652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7653
c7a8d667
AZ
7654 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7655 ...
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7658 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7659 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7661 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7662 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7663 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7665 Moved ...
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7667 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7668 Moved ...
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7670 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7671 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7672 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7673 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7674 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7675 ...
7676 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7677 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7678 Moved ...
7679 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7680 here.
7681 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7682 ...
7683 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7684 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7685 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7686
daee7851
AZ
7687 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7688 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7689 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7690 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7691
50a40819
AZ
7692 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7693 merge into ...
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7695 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7696 ...
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7699 ...
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7702 Moved ...
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7704 here.
7705 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7706 Moved ...
7707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7708 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7709 Moved ...
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7711
8464c2a1
AZ
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7713 conditional [RESET_PID].
7714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7716 removed.
7717 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7718 removed.
7719
3d1024e8
AZ
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7721 <tcb-offsets.h>.
7722 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7723 (__libc_vfork): New strong alias.
7724 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7725 removed.
7726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7727 Removed.
7728
7729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7730 <tcb-offsets.h>.
7731 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7732 (__libc_vfork): New strong alias.
7733 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7734 removed.
7735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7736 removed.
7737
fdfd175d
CD
77382014-05-26 Carlos O'Donell <carlos@redhat.com>
7739
7740 * malloc/malloc.c (mi_arena): New function.
7741 (malloc_info): Remove nested function mi_arena. Call non-nosted
7742 function mi_arena.
7743
d298c416
AZ
77442014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7745
7746 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7747 by insrwi.
7748 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7749 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7750 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7751 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7752 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7753 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7754 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7755
b60ea6ff
AS
77562014-05-26 Andreas Schwab <schwab@suse.de>
7757
7758 [BZ #16984]
7759 * locale/programs/repertoire.c (repertoire_read): Add slash
7760 between I18NPATH element and file name.
7761 * locale/programs/locfile.c (locfile_read): Likewise.
7762
67365926
SL
77632014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7764
7765 * nptl/pthread_mutexattr_settype.c
7766 (__pthread_mutexattr_settype):
7767 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7768
f8bdf1f0
SL
77692014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7770
7771 * nptl/tst-mutex5 (do_test):
7772 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7773
15eaf6ff
SP
77742014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7775
7776 * benchtests/README: Document 'init' directive.
7777 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7778 BENCH_INIT.
7779 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7780 (parse_file): Recognize 'init' directive.
7781
75f11331
KM
77822014-05-26 Kyle McMartin <kyle@redhat.com>
7783
7784 [BZ #16796]
7785 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7786 alignment of struct pthread.
7787
c3ec475c
SP
77882014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7789
7790 [BZ #16878]
7791 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7792 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7793 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7794 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7795
82aab97c
RH
77962014-05-25 Richard Henderson <rth@twiddle.net>
7797
aa2f176d
RH
7798 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7799 (SINGLE_THREAD_P_PIC): Remove.
7800 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7801 (SINGLE_THREAD_P_PIC): Remove.
7802
ca3cfa40
RH
7803 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7804 branch to syscall error ...
7805 (PSEUDO): ... here.
7806 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7807 from __local_syscall_error to .Lsyscall_error.
7808 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7809 (SYSCALL_ERROR): Update label name.
7810
6e6c2d01
RH
7811 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7812 Do not use DOARGS/UNDOARGS.
7813 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7814 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7815 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7816 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7817 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7818
c69abcee
RH
7819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7820 block comment.
7821
82aab97c
RH
7822 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7823 define if !NOT_IN_libc.
7824 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7825 define with non-default symbol versions.
7826
8820e3ac
RH
78272014-05-23 Richard Henderson <rth@twiddle.net>
7828
900e445f
RH
7829 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7830 (vfork, __vfork): Define via compat_symbol.
7831
8820e3ac
RH
7832 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7833 [!HAVE_IFUNC] (vfork_compat): Remove.
7834 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7835
e59252a5
JM
78362014-05-23 Joseph Myers <joseph@codesourcery.com>
7837
7838 [BZ #16978]
7839 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7840 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7841 variable.
7842
132c7f5f
RH
78432014-05-23 Richard Henderson <rth@twiddle.net>
7844
bc89e962
RH
7845 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7846 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7847 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7848 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7849
7850 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7851 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7852 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7853 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7854 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7855 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7856 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7857 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7858 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7859 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7860 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7861 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7862 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7863 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7864 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7865 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7866 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7867 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7869 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7870 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7871 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7872 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7873 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7875 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7876 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7877 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7878 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7879 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7881 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7882 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7883 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7884 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7885 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7886 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7887 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7888 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7889 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7890 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7891 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7892 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7893 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7894 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7895 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7896 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7897 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7898 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7899 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7900 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7901 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7902 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7903 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7904 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7905 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7906
e2fa4bc2
RH
7907 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7908 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7909 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7910 before exiting on error.
7911 (__libc_vfork): New strong alias.
7912 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7913 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7914
279b24e2
RH
7915 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7916 that was previously under [RESET_PID].
7917 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7918
132c7f5f
RH
7919 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7920
b72592e7
JM
79212014-05-23 Joseph Myers <joseph@codesourcery.com>
7922
7923 [BZ #16977]
7924 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7925 value when x - 1 is zero.
7926 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7927 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7928 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7929 0.0L for an argument of 1.0L.
7930 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7931 Likewise.
7932 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7933 value when x - 1 is zero.
7934 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7935 * sysdeps/i386/fpu/libm-test-ulps: Update.
7936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7937
2302d679
RV
79382014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7939
7940 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7941 alphasort and versionsort.
7942
32999d63
AZ
79432014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7944
7945 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7946 macro.
7947 [copysignf]: Likewise.
7948
019324d0
SP
79492014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7950
7951 * crypt/md5-crypt.c: Fix formatting.
7952
34fff5c2
KS
79532014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7954
7955 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7956 (b64_from_24bit): New function.
7957
3d2badac
AZ
79582014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7959
7960 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7961 libc_hidden_builtin_def to ifunc.
7962 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7963 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7964
f7bb179f 79652014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7966
7967 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7968 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7969
4134b50d
JM
79702014-05-21 Joseph Myers <joseph@codesourcery.com>
7971
bb7d0337
JM
7972 * nscd/Depend (linuxthreads): Remove.
7973 (nptl): Add.
7974 * resolv/Depend (linuxthreads): Remove.
7975 * rt/Depend (linuxthreads): Remove.
7976
4134b50d
JM
7977 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7978 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7979 $(common-objpfx)elf/.
7980 (link-libc-before-gnulib): Likewise.
7981 (elfobjdir): Remove variable.
7982 * Makefile (install): Use $(elf-objpfx) instead of
7983 $(common-objpfx)elf/.
7984 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7985 $(elfobjdir)/.
7986 (link-libc-deps): Likewise.
7987 ($(common-objpfx)libc.so): Likewise.
7988 ($(common-objpfx)linkobj/libc.so): Likewise.
7989 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7990 instead of $(common-objpfx)elf/.
7991 (symbolic-link-list): Likewise.
7992 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7993 [$(cross-compiling) = no]: Likewise.
7994 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7995 $(elfobjdir)/.
7996 (static-gnulib-arch): Likewise.
7997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7998 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7999 $(common-objpfx)elf/.
8000
3612eb8f
RH
80012014-05-21 Richard Henderson <rth@redhat.com>
8002
a6b3657b
RH
8003 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8004 (SINGLE_THREAD_P): Use the correct width load. Fold
8005 into the ldr offset.
8006
3612eb8f
RH
8007 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8008 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8009
175cef41
JM
80102014-05-20 Joseph Myers <joseph@codesourcery.com>
8011
8012 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8013 (libgcc_s_resume): Use __attribute_used__.
8014 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8015 Likewise.
8016
e13bccd3
AZ
80172014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8018
8019 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8020 optimization when used with float constants.
8021
7c112a38
AZ
8022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8023
ae75a883
AJ
80242014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8025
8026 [BZ #16915]
8027 * locale/nl_langinfo_l.c: Make direct reference to every
8028 _nl_current_CATEGORY symbol.
8029 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8030 (tests-static): Add tst-langinfo-static.
8031 (tests-special): Add tst-langinfo-static.out.
8032 ($(objpfx)tst-langinfo.out): Redirect output.
8033 ($(objpfx)tst-langinfo-static.out): New.
8034 * localedata/tst-langinfo.sh: Send output to stdout.
8035 * localedata/tst-langinfo-static.c: New file.
8036
4406c41c
AJ
8037 [BZ #16965]
8038 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8039 when the shift amount is modulo the limb size.
8040
4c0a1e63
RH
80412014-05-20 Richard Henderson <rth@redhat.com>
8042
de9d8f20
RH
8043 [BZ #16967]
8044 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8045 Change type of sa_flags from unsigned int to int.
8046
4c0a1e63
RH
8047 [BZ #16966]
8048 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
8049
8050 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8051
a60339aa
WN
80522014-05-20 Will Newton <will.newton@linaro.org>
8053
8054 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8055 Test the return value of the system call in the nocancel case.
8056
7d05a816
YR
80572014-05-20 Will Newton <will.newton@linaro.org>
8058 Yvan Roux <yvan.roux@linaro.org>
8059
8060 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8061 #include of asm/ptrace.h.
8062 (PTRACE_GET_THREAD_AREA): Remove #undef.
8063 (PTRACE_GETHBPREGS): Likewise.
8064 (PTRACE_SETHBPREGS): Likewise.
8065 (struct user_regs_struct): New structure.
8066 (struct user_fpsimd_struct): New structure.
8067 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8068 #include of asm/ptrace.h and second #include of sys/user.h.
8069 (PTRACE_GET_THREAD_AREA): Remove #undef.
8070 (PTRACE_GETHBPREGS): Likewise.
8071 (PTRACE_SETHBPREGS): Likewise.
8072 (ELF_NGREG): Use new struct user_regs_struct.
8073 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8074
af121e37
AZ
80752014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8076
8077 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8078 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8079
834caf06
JM
80802014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8081
8082 [BZ #16958]
8083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8084 membar to avoid block loads/stores to overlap previous stores.
8085
e184a918
RH
80862014-05-17 Richard Henderson <rth@redhat.com>
8087
8088 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8089 Create the __##syscall_name##_nocancel entry point.
8090 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8091 Remove; let the sysdep-cancel.h code create it.
8092
f56c7a6a
DM
80932014-05-17 David S. Miller <davem@davemloft.net>
8094
8095 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8096 Protect with __USE_GNU.
8097 (TIOCSET_TEMPT): Likewise.
8098 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8099 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8100 these are already provided in bits/ioctl-types.h
8101
f75616b2
RM
81022014-05-16 Roland McGrath <roland@hack.frob.com>
8103
3edeca86
RM
8104 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8105 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8106
f75616b2
RM
8107 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8108 Use wait4 regardless of [__NR_waitpid].
8109
deb0f7f6
MR
81102014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8111
8112 PR libgcc/60166
8113 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8114 (_FP_NANSIGN_Q): Set the quiet bit.
8115
79520f4b
JM
81162014-05-16 Joseph Myers <joseph@codesourcery.com>
8117
8118 * benchtests/Makefile
8119 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8120 not $(common-objpfx)math/libm.so.
8121 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8122 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8123 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8124 $(common-objpfx)dlfcn/libdl.so.
8125 ($(objpfx)tst-audit8): Depend on $(libm), not
8126 $(common-objpfx)math/libm.so.
8127 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8128 not $(common-objpfx)dlfcn/libdl.so.
8129 * math/Makefile
8130 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8131 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8132 [$(build-shared) = yes].
8133 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8134 $(common-objpfx)nptl/libpthread.so.
8135 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8136 $(common-objpfx)math/libm.so$(libm.so-version) or
8137 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8138 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8139 $(common-objpfx)dlfcn/libdl.so.
8140 * setjmp/Makefile (link-libm): Remove variable.
8141 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8142 * stdio-common/Makefile (link-libm): Remove variable.
8143 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8144 * stdlib/Makefile (link-libm): Remove variable.
8145 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8146 ($(objpfx)tst-strtod-round): Likewise.
8147 ($(objpfx)tst-tininess): Likewise.
8148 ($(objpfx)tst-strtod-underflow): Likewise.
8149 ($(objpfx)tst-strtod6): Likewise.
8150 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8151 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8152 $(common-objpfx)dlfcn/libdl.so.
8153
026b0fe4
AZ
81542014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8155
8156 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8157 BSD terminal modes definitions.
8158
def4bcb2
RM
81592014-05-16 Roland McGrath <roland@hack.frob.com>
8160
fe39b021
RM
8161 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8162 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8163
1d1fc46e 8164 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8165 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8166 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8167 Don't do #include_next.
8168 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8169 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8170 Don't do #include_next.
8171 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8172 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8173 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8174 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8175
c72399fb
AM
81762014-05-16 Allan McRae <allan@archlinux.org>
8177
d51d659d
AM
8178 * po/sv.po: Update Swedish translation from translation project.
8179
c72399fb
AM
8180 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8181 in sed expression.
8182
d0583c40
AJ
81832014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8184
8185 [BZ #16917]
8186 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8187 errno if the TIOCGPTN ioctl fails with an error different than
8188 EINVAL.
8189 * login/tst-ptsname.c: New file.
8190 * login/Makefile (tests): Add tst-ptsname.
8191
d16e6ec7
AJ
8192 [BZ #16943]
8193 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8194 and prlimit64.
8195
cf26a0cb
SP
81962014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8197
8198 [BZ #16849]
8199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8200 herrno to return EAI_AGAIN.
8201
5675da1e
RM
82022014-05-14 Roland McGrath <roland@hack.frob.com>
8203
a5d87b3d
RM
8204 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8205 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8206 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8207 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8208 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8209 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8210 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8211 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8212 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8213 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8214 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8215 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8216 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8217 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8218 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8219 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8220 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8221 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8222 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8223 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8224 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8225 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8226 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8227 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8228 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8229 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8230 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8231 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8232 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8233 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8235 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8236 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8237 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8239 Moved ...
8240 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8242 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8244 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8246 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8248 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8250 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8252 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8254 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8256 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8257 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8258 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8260 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8262 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8264 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8266 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8268 Moved ...
8269 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8271 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8273 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8274 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8275 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8276 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8277 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8278 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8279 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8281 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8283 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8285 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8287 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8289 Moved ...
8290 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8292 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8293
039890a6
RM
8294 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8295 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8296 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8297 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8298 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8299 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8300 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8301 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8302 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8303 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8304 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8305 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8306 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8307 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8308 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8309 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8310 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8311 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8312 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8313 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8314 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8315 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8316 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8317 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8318 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8319 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8320 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8321 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8322 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8323 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8324 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8325
65c89320
RM
8326 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8327 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8328
348f8e8c
RM
8329 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8330 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8331 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8332 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8333 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8334 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8335 Moved ...
8336 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8337 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8338 Moved ...
8339 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8340 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8341 Moved ...
8342 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8343 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8344 Moved ...
8345 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8346 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8347 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8348 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8349 Moved ...
8350 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8351 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8352 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8353 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8354 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8355 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8356 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8357 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8358 Moved ...
8359 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8360 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8361 Moved ...
8362 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8363 ... here.
8364 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8365 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8366 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8367 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8369 Moved ...
8370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8371 ... here.
8372 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8373 Moved ...
8374 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8375 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8376 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8377 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8378 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8379 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8380 Moved ...
8381 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8383 Moved ...
8384 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8385 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8386 Moved ...
8387 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8388 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8389 Moved ...
8390 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8391 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8392 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8393 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8394 Moved ...
8395 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8397 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8399 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8400 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8401 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8402 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8403 Moved ...
8404 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8405 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8406 Moved ...
8407 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8408 ... here.
8409 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8410 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8411 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8412 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8414 Moved ...
8415 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8416 ... here.
8417 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8418 Moved ...
8419 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8420 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8421 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8423 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8424 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8425 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8426 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8427 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8428 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8429 Moved ...
8430 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8431 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8432 Moved ...
8433 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8434 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8435 Moved ...
8436 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8437 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8438 Moved ...
8439 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8440 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8441 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8442 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8443 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8444 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8445 Moved ...
8446 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8447 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8448 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8449 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8450 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8451 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8452 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8453 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8454 Moved ...
8455 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8456 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8457 Moved ...
8458 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8459 ... here.
8460 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8461 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8462 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8463 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8464 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8465 Moved ...
8466 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8467 ... here.
8468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8469 Moved ...
8470 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8471 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8472 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8473 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8474 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8475 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8476 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8477 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8478 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8479 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8480 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8481
5085af05
RM
8482 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8483 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8484
708f0813
RM
8485 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8486 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8487
c96067bc
RM
8488 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8489 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8490 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8491 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8492 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8493 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8494 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8495 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8496 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8497 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8498 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8499 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8500 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8501 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8502 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8504 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8506 Moved ...
8507 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8508 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8509 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8510 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8511 Moved ...
8512 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8513 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8514 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8515 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8516 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8517 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8518 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8519 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8520 Moved ...
8521 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8522 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8523 Moved ...
8524 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8525 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8526 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8529 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8530 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8531 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8532 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8533 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8534 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8535 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8536 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8537 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8538 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8539 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8540 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8541
ec136444
RM
8542 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8543 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8544 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8545 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8546 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8547
2fbdf533
RM
8548 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8549 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8550 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8551 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8552 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8553 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8554 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8555 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8556 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8557 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8558
4c68138b
RM
8559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8560 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8561
4eaae765
RM
8562 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8563 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8564 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8565 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8566 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8567 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8568 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8569 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8570 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8571 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8572 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8573 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8574 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8575 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8576 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8577 Update #include.
8578 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8579 Likewise.
8580 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8581 Likewise.
8582 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8583 Likewise.
8584 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8585 Likewise.
8586 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8587 Likewise.
8588 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8589 Likewise.
8590 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8591 Likewise.
8592 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8593 Likewise.
8594 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8595 Likewise.
4ef6befa
RM
8596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8597 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8600 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8601 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8602 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8603 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8604 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8605 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8606 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8607 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8608 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8609 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8610 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8611
941d7dfd
RM
8612 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8613 that was previously under [RESET_PID].
8614 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8615 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8616 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8617
1b731c35
RM
8618 * sysdeps/i386/nptl/Implies: New file.
8619 * sysdeps/x86_64/nptl/Implies: New file.
8620 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8621 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8622 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8623 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8624
e2787137
RM
8625 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8626 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8627 (__libc_vfork): New strong alias.
8628 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8629 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8630
8631 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8632 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8633 (__libc_vfork): New strong alias.
8634 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8635 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8636
5675da1e
RM
8637 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8638 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8639 (__libc_vfork): New strong alias.
8640 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8641 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8642 * nptl/pt-vfork.c: New file.
8643 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8644 (libpthread: GLIBC_2.20): New version set (empty).
8645
4f02e2b8
WN
86462014-05-14 Will Newton <will.newton@linaro.org>
8647
8648 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8649 rather than #if.
8650
0bf061d3
JM
86512014-05-14 Joseph Myers <joseph@codesourcery.com>
8652
1a84c3d6
JM
8653 [BZ #16564]
8654 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8655 arguments with exponent 65 or above.
8656 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8657 arguments 0x1p113L or above.
8658 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8659 to arguments 0x1p107L or above.
8660 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8661 positive arguments with exponent 65 or above.
8662 * math/auto-libm-test-in: Add more tests of log1p.
8663 * math/auto-libm-test-out: Regenerated.
8664
01dbacd2
JM
8665 [BZ #16928]
8666 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8667 non-finite arguments is +0.
8668 * math/s_cacosf.c (__cacosf): Likewise.
8669 * math/s_cacosl.c (__cacosl): Likewise.
8670 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8671 * sysdeps/i386/fpu/libm-test-ulps: Update.
8672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8673
913d03c8
JM
8674 [BZ #16927]
8675 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8676 value.
8677 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8678 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8679 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8680 for explicit high bit of mantissa when testing for argument equal
8681 to 1.
8682 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8683 * sysdeps/i386/fpu/libm-test-ulps: Update.
8684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8685
0bf061d3
JM
8686 [BZ #16516]
8687 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8688 (__erf): Scale by 16 instead of 8 in potentially underflowing
8689 case. Ensure exception if result actually underflows.
8690 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8691 (__erff): Scale by 16 instead of 8 in potentially underflowing
8692 case. Ensure exception if result actually underflows.
8693 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8694 (efx8): Remove variable.
8695 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8696 case. Ensure exception if result actually underflows.
8697 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8698 (efx8): Remove variable.
8699 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8700 case. Ensure exception if result actually underflows.
8701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8702 (efx8): Remove variable.
8703 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8704 case. Ensure exception if result actually underflows.
8705 * math/auto-libm-test-in: Add more tests of erf.
8706 * math/auto-libm-test-out: Regenerated.
8707
73ba67cb
AS
87082014-05-14 Andreas Schwab <schwab@suse.de>
8709
3d8c8bff
AS
8710 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8711 Remove code conditionalized on USE___THREAD.
8712
73ba67cb
AS
8713 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8714 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8715 not definedness.
8716
5c521ecd
JM
87172014-05-14 Joseph Myers <joseph@codesourcery.com>
8718
5e7698c6
JM
8719 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8720 Define unconditionally.
8721 (__ASSUME_O_CLOEXEC): Likewise.
8722 (__ASSUME_SOCK_CLOEXEC): Likewise.
8723 (__ASSUME_IN_NONBLOCK): Likewise.
8724 (__ASSUME_PIPE2): Likewise.
8725 (__ASSUME_EVENTFD2): Likewise.
8726 (__ASSUME_SIGNALFD4): Likewise.
8727 (__ASSUME_DUP3): Likewise.
8728 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8729 (__ASSUME_DUP3): Do not define.
8730 (__ASSUME_EVENTFD2): Likewise.
8731 (__ASSUME_IN_NONBLOCK): Likewise.
8732 (__ASSUME_O_CLOEXEC): Likewise.
8733 (__ASSUME_PIPE2): Likewise.
8734 (__ASSUME_SIGNALFD4): Likewise.
8735 (__ASSUME_SOCK_CLOEXEC): Likewise.
8736 (__ASSUME_UTIMES): Undefine.
8737 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8738 (__ASSUME_UTIMES): Do not define.
8739 (__ASSUME_O_CLOEXEC): Likewise.
8740 (__ASSUME_SOCK_CLOEXEC): Likewise.
8741 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8742 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8743 0x020621].
8744 (__ASSUME_PIPE2): Likewise.
8745 (__ASSUME_EVENTFD2): Likewise.
8746 (__ASSUME_SIGNALFD4): Likewise.
8747 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8748 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8749 Do not define.
8750 (__ASSUME_EVENTFD2): Likewise.
8751 (__ASSUME_SIGNALFD4): Likewise.
8752 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8753 (__ASSUME_32BITUIDS): Likewise.
8754 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8755 (__ASSUME_IPC64): Likewise.
8756 (__ASSUME_ST_INO_64_BIT): Likewise.
8757 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8758 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8759 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8760 (__ASSUME_UTIMES): Do not define.
8761 (__ASSUME_PSELECT): Likewise.
8762 (__ASSUME_PPOLL): Likewise.
8763 (__ASSUME_O_CLOEXEC): Likewise.
8764 (__ASSUME_SOCK_CLOEXEC): Likewise.
8765 (__ASSUME_IN_NONBLOCK): Likewise.
8766 (__ASSUME_PIPE2): Likewise.
8767 (__ASSUME_EVENTFD2): Likewise.
8768 (__ASSUME_SIGNALFD4): Likewise.
8769 (__ASSUME_DUP3): Likewise.
8770 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8771 (__ASSUME_UTIMES): Likewise.
8772 (__ASSUME_O_CLOEXEC): Likewise.
8773 (__ASSUME_SOCK_CLOEXEC): Likewise.
8774 (__ASSUME_IN_NONBLOCK): Likewise.
8775 (__ASSUME_PIPE2): Likewise.
8776 (__ASSUME_EVENTFD2): Likewise.
8777 (__ASSUME_SIGNALFD4): Likewise.
8778 (__ASSUME_DUP3): Likewise.
8779 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8780 (__ASSUME_UTIMES): Likewise.
8781 (__ASSUME_O_CLOEXEC): Likewise.
8782 (__ASSUME_SOCK_CLOEXEC): Likewise.
8783 (__ASSUME_IN_NONBLOCK): Likewise.
8784 (__ASSUME_PIPE2): Likewise.
8785 (__ASSUME_EVENTFD2): Likewise.
8786 (__ASSUME_SIGNALFD4): Likewise.
8787 (__ASSUME_DUP3): Likewise.
8788 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8789 Likewise.
8790 (__ASSUME_UTIMES): Likewise.
8791 (__ASSUME_EVENTFD2): Likewise.
8792 (__ASSUME_SIGNALFD4): Likewise.
8793 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8794 (__ASSUME_O_CLOEXEC): Likewise.
8795 (__ASSUME_SOCK_CLOEXEC): Likewise.
8796 (__ASSUME_IN_NONBLOCK): Likewise.
8797 (__ASSUME_PIPE2): Likewise.
8798 (__ASSUME_EVENTFD2): Likewise.
8799 (__ASSUME_SIGNALFD4): Likewise.
8800 (__ASSUME_DUP3): Likewise.
8801 (__ASSUME_UTIMES): Undefine.
8802
5c521ecd
JM
8803 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8804 feclearexcept. Remove symbol versioning code.
8805 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8806 symbol versioning code.
8807 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8808 symbol versioning code.
8809 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8810 feupdateenv. Remove symbol versioning code.
8811 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8812 fegetexceptflag. Remove symbol versioning code.
8813 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8814 fesetexceptflag. Remove symbol versioning code.
8815 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8816 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8817 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8818 (__posix_fadvise64_l32): Remove prototype.
8819 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8820 code.
8821
5da9dfad
RM
88222014-05-13 Roland McGrath <roland@hack.frob.com>
8823
8824 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8825 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8826 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8827 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8828
893b4f37
SK
88292014-05-13 Sami Kerola <kerolasa@iki.fi>
8830
8831 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8832 current working directory
8833
e0db6517
RM
88342014-05-13 Roland McGrath <roland@hack.frob.com>
8835
58aa195d
RM
8836 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8837 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8838 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8839 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8840 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8841 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8842 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8843 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8844 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8845 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8846 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8847 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8848 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8849 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8850 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8851 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8852 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8853 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8855 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8856 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8857 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8858 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8859 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8860 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8861 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8862 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8863 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8864 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8865 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8866 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8867 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8868 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8869 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8870 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8871 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8872 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8873 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8874 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8875 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8876 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8877 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8878
8c6d01f0
RM
8879 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8880 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8881
8882 * sysdeps/unix/sysv/linux/arm/Makefile
8883 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8884 Add rt-aeabi_unwind_cpp_pr1.
8885 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8886 Add nptl-aeabi_unwind_cpp_pr1.
8887 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8888 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8889 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8890 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8891 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8892 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8893
8894 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8895 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8896 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8897 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8898
bba6da4e
RM
8899 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8900 Deconditionalize the code that was previously under [RESET_PID].
8901 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8902
e0db6517
RM
8903 * sysdeps/generic/exit-thread.h: New file.
8904 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8905 * include/unistd.h (__exit_thread): Remove declaration.
8906 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8907 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8908 * csu/libc-start.c: Include <exit-thread.h>.
8909 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8910 * nptl/pthread_create.c: Include <exit-thread.h>.
8911 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8912 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8913 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8914 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8915 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8916 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8917 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8918 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8919 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8920 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8921 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8922 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8923 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8924 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8925 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8926 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8927 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8928
01eb16fd
AS
89292014-05-13 Andreas Schwab <schwab@suse.de>
8930
8931 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8932
637461d9
JM
89332014-05-12 Joseph Myers <joseph@codesourcery.com>
8934
8935 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8936 (__ASSUME_UTIMES): Do not condition on kernel version.
8937 (__ASSUME_PSELECT): Define unconditionally.
8938 (__ASSUME_PPOLL): Likewise.
8939 (__ASSUME_ATFCTS): Likewise.
8940 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8941 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8942 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8943 (__ASSUME_UTIMENSAT): Define unconditionally.
8944 (__ASSUME_PRIVATE_FUTEX): Likewise.
8945 (__ASSUME_FALLOCATE): Likewise.
8946 (__ASSUME_O_CLOEXEC): Likewise.
8947 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8948 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8949 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8950 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8951 (__ASSUME_IN_NONBLOCK): Likewise.
8952 (__ASSUME_PIPE2): Likewise.
8953 (__ASSUME_EVENTFD2): Likewise.
8954 (__ASSUME_SIGNALFD4): Likewise.
8955 (__ASSUME_DUP3): Likewise.
8956 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8957 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8958 (__ASSUME_AT_RANDOM): Likewise.
8959 (__ASSUME_PREADV): Likewise.
8960 (__ASSUME_PWRITEV): Likewise.
8961 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8962 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8963 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8964 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8965 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8966 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8967 (__ASSUME_O_CLOEXEC): Define unconditionally.
8968 (__ASSUME_PSELECT): Do not undefine conditionally.
8969 (__ASSUME_PPOLL): Likewise.
8970 (__ASSUME_ATFCTS): Likewise.
8971 (__ASSUME_SET_ROBUST_LIST): Likewise.
8972 (__ASSUME_UTIMENSAT): Likewise.
8973 (__ASSUME_FDATASYNC): Define unconditionally.
8974 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8975 (__ASSUME_SIGFRAME_V2): Likewise.
8976 )__ASSUME_EVENTFD2): Likewise.
8977 (__ASSUME_SIGNALFD4): Likewise.
8978 (__ASSUME_PSELECT): Do not undefine conditionally.
8979 (__ASSUME_PPOLL): Likewise.
8980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8981 (__ASSUME_PSELECT): Define unconditionally.
8982 (__ASSUME_PPOLL): Likewise.
8983 (__ASSUME_O_CLOEXEC): Likewise.
8984 (__ASSUME_SOCK_CLOEXEC): Likewise.
8985 (__ASSUME_IN_NONBLOCK): Likewise.
8986 (__ASSUME_PIPE2): Likewise.
8987 (__ASSUME_EVENTFD2): Likewise.
8988 (__ASSUME_SIGNALFD4): Likewise.
8989 (__ASSUME_DUP3): Likewise.
8990 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8991 (__ASSUME_O_CLOEXEC): Likewise.
8992 (__ASSUME_SOCK_CLOEXEC): Likewise.
8993 (__ASSUME_IN_NONBLOCK): Likewise.
8994 (__ASSUME_PIPE2): Likewise.
8995 (__ASSUME_EVENTFD2): Likewise.
8996 (__ASSUME_SIGNALFD4): Likewise.
8997 (__ASSUME_DUP3): Likewise.
8998 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8999 (__ASSUME_EVENTFD2): Likewise.
9000 (__ASSUME_SIGNALFD4): Likewise.
9001 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9002
315eb1d8
AS
90032014-05-12 Andreas Schwab <schwab@suse.de>
9004
9005 [BZ #16932]
9006 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9007 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9008 than maximum RPC packet size.
9009 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9010 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9011 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9012 (_nss_nis_getservbyport_r): Likewise.
9013
91df99f7
WN
90142014-05-12 Will Newton <will.newton@linaro.org>
9015
9016 * malloc/Makefile (tests): Add tst-mallopt.
9017 * malloc/tst-mallopt.c: New file.
9018
0a982a29
RM
90192014-05-09 Roland McGrath <roland@hack.frob.com>
9020
9021 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9022 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9023
0ded08a5
AZ
90242014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9025
9026 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9027 (tst-tlsmod6.so): Likewise.
9028
55d4d550
RM
90292014-05-09 Roland McGrath <roland@hack.frob.com>
9030
9031 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9032
77d08aca
JM
90332014-05-09 Joseph Myers <joseph@codesourcery.com>
9034
9035 [BZ #16064]
9036 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9037 and <dl-procinfo.h>.
9038 (__fegetenv): Save SSE state in envp->__eip if supported.
9039 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9040 envp->__eip if supported.
9041 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9042 and <dl-procinfo.h>.
9043 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9044 __data_offset and __data_selector in environment to 0. Set SSE
9045 state if supported.
9046 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9047 test-fenv-sse.
9048 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9049 -mfpmath=sse.
9050 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9051
28162f4d
WN
90522014-05-09 Will Newton <will.newton@linaro.org>
9053
9054 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9055 and libc_relro_required for ARM.
9056 * sysdeps/arm/preconfigure: Regenerate.
9057
5a414ff7
DV
90582014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9059 Stefan Liebler <stli@linux.vnet.ibm.com>
9060
9061 * config.make.in (enable-lock-elision): New Makefile variable.
9062 * configure.ac: Likewise.
9063 * configure: Regenerate.
9064 * sysdeps/s390/configure.ac:
9065 Add check for gcc transactions support.
9066 * sysdeps/s390/configure: Regenerate.
9067 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9068 Build elision files if enabled.
9069 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9070 Add lock elision support for s390.
9071 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9072 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9073 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9074 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9075 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9076 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9077 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9078 Likewise.
9079 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9080 Likewise.
9081 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9082 Likewise.
9083 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9084 Likewise.
9085 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9086 (__lll_timedlock_elision, __lll_lock_elision)
9087 (__lll_unlock_elision, __lll_trylock_elision)
9088 (lll_timedlock_elision, lll_lock_elision)
9089 (lll_unlock_elision, lll_trylock_elision): Add.
9090 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9091 (pthread_mutex_t): Add lock elision support for s390.
9092
1a2f40e5
W
90932014-05-14 Wilco <wdijkstr@arm.com>
9094
9095 * sysdeps/arm/fclrexcpt.c: Cleanup.
9096 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9097 * sysdeps/arm/feenablxcpt.c: Cleanup.
9098 * sysdeps/arm/fegetenv.c: Cleanup.
9099 * sysdeps/arm/fegetexcept.c: Cleanup.
9100 * sysdeps/arm/fegetround.c: Cleanup.
9101 * sysdeps/arm/feholdexcpt.c: Cleanup.
9102 * sysdeps/arm/fesetenv.c: Cleanup.
9103 * sysdeps/arm/fesetround.c: Cleanup.
9104 * sysdeps/arm/feupdateenv.c: Cleanup.
9105 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9106 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9107 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9108 * sysdeps/arm/ftestexcept.c: Cleanup.
9109 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9110 * sysdeps/arm/setfpucw.c: Cleanup.
9111
f63c86fe
WN
91122014-05-09 Will Newton <will.newton@linaro.org>
9113
9114 * sysdeps/arm/armv7/strcmp.S: New file.
9115 * NEWS: Mention addition of ARMv7 optimized strcmp.
9116
7a1a51b5
RM
91172014-05-08 Roland McGrath <roland@hack.frob.com>
9118
95afbbe5
RM
9119 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9120 look for %.ac rather than %.in.
9121
9122 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9123 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9124 * sysdeps/mach/hurd/configure: Regenerated.
9125 * sysdeps/unix/sysv/linux/configure: Regenerated.
9126
7a1a51b5
RM
9127 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9128
5057ad3b
SE
91292014-05-07 Steve Ellcey <sellcey@mips.com>
9130
9131 [BZ# 16922]
9132 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9133 (LONG_SUB): Ditto.
9134 (PTR_SUB): Ditto.
9135
8dc97517
AS
91362014-05-07 Andreas Schwab <schwab@suse.de>
9137
9138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9139 when skipping over non-matching result from nscd.
9140
ce0c5b8f
OB
91412014-05-07 Ondřej Bílka <neleai@seznam.cz>
9142
9143 [BZ #16876]
9144 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9145
a1189263
OB
9146 [BZ #16877]
9147 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9148 nscd security class.
ce0c5b8f 9149
0f58d252
RM
91502014-05-06 Roland McGrath <roland@hack.frob.com>
9151
9152 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9153 * sysdeps/arm/unwind.h: ... here.
9154
83df9ad0
AJ
91552014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9156
ce0c5b8f
OB
9157 [BZ# 16916]
9158 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9159 Define.
83df9ad0 9160
f360f94a
VR
91612014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9162
9163 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9164 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9165 multiarch strncpy for PPC64.
9166 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9167 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9168 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9169 multiarch optimizations.
9170 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9171 (__libc_ifunc_impl_list): Likewise.
9172 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9173 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9174 multiarch stpncpy for PPC64.
9175 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9176 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9177
978a41c3
AS
91782014-05-06 Andreas Schwab <schwab@suse.de>
9179
9180 [BZ #16912]
9181 * gmon/mcount.c (_MCOUNT_DECL): Use
9182 atomic_compare_and_exchange_bool_acq instead of
9183 catomic_compare_and_exchange_bool_acq.
9184
eb1ed03d
RM
91852014-05-05 Roland McGrath <roland@hack.frob.com>
9186
fe658845
RM
9187 * elf/Makefile (others, install-bin): Remove pldd.
9188 (pldd-modules): Variable removed.
9189 ($(objpfx)pldd): Target removed.
9190 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9191 (others, install-bin): Append pldd here.
9192 ($(objpfx)pldd): New target.
9193
eb1ed03d
RM
9194 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9195 to 0, so the first #if test emitted later doesn't see it undefined.
9196 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9197 * sysdeps/gnu/errlist.c: Regenerated.
9198
19c4bec0
AZ
91992014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9200
9201 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9202 [libc_hidden_builtin_def]: Define to empty value.
9203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9204 [libc_hidden_builtin_def]: Likewise.
9205 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9206 [libc_hidden_builtin_def]: Likewise.
9207 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9208 [libc_hidden_builtin_def]: Likewise.
9209 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9210 __redirect_memcpy and define ifunc as default hidden symbol.
9211 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9212 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9213
7776e669
AC
92142014-05-04 Adam Conrad <adconrad@0c3.net>
9215
9216 * locale/iso-4217.def: Reintroduce XDR currency.
9217
d69aeb12
AM
92182014-05-04 Allan McRae <allan@archlinux.org>
9219
9220 * po/eo.po: Update Esperanto translation from translation project.
9221
8f1df5cf
CD
92222014-05-02 Carlos O'Donell <carlos@redhat.com>
9223
9224 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9225 and FEATURE_INDEX_MAX to 1.
9226 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9227
13e402e7
SE
92282014-05-01 Steve Ellcey <sellcey@mips.com>
9229
9230 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9231 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9232 * iconvdata/big5.c (ONE_DIRECTION): Define.
9233 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9234 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9235 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9236 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9237 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9238 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9239 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9240 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9241 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9242 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9243 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9244 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9245 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9246 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9247 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9248 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9249 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9250 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9251 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9252 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9253 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9254 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9255 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9256 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9257 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9258 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9259 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9260 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9261 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9262 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9263 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9264 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9265 * iconvdata/johab.c (ONE_DIRECTION): Define.
9266 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9267 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9268 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9269 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9270 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9271 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9272 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9273 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9274 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9275 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9276
c727f032
RM
92772014-05-01 Roland McGrath <roland@hack.frob.com>
9278
8f2f08d0
RM
9279 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9280 (_IO_JUMPS_OFFSET): Define to 0.
9281
c727f032
RM
9282 * nptl/sysdeps/pthread/bits/libc-lock.h
9283 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9284 (__libc_lock_define_initialized_recursive): Always define using
9285 initializer. Modern compilers treat uninitialized (implicit zero) and
9286 explicit zero initializers the same (i.e. put the datum in bss).
9287
a849e800
AS
92882014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9289
9290 * nscd/nscd-client.h: Include <string.h>.
9291
5331255b
DM
92922014-05-01 David S. Miller <davem@davemloft.net>
9293
9294 [BZ #16885]
9295 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9296 multiple zero bytes exist at the end of a string.
9297 Reported by Aurelien Jarno <aurelien@aurel32.net>
9298
9299 * string/test-strcmp.c (check): Add explicit test for situations where
9300 there are multiple zero bytes after the first.
9301
4fdfe821
AS
93022014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9303
9304 [BZ #16890]
9305 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9306 when compiling wprintf.
9307 * stdio-common/tstdiomisc.c (t3): New function.
9308 (main): Call it.
9309
0cdddc25
SE
93102014-05-01 Steve Ellcey <sellcey@mips.com>
9311
9312 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9313 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9314 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9315 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9316
6426d77e
SE
93172014-05-01 Steve Ellcey <sellcey@mips.com>
9318
9319 * stdlib/longlong.h: Updated from GCC.
9320
6d96f5e4
WN
93212014-05-01 Will Newton <will.newton@linaro.org>
9322 Bernard Ogden <bernie.ogden@linaro.org>
9323
7470db0c
WN
9324 * NEWS: Update fixed bug list.
9325
6d96f5e4
WN
9326 [BZ #15119]
9327 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9328
211d653c
DM
93292014-04-30 David S. Miller <davem@davemloft.net>
9330
4fa262fa
DM
9331 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9332 (libc_feholdexcept_setround_sparc_ctx): New function.
9333 (libc_fesetenv_sparc_ctx): Likewise.
9334 (libc_feupdateenv_sparc_ctx): Likewise.
9335 (libc_feholdsetround_sparc_ctx): Likewise.
9336 (libc_feholdexcept_setround_ctx): Define.
9337 (libc_feholdexcept_setroundf_ctx): Likewise.
9338 (libc_feholdexcept_setroundl_ctx): Likewise.
9339 (libc_fesetenv_ctx): Likewise.
9340 (libc_fesetenvf_ctx): Likewise.
9341 (libc_fesetenvl_ctx): Likewise.
9342 (libc_feupdateenv_ctx): Likewise.
9343 (libc_feupdateenvf_ctx): Likewise.
9344 (libc_feupdateenvl_ctx): Likewise.
9345 (libc_feresetround_ctx): Likewise.
9346 (libc_feresetroundf_ctx): Likewise.
9347 (libc_feresetroundl_ctx): Likewise.
9348 (libc_feholdsetround_ctx): Likewise.
9349 (libc_feholdsetroundf_ctx): Likewise.
9350 (libc_feholdsetroundl_ctx): Likewise.
9351
1d3d93ef
DM
9352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9353 with __USE_GNU instead of XOPEN cpp guards.
9354
8aa583c3
DM
9355 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9356 0.
9357
211d653c
DM
9358 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9359 with XOPEN cpp guards.
9360
60c8f1f6
JB
93612014-04-30 Julian Brown <julian@codesourcery.com>
9362
9363 [BZ #16888]
9364 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9365 handling.
9366
9a461d46
JM
93672014-04-30 Joseph Myers <joseph@codesourcery.com>
9368
d0f5b3f8
JM
9369 [BZ #9894]
9370 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9371 Change to 2.6.32.
9372 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9373 * sysdeps/unix/sysv/linux/configure: Regenerated.
9374 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9375 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9376 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9377 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9378 * README: Update reference to required Linux kernel version.
9379 * manual/install.texi (Linux): Update reference to required Linux
9380 kernel headers version.
9381 * INSTALL: Regenerated.
9382
9a461d46
JM
9383 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9384 header inclusion.
9385 [POSIX] (limits.h): Likewise.
9386 [POSIX] (math.h): Likewise.
9387 [POSIX] (sys/wait.h): Likewise.
9388 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9389 function.
9390 [POSIX] (stddef.h): Do not allow header inclusion.
9391
1775babf
AZ
93922014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9393
57f41c40 9394 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9395
8f630cca
YY
93962014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9397
9398 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9399 Return immediately after lll_futex_wake.
9400
1cdeb237
SP
94012014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9402
bc8f194c
SP
9403 [BZ #16791]
9404 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9405 structure.
9406 (datahead_init_pos): Call datahead_init_common early.
9407 (datahead_init_neg): Likewise.
9408
1cdeb237
SP
9409 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9410 datahead_init_neg): New functions.
9411 * nscd/aicache.c (addhstaiX): Use them.
9412 * nscd/grpcache.c (cache_addgr): Likewise.
9413 * nscd/hstcache.c (cache_addhst): Likewise.
9414 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9415 * nscd/netgroupcache.c (do_notfound): Likewise.
9416 (addgetnetgrentX): Likewise.
9417 (addinnetgrX): Likewise.
9418 * nscd/pwdcache.c (cache_addpw): Likewise.
9419 * nscd/servicescache.c (cache_addserv): Likewise.
9420
16b293a7
SP
94212014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9422 Atsushi Onoe <atsushi@onoe.org>
9423
9424 [BZ #14308]
9425 [BZ #12994]
9426 [BZ #13651]
9427 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9428 one response is valid.
9429 * resolv/res_send.c (send_dg): Check for validity of other
9430 response if the current response is a referral.
9431
a28a9b94
SE
94322014-04-29 Steve Ellcey <sellcey@mips.com>
9433
9434 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9435
2ca180e9
SL
94362014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9437
9438 [BZ #16823]
9439 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9440 Always divide by positive zero when computing -Inf result.
9441 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9442 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9443
18f2945a
AZ
94442014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9445
9446 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9447 FPSCR if value do not change.
9448 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9449 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9450 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9451 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9452 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9453 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9454 function.
9455
5abebba4
CD
94562014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9457
9458 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9459 * sysdeps/unix/sysv/linux/hppa: Move directory from
9460 ports/systeps/unix/sysv/linux/hppa.
9461 * README: Update listing for hppa-*-linux-gnu.
9462
f7ed60c2
OB
94632014-04-28 Ondřej Bílka <neleai@seznam.cz>
9464
fff763a5
OB
9465 [BZ #16754]
9466 * manual/stdio.texi (Hook functions): Fix types of stream hook
9467 functions.
f7ed60c2
OB
9468 [BZ #16854]
9469 * socket/sys/socket.h: Fix typo in comment.
9470
df639d73
WD
94712014-04-28 Wilco <wdijkstr@arm.com>
9472
f7ed60c2 9473 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9474 * sysdeps/arm/math_private.h: New file.
9475 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9476
48332d82
L
94772014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9478
9479 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9480 with __int128_t.
9481 (La_x86_64_retval): Likewise.
9482
e5e0d9a4
IB
94832014-04-24 Ian Bolton <ian.bolton@arm.com>
9484
9485 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9486 fpsr if value didn't change.
9487 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9488 to fpcr if value didn't change.
9489 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9490 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9491 fpsr or fpcr if value didn't change.
9492 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9493 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9494 fpcr if value didn't change.
9495 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9496 to fpsr if value didn't change.
9497
bacc75f7
SP
94982014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9499
9500 * nptl/tst-sem3.c: Use test-skeleton.c
9501 (main): Rename to do_test. Use return instead of
9502 exit.
9503 * nptl/tst-sem4.c: Use test-skeleton.c
9504 (main): Rename to do_test.
9505
a059d359
DM
95062014-04-22 David S. Miller <davem@davemloft.net>
9507
9508 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9509 (struct sigaction): New struct member __glibc_reserved0, change
9510 type of sa_flags to int.
9511
ea6c92f3
YZ
95122014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9513
9514 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9515 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9516
766c4a36
SP
95172014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9518
9519 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9520 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9521
140cc7ab
VK
95222014-04-22 Will Newton <will.newton@linaro.org>
9523 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9524
9525 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9526 (__longjmp): Add longjmp and longjmp_target SystemTap
9527 probes.
9528 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9529 (__sigsetjmp): Add setjmp SystemTap probe.
9530
c54e5cf7
CD
95312014-04-17 Carlos O'Donell <carlos@redhat.com>
9532
9533 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9534 match manual order.
9535
75ffb047
AZ
95362014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9537
9538 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9539
2cd925f7
AZ
9540 * sysdeps/powerpc/fpu/fenv_private.h
9541 (libc_feholdexcept_setroundl_ctx): Define to
9542 libc_feholdexcept_setround_ppc_ctx.
9543 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9544 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9545 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9546 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9547
39e6cd8d
IB
95482014-04-17 Ian Bolton <ian.bolton@arm.com>
9549
9550 * sysdeps/aarch64/math-tests.h: New file.
9551
f9281df9
SY
95522014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9553
9554 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9555 New.
9556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9557 Check and set bit_AVX2_Usable.
9558 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9559 macro.
9560 (bit_AVX2): Likewise.
9561 (index_AVX2_Usable): Likewise.
9562 (CPUID_AVX2): Likewise.
9563 (HAS_AVX2): Likewise.
9564
37d35007
WN
95652014-04-17 Will Newton <will.newton@linaro.org>
9566
7c677662
WN
9567 * manual/setjmp.texi (System V contexts): Add note that
9568 calling setcontext on a context created by a call to a
9569 signal handler is undefined. Update text to note that
9570 setcontext from a signal handler is possible but not
9571 recommended.
9572
37d35007 9573 [BZ #16629]
e04a4e9d
WN
9574 * stdlib/tst-setcontext.c: Include signal.h.
9575 (main): Check that the signal stack before and
9576 after swapcontext is the same.
9577
37d35007
WN
9578 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9579 Re-implement to restore registers in user code and avoid
9580 rt_sigreturn system call.
9581
423a7160
W
95822014-04-17 Wilco <wdijkstr@arm.com>
9583
9584 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9585 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9586 * math/test-fenv.c: Skip exception trap tests on targets which only
9587 support non-stop mode.
9588
bc93ab29
IB
95892014-04-17 Ian Bolton <ian.bolton@arm.com>
9590 Wilco Dijkstra <wilco.dijkstra@arm.com>
9591
9592 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9593 (libc_feholdsetround_aarch64_ctx)
9594 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9595 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9596 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9597 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9598 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9599 (libc_feresetround_noexl_ctx): Define.
9600
95fc5fa3
RH
96012014-04-16 Richard Henderson <rth@redhat.com>
9602
ddb04724
RH
9603 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9604
d77c0899
RH
9605 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9606 unwind tables.
9607
a3df56fc
RH
9608 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9609 const from the non-libc, non-ldso copy.
9610
95fc5fa3
RH
9611 * sysdeps/alpha/libm-test-ulps: Regenerate.
9612
7e0b6763
IB
96132014-04-16 Ian Bolton <ian.bolton@arm.com>
9614 Wilco Dijkstra <wilco.dijkstra@arm.com>
9615
9616 * sysdeps/aarch64/fpu/math_private.h: New file.
9617
a9ea2e0c
MS
96182014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9619
9620 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9621
ea8ba7cd
IZ
96222014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9623
7e54fd04 9624 [BZ #16275]
ea8ba7cd
IZ
9625 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9626 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9627 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9628 Intel MPX bound registers before _dl_profile_fixup.
9629 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9630 registers after _dl_profile_fixup. Save and restore bound
9631 registers bnd0/bnd1 when calling _dl_call_pltexit.
9632 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9633 (LR_BND_OFFSET): Likewise.
9634 (LRV_BND0_OFFSET): Likewise.
9635 (LRV_BND1_OFFSET): Likewise.
9636
9f2a4fbc
ST
96372014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9638
9639 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9640 to...
9641 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9642 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9643 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9644 fields.
9f2a4fbc 9645
fd15a59b
ST
96462014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9647
9648 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9649
f19dfa0a
SL
96502014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9651
9652 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9653
4fa8bc3b
SL
96542014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9655
9656 [BZ #14770]
9657 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9658 * sysdeps/s390/configure: Regenerate.
9659
8ea587db
SL
9660 [BZ #16824]
9661 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9662 Set round-to-nearest internally to reduce error accumulation.
9663
aa5f0ff1
AM
96642014-04-16 Alan Modra <amodra@gmail.com>
9665
9666 [BZ #16740]
9667 [BZ #16619]
9668 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9669 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9670 * NEWS: Update fixed bug list.
aa5f0ff1 9671
bb9c256f
SP
96722014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9673
9674 * benchtests/Makefile: Depend on libraries in build directory.
9675 (bench-math): Separate out math tests.
9676 (bench-pthread): Separate out pthread tests.
9677 (bench): Include math and pthread tests.
9678
f737dfd0
CD
96792014-04-14 Carlos O'Donell <carlos@redhat.com>
9680
9681 [BZ #16831]
9682 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9683 _dl_debug_initialize.
9684
0699f766
CD
9685 * configure.ac: Remove SELinux header check.
9686 * configure: Regenerate.
9687 * nscd/selinux.c (perms): Array of const char* to permission names.
9688 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9689 default policy. Call string_to_security_class and string_to_av_perm to
9690 translate strings. Enforce default policy and call avs_has_perm with
9691 results of translated strings.
9692
809bd45f
DM
96932014-04-13 David S. Miller <davem@davemloft.net>
9694
9695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9696
89e691f2
AM
96972014-04-12 Allan McRae <allan@archlinux.org>
9698
9699 [BZ #16838]
9700 * manual/string.texi (Collation Functions): Fix qsort argument
9701 order in example.
9702 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9703
9c9daaeb
CM
97042014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9705
9706 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9707 Make the test a no-op if there are no exceptions defined.
9708
95561fb9
PP
97092014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9710
fe8d072c 9711 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9712 enable-hardcoded-path-in-tests
9713
970c602a
WN
97142014-04-11 Will Newton <will.newton@linaro.org>
9715
9716 * benchtests/Makefile (extra-objs): Add json-lib.o.
9717 (bench-func): Tidy up JSON output.
9718 * benchtests/bench-skeleton.c: Include json-lib.h.
9719 (main): Use JSON library functions to do output of
9720 benchmark results.
9721 * benchtests/bench-timing-type.c (main): Output the
9722 timing type simply, leaving formatting to the user.
9723 * benchtests/json-lib.c: New file.
9724 * benchtests/json-lib.h: Likewise.
9725
36875b06
TR
97262014-04-11 Torvald Riegel <triegel@redhat.com>
9727
9728 [BZ #15215]
9729 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9730 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9731 memory barriers. Add comments.
9732 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9733 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9734 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9735 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9736 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9737 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9738
579db35a
SL
97392014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9740
9741 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9742 * sysdeps/s390/s390-64/configure.ac: ... this ...
9743 * sysdeps/s390/configure.ac: ... to here.
9744 * sysdeps/s390/s390-32/configure: Delete file.
9745 * sysdeps/s390/s390-64/configure: Delete file.
9746 * sysdeps/s390/configure: Regenerate.
9747
c12e9f37
JAPH
97482014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9749
9750 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9751
439bda32
WN
97522014-04-11 Will Newton <will.newton@linaro.org>
9753
9754 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9755 to zero if it is not defined elsewhere. (mtrim): Test
9756 the value of MALLOC_DEBUG with #if rather than #ifdef.
9757
6a5d6ea1
TR
97582014-04-10 Torvald Riegel <triegel@redhat.com>
9759
9760 * benchtests/pthread_once-inputs: New file.
9761 * benchtests/pthread_once-source.c: New file.
9762 * benchtests/README: Update documentation.
9763
a4c75cfd
IZ
97642014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9765 H.J. Lu <hongjiu.lu@intel.com>
9766
7e54fd04 9767 [BZ #16275]
a4c75cfd
IZ
9768 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9769 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9770 * sysdeps/x86_64/configure: Regenerated.
9771 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9772 macro.
9773 (REGISTER_SAVE_RAX): Likewise.
9774 (REGISTER_SAVE_RCX): Likewise.
9775 (REGISTER_SAVE_RDX): Likewise.
9776 (REGISTER_SAVE_RSI): Likewise.
9777 (REGISTER_SAVE_RDI): Likewise.
9778 (REGISTER_SAVE_R8): Likewise.
9779 (REGISTER_SAVE_R9): Likewise.
9780 (REGISTER_SAVE_BND0): Likewise.
9781 (REGISTER_SAVE_BND1): Likewise.
9782 (REGISTER_SAVE_BND2): Likewise.
9783 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9784 bound registers when calling _dl_fixup.
9785
27822ce6
AZ
97862014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9787
9788 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9789 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9790 of its definition.
27822ce6
AZ
9791 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9792 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9793 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9794 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9795 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9796 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9797 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9798
a88ddc90
PTB
97992014-04-09 Peter Brett <peter@peter-b.co.uk>
9800
9801 [BZ #15514]
9802 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9803 pathconf(_PC_NAME_MAX).
9804
01f8eac2
AZ
98052014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9806
9807 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9808 Remove macro usage.
9809 (__PTHREAD_SPINS): Move definition to ...
9810 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9811 (__PTHREAD_SPINS): ... here.
9812 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9813 (__PTHREAD_SPIN): Likewise.
9814 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9815 (__PTHREAD_SPIN): Likewise.
9816 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9817 (__PTHREAD_SPIN): Likewise.
9818 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9819 (__PTHREAD_SPIN): Likewise.
9820 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9821 (__PTHREAD_SPIN): Likewise.
9822 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9823 (__PTHREAD_SPIN): Likewise.
9824 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9825 (__PTHREAD_SPIN): Likewise.
9826 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9827 (__PTHREAD_SPIN): Likewise.
9828 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9829 (__PTHREAD_SPIN): Likewise.
9830 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9831 (__PTHREAD_SPIN): Likewise.
9832 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9833 (__PTHREAD_SPIN): Likewise.
9834 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9835 (__PTHREAD_SPIN): Likewise.
9836
de21c33c
AZ
9837 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9838 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9839 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9840 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9841 imply folder.
9842 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9843 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9844 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9845 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9846 correct imply path.
9847 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9848 strlen symbol for non multi-arch builds.
9849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9850 missing hidden_def and weak_alias.
9851
862c472e
CD
98522014-04-08 Carlos O'Donell <carlos@redhat.com>
9853
9854 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9855
8667f90e
WN
98562014-04-07 Will Newton <will.newton@linaro.org>
9857
9858 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9859 and contents. [!_LIBC] Remove #ifndef and contents.
9860 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9861 * string/memccpy.c (__memccpy): Use ANSI prototype.
9862 * string/memfrob.c (memfrob): Likewise.
9863 * string/strcoll.c (STRCOLL): Likewise.
9864 * string/strlen.c (strlen): Likewise.
9865 * string/strtok.c (STRTOK): Likewise.
9866 * string/strcat.c: Remove unused #include of memcopy.h.
9867 (strcat): Use ANSI prototype.
9868 * string/strchr.c: Remove unused #include of memcopy.h.
9869 (strchr): Use ANSI prototype.
9870 * string/strcmp.c: Remove unused #include of memcopy.h.
9871 (strcmp): Use ANSI prototype.
9872 * string/strcpy.c: Remove unused #include of memcopy.h.
9873 (strcpy): Use ANSI prototype.
9874
7ffa9423
AZ
98752014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9876
9877 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9878 * config.make.in (config-extra-cppflags): Set it from
9879 libc_extra_cppflags.
9880 * configure.ac (libc_extra_cflags): Make it accumulate over
9881 configure fragments.
9882 (libc_extra_cppflags): New flag.
9883 * configure. Regenerate.
9884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9885 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9886 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9888
8bd70862
AZ
9889 [BZ #16815]
9890 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9891 result for FE_DOWNWARD rounding mode.
9892 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9893 Likewise.
9894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9895
d42f3448
CM
98962014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9897
9898 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9899 in function argument name.
9900
1c21d115
DS
99012014-04-03 David Svoboda <svoboda@cert.org>
9902
9903 [BZ #5666]
9904 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9905 explicitly.
9906
fcccd512
RM
99072014-04-03 Roland McGrath <roland@hack.frob.com>
9908
9909 * elf/dl-unmap-segments.h: New file.
9910 * sysdeps/generic/ldsodefs.h
9911 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9912 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9913 * elf/dl-fptr.c: Likewise.
9914 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9915 * sysdeps/aarch64/tlsdesc.c: Likewise.
9916 * sysdeps/arm/tlsdesc.c: Likewise.
9917 * sysdeps/i386/tlsdesc.c: Likewise.
9918 * sysdeps/tile/dl-runtime.c: Likewise.
9919 * sysdeps/x86_64/tlsdesc.c: Likewise.
9920 * elf/dl-load.h: New file.
9921 * elf/dl-load.c: Include it.
9922 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9923 Macros moved to dl-load.h.
9924 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9925 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9926 Use _dl_unmap_segments in place of __munmap.
9927 Break out segment-mapping loop into ...
9928 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9929
f6488e2b
WN
99302014-04-03 Will Newton <will.newton@linaro.org>
9931
9932 * elf/dl-lookup.c (do_lookup_x): Remove comment
9933 referring to nested function and move variable
9934 declarations down to before first use.
9935
6f05bafe
JM
99362014-04-02 Joseph Myers <joseph@codesourcery.com>
9937
a84e78c8
JM
9938 [BZ #16799]
9939 [BZ #16800]
9940 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9941 with 0 numerator.
9942 * math/s_catanf.c (__catanf): Likewise.
9943 * math/s_catanh.c (__catanh): Likewise.
9944 * math/s_catanhf.c (__catanhf): Likewise.
9945 * math/s_catanhl.c (__catanhl): Likewise.
9946 * math/s_catanl.c (__catanl): Likewise.
9947 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9948 by positive zero when computing -Inf result.
9949 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9950 (catanh_test): Likewise.
9951 * sysdeps/i386/fpu/libm-test-ulps: Update.
9952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9953
6f05bafe
JM
9954 [BZ #16789]
9955 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9956 instead of using underflowing value in computing result.
9957 * math/s_clog10.c (__clog10): Likewise.
9958 * math/s_clog10f.c (__clog10f): Likewise.
9959 * math/s_clog10l.c (__clog10l): Likewise.
9960 * math/s_clogf.c (__clogf): Likewise.
9961 * math/s_clogl.c (__clogl): Likewise.
9962 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9963 (clog10_test): Likewise.
9964 * sysdeps/i386/fpu/libm-test-ulps: Update.
9965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9966
b0abbc21
AM
99672014-04-02 Alan Modra <amodra@gmail.com>
9968
9969 [BZ #16739]
9970 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9971 output when value is near a power of two. Use int64_t for lx and
9972 remove casts. Use decimal rather than hex exponent constants.
9973 Don't use long double multiplication when double will suffice.
9974 * math/libm-test.inc (nextafter_test_data): Add tests.
9975 * NEWS: Add 16739 and 16786 to bug list.
9976
af6b1797
AM
9977 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9978
483818d7
AM
9979 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9980
f6c55796
WN
99812014-04-01 Will Newton <will.newton@linaro.org>
9982
9983 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9984 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9985
13f7fe35
FW
99862014-04-01 Florian Weimer <fweimer@redhat.com>
9987
9988 [BZ #13347]
9989 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9990 * nptl/tst-setuid2.c: New file.
9991 * nptl/Makefile (xtests): Add tst-setuid2.
9992
c859b32e
AM
99932014-04-01 Alan Modra <amodra@gmail.com>
9994
9995 [BZ #16786]
9996 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9997
54fa2475
JM
99982014-03-31 Joseph Myers <joseph@codesourcery.com>
9999
8795b4a4
JM
10000 [BZ #6803]
10001 [BZ #6804]
10002 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10003 set errno as appropriate.
10004 * math/w_scalbf.c (__scalbf): Likewise.
10005 * math/w_scalbl.c (__scalbl): Likewise.
10006 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10007 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10008 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10009 Add more NaN tests.
10010
54fa2475
JM
10011 [BZ #16349]
10012 * math/w_atan2.c: Include <errno.h>.
10013 (__atan2): Set errno for result underflowing to zero.
10014 * math/w_atan2f.c: Include <errno.h>.
10015 (__atan2f): Set errno for result underflowing to zero.
10016 * math/w_atan2l.c: Include <errno.h>.
10017 (__atan2l): Set errno for result underflowing to zero.
10018 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10019 tests.
10020 * math/auto-libm-test-out: Regenerated.
10021
757d9dd5
AZ
100222014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10023
10024 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10025 Encode instruction correctly in little endian.
10026 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10027 Likewise.
10028 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10029 Likewise.
10030 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10031 Likewise.
10032 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10033 Likewise.
10034
d7a68734
JM
100352014-03-31 Joseph Myers <joseph@codesourcery.com>
10036
47c5adeb
JM
10037 [BZ #9894]
10038 * sysdeps/unix/sysv/linux/kernel-features.h
10039 [__sparc__ && !__arch64__ && !__sparc_v9__]
10040 (__ASSUME_SET_ROBUST_LIST): Do not define.
10041 [__sparc__ && !__arch64__ && !__sparc_v9__]
10042 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10043 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10044 Likewise.
10045 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10046 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10047 (__ASSUME_REQUEUE_PI): Likewise.
10048 (__ASSUME_SET_ROBUST_LIST): Likewise.
10049 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10050 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10051 Undefine.
10052 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10054 Likewise.
10055 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10056 Likewise.
10057 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10058 Likewise.
10059 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10060 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10061 Undefine.
10062 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10063 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10064 Likewise.
10065
d7a68734
JM
10066 [BZ #16648]
10067 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10068 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10069 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10070
c760f5c2
WN
100712014-03-31 Will Newton <will.newton@linaro.org>
10072
10073 * benchtests/Makefile (bench): Add ffs and ffsll to list
10074 of tests.
10075 * benchtests/ffs-inputs: New file.
10076 * benchtests/ffsll-inputs: Likewise.
10077
ea6029b1
JM
100782014-03-29 Joseph Myers <joseph@codesourcery.com>
10079
10080 [BZ #16770]
10081 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10082 too large before casting to int.
10083 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10084 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10085 * math/libm-test.inc (scalb_test_data): Add more tests.
10086
cf806aff
SP
100872014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10088
56737508
SP
10089 * benchtests/Makefile (DETAILED_OPT): New make option.
10090 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10091 set.
10092 * benchtests/bench-skeleton.c: Include stdbool.h.
10093 (main): Store and print timings per input.
10094 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10095 member to each argument value.
10096 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10097 (_print_arg_data): Initialize per-input timing to 0.
10098
cb5e4aad
SP
10099 * benchtests/Makefile (timing-type): New binary.
10100 (bench-clean): Also remove bench-timing-type.
10101 (bench): New target for timing-type.
10102 (bench-func): Print output in JSON format.
10103 * benchtests/bench-skeleton.c (main): Print output in JSON
10104 format.
10105 * benchtests/bench-timing-type.c: New file.
10106 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10107 (TIMING_PRINT_STATS): Remove.
10108 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10109 name separately.
10110
cf806aff
SP
10111 * benchtests/bench-modf.c: Remove.
10112 * benchtests/modf-inputs: New inputs file.
10113
289e0779
JM
101142014-03-28 Joseph Myers <joseph@codesourcery.com>
10115
10116 [BZ #16362]
10117 * math/s_clog10.c (M_PI_LOG10E): New macro.
10118 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10119 imaginary parts are 0.
10120 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10121 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10122 imaginary parts are 0.
10123 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10124 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10125 imaginary parts are 0.
10126 * math/libm-test.inc (clog10_test_data): Update expected results
10127 for when real and imaginary parts are 0.
10128
277ae3f1
PP
101292014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10130
10131 * elf/dl-load.c: Finish conversion of __builtin_expect into
10132 __glibc_{un}likely.
10133
03a7091f
JM
101342014-03-27 Joseph Myers <joseph@codesourcery.com>
10135
10136 [BZ #16348]
10137 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10138 1+x for argument with exponent below -67.
10139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10140 Likewise.
10141 * math/auto-libm-test-in: Add more tests of exp.
10142 * math/auto-libm-test-out: Regenerated.
10143
ea7d8b95
SP
101442014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10145
dd3022d7
SP
10146 [BZ #16759]
10147 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10148 (nscd_getnetgrent): Use it.
10149
ea7d8b95
SP
10150 [BZ #16760]
10151 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10152 of stpcpy.
10153
df5b85da
AK
101542014-03-27 Andi Kleen <ak@linux.intel.com>
10155
57f41c40
AS
10156 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10157 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10158 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10159 (lll_robust_unlock): Remove out of line section. Use cfi
10160 intrinsics.
df5b85da 10161 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10162 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10163 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10164 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10165 (lll_robust_unlock): Remove out of line section. Use cfi
10166 intrinsics.
df5b85da
AK
10167 (LLL_STUB_UNWIND_INFO*): Remove.
10168
fbd6b5a4
SP
101692014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10170
10171 [BZ #16758]
10172 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10173 blank values.
10174
1b26b855
PP
101752014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10176
10177 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10178
9be36fb8
JM
101792014-03-26 Joseph Myers <joseph@codesourcery.com>
10180
10181 [BZ #16198]
10182 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10183 fnstenv.
10184 * math/test-fenv-preserve.c: New file.
10185 * math/Makefile (tests): Add test-fenv-preserve.
10186
60a2f3c1
WN
101872014-03-26 Will Newton <will.newton@linaro.org>
10188
10189 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10190
a5e5f1e2
RM
101912014-03-25 Roland McGrath <roland@hack.frob.com>
10192
10193 * scripts/versionlist.awk: Partition the version sets and emit all
10194 GLIBC_* (sorted) before all others (sorted).
10195
00f4012a
JM
101962014-03-25 Joseph Myers <joseph@codesourcery.com>
10197
10198 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10199 GLIBC_2.2.5 version.
10200
7bc5a741
AZ
102012014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10202
10203 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10204 calls.
10205
7578473b
AZ
10206 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10207 previous change.
10208
f3f1dab3
AZ
10209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10210
6da36183
AS
102112014-03-25 Andreas Schwab <schwab@suse.de>
10212
10213 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10214 label to be used after in6ailist is initialized.
10215
f3f1dab3 102162014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10217
7578473b 10218 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10219 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10220
046651c1
JM
102212014-03-25 Joseph Myers <joseph@codesourcery.com>
10222
10223 [BZ #16357]
10224 [BZ #16599]
10225 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10226 min_plus_half.
10227 (fp_formats): Update initializers.
10228 (init_fp_formats): Initialize new field.
10229 (output_for_one_input_case): Allow underflow for results up to
10230 min_plus_half.
10231 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10232 * math/auto-libm-test-in: Don't mark some underflows from asin and
10233 atanh as spurious.
10234 * math/auto-libm-test-out: Regenerated.
10235 * sysdeps/i386/fpu/libm-test-ulps: Update.
10236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10237
003e49ed
AS
102382014-03-25 Andreas Schwab <schwab@suse.de>
10239
10240 * libio/Makefile (tst-ftell-partial-wide-ENV)
10241 (tst-ftell-active-handler-ENV): Define.
10242
de031874
SL
102432014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10244
10245 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10246
55a81e3b
PP
102472014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10248
10249 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10250
f3426898
JM
102512014-03-24 Joseph Myers <joseph@codesourcery.com>
10252
10253 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10254 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10255 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10256
a42faf59
PP
102572014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10258
10259 [BZ #16634]
a42faf59 10260 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10261 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10262 (open_path): Change from boolean 'secure' to complete flag 'mode'
10263 (_dl_map_object): Adjust.
a42faf59
PP
10264 * elf/Makefile (tests): Add tst-dlopen-aout.
10265 * elf/tst-dlopen-aout.c: New test.
10266
50936127
SL
102672014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10268
10269 [BZ #16714]
10270 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10271 (struct stat): Rename member pad0 to __glibc_reserved0.
10272
26011b5c
SL
10273 [BZ #16712]
10274 * sysdeps/s390/s390-32/bits/wordsize.h
10275 (__WORDSIZE32_SIZE_ULONG): New define.
10276 * sysdeps/s390/s390-64/bits/wordsize.h
10277 (__WORDSIZE32_SIZE_ULONG): Likewise.
10278 * sysdeps/generic/stdint.h (SIZE_MAX):
10279 Define as UL if __WORDSIZE32_SIZE_ULONG.
10280
a2d86bf1
SL
10281 [BZ #16713]
10282 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10283 (__glibc_reserved0): New variable.
10284 (sa_flags): Change type to int.
10285
78b6eebc
SL
10286 * posix/Makefile (before-compile): Use += before-compile instead
10287 of a :=.
10288
f1399b5a
SL
10289 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10290 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10291
a071766e
AS
102922014-03-20 Andreas Schwab <schwab@suse.de>
10293
10294 [BZ #16743]
10295 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10296 non-matching result from nscd.
10297
27c673b8
SP
102982014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10299
10300 * scripts/bench.py: Moved to ...
10301 * benchtests/scripts/bench.py: ... here.
10302 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10303
44152e4b
AS
103042014-03-24 Andreas Schwab <schwab@suse.de>
10305
10306 [BZ #16002]
10307 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10308 alloca_account and account alloca use for struct in6ailist.
10309
b376a11a
JM
103102014-03-24 Joseph Myers <joseph@codesourcery.com>
10311
10312 [BZ #16284]
10313 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10314 rounding mode to recompute results that overflow to infinity or
10315 underflow to zero.
10316 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10317 bug 16284.
10318 * math/auto-libm-test-out: Regenerated.
10319 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10320 (ccosh_test): Likewise.
10321 (csin_test_data): Use plus_oflow.
10322 (csin_test): Use ALL_RM_TEST.
10323 (csinh_test_data): Use plus_oflow.
10324 (csinh_test): Use ALL_RM_TEST.
10325 * sysdeps/i386/fpu/libm-test-ulps: Update.
10326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10327
f7be7376
JM
103282014-03-21 Joseph Myers <joseph@codesourcery.com>
10329
1ca2d03e
JM
10330 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10331 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10332 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10333
f7be7376
JM
10334 [BZ #16731]
10335 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10336 when x - 1 is zero.
10337 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10338 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10339 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10340 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10341 argument is 1.
10342 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10343 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10344 zero.
10345 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10346 * sysdeps/i386/fpu/libm-test-ulps: Update.
10347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10348
fdf4534d
SP
103492014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10350
df26ea53
SP
10351 * scripts/bench.pl: Remove file.
10352 * scripts/bench.py: New benchmark script.
10353 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10354 * benchtests/README: Mention python dependency.
10355 * scripts/pylintrc: New file.
10356 * scripts/pylint: New file.
10357
fdf4534d
SP
10358 * bits/mathdef.h: Use #ifdef instead of #if.
10359 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10360 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10361 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10362 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10363 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10364 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10365
6f23d093
AZ
103662014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10367 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10368
10369 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10370 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10371 and strpbrk-ppc64 objects.
10372 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10373 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10374 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10375 multiarch strpbrk for POWER7.
10376 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10377 multiarch strpbrk for PPC64.
10378 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10379 ifunc selector.
10380 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10381 strpbrk for POWER7.
10382
8c92dfff
JM
103832014-03-20 Joseph Myers <joseph@codesourcery.com>
10384
10385 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10386 (atan_test): Likewise.
10387 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10388 (atanh_test): Use ALL_RM_TEST.
10389 (atan2_test_data): Likewise.
10390 (cabs_test): Likewise.
10391 (cacosh_test): Likewise.
10392 (carg_test): Likewise.
10393 (casin_test): Likewise.
10394 (casinh_test): Likewise.
10395 (cbrt_test): Likewise.
10396 (csqrt_test): Likewise.
10397 (erf_test): Likewise.
10398 (erfc_test): Likewise.
10399 (pow10_test): Likewise.
10400 (exp2_test): Likewise.
10401 (hypot_test): Likewise.
10402 (j0_test): Likewise.
10403 (j1_test): Likewise.
10404 (lgamma_test): Likewise.
10405 (gamma_test): Likewise.
10406 (sincos_test): Likewise.
10407 (tanh_test): Likewise.
10408 (y0_test): Likewise.
10409 (y1_test): Likewise.
10410 * sysdeps/i386/fpu/libm-test-ulps: Update.
10411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10412
6eaf95cb
AZ
104132014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10414
a387428c
SP
10415 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10416 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10417 and strcspn-ppc64 objects.
10418 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10419 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10420 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10421 multiarch strcspn for POWER7.
10422 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10423 multiarch strcspn for PPC64.
10424 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10425 ifunc selector.
10426 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10427 strcspn for POWER7.
10428
ae3a5dff
JM
104292014-03-20 Joseph Myers <joseph@codesourcery.com>
10430
10431 * math/gen-libm-test.pl (generate_testfile): Expect only function
10432 name as argument to AUTO_TESTS_* and pass results for all rounding
10433 modes to parse_args.
10434 (parse_auto_input): Separate inputs of automatic tests from
10435 outputs before storing in %auto_tests.
10436 * math/libm-test.inc (acos_test_data): Update call to
10437 AUTO_TESTS_f_f.
10438 (acos_test): Use ALL_RM_TEST.
10439 (acos_tonearest_test_data): Remove.
10440 (acos_test_tonearest): Likewise.
10441 (acos_towardzero_test_data): Likewise.
10442 (acos_test_towardzero): Likewise.
10443 (acos_downward_test_data): Likewise.
10444 (acos_test_downward): Likewise.
10445 (acos_upward_test_data): Likewise.
10446 (acos_test_upward): Likewise.
10447 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10448 (asin_test_data): Likewise.
10449 (asin_test): Use ALL_RM_TEST.
10450 (asin_tonearest_test_data): Remove.
10451 (asin_test_tonearest): Likewise.
10452 (asin_towardzero_test_data): Likewise.
10453 (asin_test_towardzero): Likewise.
10454 (asin_downward_test_data): Likewise.
10455 (asin_test_downward): Likewise.
10456 (asin_upward_test_data): Likewise.
10457 (asin_test_upward): Likewise.
10458 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10459 (atan_test_data): Likewise.
10460 (atanh_test_data): Likewise.
10461 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10462 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10463 (carg_test_data): Likewise.
10464 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10465 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10466 (ccosh_test_data): Likewise.
10467 (cexp_test_data): Likewise.
10468 (clog_test_data): Likewise.
10469 (clog10_test_data): Likewise.
10470 (cos_test_data): Update call to AUTO_TESTS_f_f.
10471 (cos_test): Use ALL_RM_TEST.
10472 (cos_tonearest_test_data): Remove.
10473 (cos_test_tonearest): Likewise.
10474 (cos_towardzero_test_data): Likewise.
10475 (cos_test_towardzero): Likewise.
10476 (cos_downward_test_data): Likewise.
10477 (cos_test_downward): Likewise.
10478 (cos_upward_test_data): Likewise.
10479 (cos_test_upward): Likewise.
10480 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10481 (cosh_test): Use ALL_RM_TEST.
10482 (cosh_tonearest_test_data): Remove.
10483 (cosh_test_tonearest): Likewise.
10484 (cosh_towardzero_test_data): Likewise.
10485 (cosh_test_towardzero): Likewise.
10486 (cosh_downward_test_data): Likewise.
10487 (cosh_test_downward): Likewise.
10488 (cosh_upward_test_data): Likewise.
10489 (cosh_test_upward): Likewise.
10490 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10491 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10492 (ctan_test_data): Likewise.
10493 (ctan_test): Use ALL_RM_TEST.
10494 (ctan_tonearest_test_data): Remove.
10495 (ctan_test_tonearest): Likewise.
10496 (ctan_towardzero_test_data): Likewise.
10497 (ctan_test_towardzero): Likewise.
10498 (ctan_downward_test_data): Likewise.
10499 (ctan_test_downward): Likewise.
10500 (ctan_upward_test_data): Likewise.
10501 (ctan_test_upward): Likewise.
10502 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10503 (ctanh_test): Use ALL_RM_TEST.
10504 (ctanh_tonearest_test_data): Remove.
10505 (ctanh_test_tonearest): Likewise.
10506 (ctanh_towardzero_test_data): Likewise.
10507 (ctanh_test_towardzero): Likewise.
10508 (ctanh_downward_test_data): Likewise.
10509 (ctanh_test_downward): Likewise.
10510 (ctanh_upward_test_data): Likewise.
10511 (ctanh_test_upward): Likewise.
10512 (erf_test_data): Update call to AUTO_TESTS_f_f.
10513 (erfc_test_data): Likewise.
10514 (exp_test_data): Likewise.
10515 (exp_test): Use ALL_RM_TEST.
10516 (exp_tonearest_test_data): Remove.
10517 (exp_test_tonearest): Likewise.
10518 (exp_towardzero_test_data): Likewise.
10519 (exp_test_towardzero): Likewise.
10520 (exp_downward_test_data): Likewise.
10521 (exp_test_downward): Likewise.
10522 (exp_upward_test_data): Likewise.
10523 (exp_test_upward): Likewise.
10524 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10525 (exp10_test): Use ALL_RM_TEST.
10526 (exp10_tonearest_test_data): Remove.
10527 (exp10_test_tonearest): Likewise.
10528 (exp10_towardzero_test_data): Likewise.
10529 (exp10_test_towardzero): Likewise.
10530 (exp10_downward_test_data): Likewise.
10531 (exp10_test_downward): Likewise.
10532 (exp10_upward_test_data): Likewise.
10533 (exp10_test_upward): Likewise.
10534 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10535 (expm1_test_data): Likewise.
10536 (expm1_test): Use ALL_RM_TEST.
10537 (expm1_tonearest_test_data): Remove.
10538 (expm1_test_tonearest): Likewise.
10539 (expm1_towardzero_test_data): Likewise.
10540 (expm1_test_towardzero): Likewise.
10541 (expm1_downward_test_data): Likewise.
10542 (expm1_test_downward): Likewise.
10543 (expm1_upward_test_data): Likewise.
10544 (expm1_test_upward): Likewise.
10545 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10546 (fma_test): Use ALL_RM_TEST.
10547 (fma_towardzero_test_data): Remove.
10548 (fma_test_towardzero): Likewise.
10549 (fma_downward_test_data): Likewise.
10550 (fma_test_downward): Likewise.
10551 (fma_upward_test_data): Likewise.
10552 (fma_test_upward): Likewise.
10553 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10554 (j0_test_data): Update call to AUTO_TESTS_f_f.
10555 (j1_test_data): Likewise.
10556 (jn_test_data): Update call to AUTO_TESTS_if_f.
10557 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10558 (log_test_data): Update call to AUTO_TESTS_f_f.
10559 (log10_test_data): Likewise.
10560 (log1p_test_data): Likewise.
10561 (log2_test_data): Likewise.
10562 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10563 (pow_tonearest_test_data): Likewise.
10564 (sin_test_data): Update call to AUTO_TESTS_f_f.
10565 (sin_test): Use ALL_RM_TEST.
10566 (sin_tonearest_test_data): Remove.
10567 (sin_test_tonearest): Likewise.
10568 (sin_towardzero_test_data): Likewise.
10569 (sin_test_towardzero): Likewise.
10570 (sin_downward_test_data): Likewise.
10571 (sin_test_downward): Likewise.
10572 (sin_upward_test_data): Likewise.
10573 (sin_test_upward): Likewise.
10574 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10575 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10576 (sinh_test): Use ALL_RM_TEST.
10577 (sinh_tonearest_test_data): Remove.
10578 (sinh_test_tonearest): Likewise.
10579 (sinh_towardzero_test_data): Likewise.
10580 (sinh_test_towardzero): Likewise.
10581 (sinh_downward_test_data): Likewise.
10582 (sinh_test_downward): Likewise.
10583 (sinh_upward_test_data): Likewise.
10584 (sinh_test_upward): Likewise.
10585 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10586 (sqrt_test): Use ALL_RM_TEST.
10587 (sqrt_tonearest_test_data): Remove.
10588 (sqrt_test_tonearest): Likewise.
10589 (sqrt_towardzero_test_data): Likewise.
10590 (sqrt_test_towardzero): Likewise.
10591 (sqrt_downward_test_data): Likewise.
10592 (sqrt_test_downward): Likewise.
10593 (sqrt_upward_test_data): Likewise.
10594 (sqrt_test_upward): Likewise.
10595 (tan_test_data): Update call to AUTO_TESTS_f_f.
10596 (tan_test): Use ALL_RM_TEST.
10597 (tan_tonearest_test_data): Remove.
10598 (tan_test_tonearest): Likewise.
10599 (tan_towardzero_test_data): Likewise.
10600 (tan_test_towardzero): Likewise.
10601 (tan_downward_test_data): Likewise.
10602 (tan_test_downward): Likewise.
10603 (tan_upward_test_data): Likewise.
10604 (tan_test_upward): Likewise.
10605 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10606 (tgamma_test_data): Likewise.
10607 (y0_test_data): Likewise.
10608 (y1_test_data): Likewise.
10609 (yn_test_data): Update call to AUTO_TESTS_if_f.
10610 (main): Do not call removed functions.
10611
d71aeee8
JM
106122014-03-19 Joseph Myers <joseph@codesourcery.com>
10613
10614 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10615 (ldexp_test_data): Remove.
10616 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10617 scalbn_test_data.
10618 (scalb_test): Use ALL_RM_TEST.
10619
baaf1ded
AS
106202014-03-19 Andreas Schwab <schwab@suse.de>
10621
10622 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10623
b1115e91
JM
106242014-03-19 Joseph Myers <joseph@codesourcery.com>
10625
10626 [BZ #16649]
10627 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10628 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10629 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10630 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10631 (__ASSUME_PREADV): Undefine.
10632 (__ASSUME_PWRITEV): Likewise.
10633
0283ecca
RM
106342014-03-18 Roland McGrath <roland@hack.frob.com>
10635
7d375303
RM
10636 * bits/mman-linux.h: Add comment about non-Linux use.
10637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10638 bits/mman-linux.h resting place.
10639
0283ecca
RM
10640 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10641 * bits/mman-linux.h: ... here.
10642
aebe1003
AZ
106432014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10644
10645 * conform/conformtest.pl: Add standard definition when calling C
10646 preprocessor on data files.
10647 (checknamespace): Remove unused variable.
10648
b29b6bb8
JM
106492014-03-18 Joseph Myers <joseph@codesourcery.com>
10650
10651 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10652 minus_oflow, plus_uflow and minus_uflow in expected results.
10653 * math/libm-test.inc (scalbn_test_data): Add more tests of
10654 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10655 minus_uflow.
10656 (scalbn_test): Use ALL_RM_TEST.
10657 (scalbln_test_data): Add more tests of negative arguments. Use
10658 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10659 (scalbln_test): Use ALL_RM_TEST.
10660
c8f8fa15
RM
106612014-03-18 Roland McGrath <roland@hack.frob.com>
10662
10663 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10664
fede7a5f
WN
106652014-03-18 Will Newton <will.newton@linaro.org>
10666
10667 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10668 inaccurate comment.
10669
80cf0a58
JM
106702014-03-18 Joseph Myers <joseph@codesourcery.com>
10671
10672 * Makerules [!subdir] (check-abi): Exit with error status if a
10673 test failed.
10674
b3620862
JM
106752014-03-17 Joseph Myers <joseph@codesourcery.com>
10676
10677 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10678 for rint. Include results for all rounding modes.
10679 (nearbyint_test): Use ALL_RM_TEST.
10680 (rint_test_data): Include all tests used for nearbyint.
10681
788bba36
WN
106822014-03-17 Will Newton <will.newton@linaro.org>
10683
04ec140a
WN
10684 * nptl/sysdeps/pthread/pthread.h: Revert previous
10685 change.
10686
7579d8d5
WN
10687 * sysdeps/generic/ldsodefs.h: Revert previous
10688 change.
10689
c15cf13a
WN
10690 * libio/genops.c: Revert previous change.
10691 * libio/libioP.h: Likewise.
10692 * stdio-common/vfprintf.c: Likewise.
10693
d0ac1324
WN
10694 * sysdeps/generic/math_private.h: Revert previous
10695 change.
10696
9290130a
WN
10697 * sysdeps/generic/math_private.h: Check whether
10698 HAVE_RM_CTX is defined with #ifdef rather
10699 than #if.
10700
afb466fc
WN
10701 * argp/argp-fmtstream.h: Check whether
10702 __STRICT_ANSI__ is defined with #ifdef rather
10703 than #if.
10704 * argp/argp.h: Likewise.
10705
f7efd7c3
WN
10706 * libio/genops.c: Check whether
10707 _IO_JUMPS_OFFSET is defined with #ifdef rather
10708 than #if.
10709 * libio/libioP.h: Likewise.
10710 * stdio-common/vfprintf.c: Likewise.
10711
53f1bed3
WN
10712 * sysdeps/generic/ldsodefs.h: Check whether
10713 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10714 than #if.
10715
788bba36
WN
10716 * nptl/sysdeps/pthread/pthread.h: Check
10717 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10718 its value.
10719
fcd89ebe
SP
107202014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10721
ae42bbc5
SP
10722 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10723 setting O_APPEND.
10724 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10725 test case.
10726
ea33158c
SP
10727 [BZ #16680]
10728 * libio/fileops.c (_IO_file_open): Seek to end of file but
10729 don't cache the offset.
10730 (get_file_offset): Remove function.
10731 (do_ftell): Use cached offset when available.
10732 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10733 don't cache the offset.
10734 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10735 case.
10736 (do_one_test): Call it.
10737 (do_ftell_test): Fix up expected old offset for a+ mode.
10738 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10739 available.
10740
b1dbb426
SP
10741 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10742 up test status with function return status.
10743 (do_write_test): Likewise.
10744 (do_append_test): Likewise.
10745
fcd89ebe
SP
10746 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10747 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10748 Remove.
10749
9962a2d3
JM
107502014-03-17 Joseph Myers <joseph@codesourcery.com>
10751
10752 * math/gen-libm-test.pl (parse_args): Handle results specified for
10753 each rounding mode separately.
10754 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10755 tests and results from lrint_tonearest_test_data,
10756 lrint_towardzero_test_data, lrint_downward_test_data and
10757 lrint_upward_test_data.
10758 (lrint_test): Use ALL_RM_TEST.
10759 (lrint_tonearest_test_data): Remove.
10760 (lrint_test_tonearest): Likewise.
10761 (lrint_towardzero_test_data): Likewise.
10762 (lrint_test_towardzero): Likewise.
10763 (lrint_downward_test_data): Likewise.
10764 (lrint_test_downward): Likewise.
10765 (lrint_upward_test_data): Likewise.
10766 (lrint_test_upward): Likewise.
10767 (llrint_test_data): Merge in per-rounding-mode tests and results
10768 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10769 llrint_downward_test_data and llrint_upward_test_data.
10770 (llrint_test): Use ALL_RM_TEST.
10771 (llrint_tonearest_test_data): Remove.
10772 (llrint_test_tonearest): Likewise.
10773 (llrint_towardzero_test_data): Likewise.
10774 (llrint_test_towardzero): Likewise.
10775 (llrint_downward_test_data): Likewise.
10776 (llrint_test_downward): Likewise.
10777 (llrint_upward_test_data): Likewise.
10778 (llrint_test_upward): Likewise.
10779 (rint_test_data): Merge in per-rounding-mode tests and results
10780 from rint_tonearest_test_data, rint_towardzero_test_data,
10781 rint_downward_test_data and rint_upward_test_data. Add
10782 per-rounding-mode results for tests not in those arrays.
10783 (rint_test): Use ALL_RM_TEST.
10784 (rint_tonearest_test_data): Remove.
10785 (rint_test_tonearest): Likewise.
10786 (rint_towardzero_test_data): Likewise.
10787 (rint_test_towardzero): Likewise.
10788 (rint_downward_test_data): Likewise.
10789 (rint_test_downward): Likewise.
10790 (rint_upward_test_data): Likewise.
10791 (rint_test_upward): Likewise.
10792 (main): Don't call removed functions.
10793
5006148e
RM
107942014-03-14 Roland McGrath <roland@hack.frob.com>
10795
10796 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10797 "Compiled on ..." crapola. It is anti-useful.
10798
d6fe5e58
JM
107992014-03-14 Joseph Myers <joseph@codesourcery.com>
10800
10801 * scripts/evaluate-test.sh: Handle fourth argument to determine
10802 whether test run should stop on failure.
10803 * Makeconfig (stop-on-test-failure): New variable.
10804 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10805 $(stop-on-test-failure).
10806 * Makefile (tests): Give a summary of results from testing and
10807 exit with failure status if they include an ERROR or FAIL.
10808 (xtests): Likewise.
10809 * manual/install.texi (Configuring and compiling): Mention
10810 stop-on-test-failure=y.
10811 * INSTALL: Regenerated.
10812
498a2233
RM
108132014-03-14 Roland McGrath <roland@hack.frob.com>
10814
22dbc19d
RM
10815 * scripts/versionlist.awk: New file.
10816 * Makerules [$(build-shared) = yes]
10817 (postclean-generated): Add Versions.def, not Versions.def.v and
10818 Versions.def.v.i.
10819 ($(common-objpfx)Versions.def.v.i): Target removed.
10820 ($(common-objpfx)Versions.def): New target.
10821 ($(common-objpfx)Versions.all): Depend on that rather that
10822 $(common-objpfx)Versions.def.v.
10823 * Versions.def: File removed.
10824
498a2233
RM
10825 * Makeconfig (+gccwarn): Add -Wundef.
10826 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10827 a dl-sysdep.h breaking its contract.
10828 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10829 * include/stackinfo.h: New file.
10830 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10831 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10832 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10833 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10834 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10835 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10836 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10837 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10838 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10839 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10840 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10841 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10842 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10843 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10844 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10845
c7de5025
AZ
108462014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10847
10848 [BZ #16707]
10849 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10850 implementation.
10851 * math/libm-test.inc (round_test_data): Add more tests.
10852
98fb27a3
AZ
10853 [BZ #16706]
10854 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10855 implementation.
10856 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10857
374f7f61
AZ
10858 [BZ #16701]
10859 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10860 implementation.
10861 * math/libm-test.inc (ceil_test_data): Add more tests.
10862
4655c291
AZ
10863 * math/libm-test.inc (trunc_test_data): Add more tests related to
10864 BZ#16414.
10865
d7329d4b
RM
108662014-03-14 Roland McGrath <roland@hack.frob.com>
10867
10868 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10869 with #if rather than #ifdef.
10870 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10871
aa4de9ce
L
108722014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10873
10874 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10875 first. Disable AVX-512 GCC support if assembler doesn't support
10876 it.
10877 * sysdeps/x86_64/configure: Regenerated.
10878
2e03fae7
CD
108792014-03-13 Carlos O'Donell <carlos@redhat.com>
10880
10881 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10882 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10883 (__old_pthread_attr_setstack): Likewise.
10884 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10885 [!_STACK_GROWS_DOWN]: Likewise.
10886
43ca83ec
MF
108872014-03-13 Mike Frysinger <vapier@gentoo.org>
10888
10889 * config.make.in (have-bash2): Delete.
10890 * configure.ac (libc_cv_have_bash2): Delete.
10891 * configure: Regenerate.
10892 * elf/Makefile (common-ldd-rewrite): Rename to ...
10893 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10894 (sh-ldd-rewrite): Delete.
10895 (bash-ldd-rewrite): Delete.
10896 (have-bash2): Delete checks.
57f41c40
AS
10897 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10898 ldd-rewrite.
c66e48b4
MF
10899
10900 * config.make.in (have-ksh): Delete.
10901 (KSH): Delete.
10902 * configure.ac (libc_cv_have_ksh): Delete.
10903 * configure: Regenerate.
10904
b93834ef
MF
10905 * elf/Makefile: Delete $(have-ksh) check.
10906 ($(objpfx)sotruss): Change KSH to BASH.
10907 * elf/sotruss.ksh: Rename to ...
10908 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10909 function style to match POSIX. Drop ksh vim mode setting.
10910
f3a4632a
MF
10911 * manual/time.texi (Specifying the Time Zone with TZ): Change
10912 Tuesday to Thursday.
10913
5896c8bd
MF
10914 * debug/tst-longjmp_chk2.c: Update header comment.
10915 (stackoverflow_handler): Add comment. Call assert on pass value.
10916
2d63a517
IZ
109172014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10918
7e54fd04 10919 [BZ #16194]
2d63a517
IZ
10920 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10921 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10922 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10923 (La_x86_64_vector): Add zmm.
10924 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10925 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10926 ($(objpfx)tst-audit10): New target.
10927 ($(objpfx)tst-audit10.out): Likewise.
10928 (tst-audit10-ENV): New.
10929 (AVX512-CFLAGS): Likewise.
10930 (CFLAGS-tst-audit10.c): Likewise.
10931 (CFLAGS-tst-auditmod10a.c): Likewise.
10932 (CFLAGS-tst-auditmod10b.c): Likewise.
10933 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10934 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10935 * sysdeps/x86_64/configure: Regenerated.
10936 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10937 AVX-512 zmm register support.
10938 (_dl_x86_64_save_sse): Likewise.
10939 (_dl_x86_64_restore_sse): Likewise.
10940 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10941 size vector registers.
10942 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10943 (ZMM_SIZE): Likewise.
10944 * sysdeps/x86_64/tst-audit10.c: New file.
10945 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10946 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10947
44c4e5d5
RM
109482014-03-13 Roland McGrath <roland@hack.frob.com>
10949
10950 * configure.ac (HAVE_EHDR_START): New check.
10951 * configure: Regenerated.
10952 * config.h.in (HAVE_EHDR_START): New #undef.
10953 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10954 assuming the lowest-addressed segment maps the start of the file.
10955
acd6e389
JM
109562014-03-13 Joseph Myers <joseph@codesourcery.com>
10957
10958 * INSTALL: Regenerated.
10959
6f918f36
WN
109602014-03-13 Will Newton <will.newton@linaro.org>
10961
10962 * manual/setjmp.texi (System V contexts): Improve
10963 clarity and grammar of documentation.
10964
798212a0
PP
109652014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10966
10967 [BZ #16381]
798212a0 10968 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10969 (tests-pie): Add tst-pie2.
798212a0
PP
10970 * elf/tst-pie2.c: New file.
10971 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10972 for ET_EXEC.
10973 * elf/rtld.c (map_doit): Load executable as lt_executable.
10974 (dl_main): Likewise.
10975
abe6d90c
JM
109762014-03-12 Joseph Myers <joseph@codesourcery.com>
10977
10978 [BZ #16642]
10979 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10980 (__ASSUME_PSELECT): Undefine.
10981
dd3946c6
AZ
109822014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10983
10984 [BZ #16689]
10985 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10986 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10987 static build.
10988 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10989 selector for static builds.
10990
c44496df
SP
109912014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10992
10993 [BZ #16695]
10994 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10995 key in the buffer.
10996
27c7220a
AZ
109972014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10998
57f41c40
AS
10999 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11000 IFUNC selector for static builds.
27c7220a 11001
600fa361
JM
110022014-03-11 Joseph Myers <joseph@codesourcery.com>
11003
76c96cf7
JM
11004 * sysdeps/mips/math_private.h [__mips_hard_float]
11005 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11006 libc_feresetround_mips_ctx.
11007 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11008 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11009 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11010
600fa361
JM
11011 [BZ #16677]
11012 * math/s_nextafter.c (__nextafter): Do not return value from
11013 overflowing computation.
11014 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11015 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11016 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11017 Likewise.
11018 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11019 Likewise.
11020 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11021 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11022
d7706c32
RM
110232014-03-11 Roland McGrath <roland@hack.frob.com>
11024
11025 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11026 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11027 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11028 the new mov targetting sp.
11029
4facea47
AZ
110302014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11031
11032 [BZ #16683]
11033 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11034 Define it for static builds as well.
11035 (NO_BZERO_IMPL): Likewise.
11036
e65caf1f
VR
110372014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11038
11039 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11040 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11041 multiarch strspn for PPC64.
11042 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11043 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11045 (__libc_ifunc_impl_list): Likewise.
11046 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11047 multiarch optimizations
11048 * string/strspn.c (strspn): Using macro to redefine symbol name.
11049
ba9cc071
AZ
110502014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11051 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11052
11053 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11054 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11055 multiarch strncat for PPC64.
11056 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11057 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11058 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11059 (__libc_ifunc_impl_list): Likewise.
11060 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11061 multiarch optimizations
11062
8b4ff974
SP
110632014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11064
11065 [BZ #16639]
11066 * nscd/nscd.service: Make service type forking.
11067
54b46a4b
AZ
110682014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11069
11070 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11071 sign in non default rounding modes.
11072 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11073
e9996ef7
JM
110742014-03-08 Joseph Myers <joseph@codesourcery.com>
11075
11076 * math/libm-test.inc (ALL_RM_TEST): New macro.
11077 (ceil_test): Use ALL_RM_TEST.
11078 (cimag_test): Likewise.
11079 (conj_test): Likewise.
11080 (copysign_test): Likewise.
11081 (cproj_test): Likewise.
11082 (creal_test): Likewise.
11083 (fabs_test): Likewise.
11084 (floor_test): Likewise.
11085 (fmax_test): Likewise.
11086 (fmin_test): Likewise.
11087 (fmod_test): Likewise.
11088 (fpclassify_test): Likewise.
11089 (frexp_test): Likewise.
11090 (ilogb_test): Likewise.
11091 (isfinite_test): Likewise.
11092 (finite_test): Likewise.
11093 (isgreater_test): Likewise.
11094 (isgreaterequal_test): Likewise.
11095 (isinf_test): Likewise.
11096 (isless_test): Likewise.
11097 (islessequal_test): Likewise.
11098 (islessgreater_test): Likewise.
11099 (isnan_test): Likewise.
11100 (isnormal_test): Likewise.
11101 (issignaling_test): Likewise.
11102 (isunordered_test): Likewise.
11103 (logb_test): Likewise.
11104 (logb_downward_test_data): Remove.
11105 (logb_test_downward): Likewise.
11106 (lround_test): Use ALL_RM_TEST.
11107 (llround_test): Likewise.
11108 (modf_test): Likewise.
11109 (nexttoward_test): Likewise.
11110 (remainder_test): Likewise.
11111 (drem_test): Likewise.
11112 (remainder_tonearest_test_data): Likewise.
11113 (remainder_test_tonearest): Likewise.
11114 (drem_test_tonearest): Likewise.
11115 (remainder_towardzero_test_data): Likewise.
11116 (remainder_test_towardzero): Likewise.
11117 (drem_test_towardzero): Likewise.
11118 (remainder_downward_test_data): Likewise.
11119 (remainder_test_downward): Likewise.
11120 (drem_test_downward): Likewise.
11121 (remainder_upward_test_data): Likewise.
11122 (remainder_test_upward): Likewise.
11123 (drem_test_upward): Likewise.
11124 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11125 (round_test): Use ALL_RM_TEST.
11126 (signbit_test): Likewise.
11127 (trunc_test): Likewise.
11128 (significand_test): Likewise.
11129 (main): Don't call removed functions.
11130
bc61d27c
JM
111312014-03-07 Joseph Myers <joseph@codesourcery.com>
11132
5c780849
JM
11133 [BZ #16674]
11134 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11135 || __USE_XOPEN2K8].
11136 (ILL_ILLOPN): Likewise.
11137 (ILL_ILLADR): Likewise.
11138 (ILL_ILLTRP): Likewise.
11139 (ILL_PRVOPC): Likewise.
11140 (ILL_PRVREG): Likewise.
11141 (ILL_COPROC): Likewise.
11142 (ILL_BADSTK): Likewise.
11143 (FPE_INTDIV): Likewise.
11144 (FPE_INTOVF): Likewise.
11145 (FPE_FLTDIV): Likewise.
11146 (FPE_FLTOVF): Likewise.
11147 (FPE_FLTUND): Likewise.
11148 (FPE_FLTRES): Likewise.
11149 (FPE_FLTINV): Likewise.
11150 (FPE_FLTSUB): Likewise.
11151 (SEGV_MAPERR): Likewise.
11152 (SEGV_ACCERR): Likewise.
11153 (BUS_ADRALN): Likewise.
11154 (BUS_ADRERR): Likewise.
11155 (BUS_OBJERR): Likewise.
11156 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11157 (TRAP_TRACE): Likewise.
11158 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11159 __USE_XOPEN2K8].
11160 (CLD_KILLED): Likewise.
11161 (CLD_DUMPED): Likewise.
11162 (CLD_TRAPPED): Likewise.
11163 (CLD_STOPPED): Likewise.
11164 (CLD_CONTINUED): Likewise.
11165 (POLL_IN): Likewise.
11166 (POLL_OUT): Likewise.
11167 (POLL_MSG): Likewise.
11168 (POLL_ERR): Likewise.
11169 (POLL_PRI): Likewise.
11170 (POLL_HUP): Likewise.
11171 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11172 Likewise.
11173 (ILL_ILLOPN): Likewise.
11174 (ILL_ILLADR): Likewise.
11175 (ILL_ILLTRP): Likewise.
11176 (ILL_PRVOPC): Likewise.
11177 (ILL_PRVREG): Likewise.
11178 (ILL_COPROC): Likewise.
11179 (ILL_BADSTK): Likewise.
11180 (FPE_INTDIV): Likewise.
11181 (FPE_INTOVF): Likewise.
11182 (FPE_FLTDIV): Likewise.
11183 (FPE_FLTOVF): Likewise.
11184 (FPE_FLTUND): Likewise.
11185 (FPE_FLTRES): Likewise.
11186 (FPE_FLTINV): Likewise.
11187 (FPE_FLTSUB): Likewise.
11188 (SEGV_MAPERR): Likewise.
11189 (SEGV_ACCERR): Likewise.
11190 (BUS_ADRALN): Likewise.
11191 (BUS_ADRERR): Likewise.
11192 (BUS_OBJERR): Likewise.
11193 (BUS_MCEERR_AR): Likewise.
11194 (BUS_MCEERR_AO): Likewise.
11195 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11196 (TRAP_TRACE): Likewise.
11197 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11198 __USE_XOPEN2K8].
11199 (CLD_KILLED): Likewise.
11200 (CLD_DUMPED): Likewise.
11201 (CLD_TRAPPED): Likewise.
11202 (CLD_STOPPED): Likewise.
11203 (CLD_CONTINUED): Likewise.
11204 (POLL_IN): Likewise.
11205 (POLL_OUT): Likewise.
11206 (POLL_MSG): Likewise.
11207 (POLL_ERR): Likewise.
11208 (POLL_PRI): Likewise.
11209 (POLL_HUP): Likewise.
11210 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11211 (ILL_ILLOPN): Likewise.
11212 (ILL_ILLADR): Likewise.
11213 (ILL_ILLTRP): Likewise.
11214 (ILL_PRVOPC): Likewise.
11215 (ILL_PRVREG): Likewise.
11216 (ILL_COPROC): Likewise.
11217 (ILL_BADSTK): Likewise.
11218 (FPE_INTDIV): Likewise.
11219 (FPE_INTOVF): Likewise.
11220 (FPE_FLTDIV): Likewise.
11221 (FPE_FLTOVF): Likewise.
11222 (FPE_FLTUND): Likewise.
11223 (FPE_FLTRES): Likewise.
11224 (FPE_FLTINV): Likewise.
11225 (FPE_FLTSUB): Likewise.
11226 (SEGV_MAPERR): Likewise.
11227 (SEGV_ACCERR): Likewise.
11228 (BUS_ADRALN): Likewise.
11229 (BUS_ADRERR): Likewise.
11230 (BUS_OBJERR): Likewise.
11231 (BUS_MCEERR_AR): Likewise.
11232 (BUS_MCEERR_AO): Likewise.
11233 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11234 (TRAP_TRACE): Likewise.
11235 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11236 __USE_XOPEN2K8].
11237 (CLD_KILLED): Likewise.
11238 (CLD_DUMPED): Likewise.
11239 (CLD_TRAPPED): Likewise.
11240 (CLD_STOPPED): Likewise.
11241 (CLD_CONTINUED): Likewise.
11242 (POLL_IN): Likewise.
11243 (POLL_OUT): Likewise.
11244 (POLL_MSG): Likewise.
11245 (POLL_ERR): Likewise.
11246 (POLL_PRI): Likewise.
11247 (POLL_HUP): Likewise.
11248 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11249 Likewise.
11250 (ILL_ILLOPN): Likewise.
11251 (ILL_ILLADR): Likewise.
11252 (ILL_ILLTRP): Likewise.
11253 (ILL_PRVOPC): Likewise.
11254 (ILL_PRVREG): Likewise.
11255 (ILL_COPROC): Likewise.
11256 (ILL_BADSTK): Likewise.
11257 (ILL_BADIADDR): Likewise.
11258 (ILL_BREAK): Likewise.
11259 (FPE_INTDIV): Likewise.
11260 (FPE_INTOVF): Likewise.
11261 (FPE_FLTDIV): Likewise.
11262 (FPE_FLTOVF): Likewise.
11263 (FPE_FLTUND): Likewise.
11264 (FPE_FLTRES): Likewise.
11265 (FPE_FLTINV): Likewise.
11266 (FPE_FLTSUB): Likewise.
11267 (FPE_DECOVF): Likewise.
11268 (FPE_DECDIV): Likewise.
11269 (FPE_DECERR): Likewise.
11270 (FPE_INVASC): Likewise.
11271 (FPE_INVDEC): Likewise.
11272 (SEGV_MAPERR): Likewise.
11273 (SEGV_ACCERR): Likewise.
11274 (SEGV_PSTKOVF): Likewise.
11275 (BUS_ADRALN): Likewise.
11276 (BUS_ADRERR): Likewise.
11277 (BUS_OBJERR): Likewise.
11278 (BUS_MCEERR_AR): Likewise.
11279 (BUS_MCEERR_AO): Likewise.
11280 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11281 (TRAP_TRACE): Likewise.
11282 (TRAP_BRANCH): Likewise.
11283 (TRAP_HWBKPT): Likewise.
11284 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11285 __USE_XOPEN2K8].
11286 (CLD_KILLED): Likewise.
11287 (CLD_DUMPED): Likewise.
11288 (CLD_TRAPPED): Likewise.
11289 (CLD_STOPPED): Likewise.
11290 (CLD_CONTINUED): Likewise.
11291 (POLL_IN): Likewise.
11292 (POLL_OUT): Likewise.
11293 (POLL_MSG): Likewise.
11294 (POLL_ERR): Likewise.
11295 (POLL_PRI): Likewise.
11296 (POLL_HUP): Likewise.
11297 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11298 (ILL_ILLOPN): Likewise.
11299 (ILL_ILLADR): Likewise.
11300 (ILL_ILLTRP): Likewise.
11301 (ILL_PRVOPC): Likewise.
11302 (ILL_PRVREG): Likewise.
11303 (ILL_COPROC): Likewise.
11304 (ILL_BADSTK): Likewise.
11305 (FPE_INTDIV): Likewise.
11306 (FPE_INTOVF): Likewise.
11307 (FPE_FLTDIV): Likewise.
11308 (FPE_FLTOVF): Likewise.
11309 (FPE_FLTUND): Likewise.
11310 (FPE_FLTRES): Likewise.
11311 (FPE_FLTINV): Likewise.
11312 (FPE_FLTSUB): Likewise.
11313 (SEGV_MAPERR): Likewise.
11314 (SEGV_ACCERR): Likewise.
11315 (BUS_ADRALN): Likewise.
11316 (BUS_ADRERR): Likewise.
11317 (BUS_OBJERR): Likewise.
11318 (BUS_MCEERR_AR): Likewise.
11319 (BUS_MCEERR_AO): Likewise.
11320 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11321 (TRAP_TRACE): Likewise.
11322 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11323 __USE_XOPEN2K8].
11324 (CLD_KILLED): Likewise.
11325 (CLD_DUMPED): Likewise.
11326 (CLD_TRAPPED): Likewise.
11327 (CLD_STOPPED): Likewise.
11328 (CLD_CONTINUED): Likewise.
11329 (POLL_IN): Likewise.
11330 (POLL_OUT): Likewise.
11331 (POLL_MSG): Likewise.
11332 (POLL_ERR): Likewise.
11333 (POLL_PRI): Likewise.
11334 (POLL_HUP): Likewise.
11335 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11336 (ILL_ILLOPN): Likewise.
11337 (ILL_ILLADR): Likewise.
11338 (ILL_ILLTRP): Likewise.
11339 (ILL_PRVOPC): Likewise.
11340 (ILL_PRVREG): Likewise.
11341 (ILL_COPROC): Likewise.
11342 (ILL_BADSTK): Likewise.
11343 (FPE_INTDIV): Likewise.
11344 (FPE_INTOVF): Likewise.
11345 (FPE_FLTDIV): Likewise.
11346 (FPE_FLTOVF): Likewise.
11347 (FPE_FLTUND): Likewise.
11348 (FPE_FLTRES): Likewise.
11349 (FPE_FLTINV): Likewise.
11350 (FPE_FLTSUB): Likewise.
11351 (SEGV_MAPERR): Likewise.
11352 (SEGV_ACCERR): Likewise.
11353 (BUS_ADRALN): Likewise.
11354 (BUS_ADRERR): Likewise.
11355 (BUS_OBJERR): Likewise.
11356 (BUS_MCEERR_AR): Likewise.
11357 (BUS_MCEERR_AO): Likewise.
11358 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11359 (TRAP_TRACE): Likewise.
11360 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11361 __USE_XOPEN2K8].
11362 (CLD_KILLED): Likewise.
11363 (CLD_DUMPED): Likewise.
11364 (CLD_TRAPPED): Likewise.
11365 (CLD_STOPPED): Likewise.
11366 (CLD_CONTINUED): Likewise.
11367 (POLL_IN): Likewise.
11368 (POLL_OUT): Likewise.
11369 (POLL_MSG): Likewise.
11370 (POLL_ERR): Likewise.
11371 (POLL_PRI): Likewise.
11372 (POLL_HUP): Likewise.
11373 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11374 (ILL_ILLOPN): Likewise.
11375 (ILL_ILLADR): Likewise.
11376 (ILL_ILLTRP): Likewise.
11377 (ILL_PRVOPC): Likewise.
11378 (ILL_PRVREG): Likewise.
11379 (ILL_COPROC): Likewise.
11380 (ILL_BADSTK): Likewise.
11381 (FPE_INTDIV): Likewise.
11382 (FPE_INTOVF): Likewise.
11383 (FPE_FLTDIV): Likewise.
11384 (FPE_FLTOVF): Likewise.
11385 (FPE_FLTUND): Likewise.
11386 (FPE_FLTRES): Likewise.
11387 (FPE_FLTINV): Likewise.
11388 (FPE_FLTSUB): Likewise.
11389 (SEGV_MAPERR): Likewise.
11390 (SEGV_ACCERR): Likewise.
11391 (BUS_ADRALN): Likewise.
11392 (BUS_ADRERR): Likewise.
11393 (BUS_OBJERR): Likewise.
11394 (BUS_MCEERR_AR): Likewise.
11395 (BUS_MCEERR_AO): Likewise.
11396 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11397 (TRAP_TRACE): Likewise.
11398 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11399 __USE_XOPEN2K8].
11400 (CLD_KILLED): Likewise.
11401 (CLD_DUMPED): Likewise.
11402 (CLD_TRAPPED): Likewise.
11403 (CLD_STOPPED): Likewise.
11404 (CLD_CONTINUED): Likewise.
11405 (POLL_IN): Likewise.
11406 (POLL_OUT): Likewise.
11407 (POLL_MSG): Likewise.
11408 (POLL_ERR): Likewise.
11409 (POLL_PRI): Likewise.
11410 (POLL_HUP): Likewise.
11411 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11412 (ILL_ILLOPN): Likewise.
11413 (ILL_ILLADR): Likewise.
11414 (ILL_ILLTRP): Likewise.
11415 (ILL_PRVOPC): Likewise.
11416 (ILL_PRVREG): Likewise.
11417 (ILL_COPROC): Likewise.
11418 (ILL_BADSTK): Likewise.
11419 (ILL_DBLFLT): Likewise.
11420 (ILL_HARDWALL): Likewise.
11421 (FPE_INTDIV): Likewise.
11422 (FPE_INTOVF): Likewise.
11423 (FPE_FLTDIV): Likewise.
11424 (FPE_FLTOVF): Likewise.
11425 (FPE_FLTUND): Likewise.
11426 (FPE_FLTRES): Likewise.
11427 (FPE_FLTINV): Likewise.
11428 (FPE_FLTSUB): Likewise.
11429 (SEGV_MAPERR): Likewise.
11430 (SEGV_ACCERR): Likewise.
11431 (BUS_ADRALN): Likewise.
11432 (BUS_ADRERR): Likewise.
11433 (BUS_OBJERR): Likewise.
11434 (BUS_MCEERR_AR): Likewise.
11435 (BUS_MCEERR_AO): Likewise.
11436 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11437 (TRAP_TRACE): Likewise.
11438 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11439 __USE_XOPEN2K8].
11440 (CLD_KILLED): Likewise.
11441 (CLD_DUMPED): Likewise.
11442 (CLD_TRAPPED): Likewise.
11443 (CLD_STOPPED): Likewise.
11444 (CLD_CONTINUED): Likewise.
11445 (POLL_IN): Likewise.
11446 (POLL_OUT): Likewise.
11447 (POLL_MSG): Likewise.
11448 (POLL_ERR): Likewise.
11449 (POLL_PRI): Likewise.
11450 (POLL_HUP): Likewise.
11451 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11452 (ILL_ILLOPN): Likewise.
11453 (ILL_ILLADR): Likewise.
11454 (ILL_ILLTRP): Likewise.
11455 (ILL_PRVOPC): Likewise.
11456 (ILL_PRVREG): Likewise.
11457 (ILL_COPROC): Likewise.
11458 (ILL_BADSTK): Likewise.
11459 (FPE_INTDIV): Likewise.
11460 (FPE_INTOVF): Likewise.
11461 (FPE_FLTDIV): Likewise.
11462 (FPE_FLTOVF): Likewise.
11463 (FPE_FLTUND): Likewise.
11464 (FPE_FLTRES): Likewise.
11465 (FPE_FLTINV): Likewise.
11466 (FPE_FLTSUB): Likewise.
11467 (SEGV_MAPERR): Likewise.
11468 (SEGV_ACCERR): Likewise.
11469 (BUS_ADRALN): Likewise.
11470 (BUS_ADRERR): Likewise.
11471 (BUS_OBJERR): Likewise.
11472 (BUS_MCEERR_AR): Likewise.
11473 (BUS_MCEERR_AO): Likewise.
11474 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11475 (TRAP_TRACE): Likewise.
11476 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11477 __USE_XOPEN2K8].
11478 (CLD_KILLED): Likewise.
11479 (CLD_DUMPED): Likewise.
11480 (CLD_TRAPPED): Likewise.
11481 (CLD_STOPPED): Likewise.
11482 (CLD_CONTINUED): Likewise.
11483 (POLL_IN): Likewise.
11484 (POLL_OUT): Likewise.
11485 (POLL_MSG): Likewise.
11486 (POLL_ERR): Likewise.
11487 (POLL_PRI): Likewise.
11488 (POLL_HUP): Likewise.
11489 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11490 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11491
bc61d27c
JM
11492 [BZ #16670]
11493 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11494 before #include of <time.h>.
11495 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11496 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11497 (test-xfail-UNIX98/sched.h/conform): Likewise.
11498
302949e2
MS
114992014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11500
11501 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11502 error absence of trapping exception support.
11503 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11504
a00f522a
JM
115052014-03-07 Joseph Myers <joseph@codesourcery.com>
11506
6f99f280
JM
11507 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11508 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11509 * timezone/Makefile (testdata): Move definition above include of
11510 Rules.
11511 (test-zones): New variable.
11512 (tests-special): Add zone files.
11513 (build-testdata): Use $(evaluate-test).
11514
0b20a9e8
JM
11515 * elf/Makefile (tests-special): Rename tests to end with .out.
11516 ($(objpfx)noload-mem): Likewise.
11517 ($(objpfx)tst-leaks1-mem): Likewise.
11518 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11519 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11520 $(objpfx)test-iconvconfig.out.
11521 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11522 set -e inside subshell and redirect output to file.
11523 * iconvdata/Makefile (generated): Rename tests to end with .out.
11524 Correct type.
11525 (tests-special): Rename tests to end with .out.
11526 ($(objpfx)mtrace-tst-loading): Likewise.
11527 * intl/Makefile (generated): Likewise.
11528 (tests-special): Likewise.
11529 ($(objpfx)mtrace-tst-gettext): Likewise.
11530 * misc/Makefile (generated): Likewise.
11531 (tests-special): Likewise.
11532 ($(objpfx)tst-error1-mem): Likewise.
11533 * nptl/Makefile (tests-special): Likewise.
11534 ($(objpfx)tst-stack3-mem): Likewise.
11535 (generated): Likewise.
11536 * posix/Makefile (generated): Likewise.
11537 (tests-special): Likewise.
11538 (xtests-special): Likewise.
11539 ($(objpfx)tst-fnmatch-mem): Likewise.
11540 ($(objpfx)bug-regex2-mem): Likewise.
11541 ($(objpfx)bug-regex14-mem): Likewise.
11542 ($(objpfx)bug-regex21-mem): Likewise.
11543 ($(objpfx)bug-regex31-mem): Likewise.
11544 ($(objpfx)tst-vfork3-mem): Likewise.
11545 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11546 ($(objpfx)tst-pcre-mem): Likewise.
11547 ($(objpfx)tst-boost-mem): Likewise.
11548 ($(objpfx)bug-ga2-mem): Likewise.
11549 ($(objpfx)bug-glob2-mem): Likewise.
11550 * resolv/Makefile (generate): Likewise.
11551 (tests-special): Likewise.
11552 (xtests-special): Likewise.
11553 (generated): Likewise.
11554 ($(objpfx)mtrace-tst-leaks): Likewise.
11555 ($(objpfx)mtrace-tst-leaks2): Likewise.
11556
265d52ab
JM
11557 * scripts/merge-test-results.sh: New file.
11558 * Makefile (tests-special-notdir): New variable.
11559 (tests): Run merge-test-results.sh.
11560 (xtests): Likewise.
11561 * Rules (tests-special-notdir): New variable.
11562 (xtests-special-notdir): Likewise.
11563 (tests): Run merge-test-results.sh
11564 (xtests): Likewise.
11565
54ee292d
JM
11566 * Makeconfig (test-xfail-name): New variable.
11567 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11568 compute variable name for expected failures.
11569 * conform/Makefile (conformtest-headers-data): New variable.
11570 (conformtest-standards): Likewise.
11571 (conformtest-headers-ISO): Likewise.
11572 (conformtest-headers-ISO99): Likewise.
11573 (conformtest-headers-ISO11): Likewise.
11574 (conformtest-headers-POSIX): Likewise.
11575 (conformtest-headers-XPG3): Likewise.
11576 (conformtest-headers-XPG4): Likewise.
11577 (conformtest-headers-UNIX98): Likewise.
11578 (conformtest-headers-XOPEN2K): Likewise.
11579 (conformtest-headers-POSIX2008): Likewise.
11580 (conformtest-headers-XOPEN2K8): Likewise.
11581 (conformtest-header-list-base): Likewise.
11582 (conformtest-header-list-tests): Likewise.
11583 (conformtest-header-base): Likewise.
11584 (conformtest-header-tests): Likewise.
11585 (tests-special): Add $(conformtest-header-list-tests). If
11586 [$(fast-check) && !$(cross-compiling)], add
11587 $(conformtest-header-tests) instead of
11588 $(objpfx)run-conformtest.out.
11589 (generated): Add $(conformtest-header-list-base). If
11590 [$(fast-check) && !$(cross-compiling)], add
11591 $(conformtest-header-base). Remove previous setting.
11592 ($(conformtest-header-list-tests)): New target.
11593 (test-xfail-run-conformtest): Remove variable.
11594 ($(objpfx)run-conformtest.out): Remove target.
11595 (test-xfail-ISO11/complex.h/conform): New variable.
11596 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11597 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11598 (test-xfail-XPG3/varargs.h/conform): Likewise.
11599 (test-xfail-XPG4/varargs.h/conform): Likewise.
11600 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11601 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11602 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11603 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11604 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11605 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11606 (test-xfail-XPG3/ftw.h/conform): Likewise.
11607 (test-xfail-XPG3/grp.h/conform): Likewise.
11608 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11609 (test-xfail-XPG3/limits.h/conform): Likewise.
11610 (test-xfail-XPG3/pwd.h/conform): Likewise.
11611 (test-xfail-XPG3/search.h/conform): Likewise.
11612 (test-xfail-XPG3/signal.h/conform): Likewise.
11613 (test-xfail-XPG3/stdio.h/conform): Likewise.
11614 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11615 (test-xfail-XPG3/string.h/conform): Likewise.
11616 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11617 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11618 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11619 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11620 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11621 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11622 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11623 (test-xfail-XPG3/termios.h/conform): Likewise.
11624 (test-xfail-XPG3/time.h/conform): Likewise.
11625 (test-xfail-XPG3/unistd.h/conform): Likewise.
11626 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11627 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11628 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11629 (test-xfail-XPG4/netdb.h/conform): Likewise.
11630 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11631 (test-xfail-XPG4/signal.h/conform): Likewise.
11632 (test-xfail-XPG4/stdio.h/conform): Likewise.
11633 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11634 (test-xfail-XPG4/stropts.h/conform): Likewise.
11635 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11636 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11637 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11638 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11639 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11640 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11641 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11642 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11643 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11644 (test-xfail-XPG4/termios.h/conform): Likewise.
11645 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11646 (test-xfail-XPG4/unistd.h/conform): Likewise.
11647 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11648 (test-xfail-POSIX/sched.h/conform): Likewise.
11649 (test-xfail-POSIX/signal.h/conform): Likewise.
11650 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11651 (test-xfail-POSIX/tar.h/conform): Likewise.
11652 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11653 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11654 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11655 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11656 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11657 (test-xfail-UNIX98/sched.h/conform): Likewise.
11658 (test-xfail-UNIX98/signal.h/conform): Likewise.
11659 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11660 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11661 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11662 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11663 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11664 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11665 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11666 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11667 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11668 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11669 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11670 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11671 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11672 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11673 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11674 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11675 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11676 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11677 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11678 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11679 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11680 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11681 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11682 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11683 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11684 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11685 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11686 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11687 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11688 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11689 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11690 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11691 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11692 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11693 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11694 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11695 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11696 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11697 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11698 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11699 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11700 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11701 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11702 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11703 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11704 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11705 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11706 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11707 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11708 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11709 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11710 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11711 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11712 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11713 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11714 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11715 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11716 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11717 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11718 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11719 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11720 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11721 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11722 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11723 (conformtest-cc-flags): Likewise.
11724 ($(conformtest-header-tests): New target.
11725 * conform/check-header-lists.sh: New file.
11726 * conform/run-conformtest.sh: Remove.
11727
a00f522a
JM
11728 * conform/conformtest.pl: Allow ' and \ in values given for
11729 constants.
11730 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11731 inclusion.
11732 [POSIX] (sys/types.h): Likewise.
11733 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11734 inclusion.
11735 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11736 inclusion.
11737 * conform/data/signal.h-data (SIGIO): Remove expectation.
11738 [XPG3] (SIGBUS): Do not expect.
11739 [POSIX || XPG3] (SIGPOLL): Likewise.
11740 [POSIX || XPG3] (SIGPROF): Likewise.
11741 [POSIX || XPG3] (SIGSYS): Likewise.
11742 [XPG3] (SIGTRAP): Likewise.
11743 [POSIX || XPG3] (SIGURG): Likewise.
11744 [POSIX || XPG3] (SIGVTALRM): Likewise.
11745 [POSIX || XPG3] (SIGXCPU): Likewise.
11746 [POSIX || XPG3] (SIGXFSZ): Likewise.
11747 [POSIX] (SA_SIGINFO): Expect.
11748 [XPG3] (siginfo_t): Do not expect type or contents.
11749 [POSIX] (si_pid): Do not expect element.
11750 [POSIX] (si_uid): Likewise.
11751 [POSIX] (si_addr): Likewise.
11752 [POSIX] (si_status): Likewise.
11753 [POSIX] (si_band): Likewise.
11754 [XPG4] (si_value): Likewise.
11755 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11756 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11757 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11758 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11759 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11760 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11761 [POSIX || XPG3] (ILL_COPROC): Likewise.
11762 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11763 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11764 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11765 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11766 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11767 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11768 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11769 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11770 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11771 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11772 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11773 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11774 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11775 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11776 [POSIX || XPG3] (CLD_EXITED): Likewise.
11777 [POSIX || XPG3] (CLD_KILLED): Likewise.
11778 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11779 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11780 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11781 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11782 [POSIX || XPG3] (POLL_IN): Likewise.
11783 [POSIX || XPG3] (POLL_OUT): Likewise.
11784 [POSIX || XPG3] (POLL_MSG): Likewise.
11785 [POSIX || XPG3] (POLL_ERR): Likewise.
11786 [POSIX || XPG3] (POLL_PRI): Likewise.
11787 [POSIX || XPG3] (POLL_HUP): Likewise.
11788 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11789 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11790 (SIG*): Do not allow.
11791 [XPG3] (si_*): Likewise.
11792 [XPG3] (SI_*): Likewise.
11793 [XPG3 || XPG4] (sigev_*): Likewise.
11794 [XPG3 || XPG4] (SIGEV_*): Likewise.
11795 [XPG3 || XPG4] (sival_*): Likewise.
11796 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11797 [POSIX || XPG3] (BUS_*): Likewise.
11798 [POSIX || XPG3] (CLD_*): Likewise.
11799 [POSIX || XPG3] (FPE_*): Likewise.
11800 [POSIX || XPG3] (ILL_*): Likewise.
11801 [POSIX || XPG3] (POLL_*): Likewise.
11802 [POSIX || XPG3] (SEGV_*): Likewise.
11803 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11804 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11805 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11806 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11807 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11808 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11809 Specify type and value.
11810 (TVERSLEN): Likewise.
11811 (REGTYPE): Likewise.
11812 (AREGTYPE): Likewise.
11813 (LNKTYPE): Likewise.
11814 (SYMTYPE): Likewise.
11815 (CHRTYPE): Likewise.
11816 (BLKTYPE): Likewise.
11817 (DIRTYPE): Likewise.
11818 (FIFOTYPE): Likewise.
11819 (CONTTYPE): Likewise.
11820 (TSUID): Likewise.
11821 (TSGID): Likewise.
11822 (TSVTX): Likewise.
11823 (TUREAD): Likewise.
11824 (TUWRITE): Likewise.
11825 (TUEXEC): Likewise.
11826 (TGREAD): Likewise.
11827 (TGWRITE): Likewise.
11828 (TGEXEC): Likewise.
11829 (TOREAD): Likewise.
11830 (TOWRITE): Likewise.
11831 (TOEXEC): Likewise.
11832 [POSIX] (TSVTX): Expect constant.
11833
aa97dee1
JM
118342014-03-06 Joseph Myers <joseph@codesourcery.com>
11835
f214606a
JM
11836 * Makefile (tests): Change dependencies to ....
11837 (tests-special): ... additions to this variable.
11838 (tests): Depend on $(tests-special).
11839 * Makerules (check-abi-list): New variable.
11840 (check-abi): Depend on $(check-abi-list).
11841 [$(subdir) = elf] (tests-special): Add
11842 $(objpfx)check-abi-libc.out.
11843 [$(build-shared) = yes && subdir] (tests-special): Add
11844 $(check-abi-list).
11845 [$(build-shared) = yes && subdir] (tests): Do not depend on
11846 check-abi.
11847 * Rules (tests): Depend on $(tests-special).
11848 (xtests): Depend on $(xtests-special).
11849 * catgets/Makefile (tests): Change dependencies to ....
11850 (tests-special): ... additions to this variable.
11851 * conform/Makefile (tests): Change dependencies to ....
11852 (tests-special): ... additions to this variable.
11853 * elf/Makefile (tests): Change dependencies to ....
11854 (tests-special): ... additions to this variable.
11855 * grp/Makefile (tests): Change dependencies to ....
11856 (tests-special): ... additions to this variable.
11857 * iconv/Makefile (xtests): Change dependencies to ....
11858 (xtests-special): ... additions to this variable.
11859 * iconvdata/Makefile (tests): Change dependencies to ....
11860 (tests-special): ... additions to this variable.
11861 * intl/Makefile (tests): Change dependencies to ....
11862 (tests-special): ... additions to this variable. Also add
11863 $(objpfx)tst-gettext.out.
11864 * io/Makefile (tests): Change dependencies to ....
11865 (tests-special): ... additions to this variable.
11866 * libio/Makefile (tests): Change dependencies to ....
11867 (tests-special): ... additions to this variable.
11868 * malloc/Makefile (tests): Change dependencies to ....
11869 (tests-special): ... additions to this variable.
11870 * misc/Makefile (tests): Change dependencies to ....
11871 (tests-special): ... additions to this variable.
11872 * nptl/Makefile (tests): Change dependencies to ....
11873 (tests-special): ... additions to this variable.
11874 * nptl_db/Makefile (tests): Change dependencies to ....
11875 (tests-special): ... additions to this variable.
11876 * posix/Makefile (tests): Change dependencies to ....
11877 (tests-special): ... additions to this variable.
11878 (xtests): Change dependencies to ....
11879 (xtests-special): ... additions to this variable.
11880 * resolv/Makefile (tests): Change dependencies to ....
11881 (tests-special): ... additions to this variable.
11882 (xtests): Change dependencies to ....
11883 (xtests-special): ... additions to this variable.
11884 * stdio-common/Makefile (tests): Change dependencies to ....
11885 (tests-special): ... additions to this variable.
11886 (do-tst-unbputc): Remove target.
11887 (do-tst-printf): Likewise.
11888 * stdlib/Makefile (tests): Change dependencies to ....
11889 (tests-special): ... additions to this variable.
11890 * string/Makefile (tests): Change dependencies to ....
11891 (tests-special): ... additions to this variable.
11892 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11893 (tests-special): ... additions to this variable.
11894
81700b53
JM
11895 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11896 whole file.
11897 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11898 whole file.
11899 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11900 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11901
2ea18461
JM
11902 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11903 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11904 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11905 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11906 * conform/data/libgen.h-data [XPG3]: Likewise.
11907 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11908 * conform/data/ndbm.h-data [XPG3]: Likewise.
11909 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11910 * conform/data/netdb.h-data [XPG3]: Likewise.
11911 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11912 * conform/data/poll.h-data [XPG3]: Likewise.
11913 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11914 * conform/data/strings.h-data [XPG3]: Likewise.
11915 * conform/data/stropts.h-data [XPG3]: Likewise.
11916 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11917 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11918 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11919 Likewise.
11920 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11921 * conform/data/sys/time.h-data [XPG3]: Likewise.
11922 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11923 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11924 * conform/data/sys/un.h-data [XPG3]: Likewise.
11925 * conform/data/syslog.h-data [XPG3]: Likewise.
11926 * conform/data/ucontext.h-data [XPG3]: Likewise.
11927 * conform/data/utmpx.h-data [XPG3]: Likewise.
11928 * conform/data/varargs.h-data [UNIX98]: Enable file.
11929
355bc986
JM
11930 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11931
215db402
JM
11932 * math/libm-test.inc (struct test_f_f_data): Move expected results
11933 into structure for each rounding mode.
11934 (struct test_ff_f_data): Likewise.
11935 (struct test_ff_f_data_nexttoward): Likewise.
11936 (struct test_fi_f_data): Likewise.
11937 (struct test_fl_f_data): Likewise.
11938 (struct test_if_f_data): Likewise.
11939 (struct test_fff_f_data): Likewise.
11940 (struct test_c_f_data): Likewise.
11941 (struct test_f_f1_data): Likewise.
11942 (struct test_fF_f1_data): Likewise.
11943 (struct test_ffI_f1_data): Likewise.
11944 (struct test_c_c_data): Likewise.
11945 (struct test_cc_c_data): Likewise.
11946 (struct test_f_i_data): Likewise.
11947 (struct test_ff_i_data): Likewise.
11948 (struct test_f_l_data): Likewise.
11949 (struct test_f_L_data): Likewise.
11950 (struct test_fFF_11_data): Likewise.
11951 (RM_): New macro.
11952 (RM_FE_DOWNWARD): Likewise.
11953 (RM_FE_TONEAREST): Likewise.
11954 (RM_FE_TOWARDZERO): Likewise.
11955 (RM_FE_UPWARD): Likewise.
11956 (RUN_TEST_LOOP_f_f): Update references to expected results.
11957 (RUN_TEST_LOOP_2_f): Likewise.
11958 (RUN_TEST_LOOP_fff_f): Likewise.
11959 (RUN_TEST_LOOP_c_f): Likewise.
11960 (RUN_TEST_LOOP_f_f1): Likewise.
11961 (RUN_TEST_LOOP_fF_f1): Likewise.
11962 (RUN_TEST_LOOP_fI_f1): Likewise.
11963 (RUN_TEST_LOOP_ffI_f1): Likewise.
11964 (RUN_TEST_LOOP_c_c): Likewise.
11965 (RUN_TEST_LOOP_cc_c): Likewise.
11966 (RUN_TEST_LOOP_f_i): Likewise.
11967 (RUN_TEST_LOOP_f_i_tg): Likewise.
11968 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11969 (RUN_TEST_LOOP_f_b): Likewise.
11970 (RUN_TEST_LOOP_f_b_tg): Likewise.
11971 (RUN_TEST_LOOP_f_l): Likewise.
11972 (RUN_TEST_LOOP_f_L): Likewise.
11973 (RUN_TEST_LOOP_fFF_11): Likewise.
11974 * math/gen-libm-test.pl (parse_args): Output four copies of
11975 expected results for each test.
11976
67737b8f
JM
11977 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11978 (__ASSUME_UTIMES): Remove.
11979 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11980 (__ASSUME_UTIMES): Likewise.
11981
aa97dee1
JM
11982 * math/gen-auto-libm-tests.c: Update comment on output format.
11983 (output_for_one_input_case): Generate before-rounding and
11984 after-rounding information as conditions on output flags not
11985 floating-point format.
11986 * math/auto-libm-test-out: Regenerated.
11987 * math/gen-libm-test.pl (cond_value): New function.
11988 (or_cond_value): Use cond_value.
11989 (generate_testfile): Handle conditional exceptions.
11990
e6b6a857
JM
119912014-03-05 Joseph Myers <joseph@codesourcery.com>
11992
2f0a0f44
JM
11993 * math/libm-test.inc (max_valid_error): New variable.
11994 (init_max_error): Take new argument specifying whether function
11995 results are exactly determined. Set max_valid_error and bound
11996 other variables for errors based on this argument.
11997 (set_max_error): Do not record results above max_valid_error.
11998 (check_float_internal): Only accept errors of up to 0.5ulps if
11999 also at most max_valid_error.
12000 (START): Take new argument EXACT and pass it to init_max_error.
12001 (acos_test): Update call to START.
12002 (acos_test_tonearest): Likewise.
12003 (acos_test_towardzero): Likewise.
12004 (acos_test_downward): Likewise.
12005 (acos_test_upward): Likewise.
12006 (acosh_test): Likewise.
12007 (asin_test): Likewise.
12008 (asin_test_tonearest): Likewise.
12009 (asin_test_towardzero): Likewise.
12010 (asin_test_downward): Likewise.
12011 (asin_test_upward): Likewise.
12012 (asinh_test): Likewise.
12013 (atan_test): Likewise.
12014 (atanh_test): Likewise.
12015 (atan2_test): Likewise.
12016 (cabs_test): Likewise.
12017 (cacos_test): Likewise.
12018 (cacosh_test): Likewise.
12019 (carg_test): Likewise.
12020 (casin_test): Likewise.
12021 (casinh_test): Likewise.
12022 (catan_test): Likewise.
12023 (catanh_test): Likewise.
12024 (cbrt_test): Likewise.
12025 (ccos_test): Likewise.
12026 (ccosh_test): Likewise.
12027 (ceil_test): Likewise.
12028 (cexp_test): Likewise.
12029 (cimag_test): Likewise.
12030 (clog_test): Likewise.
12031 (clog10_test): Likewise.
12032 (conj_test): Likewise.
12033 (copysign_test): Likewise.
12034 (cos_test): Likewise.
12035 (cos_test_tonearest): Likewise.
12036 (cos_test_towardzero): Likewise.
12037 (cos_test_downward): Likewise.
12038 (cos_test_upward): Likewise.
12039 (cosh_test): Likewise.
12040 (cosh_test_tonearest): Likewise.
12041 (cosh_test_towardzero): Likewise.
12042 (cosh_test_downward): Likewise.
12043 (cosh_test_upward): Likewise.
12044 (cpow_test): Likewise.
12045 (cproj_test): Likewise.
12046 (creal_test): Likewise.
12047 (csin_test): Likewise.
12048 (csinh_test): Likewise.
12049 (csqrt_test): Likewise.
12050 (ctan_test): Likewise.
12051 (ctan_test_tonearest): Likewise.
12052 (ctan_test_towardzero): Likewise.
12053 (ctan_test_downward): Likewise.
12054 (ctan_test_upward): Likewise.
12055 (ctanh_test): Likewise.
12056 (ctanh_test_tonearest): Likewise.
12057 (ctanh_test_towardzero): Likewise.
12058 (ctanh_test_downward): Likewise.
12059 (ctanh_test_upward): Likewise.
12060 (erf_test): Likewise.
12061 (erfc_test): Likewise.
12062 (exp_test): Likewise.
12063 (exp_test_tonearest): Likewise.
12064 (exp_test_towardzero): Likewise.
12065 (exp_test_downward): Likewise.
12066 (exp_test_upward): Likewise.
12067 (exp10_test): Likewise.
12068 (exp10_test_tonearest): Likewise.
12069 (exp10_test_towardzero): Likewise.
12070 (exp10_test_downward): Likewise.
12071 (exp10_test_upward): Likewise.
12072 (pow10_test): Likewise.
12073 (exp2_test): Likewise.
12074 (expm1_test): Likewise.
12075 (expm1_test_tonearest): Likewise.
12076 (expm1_test_towardzero): Likewise.
12077 (expm1_test_downward): Likewise.
12078 (expm1_test_upward): Likewise.
12079 (fabs_test): Likewise.
12080 (fdim_test): Likewise.
12081 (floor_test): Likewise.
12082 (fma_test): Likewise.
12083 (fma_test_towardzero): Likewise.
12084 (fma_test_downward): Likewise.
12085 (fma_test_upward): Likewise.
12086 (fmax_test): Likewise.
12087 (fmin_test): Likewise.
12088 (fmod_test): Likewise.
12089 (fpclassify_test): Likewise.
12090 (frexp_test): Likewise.
12091 (hypot_test): Likewise.
12092 (ilogb_test): Likewise.
12093 (isfinite_test): Likewise.
12094 (finite_test): Likewise.
12095 (isgreater_test): Likewise.
12096 (isgreaterequal_test): Likewise.
12097 (isinf_test): Likewise.
12098 (isless_test): Likewise.
12099 (islessequal_test): Likewise.
12100 (islessgreater_test): Likewise.
12101 (isnan_test): Likewise.
12102 (isnormal_test): Likewise.
12103 (issignaling_test): Likewise.
12104 (isunordered_test): Likewise.
12105 (j0_test): Likewise.
12106 (j1_test): Likewise.
12107 (jn_test): Likewise.
12108 (ldexp_test): Likewise.
12109 (lgamma_test): Likewise.
12110 (gamma_test): Likewise.
12111 (lrint_test): Likewise.
12112 (lrint_test_tonearest): Likewise.
12113 (lrint_test_towardzero): Likewise.
12114 (lrint_test_downward): Likewise.
12115 (lrint_test_upward): Likewise.
12116 (llrint_test): Likewise.
12117 (llrint_test_tonearest): Likewise.
12118 (llrint_test_towardzero): Likewise.
12119 (llrint_test_downward): Likewise.
12120 (llrint_test_upward): Likewise.
12121 (log_test): Likewise.
12122 (log10_test): Likewise.
12123 (log1p_test): Likewise.
12124 (log2_test): Likewise.
12125 (logb_test): Likewise.
12126 (logb_test_downward): Likewise.
12127 (lround_test): Likewise.
12128 (llround_test): Likewise.
12129 (modf_test): Likewise.
12130 (nearbyint_test): Likewise.
12131 (nextafter_test): Likewise.
12132 (nexttoward_test): Likewise.
12133 (pow_test): Likewise.
12134 (pow_test_tonearest): Likewise.
12135 (pow_test_towardzero): Likewise.
12136 (pow_test_downward): Likewise.
12137 (pow_test_upward): Likewise.
12138 (remainder_test): Likewise.
12139 (drem_test): Likewise.
12140 (remainder_test_tonearest): Likewise.
12141 (drem_test_tonearest): Likewise.
12142 (remainder_test_towardzero): Likewise.
12143 (drem_test_towardzero): Likewise.
12144 (remainder_test_downward): Likewise.
12145 (drem_test_downward): Likewise.
12146 (remainder_test_upward): Likewise.
12147 (drem_test_upward): Likewise.
12148 (remquo_test): Likewise.
12149 (rint_test): Likewise.
12150 (rint_test_tonearest): Likewise.
12151 (rint_test_towardzero): Likewise.
12152 (rint_test_downward): Likewise.
12153 (rint_test_upward): Likewise.
12154 (round_test): Likewise.
12155 (scalb_test): Likewise.
12156 (scalbn_test): Likewise.
12157 (scalbln_test): Likewise.
12158 (signbit_test): Likewise.
12159 (sin_test): Likewise.
12160 (sin_test_tonearest): Likewise.
12161 (sin_test_towardzero): Likewise.
12162 (sin_test_downward): Likewise.
12163 (sin_test_upward): Likewise.
12164 (sincos_test): Likewise.
12165 (sinh_test): Likewise.
12166 (sinh_test_tonearest): Likewise.
12167 (sinh_test_towardzero): Likewise.
12168 (sinh_test_downward): Likewise.
12169 (sinh_test_upward): Likewise.
12170 (sqrt_test): Likewise.
12171 (sqrt_test_tonearest): Likewise.
12172 (sqrt_test_towardzero): Likewise.
12173 (sqrt_test_downward): Likewise.
12174 (sqrt_test_upward): Likewise.
12175 (tan_test): Likewise.
12176 (tan_test_tonearest): Likewise.
12177 (tan_test_towardzero): Likewise.
12178 (tan_test_downward): Likewise.
12179 (tan_test_upward): Likewise.
12180 (tanh_test): Likewise.
12181 (tgamma_test): Likewise.
12182 (trunc_test): Likewise.
12183 (y0_test): Likewise.
12184 (y1_test): Likewise.
12185 (yn_test): Likewise.
12186 (significand_test): Likewise.
12187
e6b6a857
JM
12188 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12189 individual tests in comment.
12190 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12191 (prev_max_error): New variable.
12192 (prev_real_max_error): Likewise.
12193 (prev_imag_max_error): Likewise.
12194 (compare_ulp_data): Don't refer to test names in comment.
12195 (find_test_ulps): Remove function.
12196 (find_function_ulps): Likewise.
12197 (find_complex_function_ulps): Likewise.
12198 (init_max_error): Take function name as argument. Look up ulps
12199 for that function.
12200 (print_ulps): Remove function.
12201 (print_max_error): Use prev_max_error instead of calling
12202 find_function_ulps.
12203 (print_complex_max_error): Use prev_real_max_error and
12204 prev_imag_max_error instead of calling find_complex_function_ulps.
12205 (check_float_internal): Take max_ulp parameter instead of calling
12206 find_test_ulps. Don't call print_ulps.
12207 (check_float): Update call to check_float_internal.
12208 (check_complex): Update calls to check_float_internal.
12209 (START): Pass argument to init_max_error.
12210 * math/gen-libm-test.pl (%results): Don't include "kind"
12211 information.
12212 (parse_ulps): Don't handle ulps of individual tests.
12213 (print_ulps_file): Likewise.
12214 (output_ulps): Likewise.
12215 * math/README.libm-test: Update.
12216 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12217 individual tests.
12218 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12219 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12220 * sysdeps/arm/libm-test-ulps: Likewise.
12221 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12222 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12223 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12224 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12225 * sysdeps/microblaze/libm-test-ulps: Likewise.
12226 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12227 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12228 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12229 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12230 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12231 * sysdeps/sh/libm-test-ulps: Likewise.
12232 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12233 * sysdeps/tile/libm-test-ulps: Likewise.
12234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12235
45adef3c
JM
122362014-03-04 Joseph Myers <joseph@codesourcery.com>
12237
12238 * math/libm-test.inc (print_complex_max_error): Check separately
12239 whether real and imaginary errors are within allowed range and
12240 pass 0 to print_complex_function_ulps instead of value within
12241 allowed range.
12242
000232b9
SP
122432014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12244
d4b17258
SP
12245 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12246 formatting.
12247 (get_handles_fopen): Likewise.
12248 (do_write_test): Likewise.
12249
091eff71
SP
12250 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12251
fa3cd248
SP
12252 * libio/fileops.c (do_ftell): Use cached offset when
12253 available.
12254 * libio/iofwide.c (do_ftell_wide): Likewise.
12255 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12256 _IO_file_attach.
12257 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12258
000232b9
SP
12259 [BZ #16532]
12260 * libio/libioP.h (get_file_offset): New function.
12261 * libio/fileops.c (get_file_offset): Likewise.
12262 (do_ftell): Likewise.
12263 (_IO_new_file_seekoff): Split out ftell logic.
12264 * libio/wfileops.c (do_ftell_wide): Likewise.
12265 (_IO_wfile_seekoff): Split out ftell logic.
12266 * libio/tst-ftell-active-handler.c: New test case.
12267 * libio/Makefile (tests): Add it.
12268
116f4d1a
RM
122692014-03-03 Roland McGrath <roland@hack.frob.com>
12270
12271 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12272 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12273
532a6035
SP
122742014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12275
12276 [BZ #16639]
12277 * nscd/connections.c (nscd_init): Call do_exit.
12278 (start_threads): Call do_exit and notify_parent.
12279 (begin_drop_privileges): Call do_exit.
12280 (finish_drop_privileges): Likewise.
12281 * nscd/selinux.c (preserve_capabilities): Likewise.
12282 (install_real_capabilities): Likewise.
12283 (nscd_selinux_enabled): Likewise.
12284 (avc_create_thread): Likewise.
12285 (avc_alloc_lock): Likewise.
12286 (nscd_avc_init): Likewise.
12287 * nscd/nscd.c (parent_fd): New static variable.
12288 (main): Create a pipe between parent and child processes.
12289 Skip closing parent_fd.
12290 (monitor_child): New function.
12291 (do_exit): Likewise.
12292 (notify_parent): Likewise.
12293 * nscd/nscd.h (notify_parent): Likewise.
12294 (do_exit): Likewise.
12295
d6285c9f
CD
122962014-03-03 Carlos O'Donell <carlos@redhat.com>
12297
12298 * malloc/malloc.c (__libc_calloc): Revert last change.
12299
2b85d2a0
AZ
123002014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12301
12302 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12303
c7debbdf
RS
123042014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12305
12306 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12307 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12308 implementation.
12309 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12310 (__libc_ifunc_impl_list): Likewise.
12311 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12312 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12313 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12314 * string/strrchr.c: Define STRRCHR.
12315
235eed86
OB
123162014-02-28 Ondřej Bílka <neleai@seznam.cz>
12317
12318 * benchtest/bench-strtok.c (simple_strtok): Delete.
12319 (strtok_string): Use as benchmark.
12320 * string/strtok (STRTOK): New macro.
12321
8e25d1e7
CD
123222014-02-28 Carlos O'Donell <carlos@redhat.com>
12323
ef563f92
CD
12324 * manual/threads.texi: Add header and standard comments to all
12325 functions.
12326
8e25d1e7
CD
12327 * elf/dl-lookup.c (check_match): New function.
12328 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12329 (do_lookup_x): Remove nested function check_match. Use non-nested
12330 function check_match.
12331
ff71cc37
RM
123322014-02-28 Roland McGrath <roland@hack.frob.com>
12333
f08e9a26
RM
12334 * csu/Makefile (generated, before-compile): Use += rather than =.
12335 * catgets/Makefile (generated, generated-dirs): Likewise.
12336 * debug/Makefile (generated): Likewise.
12337 * dlfcn/Makefile (generated): Likewise.
12338 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12339 * iconvdata/Makefile (before-compile, generated): Likewise.
12340 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12341 * libio/Makefile (generated): Likewise.
12342 * malloc/Makefile (generated): Likewise.
12343 * manual/Makefile (generated, generated-dirs): Likewise.
12344 * misc/Makefile (generated): Likewise.
12345 * posix/Makefile (generated): Likewise.
12346 * resolv/Makefile (generated): Likewise.
12347 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12348 * timezone/Makefile (generated, generated-dirs): Likewise.
12349
ff71cc37
RM
12350 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12351
fe13a20c
AZ
123522014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12353
57f41c40
AS
12354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12355 power8 implementation.
12356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12357 file: POWER8 llround ifunc implementation.
12358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12359 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12360 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12361 POWER8 llround implementation.
12362
57f41c40
AS
12363 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12364 power8 implementation.
12365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12366 file: POWER8 llrint ifunc implementation.
12367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12368 Add POWER8 implementation.
1ad8950a
AZ
12369 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12370 POWER8 llrint implementation.
12371
57f41c40
AS
12372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12373 power8 implementation.
12374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12375 file: POWER8 finite ifunc implementation.
12376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12377 Add POWER8 implementation.
cac626d6
AZ
12378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12379 Likewise.
12380 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12381 POWER8 finite implementation.
12382 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12383
57f41c40
AS
12384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12385 power8 implementation.
12386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12387 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12389 POWER8 implementation.
12390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12391 Likewise.
57f41c40
AS
12392 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12393 isinf implementation.
4393fc11
AZ
12394 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12395
57f41c40
AS
12396 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12397 (INIT_ARCH): Add hwcap2 initialization.
12398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12399 power8 implementation.
12400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12401 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12403 POWER8 implementation.
12404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12405 Likewise.
57f41c40
AS
12406 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12407 isnan implementation.
487972ae
AZ
12408 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12409
7d92b787
JY
124102014-02-27 Joey Ye <joey.ye@arm.com>
12411
12412 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12413 (_FP_NANFRAC_Q): Set to zero.
12414
1cadc858
SP
124152014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12416
12417 [BZ #16623]
12418 * math/auto-libm-test-in: New test inputs.
12419 * math/auto-libm-test-out: Regenerate.
12420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12421 and DA.
12422 (__cos): Likewise.
12423 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12424
f8c17e79
JM
124252014-02-27 Joseph Myers <joseph@codesourcery.com>
12426
12427 * scripts/evaluate-test.sh: Take new argument indicating whether
12428 failure is expected.
12429 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12430 indicating whether failure is expected.
12431 * conform/Makefile (test-xfail-run-conformtest): New variable.
12432 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12433 level.
12434 * posix/Makefile (test-xfail-annexc): New variable.
12435 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12436
a5f891ac
JM
124372014-02-26 Joseph Myers <joseph@codesourcery.com>
12438
12439 * argp/Makefile: Include Makeconfig immediately after defining
12440 subdir.
12441 * assert/Makefile: Likewise.
12442 * benchtests/Makefile: Likewise.
12443 * catgets/Makefile: Likewise.
12444 * conform/Makefile: Likewise.
12445 * crypt/Makefile: Likewise.
12446 * csu/Makefile: Likewise.
12447 (all): Remove target.
12448 * ctype/Makefile: Include Makeconfig immediately after defining
12449 subdir.
12450 * debug/Makefile: Likewise.
12451 * dirent/Makefile: Likewise.
12452 * dlfcn/Makefile: Likewise.
12453 * gmon/Makefile: Likewise.
12454 * gnulib/Makefile: Likewise.
12455 * grp/Makefile: Likewise.
12456 * gshadow/Makefile: Likewise.
12457 * hesiod/Makefile: Likewise.
12458 * hurd/Makefile: Likewise.
12459 (all): Remove target.
12460 * iconvdata/Makefile: Include Makeconfig immediately after
12461 defining subdir.
12462 * inet/Makefile: Likewise.
12463 * intl/Makefile: Likewise.
12464 * io/Makefile: Likewise.
12465 * libio/Makefile: Likewise.
12466 (all): Remove target.
12467 * locale/Makefile: Include Makeconfig immediately after defining
12468 subdir.
12469 * login/Makefile: Likewise.
12470 * mach/Makefile: Likewise.
12471 (all): Remove target.
12472 * malloc/Makefile: Include Makeconfig immediately after defining
12473 subdir.
12474 (all): Remove target.
12475 * manual/Makefile: Include Makeconfig immediately after defining
12476 subdir.
12477 * math/Makefile: Likewise.
12478 * misc/Makefile: Likewise.
12479 * nis/Makefile: Likewise.
12480 * nss/Makefile: Likewise.
12481 * po/Makefile: Likewise.
12482 (all): Remove target.
12483 * posix/Makefile: Include Makeconfig immediately after defining
12484 subdir.
12485 * pwd/Makefile: Likewise.
12486 * resolv/Makefile: Likewise.
12487 * resource/Makefile: Likewise.
12488 * rt/Makefile: Likewise.
12489 * setjmp/Makefile: Likewise.
12490 * shadow/Makefile: Likewise.
12491 * signal/Makefile: Likewise.
12492 * socket/Makefile: Likewise.
12493 * soft-fp/Makefile: Likewise.
12494 * stdio-common/Makefile: Likewise.
12495 * stdlib/Makefile: Likewise.
12496 * streams/Makefile: Likewise.
12497 * string/Makefile: Likewise.
12498 * sunrpc/Makefile: Likewise.
12499 (all): Remove target.
12500 * sysvipc/Makefile: Include Makeconfig immediately after defining
12501 subdir.
12502 * termios/Makefile: Likewise.
12503 * time/Makefile: Likewise.
12504 * timezone/Makefile: Likewise.
12505 (all): Remove target.
12506 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12507 subdir.
12508 * wctype/Makefile: Likewise.
12509
5b456e9d
SE
125102014-02-26 Steve Ellcey <sellcey@mips.com>
12511
12512 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12513 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12514 (libc_feholdexcept_setround_mips): Ditto.
12515 (libc_feholdsetround): New.
12516 (libc_feholdsetroundf): New.
12517 (libc_feholdsetroundl): New.
12518 (libc_feupdateenv_test_mips): New.
12519 (libc_feupdateenv_test): New.
12520 (libc_feupdateenv_testf): New.
12521 (libc_feupdateenv_testl): New.
12522 (libc_feresetround): New.
12523 (libc_feresetroundf): New.
12524 (libc_feresetroundl): New.
12525 (libc_fetestexcept_mips): New.
12526 (libc_fetestexcept): New.
12527 (libc_fetestexceptf): New.
12528 (libc_fetestexceptl): New.
12529 (HAVE_RM_CTX): New.
12530 (libc_feholdexcept_setround_mips_ctx): New.
12531 (libc_feholdexcept_setround_ctx): New.
12532 (libc_feholdexcept_setroundf_ctx): New.
12533 (libc_feholdexcept_setroundl_ctx): New.
12534 (libc_fesetenv_mips_ctx): New.
12535 (libc_fesetenv_ctx): New.
12536 (libc_fesetenv_ctxf): New.
12537 (libc_fesetenv_ctxl): New.
12538 (libc_feupdateenv_mips_ctx): New.
12539 (libc_feupdateenv_ctx): New.
12540 (libc_feupdateenvf_ctx): New.
12541 (libc_feupdateenvl_ctx): New.
12542 (libc_feholdsetround_mips_ctx): New.
12543 (libc_feholdsetround_ctx): New.
12544 (libc_feholdsetroundf_ctx): New.
12545 (libc_feholdsetroundl_ctx): New.
12546 (libc_feresetround_mips_ctx): New.
12547 (libc_feresetround_ctx): New.
12548 (libc_feresetroundf_ctx): New.
12549 (libc_feresetroundl_ctx): New.
12550
085d0e35
CD
125512014-02-26 Carlos O'Donell <carlos@redhat.com>
12552
f067bf1f
CD
12553 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12554
085d0e35
CD
12555 * manual/ipc.texi: New file.
12556 * manual/Makefile (chapters): Add ipc.
12557 * manual/job.texi: Add "Inter-Process Communication" to next.
12558 * manual/process.texi: Add "Inter-Process Communication" to prev.
12559
86e58c08
AZ
125602014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12561
12562 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12563
4248f0da
OB
125642014-02-26 Ondřej Bílka <neleai@seznam.cz>
12565
12566 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12567
cf822e3c
OB
12568 * manual/arith.texi: Fix spaces after sentences.
12569 * manual/charset.texi: Likewise.
12570 * manual/errno.texi: Likewise.
12571 * manual/install.texi: Likewise.
12572 * manual/llio.texi: Likewise.
12573 * manual/locale.texi: Likewise.
12574 * manual/maint.texi: Likewise.
12575 * manual/math.texi: Likewise.
12576 * manual/memory.texi: Likewise.
12577 * manual/message.texi: Likewise.
12578 * manual/probes.texi: Likewise.
12579 * manual/resource.texi: Likewise.
12580 * manual/signal.texi: Likewise.
12581 * manual/socket.texi: Likewise.
12582 * manual/stdio.texi: Likewise.
12583 * manual/string.texi: Likewise.
12584 * manual/time.texi: Likewise.
12585 * manual/users.texi: Likewise.
12586
ade40b10
CD
125872014-02-25 Carlos O'Donell <carlos@redhat.com>
12588
12589 [BZ #16632]
12590 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12591 _DEFAULT_SOURCE is defined.
12592
d0503676
CD
125932014-02-25 Ulrich Drepper <drepper@gmail.com>
12594 Carlos O'Donell <carlos@redhat.com>
12595
12596 [BZ #16613]
12597 * elf/dl-tls.c (_dl_count_modids): New function.
12598 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12599 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12600 audit library and increment generation counter.
12601 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12602 * elf/tst-audit9.c: New file.
12603 * elf/tst-auditmod9a.c: New file.
12604 * elf/tst-auditmod9b.c: New file.
12605 * elf/Makefile: Add rules to build and run tst-audit9.
12606
4cbf380c
FW
126072014-02-25 Florian Weimer <fweimer@redhat.com>
12608
12609 [BZ #15347]
12610 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12611
80a56cc3
WN
126122014-02-25 Will Newton <will.newton@linaro.org>
12613
12614 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12615 (__longjmp): Restore sp and lr before restoring callee
12616 saved registers. Add longjmp and longjmp_target
12617 SystemTap probe point.
12618 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12619 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12620 Define to zero to match jmpbuf layout.
12621 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12622 (__sigsetjmp): Save sp and lr before saving callee
12623 saved registers. Add setjmp SystemTap probe point.
12624
3ea0f74e
SL
126252014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12626
12627 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12628
b04acb26
AS
126292014-02-24 Andreas Schwab <schwab@suse.de>
12630
12631 [BZ #15804]
12632 * elf/pldd.c (wait_for_ptrace_stop): New function.
12633 (main): Call it after attaching.
12634
098ad55c
RM
126352014-02-22 Roland McGrath <roland@hack.frob.com>
12636
d4ec6ae1
RM
12637 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12638 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12639 Versions files is now verboten.
12640 * hurd/Versions (libc: GLIBC_2.0):
12641 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12642 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12643 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12644 * mach/Versions: Likewise.
12645
098ad55c
RM
12646 * csu/Versions: Remove unused %include.
12647 * resolv/Versions: Likewise.
12648
acd7f096
JM
126492014-02-21 Joseph Myers <joseph@codesourcery.com>
12650
f0881698
JM
12651 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12652 ($(objpfx)check-local-headers.out): Likewise.
12653 ($(objpfx)begin-end-check.out): Likewise.
12654 * Makerules (check-abi-%.out): Likewise.
12655 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12656 ($(objpfx)test2.cat): Likewise.
12657 ($(objpfx)de/libc.cat): Likewise.
12658 ($(objpfx)test-gencat.out): Likewise.
12659 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12660 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12661 ($(objpfx)noload-mem): Likewise.
12662 ($(objpfx)tst-pathopt.out): Likewise.
12663 ($(objpfx)tst-rtld-load-self.out): Likewise.
12664 ($(objpfx)tst-array1-cmp.out): Likewise.
12665 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12666 ($(objpfx)tst-array2-cmp.out): Likewise.
12667 ($(objpfx)tst-array3-cmp.out): Likewise.
12668 ($(objpfx)tst-array4-cmp.out): Likewise.
12669 ($(objpfx)tst-array5-cmp.out): Likewise.
12670 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12671 ($(objpfx)check-textrel.out): Likewise.
12672 ($(objpfx)check-execstack.out): Likewise.
12673 ($(objpfx)check-localplt.out): Likewise.
12674 ($(objpfx)order2-cmp.out): Likewise.
12675 ($(objpfx)tst-leaks1-mem): Likewise.
12676 ($(objpfx)tst-leaks1-static-mem): Likewise.
12677 ($(objpfx)tst-initorder-cmp.out): Likewise.
12678 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12679 ($(objpfx)tst-unused-dep.out): Likewise.
12680 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12681 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12682 * iconv/Makefile (test-iconvconfig): Likewise.
12683 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12684 ($(objpfx)iconv-test.out): Likewise.
12685 ($(objpfx)tst-tables.out): Likewise.
12686 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12687 ($(objpfx)tst-gettext.out): Likewise.
12688 ($(objpfx)tst-translit.out): Likewise.
12689 ($(objpfx)tst-gettext2.out): Likewise.
12690 ($(objpfx)tst-gettext4.out): Likewise.
12691 ($(objpfx)tst-gettext6.out): Likewise.
12692 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12693 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12694 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12695 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12696 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12697 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12698 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12699 ($(objpfx)wordexp-tst.out): Likewise.
12700 ($(objpfx)annexc.out): Likewise.
12701 ($(objpfx)tst-fnmatch-mem): Likewise.
12702 ($(objpfx)bug-regex2-mem): Likewise.
12703 ($(objpfx)bug-regex14-mem): Likewise.
12704 ($(objpfx)bug-regex21-mem): Likewise.
12705 ($(objpfx)bug-regex31-mem): Likewise.
12706 ($(objpfx)tst-vfork3-mem): Likewise.
12707 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12708 ($(objpfx)tst-pcre-mem): Likewise.
12709 ($(objpfx)tst-boost-mem): Likewise.
12710 ($(objpfx)tst-getconf.out): Likewise.
12711 ($(objpfx)bug-ga2-mem): Likewise.
12712 ($(objpfx)bug-glob2-mem): Likewise.
12713 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12714 ($(objpfx)mtrace-tst-leaks2): Likewise.
12715 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12716 ($(objpfx)tst-printf.out): Likewise.
12717 ($(objpfx)tst-setvbuf1.out): Likewise.
12718 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12719 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12720 ($(objpfx)tst-fmtmsg.out): Likewise.
12721 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12722 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12723
acd7f096
JM
12724 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12725 * bits/sigaction.h [__USE_MISC]: Likewise.
12726 * bits/waitstatus.h: Update #endif comments.
12727 * ctype/ctype.h: Likewise.
12728 * dirent/dirent.h: Likewise.
12729 [__USE_MISC]: Remove redundant conditionals.
12730 * grp/grp.h: Update #endif comments.
12731 [__USE_GNU]: Remove redundant conditionals.
12732 [__USE_MISC]: Likewise.
12733 * inet/netinet/in.h [__USE_GNU]: Likewise.
12734 * io/sys/stat.h [__USE_MISC]: Likewise.
12735 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12736 * libio/bits/stdio.h: Update #endif comments.
12737 [__USE_MISC]: Remove redundant conditionals.
12738 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12739 * libio/stdio.h: Update #endif comments.
12740 [__USE_MISC]: Remove redundant conditionals.
12741 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12742 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12743 * math/math.h: Update #else and #endif comments.
12744 [__USE_MISC]: Remove redundant conditionals.
12745 * misc/sys/uio.h: Update #endif comments.
12746 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12747 * posix/glob.h [__USE_MISC]: Likewise.
12748 * posix/sys/types.h: Update #endif comments.
12749 [__USE_MISC]: Remove redundant conditionals.
12750 * posix/sys/wait.h: Update #endif comments.
12751 [__USE_MISC]: Remove redundant conditionals.
12752 * posix/unistd.h: Update #endif comments.
12753 [__USE_MISC]: Remove redundant conditionals.
12754 * pwd/pwd.h [__USE_GNU]: Likewise.
12755 [__USE_MISC]: Likewise.
12756 * resolv/netdb.h [__USE_GNU]: Likewise.
12757 * signal/signal.h: Update #endif comments.
12758 [__USE_MISC]: Remove redundant conditionals.
12759 * stdlib/stdlib.h: Update #else and #endif comments.
12760 [__USE_MISC]: Remove redundant conditionals.
12761 [__USE_GNU]: Likewise.
12762 * string/bits/string2.h [__USE_MISC]: Likewise.
12763 * string/string.h: Update #endif comments.
12764 [__USE_MISC]: Remove redundant conditionals.
12765 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12766 Likewise.
12767 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12768 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12769 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12770 Likewise.
12771 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12772 Likewise.
12773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12774 comments.
12775 [__USE_MISC]: Remove redundant conditionals.
12776 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12777 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12778 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12779 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12780 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12781 Likewise.
12782 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12783 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12784 Likewise.
12785 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12786 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12787 Likewise.
12788 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12789 Likewise.
12790 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12791 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12792 Likewise.
12793 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12794 Likewise.
12795 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12796 * sysdeps/x86/bits/string.h: Update #endif comments.
12797 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12798 conditionals.
12799 * time/sys/time.h: Update #endif comments.
12800 * time/time.h: Likewise.
12801 [__USE_MISC]: Remove redundant conditionals.
12802
a5d82e4e
YG
128032014-02-21 Yury Gribov <y.gribov@samsung.com>
12804
12805 [BZ #16600]
12806 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12807
9a80491d
AS
128082014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12809
12810 * Versions.def (librt): Add GLIBC_2.17.
12811
105fa381
AC
128122014-02-21 Adam Conrad <adconrad@0c3.net>
12813
12814 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12815 synonym for _SYS_AUXV_H to allow direct inclusion.
12816 * sysdeps/sparc/bits/hwcap.h: Likewise.
12817 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12818 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12819 * sysdeps/sparc/sysdep.h: Likewise.
12820
b8cd1c4e
SP
128212014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12822
12823 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12824
bd939d23
RS
128252014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12826
12827 * benchtests/bench-strrchr.c: Print length instead of position.
12828
5d7b57ca
JM
128292014-02-20 Joseph Myers <joseph@codesourcery.com>
12830
bc688c10
JM
12831 [BZ #16611]
12832 * sysdeps/unix/sysv/linux/kernel-features.h
12833 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12834 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12835 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12836 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12837 Likewise.
12838 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12839 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12840 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12841 (__ASSUME_SENDMMSG): Define instead of using previous
12842 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12843 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12844 (__ASSUME_SENDMMSG_SYSCALL): Define.
12845 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12846 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12847 Likewise.
12848 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12849 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12850 Likewise.
12851 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12852 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12853 Likewise.
12854 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12855 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12856 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12857 [__ASSUME_SENDMMSG]: Change conditionals to
12858 [__ASSUME_SENDMMSG_SOCKETCALL].
12859 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12860 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12861 Define.
12862 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12863 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12864 Likewise.
12865 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12866 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12867 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12868 [!__ASSUME_SENDMMSG]: Change conditional to
12869 [!__ASSUME_SENDMMSG_SOCKETCALL].
12870 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12871 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12872 Define.
12873
0e31b18c
JM
12874 [BZ #16610]
12875 * sysdeps/unix/sysv/linux/kernel-features.h
12876 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12877 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12878 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12879 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12880 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12881 [__i386__ || __sparc__]
12882 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12883 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12884 (__ASSUME_RECVMMSG): Define instead of using previous
12885 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12886 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12887 (__ASSUME_RECVMMSG_SYSCALL): Define.
12888 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12889 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12890 Likewise.
12891 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12892 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12893 Likewise.
12894 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12895 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12896 Likewise.
12897 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12898 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12899 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12900 [__ASSUME_RECVMMSG]: Change condition to
12901 [__ASSUME_RECVMMSG_SOCKETCALL].
12902 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12903 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12904 Define.
12905 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12906 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12907 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12908 Likewise.
12909 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12910 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12911 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12912 [!__ASSUME_RECVMMSG]: Change condition to
12913 [!__ASSUME_RECVMMSG_SOCKETCALL].
12914 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12915 (__ASSUME_RECVMMSG_SYSCALL): Define.
12916
dd481ccf
JM
12917 [BZ #16609]
12918 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12919 __powerpc__ || __s390__ || __sh__ || __sparc__]
12920 (__ASSUME_SOCKETCALL): Define.
12921 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12922 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12923 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12924 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12925 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12926 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12927 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12928 (__ASSUME_ACCEPT4): Define instead of using previous
12929 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12930 __powerpc__ || __sparc__ || __s390__)] condition.
12931 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12932 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12933 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12934 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12935 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12936 [!__ASSUME_ACCEPT4]: Change condition to
12937 [!__ASSUME_ACCEPT4_SOCKETCALL].
12938 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12939 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12940 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12941 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12942 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12943 __ASSUME_ACCEPT4_SYSCALL.
12944 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12945 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12946 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12947 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12948 __ASSUME_ACCEPT4_SYSCALL.
12949 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12950 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12951 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12952 [__ASSUME_ACCEPT4]: Change condition to
12953 [__ASSUME_ACCEPT4_SOCKETCALL].
12954 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12955 (__ASSUME_SOCKETCALL): Define.
12956 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12957 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12958 (__ASSUME_SOCKETCALL): Define.
12959 (__ASSUME_ACCEPT4): Remove.
12960 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12961 Define.
12962 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12963 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12964 Likewise.
12965 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12966 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12967
5d7b57ca
JM
12968 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12969 macro.
12970 (HWCAP_ARM_LPAE): Likewise.
12971 (HWCAP_ARM_EVTSTRM): Likewise.
12972 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12973 Add vpfd32, lpae and evtstrm.
12974 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12975 Increase to 22.
12976
63689d61
JM
129772014-02-19 Joseph Myers <joseph@codesourcery.com>
12978
12979 * math/auto-libm-test-in: Add tests of clog10.
12980 * math/auto-libm-test-out: Regenerated.
12981 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12982 * sysdeps/i386/fpu/libm-test-ulps: Update.
12983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12984
ab09bf61
AS
129852014-02-18 Andreas Schwab <schwab@suse.de>
12986
12987 [BZ #16574]
12988 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12989 Store non-zero if the second buffer was newly allocated.
12990 (send_dg): Likewise.
12991 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12992 to send_vc and send_dg.
12993 (res_nsend): Pass NULL for ansp2_malloced.
12994 * resolv/res_query.c (__libc_res_nquery): Add parameter
12995 answerp2_malloced and pass it down to __libc_res_nsend.
12996 (res_nquery): Pass additional NULL to __libc_res_nquery.
12997 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12998 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12999 second answer buffer if answerp2_malloced was set.
13000 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13001 (__libc_res_nquerydomain): Add parameter
13002 answerp2_malloced and pass it down to __libc_res_nquery.
13003 (res_nquerydomain): Pass additional NULL to
13004 __libc_res_nquerydomain.
13005 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13006 additional NULL to __libc_res_nsend and __libc_res_nquery.
13007 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13008 additional NULL to __libc_res_nsearch.
13009 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13010 parameter of __libc_res_nsearch to check for separately allocated
13011 second buffer.
13012 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13013 __libc_res_nquery.
13014 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13015 additional NULL to __libc_res_nquery.
13016 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13017 __libc_res_nsearch.
13018 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13019 * include/resolv.h: Update prototypes of __libc_res_nquery,
13020 __libc_res_nsearch, __libc_res_nsend.
13021
a4fb7861
JM
130222014-02-18 Joseph Myers <joseph@codesourcery.com>
13023
c6af2d89
JM
13024 * math/auto-libm-test-in: Add tests of fma.
13025 * math/auto-libm-test-out: Regenerated.
13026 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13027 (fma_towardzero_test_data): Likewise.
13028 (fma_downward_test_data): Likewise.
13029 (fma_upward_test_data): Likewise.
13030 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13031 mpc_mode.
13032 (rounding_modes): Add values for new field.
13033 (func_calc_method): Add value mpfr_fff_f.
13034 (func_calc_desc): Add mpfr_fff_f union field.
13035 (test_function): Add field exact_args.
13036 (FUNC): Add macro argument EXACT_ARGS.
13037 (FUNC_mpfr_f_f): Update call to FUNC.
13038 (FUNC_mpfr_f_f): Likewise.
13039 (FUNC_mpfr_ff_f): Likewise.
13040 (FUNC_mpfr_if_f): Likewise.
13041 (FUNC_mpc_c_f): Likewise.
13042 (FUNC_mpc_c_c): Likewise.
13043 (test_functions): Add fma. Update calls to FUNC.
13044 (handle_input_arg): Add argument exact_args.
13045 (add_test): Update call to handle_input_arg.
13046 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13047 (output_for_one_input_case): Update call to calc_generic_results.
13048 Recalculate exact zero results in each rounding mode.
13049
a4fb7861
JM
13050 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13051 non-negative before setting low bit.
13052 * math/auto-libm-test-in: Mark one asin test possibly having
13053 spurious underflow.
13054 * math/auto-libm-test-out: Regenerated.
13055 * sysdeps/i386/fpu/libm-test-ulps: Update.
13056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13057
ef114eaf
DH
130582014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13059
2b7f4f2c
SP
13060 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13061 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13062 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
13063 * README: Add missing listing for microblaze*-*-linux-gnu.
13064
8125aedc
AM
130652014-02-16 Ondřej Bílka <neleai@seznam.cz>
13066
13067 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13068 duplicate code
13069
c70a4b1d
MF
130702014-02-16 Mike Frysinger <vapier@gentoo.org>
13071
13072 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13073 * sysdeps/unix/sysv/linux/ia64: Move directory from
13074 ports/sysdeps/unix/sysv/linux/ia64.
13075 * README: Update listing for ia64-*-linux-gnu.
13076
591aeaf7
TD
130772014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13078 Joseph Myers <joseph@codesourcery.com>
13079
13080 * Makeconfig (test-name): New variable.
13081 (evaluate-test): Likewise.
13082 * Makerules (do-test-clean): Remove .test-result files.
13083 (common-mostlyclean): Likewise.
13084 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13085 * scripts/evaluate-test.sh: New file.
13086
6e89caf1
JM
130872014-02-14 Joseph Myers <joseph@codesourcery.com>
13088
7f98f180
JM
13089 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13090 separate $(objpfx)tst-fopenloc-cmp.out and
13091 $(objpfx)tst-fopenloc-mem.out targets.
13092 (tests): Update dependencies.
13093 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13094 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13095 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13096 (tst-rxspencer-no-utf8-ARGS): New variable.
13097 (tst-rxspencer-no-utf8-ENV): Likewise.
13098 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13099 instead of $(objpfx)tst-rxspencer-mem.
13100 ($(objpfx)tst-rxspencer-mem): Change target to
13101 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13102 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13103 * posix/tst-rxspencer-no-utf8.c: New file.
13104
6e89caf1
JM
13105 * elf/Makefile ($(objpfx)order.out): Remove rule.
13106 [$(run-built-tests) = yes] (tests): Depend on
13107 $(objpfx)order-cmp.out.
13108 ($(objpfx)order-cmp.out): New rule.
13109 [$(run-built-tests) = yes] (tests): Depend on
13110 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13111 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13112 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13113 $(objpfx)tst-array5-static-cmp.out.
13114 ($(objpfx)tst-array1.out): Remove rule.
13115 ($(objpfx)tst-array1-cmp.out): New rule.
13116 ($(objpfx)tst-array1-static.out): Remove rule.
13117 ($(objpfx)tst-array1-static-cmp.out): New rule.
13118 ($(objpfx)tst-array2.out): Remove rule.
13119 ($(objpfx)tst-array2-cmp.out): New rule.
13120 ($(objpfx)tst-array3.out): Remove rule.
13121 ($(objpfx)tst-array3-cmp.out): New rule.
13122 ($(objpfx)tst-array4.out): Remove rule.
13123 ($(objpfx)tst-array4-cmp.out): New rule.
13124 ($(objpfx)tst-array5.out): Remove rule.
13125 ($(objpfx)tst-array5-cmp.out): New rule.
13126 ($(objpfx)tst-array5-static.out): Remove rule.
13127 ($(objpfx)tst-array5-static-cmp.out): New rule.
13128 [$(run-built-tests) = yes] (tests): Depend on
13129 $(objpfx)order2-cmp.out.
13130 ($(objpfx)order2.out): Remove rule.
13131 ($(objpfx)order2-cmp.out): New rule.
13132 ($(objpfx)tst-initorder.out): Remove rule.
13133 [$(run-built-tests) = yes] (tests): Depend on
13134 $(objpfx)tst-initorder-cmp.out.
13135 ($(objpfx)tst-initorder-cmp.out): New rule.
13136 ($(objpfx)tst-initorder2.out): Remove rule.
13137 [$(run-built-tests) = yes] (tests): Depend on
13138 $(objpfx)tst-initorder2-cmp.out.
13139 ($(objpfx)tst-initorder2-cmp.out): New rule.
13140 [$(run-built-tests) = yes] (tests): Depend on
13141 $(objpfx)tst-unused-dep-cmp.out.
13142 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13143 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13144 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13145 on $(objpfx)tst-setvbuf1-cmp.out.
13146 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13147 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13148 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13149 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13150 ($(objpfx)tst-svc.out): Remove rule.
13151 ($(objpfx)tst-svc-cmp.out): New rule.
13152
ed9a38e2
JM
131532014-02-13 Joseph Myers <joseph@codesourcery.com>
13154
13155 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13156 * ctype/ctype.h [__USE_MISC]: Likewise.
13157 * dirent/dirent.h [__USE_MISC]: Likewise.
13158 * grp/grp.h [__USE_MISC]: Likewise.
13159 * io/fcntl.h [__USE_MISC]: Likewise.
13160 * io/sys/stat.h [__USE_MISC]: Likewise.
13161 * libio/stdio.h [__USE_MISC]: Likewise.
13162 * posix/unistd.h [__USE_MISC]: Likewise.
13163 * pwd/pwd.h [__USE_MISC]: Likewise.
13164 * stdlib.h [__USE_MISC]: Likewise.
13165 * string/bits/string2.h [__USE_MISC]: Likewise.
13166 * string/string.h [__USE_MISC]: Likewise.
13167 * time/time.h [__USE_MISC]: Likewise.
13168
d6680619
AS
131692014-02-13 Andreas Schwab <schwab@suse.de>
13170
13171 [BZ #16574]
13172 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13173 second answer buffer if it was separately allocated.
13174
ace614b8
JM
131752014-02-12 Joseph Myers <joseph@codesourcery.com>
13176
743151ae
JM
13177 * sysdeps/mips/math-tests.h: Include <features.h>.
13178 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13179 (ROUNDING_TESTS_long_double): Do not define.
13180 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13181 (EXCEPTION_TESTS_long_double): Likewise.
13182 * sysdeps/mips/mips64/libm-test-ulps: Update.
13183
498afc54
JM
13184 * include/features.h (__USE_BSD): Remove macro definitions.
13185 (__USE_SVID): Likewise.
13186 (_BSD_SOURCE): Likewise.
13187 (_SVID_SOURCE): Likewise.
13188 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13189 from definition of _DEFAULT_SOURCE.
13190 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13191 [_DEFAULT_SOURCE].
13192 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13193 * bits/mman.h [__USE_BSD]: Likewise.
13194 * bits/termios.h [__USE_BSD]: Likewise.
13195 * bits/waitstatus.h [__USE_BSD]: Likewise.
13196 * ctype/ctype.h [__USE_SVID]: Likewise.
13197 * dirent/dirent.h [__USE_BSD]: Likewise.
13198 * grp/grp.h [__USE_SVID]: Likewise.
13199 [__USE_BSD]: Likewise.
13200 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13201 * io/fcntl.h [__USE_BSD]: Likewise.
13202 * io/ftw.h [__USE_BSD]: Likewise.
13203 * io/sys/stat.h [__USE_BSD]: Likewise.
13204 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13205 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13206 * libio/stdio.h [__USE_SVID]: Likewise.
13207 [__USE_BSD]: Likewise.
13208 * math/math.h [__USE_SVID]: Likewise.
13209 [__USE_BSD]: Likewise.
13210 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13211 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13212 * misc/search.h [__USE_SVID]: Likewise.
13213 * misc/sys/mman.h [__USE_BSD]: Likewise.
13214 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13215 * misc/sys/uio.h [__USE_BSD]: Likewise.
13216 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13217 * posix/glob.h [__USE_BSD]: Likewise.
13218 * posix/regex.h [__USE_BSD]: Likewise.
13219 * posix/sys/types.h [__USE_BSD]: Likewise.
13220 [__USE_SVID]: Likewise.
13221 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13222 * posix/sys/wait.h [__USE_BSD]: Likewise.
13223 [__USE_SVID]: Likewise.
13224 * posix/unistd.h [__USE_BSD]: Likewise.
13225 [__USE_SVID]: Likewise.
13226 * pwd/pwd.h [__USE_SVID]: Likewise.
13227 * resolv/netdb.h [__USE_BSD]: Likewise.
13228 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13229 * signal/signal.h [__USE_BSD]: Likewise.
13230 [__USE_SVID]: Likewise.
13231 * socket/sys/socket.h [__USE_BSD]: Likewise.
13232 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13233 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13234 [__USE_SVID]: Likewise.
13235 * string/bits/string2.h [__USE_BSD]: Likewise.
13236 [__USE_SVID]: Likewise.
13237 * string/bits/string3.h [__USE_BSD]: Likewise.
13238 * string/endian.h [__USE_BSD]: Likewise.
13239 * string/string.h [__USE_SVID]: Likewise.
13240 [__USE_BSD]: Likewise.
13241 * string/strings.h [__USE_BSD]: Likewise.
13242 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13243 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13244 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13245 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13246 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13247 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13248 Likewise.
13249 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13250 Likewise.
13251 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13252 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13253 Likewise.
13254 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13255 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13256 Likewise.
13257 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13258 Likewise.
13259 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13260 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13262 Likewise.
13263 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13264 Likewise.
13265 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13266 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13267 * termios/termios.h [__USE_BSD]: Likewise.
13268 * time/sys/time.h [__USE_BSD]: Likewise.
13269 * time/time.h [__USE_BSD]: Likewise.
13270 [__USE_SVID]: Likewise.
13271
dd7b064c
JM
13272 * Makefile (subdir_targets): Remove subdir_lint.out.
13273
a2c4c199
JM
13274 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13275 (do-tst-printf): Likewise.
13276 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13277 $(objpfx)tst-printf.out.
13278
8756f740
JM
13279 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13280
1b6dd3f1
JM
13281 * Makerules (check-abi-%): Change target to
13282 $(objpfx)check-abi-%.out.
13283 (check-abi target): Update dependencies.
13284 (check-abi-pattern variable): Redirect output of diff to $@.
13285 (check-abi variable): Likewise.
13286 * elf/Makefile (check-abi): Update dependencies.
13287
ace614b8
JM
13288 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13289 unused.
13290 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13291 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13292 subnormal range.
13293 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13294 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13295 value has largest subnormal exponent.
13296 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13297 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13298 * sysdeps/aarch64/soft-fp/sfp-machine.h
13299 (_FP_TININESS_AFTER_ROUNDING): New macro.
13300 * sysdeps/alpha/soft-fp/sfp-machine.h
13301 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13302 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13303 Likewise.
13304 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13305 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13306 * sysdeps/mips/soft-fp/sfp-machine.h
13307 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13308 * sysdeps/powerpc/soft-fp/sfp-machine.h
13309 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13310 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13311 Likewise.
13312 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13313 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13315 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13316 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13317 Likewise.
13318
fbfdf9cb
DAS
133192014-02-12 Dylan Alex Simon <dylan@dylex.net>
13320
13321 [BZ #16545]
13322 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13323 model 1.
13324
68b7efaa
RH
133252014-02-12 Richard Henderson <rth@redhat.com>
13326
c70a4b1d 13327 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13328 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13329 * sysdeps/unix/sysv/linux/alpha: Move directory from
13330 ports/sysdeps/unix/sysv/linux/alpha.
13331 * README: Update listing for alpha-*-linux-gnu.
13332
cb4a2928
JM
133332014-02-11 Joseph Myers <joseph@codesourcery.com>
13334
c941736c
JM
13335 * include/features.h: Update comment documenting feature test
13336 macros.
13337 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13338 _DEFAULT_SOURCE.
13339 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13340 (_SVID_SOURCE): Likewise.
13341 (_DEFAULT_SOURCE): Update description of default features.
13342 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13343 with _GNU_SOURCE.
13344 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13345 (S_ISVTX): Likewise.
13346 * manual/math.texi (Mathematical Constants): Likewise.
13347 * manual/signal.texi (Interrupted Primitives): Likewise.
13348 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13349 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13350 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13351 Don't refer to _SVID_SOURCE in warning text.
13352
e8d8d7ec
JM
13353 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13354
cb4a2928
JM
13355 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13356 already defined.
13357 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13358 * sysdeps/mips/dl-lookup.c: Remove.
13359 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13360
7e6424e3
AK
133612014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13362
13363 [BZ #16447]
13364 * math/auto-libm-test-in: Add testcase for expl.
13365 * math/auto-libm-test-out: Regenerate.
13366 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13367 calculation of unsafe.
13368 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13369
75eff3fe
MS
133702014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13371
13372 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13373 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13374 ports/sysdeps/unix/sysv/linux/aarch64.
13375 * README: Update listing for aarch64*-*-linux-gnu.
13376
d35f1e80
WN
133772014-02-11 Will Newton <will.newton@linaro.org>
13378
13379 * manual/probes.texi (Mathematical Function Probes): Use
13380 "triggered" instead of "hit".
13381
7b3436d4
WN
13382 * manual/probes.texi (Internal Probes): Add documentation
13383 of setjmp, longjmp and longjmp_target probes.
13384
b4f12ca3
WN
13385 * include/stap-probe.h: Add comment about probe argument
13386 format.
13387
c13a72b7
WN
13388 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13389 definition. (tr_where, tr_freehook, tr_mallochook,
13390 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13391
195b8165
DM
133922014-02-11 David S. Miller <davem@davemloft.net>
13393
13394 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13395 processing int_tests.
13396
2ad7600b
JM
133972014-02-10 Joseph Myers <joseph@codesourcery.com>
13398
13399 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13400 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13401 * sysdeps/unix/sysv/linux/mips: Move directory from
13402 ports/sysdeps/unix/sysv/linux/mips.
13403 * README: Update listing for mips-*-linux-gnu and
13404 mips64-*-linux-gnu.
13405
73588a72
AS
134062014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13407
13408 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13409 * sysdeps/unix/sysv/linux/m68k: Move directory from
13410 ports/sysdeps/unix/sysv/linux/m68k.
13411 * README: Update listing for m68k-*-linux-gnu.
13412
4372980f
CM
134132014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13414
13415 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13416 * sysdeps/unix/sysv/linux/generic: Move directory from
13417 ports/sysdeps/unix/sysv/linux/generic.
13418 * sysdeps/unix/sysv/linux/tile: Move directory from
13419 ports/sysdeps/unix/sysv/linux/tile.
13420 * README: Update listing for tile*-*-linux-gnu.
13421
a1ffb40e
OB
134222014-02-10 Ondřej Bílka <neleai@seznam.cz>
13423
57f41c40
AS
13424 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13425 __builtin_expect.
a1ffb40e
OB
13426 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13427 * catgets/open_catalog.c (__open_catalog): Likewise.
13428 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13429 * debug/confstr_chk.c: Likewise.
13430 * debug/fread_chk.c (__fread_chk): Likewise.
13431 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13432 * debug/getgroups_chk.c: Likewise.
13433 * debug/mbsnrtowcs_chk.c: Likewise.
13434 * debug/mbsrtowcs_chk.c: Likewise.
13435 * debug/mbstowcs_chk.c: Likewise.
13436 * debug/memcpy_chk.c: Likewise.
13437 * debug/memmove_chk.c: Likewise.
13438 * debug/mempcpy_chk.c: Likewise.
13439 * debug/memset_chk.c: Likewise.
13440 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13441 * debug/strcat_chk.c (__strcat_chk): Likewise.
13442 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13443 * debug/strncat_chk.c (__strncat_chk): Likewise.
13444 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13445 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13446 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13447 * debug/wcpncpy_chk.c: Likewise.
13448 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13449 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13450 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13451 * debug/wcsncpy_chk.c: Likewise.
13452 * debug/wcsnrtombs_chk.c: Likewise.
13453 * debug/wcsrtombs_chk.c: Likewise.
13454 * debug/wcstombs_chk.c: Likewise.
13455 * debug/wmemcpy_chk.c: Likewise.
13456 * debug/wmemmove_chk.c: Likewise.
13457 * debug/wmempcpy_chk.c: Likewise.
13458 * debug/wmemset_chk.c: Likewise.
13459 * dirent/scandirat.c (SCANDIRAT): Likewise.
13460 * dlfcn/dladdr1.c (dladdr1): Likewise.
13461 * dlfcn/dladdr.c (dladdr): Likewise.
13462 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13463 * dlfcn/dlerror.c (__dlerror): Likewise.
13464 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13465 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13466 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13467 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13468 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13469 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13470 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13471 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13472 Likewise.
13473 * elf/dl-conflict.c: Likewise.
13474 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13475 * elf/dl-dst.h: Likewise.
13476 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13477 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13478 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13479 * elf/dl-init.c (call_init, _dl_init): Likewise.
13480 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13481 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13482 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13483 Likewise.
a1ffb40e
OB
13484 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13485 Likewise.
13486 * elf/dl-minimal.c (__libc_memalign): Likewise.
13487 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13488 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13489 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13490 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13491 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13492 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13493 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13494 * elf/dl-writev.h (_dl_writev): Likewise.
13495 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13496 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13497 (dl_main): Likewise.
a1ffb40e
OB
13498 * elf/setup-vdso.h (setup_vdso): Likewise.
13499 * grp/compat-initgroups.c (compat_call): Likewise.
13500 * grp/fgetgrent.c (fgetgrent): Likewise.
13501 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13502 * grp/putgrent.c (putgrent): Likewise.
13503 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13504 Likewise.
13505 * hurd/hurdinit.c: Likewise.
13506 * iconvdata/8bit-gap.c (struct): Likewise.
13507 * iconvdata/ansi_x3.110.c : Likewise.
13508 * iconvdata/big5.c : Likewise.
13509 * iconvdata/big5hkscs.c : Likewise.
13510 * iconvdata/cp1255.c: Likewise.
13511 * iconvdata/cp1258.c : Likewise.
13512 * iconvdata/cp932.c : Likewise.
13513 * iconvdata/euc-cn.c: Likewise.
13514 * iconvdata/euc-jisx0213.c : Likewise.
13515 * iconvdata/euc-jp.c: Likewise.
13516 * iconvdata/euc-jp-ms.c : Likewise.
13517 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13518 * iconvdata/gb18030.c : Likewise.
13519 * iconvdata/gbbig5.c (const): Likewise.
13520 * iconvdata/gbgbk.c: Likewise.
13521 * iconvdata/gbk.c : Likewise.
13522 * iconvdata/ibm1364.c : Likewise.
13523 * iconvdata/ibm930.c : Likewise.
13524 * iconvdata/ibm932.c: Likewise.
13525 * iconvdata/ibm933.c : Likewise.
13526 * iconvdata/ibm935.c : Likewise.
13527 * iconvdata/ibm937.c : Likewise.
13528 * iconvdata/ibm939.c : Likewise.
13529 * iconvdata/ibm943.c: Likewise.
13530 * iconvdata/iso_11548-1.c: Likewise.
13531 * iconvdata/iso-2022-cn.c : Likewise.
13532 * iconvdata/iso-2022-cn-ext.c : Likewise.
13533 * iconvdata/iso-2022-jp-3.c: Likewise.
13534 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13535 * iconvdata/iso-2022-kr.c : Likewise.
13536 * iconvdata/iso646.c (gconv_end): Likewise.
13537 * iconvdata/iso_6937-2.c : Likewise.
13538 * iconvdata/iso_6937.c : Likewise.
13539 * iconvdata/iso8859-1.c: Likewise.
13540 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13541 * iconvdata/shift_jisx0213.c : Likewise.
13542 * iconvdata/sjis.c : Likewise.
13543 * iconvdata/t.61.c : Likewise.
13544 * iconvdata/tcvn5712-1.c : Likewise.
13545 * iconvdata/tscii.c: Likewise.
13546 * iconvdata/uhc.c : Likewise.
13547 * iconvdata/unicode.c (gconv_end): Likewise.
13548 * iconvdata/utf-16.c (gconv_end): Likewise.
13549 * iconvdata/utf-32.c (gconv_end): Likewise.
13550 * iconvdata/utf-7.c (base64): Likewise.
13551 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13552 * iconv/gconv_close.c (__gconv_close): Likewise.
13553 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13554 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13555 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13556 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13557 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13558 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13559 * iconv/iconv.c (iconv): Likewise.
13560 * iconv/iconv_close.c: Likewise.
13561 * iconv/loop.c (SINGLE): Likewise.
13562 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13563 * include/atomic.h: Likewise.
13564 * inet/inet6_option.c (option_alloc): Likewise.
13565 * intl/bindtextdom.c (set_binding_values): Likewise.
13566 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13567 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13568 * intl/localealias.c (read_alias_file): Likewise.
13569 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13570 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13571 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13572 * libio/fmemopen.c (fmemopen): Likewise.
13573 * libio/iofgets.c (_IO_fgets): Likewise.
13574 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13575 * libio/iofgetws.c (fgetws): Likewise.
13576 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13577 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13578 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13579 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13580 * locale/findlocale.c (_nl_find_locale): Likewise.
13581 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13582 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13583 Likewise.
13584 * locale/setlocale.c (setlocale): Likewise.
13585 * login/programs/pt_chown.c (main): Likewise.
13586 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13587 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13588 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13589 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13590 * math/e_exp2l.c: Likewise.
13591 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13592 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13593 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13594 * math/s_catan.c (__catan): Likewise.
13595 * math/s_catanf.c (__catanf): Likewise.
13596 * math/s_catanh.c (__catanh): Likewise.
13597 * math/s_catanhf.c (__catanhf): Likewise.
13598 * math/s_catanhl.c (__catanhl): Likewise.
13599 * math/s_catanl.c (__catanl): Likewise.
13600 * math/s_ccosh.c (__ccosh): Likewise.
13601 * math/s_ccoshf.c (__ccoshf): Likewise.
13602 * math/s_ccoshl.c (__ccoshl): Likewise.
13603 * math/s_cexp.c (__cexp): Likewise.
13604 * math/s_cexpf.c (__cexpf): Likewise.
13605 * math/s_cexpl.c (__cexpl): Likewise.
13606 * math/s_clog10.c (__clog10): Likewise.
13607 * math/s_clog10f.c (__clog10f): Likewise.
13608 * math/s_clog10l.c (__clog10l): Likewise.
13609 * math/s_clog.c (__clog): Likewise.
13610 * math/s_clogf.c (__clogf): Likewise.
13611 * math/s_clogl.c (__clogl): Likewise.
13612 * math/s_csin.c (__csin): Likewise.
13613 * math/s_csinf.c (__csinf): Likewise.
13614 * math/s_csinh.c (__csinh): Likewise.
13615 * math/s_csinhf.c (__csinhf): Likewise.
13616 * math/s_csinhl.c (__csinhl): Likewise.
13617 * math/s_csinl.c (__csinl): Likewise.
13618 * math/s_csqrt.c (__csqrt): Likewise.
13619 * math/s_csqrtf.c (__csqrtf): Likewise.
13620 * math/s_csqrtl.c (__csqrtl): Likewise.
13621 * math/s_ctan.c (__ctan): Likewise.
13622 * math/s_ctanf.c (__ctanf): Likewise.
13623 * math/s_ctanh.c (__ctanh): Likewise.
13624 * math/s_ctanhf.c (__ctanhf): Likewise.
13625 * math/s_ctanhl.c (__ctanhl): Likewise.
13626 * math/s_ctanl.c (__ctanl): Likewise.
13627 * math/w_pow.c: Likewise.
13628 * math/w_powf.c: Likewise.
13629 * math/w_powl.c: Likewise.
13630 * math/w_scalb.c (sysv_scalb): Likewise.
13631 * math/w_scalbf.c (sysv_scalbf): Likewise.
13632 * math/w_scalbl.c (sysv_scalbl): Likewise.
13633 * misc/error.c (error_tail): Likewise.
13634 * misc/pselect.c (__pselect): Likewise.
13635 * nis/nis_callback.c (__nis_create_callback): Likewise.
13636 * nis/nis_call.c (__nisfind_server): Likewise.
13637 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13638 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13639 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13640 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13641 * nis/nis_lookup.c (nis_lookup): Likewise.
13642 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13643 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13644 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13645 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13646 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13647 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13648 * nis/nss_compat/compat-initgroups.c (add_group)
13649 (internal_getgrent_r): Likewise.
13650 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13651 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13652 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13653 (internal_getspnam_r): Likewise.
13654 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13655 (_nss_nis_getaliasbyname_r): Likewise.
13656 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13657 (_nss_nis_getntohost_r): Likewise.
13658 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13659 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13660 (_nss_nis_getgrgid_r): Likewise.
13661 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13662 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13663 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13664 (_nss_nis_gethostbyname4_r): Likewise.
13665 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13666 (initgroups_netid): Likewise.
a1ffb40e 13667 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13668 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13669 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13670 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13671 (_nss_nis_getprotobynumber_r): Likewise.
13672 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13673 (_nss_nis_getsecretkey): Likewise.
13674 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13675 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13676 (_nss_nis_getpwuid_r): Likewise.
13677 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13678 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13679 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13680 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13681 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13682 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13683 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13684 Likewise.
57f41c40
AS
13685 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13686 (_nss_nisplus_getntohost_r): Likewise.
13687 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13688 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13689 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13690 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13691 Likewise.
57f41c40
AS
13692 * nis/nss_nisplus/nisplus-initgroups.c
13693 (_nss_nisplus_initgroups_dyn): Likewise.
13694 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13695 (_nss_nisplus_getnetbyaddr_r): Likewise.
13696 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13697 (_nss_nisplus_getprotobynumber_r): Likewise.
13698 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13699 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13700 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13701 Likewise.
57f41c40
AS
13702 * nis/nss_nisplus/nisplus-service.c
13703 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13704 (_nss_nisplus_getservbyport_r): Likewise.
13705 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13706 (_nss_nisplus_getspnam_r): Likewise.
13707 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13708 Likewise.
a1ffb40e
OB
13709 * nscd/aicache.c (addhstaiX): Likewise.
13710 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13711 * nscd/connections.c (register_traced_file, send_ro_fd)
13712 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13713 (main_loop_epoll): Likewise.
a1ffb40e
OB
13714 * nscd/grpcache.c (addgrbyX): Likewise.
13715 * nscd/hstcache.c (addhstbyX): Likewise.
13716 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13717 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13718 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13719 (addinnetgrX): Likewise.
13720 * nscd/nscd-client.h (__nscd_acquire_maplock)
13721 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13722 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13723 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13724 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13725 Likewise.
13726 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13728 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13729 (__nscd_get_map_ref): Likewise.
a1ffb40e 13730 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13731 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13732 Likewise.
a1ffb40e
OB
13733 * nscd/pwdcache.c (addpwbyX): Likewise.
13734 * nscd/selinux.c (preserve_capabilities): Likewise.
13735 * nscd/servicescache.c (addservbyX): Likewise.
13736 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13737 * posix/fnmatch.c (fnmatch): Likewise.
13738 * posix/getopt.c (_getopt_internal_r): Likewise.
13739 * posix/glob.c (glob, glob_in_dir): Likewise.
13740 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13741 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13742 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13743 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13744 * resolv/res_init.c: Likewise.
13745 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13746 * resolv/res_query.c (__libc_res_nquery): Likewise.
13747 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13748 Likewise.
13749 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13750 * stdio-common/perror.c (perror): Likewise.
13751 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13752 * stdio-common/tmpnam.c (tmpnam): Likewise.
13753 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13754 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13755 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13756 Likewise.
a1ffb40e
OB
13757 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13758 * stdlib/putenv.c (putenv): Likewise.
13759 * stdlib/setenv.c (__add_to_environ): Likewise.
13760 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13761 * stdlib/strtol_l.c (INTERNAL): Likewise.
13762 * string/memmem.c (memmem): Likewise.
13763 * string/strerror.c (strerror): Likewise.
13764 * string/strnlen.c (__strnlen): Likewise.
13765 * string/test-memmem.c (simple_memmem): Likewise.
13766 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13767 * sunrpc/pm_getport.c (__get_socket): Likewise.
13768 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13769 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13770 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13771 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13772 Likewise.
13773 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13774 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13775 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13776 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13777 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13778 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13779 Likewise.
13780 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13781 Likewise.
a1ffb40e
OB
13782 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13783 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13784 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13785 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13786 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13788 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13789 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13790 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13791 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13792 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13793 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13794 Likewise.
13795 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13796 Likewise.
13797 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13798 Likewise.
13799 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13800 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13801 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13802 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13803 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13804 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13805 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13807 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13808 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13809 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13811 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13812 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13814 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13815 Likewise.
a1ffb40e
OB
13816 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13817 Likewise.
13818 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13819 Likewise.
13820 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13821 Likewise.
13822 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13824 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13825 Likewise.
13826 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13827 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13828 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13829 * sysdeps/posix/sleep.c: Likewise.
13830 * sysdeps/posix/tempname.c: Likewise.
13831 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13832 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13833 Likewise.
57f41c40
AS
13834 * sysdeps/powerpc/powerpc32/dl-machine.h
13835 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13836 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13838 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13839 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13840 Likewise.
13841 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13842 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13843 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13844 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13845 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13846 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13847 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13848 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13849 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13850 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13851 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13852 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13853 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13854 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13855 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13856 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13857 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13858 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13859 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13860 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13861 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13862 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13864 Likewise.
13865 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13866 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13867 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13868 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13869 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13870 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13871 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13872 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13873 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13874 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13875 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13876 Likewise.
13877 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13878 (__posix_fallocate64_l64): Likewise.
13879 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13880 (posix_fallocate): Likewise.
57f41c40
AS
13881 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13882 Likewise.
a1ffb40e 13883 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13884 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13885 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13886 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13887 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13888 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13889 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13890 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13891 (__posix_fallocate64_l64): Likewise.
13892 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13893 Likewise.
13894 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13895 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13896 (__get_clockfreq): Likewise.
a1ffb40e
OB
13897 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13898 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13899 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13900 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13901 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13902 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13903 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13904 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13905 Likewise.
13906 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13907 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13908 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13909 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13910 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13911 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13912 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13913 Likewise.
13914 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13915 (posix_fallocate): Likewise.
13916 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13917 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13918 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13919 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13920 (elf_machine_rela, elf_machine_rela_relative)
13921 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13922 * time/asctime.c (asctime_internal): Likewise.
13923 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13924 * time/tzset.c (__tzset_parse_tz): Likewise.
13925 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13926 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13927 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13928 * wcsmbs/wcsmbsload.h: Likewise.
13929
f3d338c9
OB
13930 [BZ #15894]
13931 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13932
57f41c40
AS
13933 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13934 (arena_get2): Remove THREAD_STATS conditionals.
13935 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13936 (__malloc_stats, int): Likewise.
bdfe308a 13937
d674667c
MF
139382014-02-08 Mike Frysinger <vapier@gentoo.org>
13939
13940 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13941 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13942
6349768c
MF
13943 * manual/setjmp.texi: Fix typos/grammar errors.
13944
0b7c7473
MF
13945 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13946 Only return early when n is <= 0. Delete unused return statement.
13947
ac8cc9e3
MF
13948 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13949 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13950 * debug/tst-longjmp_chk3.c: New file.
13951
c5bb8e23
MF
13952 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13953 (test_main): Replace code with set_fortify_handler call.
13954 * debug/test-strcpy_chk.c: Likewise.
13955 * debug/tst-chk1.c: Likewise.
13956 * debug/tst-longjmp_chk.c: Likewise.
13957 * test-skeleton.c: Include fcntl.h & paths.h
13958 (set_fortify_handler): Define.
13959
10444e42
MF
13960 * debug/tst-longjmp_chk.c: Add header comment and include
13961 ../test-skeleton.c.
13962 (do_test): Mark static.
13963 (TEST_FUNCTION): Define.
13964
1e805e8d
MF
13965 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13966 (IP_PMTUDISC_INTERFACE): Likewise.
13967 (IP_MULTICAST_IF): Likewise.
13968 (IP_MULTICAST_TTL): Likewise.
13969 (IP_MULTICAST_LOOP): Likewise.
13970 (IP_ADD_MEMBERSHIP): Likewise.
13971 (IP_DROP_MEMBERSHIP): Likewise.
13972 (IP_UNBLOCK_SOURCE): Likewise.
13973 (IP_BLOCK_SOURCE): Likewise.
13974 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13975 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13976 (IP_MSFILTER): Likewise.
13977 (MCAST_JOIN_GROUP): Likewise.
13978 (MCAST_BLOCK_SOURCE): Likewise.
13979 (MCAST_UNBLOCK_SOURCE): Likewise.
13980 (MCAST_LEAVE_GROUP): Likewise.
13981 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13982 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13983 (MCAST_MSFILTER): Likewise.
13984 (IP_MULTICAST_ALL): Likewise.
13985 (IP_UNICAST_IF): Likewise.
13986
73f79bb7
MF
13987 * timezone/Makefile: Delete $(have-ksh) check.
13988 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13989 * timezone/tzselect.ksh: Add +x mode bits.
13990
8da79b60
MF
13991 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13992 (ANON_INODE_FS_MAGIC): Likewise.
13993 (BDEVFS_MAGIC): Likewise.
13994 (BINFMTFS_MAGIC): Likewise.
13995 (BTRFS_TEST_MAGIC): Likewise.
13996 (CRAMFS_MAGIC_WEND): Likewise.
13997 (DEBUGFS_MAGIC): Likewise.
13998 (ECRYPTFS_SUPER_MAGIC): Likewise.
13999 (EXT3_SUPER_MAGIC): Likewise.
14000 (EXT4_SUPER_MAGIC): Likewise.
14001 (FUTEXFS_SUPER_MAGIC): Likewise.
14002 (HOSTFS_SUPER_MAGIC): Likewise.
14003 (HUGETLBFS_MAGIC): Likewise.
14004 (MINIX3_SUPER_MAGIC): Likewise.
14005 (MTD_INODE_FS_MAGIC): Likewise.
14006 (NILFS_SUPER_MAGIC): Likewise.
14007 (OPENPROM_SUPER_MAGIC): Likewise.
14008 (PIPEFS_MAGIC): Likewise.
14009 (PSTOREFS_MAGIC): Likewise.
14010 (QNX6_SUPER_MAGIC): Likewise.
14011 (RAMFS_MAGIC): Likewise.
14012 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14013 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14014 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14015 (SECURITYFS_MAGIC): Likewise.
14016 (SELINUX_MAGIC): Likewise.
14017 (SMACK_MAGIC): Likewise.
14018 (SOCKFS_MAGIC): Likewise.
14019 (SQUASHFS_MAGIC): Likewise.
14020 (STACK_END_MAGIC): Likewise.
14021 (TMPFS_MAGIC): Likewise.
14022 (USBDEVICE_SUPER_MAGIC): Likewise.
14023 (V9FS_MAGIC): Likewise.
14024 (XENFS_SUPER_MAGIC): Likewise.
14025 (CRAMFS_MAGIC): Fix typo in comment.
14026 (EXT2_SUPER_MAGIC): Update comment.
14027 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14028
464263cc
JM
140292014-02-08 Joseph Myers <joseph@codesourcery.com>
14030
c6bfe5c4
JM
14031 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14032 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14033 * sysdeps/unix/sysv/linux/arm: Move directory from
14034 ports/sysdeps/unix/sysv/linux/arm.
14035 * README: Update listing for arm-*-linux-gnueabi.
14036
464263cc
JM
14037 * README: Remove mention of am33.
14038
32749f6c
RM
140392014-02-07 Roland McGrath <roland@hack.frob.com>
14040
14041 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14042 than the comma operator, to avoid "rhs of comma has no effect"
14043 compiler warnings.
14044 (__sigfillset, __sigandset, __sigorset): Likewise.
14045 * include/signal.h (__sigemptyset): Likewise.
14046 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14047
d5b396c1
AM
140482014-02-07 Allan McRae <allan@archlinux.org>
14049
14050 * version.h (RELEASE): Set to "development".
14051 (VERSION): Set to "2.19.90"
14052 * NEWS: Add 2.20 section.
14053
3bfff2ed
CD
140542014-02-06 Carlos O'Donell <carlos@redhat.com>
14055
14056 [BZ #16529]
14057 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14058
ee7cc385
SP
140592014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14060
14061 * manual/contrib.texi: Update entry for Carlos O'Donell,
14062 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14063
f877c4f2
CD
140642014-02-05 Carlos O'Donell <carlos@rehdat.com>
14065
27e839f6
CD
14066 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14067
f877c4f2
CD
14068 * sysdeps/unix/sysv/linux/kernel-features.h
14069 [__LINUX_KERNEL_VERSION >= 0x020621]
14070 (__ASSUME_PROC_PID_TASK_COMM): Define.
14071
68159946
SP
140722014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14073
ba17cdbd
SP
14074 [BZ #16398]
14075 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14076 conversion when destination buffer does not have enough space.
14077 * libio/tst-ftell-partial-wide.c: New test case.
14078 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14079
68159946
SP
14080 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14081 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14082 Leonard and Allan McRae.
14083
2b528732
DM
140842014-02-04 David S. Miller <davem@davemloft.net>
14085
14086 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14087 32-bit.
14088
0ff82463
AZ
140892014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14090
57f41c40
AS
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14092 New file
c01603f7
AZ
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14094 New file
57f41c40
AS
14095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14096 New file.
14097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14098 New file.
c01603f7
AZ
14099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14100 New file.
57f41c40
AS
14101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14102 New file.
14103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14104 New file.
c01603f7
AZ
14105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14106 New file.
14107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14108 New file.
14109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14110 New file.
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14112 New file.
14113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14114 New file.
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14116 New file.
14117
141182014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14119
0ff82463
AZ
14120 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14121 * shlib-versions: Likewise.
14122
1695c773
AZ
141232014-02-04 Roland McGrath <roland@hack.frob.com>
14124 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14125
14126 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14127 (abilist-pattern): New variable, set to %-le.abilist.
14128
14129 * Makerules (abilist-pattern): New variable.
14130 (vpath): Use $(abilist-pattern) in place of %.abilist.
14131 (check-abi-% pattern rule): Likewise.
14132 (check-abi, update-abi): Likewise.
14133
6c0ce4b4
EW
141342014-02-04 Eric Wong <normalperson@yhbt.net>
14135
14136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14137
481e3524
CD
141382014-02-03 Carlos O'Donell <carlos@redhat.com>
14139
14140 * manual/startup.texi: Add next, previous, and top entries for
14141 the `Program Arguments' and `Environment Variables' nodes.
14142
375592d3
AO
141432014-02-03 Alexandre Oliva <aoliva@redhat.com>
14144
14145 * manual/macros.texi: Add comments before MTASC-safety macros.
14146
f54838ba
AO
14147 * manual/users.texi: Document MTASC-safety properties.
14148
57f41c40
AS
14149 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14150 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14151 @deftypefun, and add @safety note.
14152 * manual/signal.texi: Move comments that analyze the above
14153 functions to their home place.
14154
fd3daba4
AM
141552014-02-03 Allan McRae <allan@archlinux.org>
14156
14157 * po/sl.po: Update Slovenian translation from translation project.
14158
597636d7
AO
141592014-02-02 Alexandre Oliva <aoliva@redhat.com>
14160
14161 * manual/time.texi (timegm): Add missing blank after @c.
14162 Reported by Joseph Myers <joseph@codesourcery.com>.
14163
ee196e3c
AO
141642014-02-01 Alexandre Oliva <aoliva@redhat.com>
14165
14166 * manual/check-safety.sh: New.
14167 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14168
f8d529d5
AO
14169 * manual/terminal.texi: Document MTASC-safety properties.
14170
de55fdf4
AO
14171 * manual/filesys.texi: Document MTASC-safety properties.
14172
c3299c08
AO
14173 * manual/errno.texi: Document MTASC-safety properties.
14174
06e90b14
AO
14175 * manual/intro.texi: Document safety identifiers and
14176 conditionals.
14177
1acd4371
AO
14178 * manual/string.texi (wcstok): Fix prototype.
14179 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14180
23e5b8cb
AO
14181 * manual/time.texi: Document MTASC-safety properties.
14182
11087373
AO
14183 * manual/string.texi: Document MTASC-safety properties.
14184
5da2c93d
AO
14185 * manual/threads.texi: Document MTASC-safety properties.
14186
171e9210
AO
14187 * manual/stdio.texi: Document MTASC-safety properties.
14188
d9e02532
AO
14189 * manual/syslog.texi: Document MTASC-safety properties.
14190
6af8bab7
AO
14191 * manual/sysinfo.texi: Document MTASC-safety properties.
14192
663b02d7
AO
14193 * manual/startup.texi: Document MTASC-safety properties.
14194
973f180b
AO
14195 * manual/socket.texi: Document MTASC-safety properties.
14196
8f3c25c8
AO
14197 * manual/signal.texi: Document MTASC-safety properties.
14198
542210fb
AO
141992014-01-31 Alexandre Oliva <aoliva@redhat.com>
14200
14201 * manual/setjmp.texi: Document MTASC-safety properties.
14202
433c45a2
AO
14203 * manual/search.texi: Document MTASC-safety properties.
14204
c8ce789c
AO
14205 * manual/resource.texi: Document MTASC-safety properties.
14206
19f5d29c
AO
14207 * manual/process.texi: Document MTASC-safety properties.
14208
e2dfb7f4
AO
14209 * manual/platform.texi: Document MTASC-safety properties.
14210
8c1413f5
AO
14211 * manual/pipe.texi: Document MTASC-safety properties.
14212
03483ada
AO
14213 * manual/pattern.texi: Document MTASC-safety properties.
14214
29e7e2df
AO
14215 * manual/message.texi: Document MTASC-safety properties.
14216
9f529d7c
AO
14217 [BZ #12751]
14218 * manual/memory.texi: Document MTASC-safety properties.
14219
27aaa791
AO
14220 * manual/math.texi: Document MTASC-safety properties.
14221
f2d58726
AO
14222 * manual/locale.texi: Document MTASC-safety properties.
14223
2cc3615c
AO
14224 * manual/llio.texi: Document MTASC-safety properties.
14225
d9f0ec97
AO
14226 * manual/libdl.texi: New.
14227
e7c4409a
AO
14228 * manual/lang.texi: Document MTASC-safety properties.
14229
27bdc63c
AO
14230 * manual/job.texi: Document MTASC-safety properties.
14231
a7b90ea9
AO
14232 * manual/getopt.texi: Document MTASC-safety properties.
14233
c49130e3
AO
14234 * manual/ctype.texi: Document MTASC-safety properties.
14235
0d23a5c1
MR
142362014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14237
14238 [BZ #16046]
14239 * csu/libc-tls.c (static_map): Remove variable.
14240 (__libc_setup_tls): Use main executable's link map for TLS data.
14241 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14242 casing for LM_ID_BASE and GL(dl_nns).
14243 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14244 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14245 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14246 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14247 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14248 member.
14249 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14250 l_phnum members.
14251
0037bb60
AO
142522014-01-30 Alexandre Oliva <aoliva@redhat.com>
14253
14254 * manual/debug.texi: Document MTASC-safety properties.
14255
409e00bd
L
142562014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14257
14258 [BZ #16510]
14259 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14260 of __x86_64__ when disabling x87 inline functions.
14261
86e60666
AO
142622014-01-29 Alexandre Oliva <aoliva@redhat.com>
14263
14264 * manual/charset.texi: Document MTASC-safety properties.
14265
76167637
AO
14266 * manual/crypt.texi: Document MTASC-safety properties.
14267
e567f2a0
AO
14268 * manual/conf.texi: Document MTASC-safety properties.
14269
b719dafd
AO
14270 * manual/arith.texi: Document MTASC-safety properties.
14271
4a16c662
AO
14272 * manual/argp.texi: Document MTASC-safety properties.
14273
0a57b83e
AO
14274 * manual/macros.texi: Introduce macros to document multi
14275 thread, asynchronous signal and asynchronous cancellation
14276 safety properties.
14277 * manual/intro.texi: Introduce the properties themselves.
14278
feab2397
KK
142792014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14280
14281 * sysdeps/sh/sh4/Makefile: New file.
14282
1c0d11bc
AS
142832014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14284
14285 * math/gen-libm-test.pl ($srcdir): New variable.
14286 ($auto_input): Use it.
14287
af37a8a3
SP
142882014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14289
d7b00f98
SP
14290 [BZ #16506]
14291 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14292 access beyond array bounds when parsing netgroups file.
14293
af37a8a3
SP
14294 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14295 the old buffer before realloc.
14296
0c00f062
AM
142972014-01-27 Allan McRae <allan@archlinux.org>
14298
14299 * po/fr.po: Update French translation from translation project.
14300
7d69a1b0
KK
143012014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14302
14303 * sysdeps/sh/libm-test-ulps: Regenerate.
14304
6e697ff7
DM
143052014-01-24 David S. Miller <davem@davemloft.net>
14306
14307 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14308
9cadb35c
KK
143092014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14310
14311 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14312 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14313
5d41dadf
SP
143142013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14315
14316 [BZ #16474]
14317 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14318 string pointers after reallocation.
14319
0bad441c
KK
143202014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14321
14322 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14323 __SH4A__ instead of __SH_FPU_ANY__.
14324
7007c661
KK
143252014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14326
14327 * sysdeps/sh/fpu_control.h: New file.
14328 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14329 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14330 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14331 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14332 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14333 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14334 * sysdeps/sh/sys/ucontext.h: Remove.
14335 * sysdeps/sh/sys: Remove directory.
14336
0f0c35e4
AK
143372014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14338
14339 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14340 s390/sys/ucontext.h.
14341 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14342 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14343
4959e284
L
143442014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14345
14346 [BZ #15605]
14347 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14348
d98720e0
AZ
143492014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14350
14351 [BZ#16431]
14352 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14353 Adjust the vDSO correctly for internal calls.
14354 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14355
91cbd0bc
AM
143562014-01-20 Allan McRae <allan@archlinux.org>
14357
14358 * po/ca.po: Update Catalan translation from translation project.
14359
7a02cfad
MF
143602014-01-16 Mike Frysinger <vapier@gentoo.org>
14361
14362 * sysdeps/s390/sotruss-lib.c: New file.
14363
736c304a
AZ
143642014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14365
14366 [BZ#16430]
6e077ee5 14367 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14368 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14369 local calls issues by not having a PLT stub required for IFUNC calls.
14370 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14371
94d0cea0
JM
143722014-01-16 Joseph Myers <joseph@codesourcery.com>
14373
14374 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14375 * math/test-fpucw-static.c: Likewise.
14376
980cb518
SP
143772013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14378
14379 [BZ #16453]
14380 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14381
2393fc01
AZ
143822014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14383
14384 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14385 implementation for powerpc.
14386
d359bcc2
OB
143872014-01-15 Ondřej Bílka <neleai@seznam.cz>
14388
14389 [BZ #14782]
14390 * sysdeps/posix/system.c (__libc_system): Do not enable
14391 asynchronous cancellation.
14392
7beb48cb
AK
143932014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14394
14395 [BZ #16427]
14396 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14397 handling only for numbers special also in the IEEE case.
14398
c20d5bf5
AK
143992014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14400
14401 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14402
e83bd4ee
AM
144032014-01-11 Allan McRae <allan@archlinux.org>
14404
76d0ea69
AM
14405 * po/bg.po: Update Bulgarian translation from translation project.
14406
e83bd4ee
AM
14407 * po/de.po: Update German translation from translation project.
14408
bc2ba20a
RM
144092014-01-10 Roland McGrath <roland@hack.frob.com>
14410
14411 * sysdeps/generic/gcc-compat.h: New file.
14412
649ecea2
SP
144132014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14414
14415 * benchtests/asin-inputs: Correct slow inputs.
14416 * benchtests/acos-inputs: Likewise.
14417
1b19c006
AM
144182014-01-10 Allan McRae <allan@archlinux.org>
14419
a46dab08
AM
14420 * po:sv.po: Update Swedish translation from translation project.
14421
421df74a
AM
14422 * po/vi.po: Update Vietnamese translation from translation project.
14423
d61c51a7
AM
14424 * po/eo.po: Update Esperanto translation from translation project.
14425
0339a319
AM
14426 * po/cs.po: Update Czech translation from translation project.
14427
94ad3e99
AM
14428 * po/nl.po: Update Dutch translation from translation project.
14429
e349ca71
AM
14430 * po/pl.po: Update Polish translation from translation project.
14431
ddf930c1
AM
14432 * po/ru.po: Update Russian translation from translation project.
14433
1b19c006
AM
14434 * po/uk.po: Update Ukrainian translation from translation project.
14435
9f236c49
BM
144362014-01-08 Brooks Moses <bmoses@google.com>
14437
14438 * elf/dl-load.c: Fix comment typo.
14439
cd6701cf
CD
144402014-01-08 Carlos O'Donell <carlos@redhat.com>
14441
14442 * po/header.pot: Rename to...
14443 * po/pot.header: ... this.
14444 * po/Makefile: Use pot.header.
14445
66671c84
YK
144462014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14447 Maxim Kuvyrkov <maxim@kugelworks.com>
14448
14449 [BZ #16394]
cd6701cf
CD
14450 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14451 SRC and DEST against LEN.
66671c84 14452
38f34581
AZ
144532014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14454
14455 [BZ #16414]
14456 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14457 implementation.
14458 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14459
144602014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14461
14462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14463
4c327f2a
JM
144642014-01-08 Joseph Myers <joseph@codesourcery.com>
14465
14466 [BZ #16408]
14467 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14468 for large positive arguments.
14469
b821f414
JM
144702014-01-07 Joseph Myers <joseph@codesourcery.com>
14471
1f0f2067
JM
14472 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14473
a5a326f6
JM
14474 * math/auto-libm-test-in: Mark various tests with
14475 xfail-rounding:ldbl-128ibm.
14476 * math/auto-libm-test-out: Regenerated.
14477
b821f414
JM
14478 [BZ #16407]
14479 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14480 Increase overflow threshold.
14481
94c8a4bc
OB
144822014-01-07 Ondřej Bílka <neleai@seznam.cz>
14483
14484 [BZ #14286]
14485 * stdio-common/vfprintf.c: Check for integer overflow.
14486
87ded0c3
AK
144872014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14488
14489 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14490 the first argument and return value of __tls_get_addr_internal.
14491
c5eebdd0
AK
144922014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14493
14494 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14495 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14496
05d138ef
AK
144972014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14498
14499 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14500 * sysdeps/s390/rtld-global-offsets.sym: New file.
14501 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14502 GLIBC_2.19 symbol.
14503 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14504 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14505 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14506 ... this.
14507 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14508 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14509 ... this.
14510 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14511 Regenerate.
14512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14513 Regenerate.
14514 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14515 halfs of GPRs for high_gprs contexts.
14516 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14517 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14518 field.
14519 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14520 uc_flags field.
14521 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14522 64 bit versions:
14523 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14524 for high GPRs (uc_high_gprs) and for future extensions
14525 (__reserved).
14526 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14527 for future extensions (__reserved).
14528 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14529 64 bit versions:
14530 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14531 SC_HIGHGPRS offset definition.
14532 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14533 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14534
93a45ff1
AK
14535 * Versions.def: Add GLIBC_2.19 for libpthread.
14536 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14537 siglongjmp for libpthread with GLIBC_2.19 symver.
14538 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14539 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14540 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14541 * sysdeps/s390/__longjmp.c: New file.
14542 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14543 * sysdeps/s390/longjmp.c: New file.
14544 * sysdeps/s390/setjmp.S: New file.
14545 * sysdeps/s390/sigjmp.S: New file.
14546 * sysdeps/s390/v1-longjmp.c: New file.
14547 * sysdeps/s390/v1-setjmp.h: New file.
14548 * sysdeps/s390/v1-sigjmp.c: New file.
14549 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14550 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14551 GLIBC_2.19 version.
14552 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14553 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14554 versioned symbols for ____longjmp_chk.
14555 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14556 Likewise.
14557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14558 Regenerate.
14559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14560 Regenerate.
14561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14562 Regenerate.
14563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14564 Regenerate.
14565 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14566 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14567 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14568 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14569 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14570 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14571 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14572 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14573 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14574 * sysdeps/s390/rtld-__longjmp.c: New file.
14575 * sysdeps/s390/rtld-setjmp.S: New file.
14576
eb3fc44b
JM
145772014-01-06 Joseph Myers <joseph@codesourcery.com>
14578
14579 [BZ #16400]
14580 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14581 Return -__logl (x) for small positive arguments without evaluating
14582 a polynomial.
14583
9341dde4
MF
145842014-01-06 Mike Frysinger <vapier@gentoo.org>
14585
14586 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14587 Rename to ...
14588 (__ptrace_peeksiginfo_args): ... this.
14589 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14591 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14592
4cff0293
AM
145932014-01-06 Allan McRae <allan@archlinux.org>
14594
14595 * inet/netinet/in.h: Fix typo in comment.
14596
75595dcf
AJ
145972014-01-05 Andreas Jaeger <aj@suse.de>
14598
14599 * sysdeps/i386/fpu/libm-test-ulps: Update.
14600
79c1e109
AM
146012014-01-05 Allan McRae <allan@archlinux.org>
14602
dd804818
AM
14603 * po/libc.pot: Regenerated.
14604
79c1e109
AM
14605 * malloc/memusagestat.c: Fix gettext call formatting.
14606
0c813d1f
SK
146072014-01-04 Sami Kerola <kerolasa@iki.fi>
14608
14609 * nscd/nscd.c: Improve usage() output.
14610
20f4a8d9
MF
146112014-01-04 Mike Frysinger <vapier@gentoo.org>
14612
14613 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14614 * sysdeps/unix/sysv/linux/configure: Regenerated.
14615 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14616 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14617
22562bb2
JM
146182014-01-03 Joseph Myers <joseph@codesourcery.com>
14619
14620 [BZ #16390]
14621 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14622 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14623
d7ad2d9b
AZ
146242014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14625
14626 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14627 extra tokens at end of #undef directive.
14628 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14629 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14630 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14631
7dd009d8
JM
146322014-01-03 Joseph Myers <joseph@codesourcery.com>
14633
24db925a
JM
14634 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14635
7dd009d8
JM
14636 * math/auto-libm-test-in: Mark various tests with
14637 xfail-rounding:ldbl-128ibm.
14638 * math/auto-libm-test-out: Regenerated.
14639
396e3ecf
JM
146402014-01-02 Joseph Myers <joseph@codesourcery.com>
14641
819e5d50
JM
14642 [BZ #16386]
14643 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14644 numbers with subnormal high part when calculating exponent.
14645
90b6a1e5
JM
14646 [BZ #16385]
14647 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14648 fabs.
14649
396e3ecf
JM
14650 [BZ #16384]
14651 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14652 M_LN2l.
14653 (__ieee754_acoshl): Use __log1pl not __log1p.
14654
6c8dbf00
OB
146552013-01-02 Ondřej Bílka <neleai@seznam.cz>
14656
57f41c40
AS
14657 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14658 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14659 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14660 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14661 (reused_arena, arena_get2): Convert to GNU style.
14662 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14663 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14664 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14665 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14666 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14667 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14668 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14669 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14670 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14671 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14672 * malloc/malloc.h: Likewise.
57f41c40
AS
14673 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14674 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14675 * malloc/mcheck.h: Likewise.
57f41c40
AS
14676 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14677 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14678 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14679 * malloc/morecore.c (__default_morecore): Likewise.
14680 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14681 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14682 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14683 (print_and_abort): Likewise.
6c8dbf00
OB
14684 * malloc/obstack.h: Likewise.
14685 * malloc/set-freeres.c (__libc_freeres): Likewise.
14686 * malloc/tst-mallocstate.c (main): Likewise.
14687 * malloc/tst-mtrace.c (main): Likewise.
14688 * malloc/tst-realloc.c (do_test): Likewise.
14689
d4124212
SP
146902013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14691
9a3c6a6f
SP
14692 [BZ #16366]
14693 * nscd/netgroupcache.c (do_notfound): New function.
14694 (addgetnetgrentX): Use it.
14695
d4124212
SP
14696 [BZ # 16365]
14697 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14698 NSS_STATUS_NOTFOUND.
14699
97b9a009
JM
147002014-01-01 Joseph Myers <joseph@codesourcery.com>
14701
14702 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14704
d4697bc9
AM
147052014-01-01 Allan McRae <allan@archlinux.org>
14706
ddb3687f
AM
14707 * scripts/update-copyrights: Update configure input file suffix.
14708
88726d48
AM
14709 * NEWS: Update copyright year.
14710 * catgets/gencat.c: Likewise.
14711 * csu/version.c: Likewise.
14712 * debug/catchsegv.sh: Likewise.
14713 * debug/pcprofiledump.c: Likewise.
14714 * debug/xtrace.sh: Likewise.
14715 * elf/ldconfig.c: Likewise.
14716 * elf/ldd.bash.in: Likewise.
14717 * elf/pldd.c: Likewise.
14718 * elf/sotruss.ksh: Likewise.
14719 * elf/sprof.c: Likewise.
14720 * iconv/iconv_prog.c: Likewise.
14721 * iconv/iconvconfig.c: Likewise.
14722 * locale/programs/locale.c: Likewise.
14723 * locale/programs/localedef.c: Likewise.
14724 * login/programs/pt_chown.c: Likewise.
14725 * malloc/memusage.sh: Likewise.
14726 * malloc/memusagestat.c: Likewise.
14727 * malloc/mtrace.pl: Likewise.
14728 * manual/libc.texinfo: Likewise.
14729 * nscd/nscd.c: Likewise.
14730 * nss/getent.c: Likewise.
14731 * nss/makedb.c: Likewise.
14732 * posix/getconf.c: Likewise.
14733 * scripts/test-installation.pl: Likewise.
14734
d4697bc9
AM
14735 * All files with FSF copyright notices: Update copyright dates
14736 using scripts/update-copyrights.
14737 * intl/plural.c: Regenerated.
14738 * locale/programs/charmap-kw.h: Likewise.
14739 * locale/programs/locfile-kw.h: Likewise.
14740
c8590f9d
MF
147412013-12-31 Mike Frysinger <vapier@gentoo.org>
14742
14743 * sysdeps/unix/sysv/linux/configure: Regenerated.
14744 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14745 the linux/fanotify.h header.
14746 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14747 HAVE_LINUX_FANOTIFY_H is defined.
14748
b19221b9
SP
147492013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14750
dd1d85e5
SP
14751 * benchtests/cos-inputs: New inputs.
14752 * benchtests/sin-inputs: Likewise.
14753
1acbb90f
SP
14754 * benchtests/atan-inputs: New inputs. Fix name of multiple
14755 precision fallback inputs.
14756
4c012ed3
SP
14757 * benchtests/atanh-inputs: New inputs.
14758 * benchtests/tanh-inputs: Likewise.
14759
eff98324
SP
14760 * benchtests/acosh-inputs: New inputs.
14761 * benchtests/asinh-inputs: Likewise.
14762
ce641152
SP
14763 * benchtests/cosh-inputs: New inputs.
14764 * benchtests/sinh-inputs: Likewise.
14765
b19221b9
SP
14766 * benchtests/acos-inputs: Add more inputs.
14767 * benchtests/asin-inputs: Likewise.
14768
030a4976 147692013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14770
030a4976 14771 [BZ #16375]
9dcc8f11
VS
14772 * manual/arith.texi: Fix spelling.
14773 * manual/charset.texi: Likewise.
14774 * manual/errno.texi: Likewise.
14775 * manual/filesys.texi: Likewise.
14776 * manual/lang.texi: Likewise.
14777 * manual/llio.texi: Likewise.
14778 * manual/locale.texi: Likewise.
14779 * manual/message.texi: Likewise.
14780 * manual/resource.texi: Likewise.
14781 * manual/search.texi: Likewise.
14782 * manual/setjmp.texi: Likewise.
14783 * manual/stdio.texi: Likewise.
14784 * manual/string.texi: Likewise.
14785 * manual/sysinfo.texi: Likewise.
14786 * manual/time.texi: Likewise.
14787
11520a57
CD
147882013-12-27 Carlos O'Donell <carlos@redhat.com>
14789
14790 * po/sl.po: New file.
14791
471103ae
MF
147922013-12-27 Mike Frysinger <vapier@gentoo.org>
14793
14794 * .gitignore: Add core/.gdbinit/.gdb_history.
14795
6c9642ed
AM
147962013-12-27 Allan McRae <allan@archlinux.org>
14797
14798 [BZ #16369]
14799 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14800 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14801
3f637079
BM
148022013-12-24 Brooks Moses <bmoses@google.com>
14803
14804 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14805 all compilers that claim C++98 compliance, not just GCC.
14806 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14807 Likewise.
14808
abc26e99
MK
148092013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14810
14811 * NEWS: Restore accidentally deleted bug-fix entries.
14812
362b47fe
MK
148132013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14814 Ondřej Bílka <neleai@seznam.cz>
14815
14816 [BZ #15073]
14817 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14818 have_lock.
362b47fe 14819
b9bcbbcb
OB
148202013-12-23 Ondřej Bílka <neleai@seznam.cz>
14821
14822 [BZ #12986]
14823 * manual/stdio.texi (String Input Conversions): Clarify that character
14824 classes are not supported.
14825
fb55fcd2
AZ
148262013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14827
14828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14829
ef7344f0
JM
148302013-12-22 Joseph Myers <joseph@codesourcery.com>
14831
4f40e4b3
JM
14832 [BZ #16337]
14833 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14834 Calculate results for small negative arguments directly rather
14835 than using reflection formula with special underflow handling.
14836
ef7344f0
JM
14837 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14838 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14839 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14840 (fchflags): Likewise.
14841 (revoke): Likewise.
14842 (setlogin): Likewise.
14843 (sigaltstack): Likewise.
14844 (wait4): Likewise.
14845 (sigblock): Remove.
14846 (sigsetmask): Likewise.
14847 (wait3): Likewise.
14848 (waitpid): Likewise.
14849 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14850 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14851 file.
14852 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14853 * sysdeps/unix/bsd/Makefile: ... here.
14854 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14855 * sysdeps/unix/bsd/Versions: ... here.
14856 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14857 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14858 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14859 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14860 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14861 * sysdeps/unix/bsd/sigblock.c: ... here.
14862 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14863 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14864 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14865 * sysdeps/unix/bsd/sigvec.c: ... here.
14866 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14867 * sysdeps/unix/bsd/tcdrain.c: ... here.
14868 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14869 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14870 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14871 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14872 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14873 * sysdeps/unix/bsd/wait.c: ... here.
14874 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14875 * sysdeps/unix/bsd/wait3.c: ... here.
14876 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14877 * sysdeps/unix/bsd/waitpid.c: ... here.
14878
5b0626b9
JM
148792013-12-21 Joseph Myers <joseph@codesourcery.com>
14880
14881 [BZ #16356]
14882 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14883 round-to-nearest for [!USE_AS_EXPM1L].
14884 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14885 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14886 more tests of exp and exp10. Expect some exp10 tests to miss
14887 exceptions or fail in directed rounding modes.
14888 * math/auto-libm-test-out: Regenerated.
14889 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14890 (exp10_test_tonearest): New function.
14891 (exp10_towardzero_test_data): New array.
14892 (exp10_test_towardzero): New function.
14893 (exp10_downward_test_data): New array.
14894 (exp10_test_downward): New function.
14895 (exp10_upward_test_data): New array.
14896 (exp10_test_upward): New function.
14897 (main): Call the new functions.
14898 * sysdeps/i386/fpu/libm-test-ulps: Update.
14899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14900
7fda5682
JM
149012013-12-20 Joseph Myers <joseph@codesourcery.com>
14902
31e3a405
JM
14903 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14904 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14905 * math/auto-libm-test-out: Regenerated.
14906 * math/libm-test.inc (acosh_test_data): Add more tests.
14907 (atanh_test_data): Likewise.
14908 (ceil_test_data): Likewise.
14909 (copysign_test_data): Likewise.
14910 * sysdeps/i386/fpu/libm-test-ulps: Update.
14911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14912
85bff96a
JM
14913 * timezone/checktab.awk: Update from tzcode 2013i.
14914 * timezone/private.h: Likewise.
14915 * timezone/scheck.c: Likewise.
14916 * timezone/tzfile.h: Likewise.
14917 * timezone/tzselect.ksh: Likewise.
14918 * timezone/zdump.c: Likewise.
14919 * timezone/zic.c: Likewise.
14920
b7867a3b
JM
14921 * math/auto-libm-test-in: Add tests of cpow.
14922 * math/auto-libm-test-out: Regenerated.
14923 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14924 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14925 mpc_cc_c.
14926 (func_calc_desc): Add mpc_cc_c union field.
14927 (test_functions): Add cpow.
14928 (special_fill_2pi): New function.
14929 (special_real_inputs): Add 2pi.
14930 (calc_generic_results): Handle mpc_cc_c.
14931 * sysdeps/i386/fpu/libm-test-ulps: Update.
14932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14933
7fda5682
JM
14934 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14935 csqrt, ctan and ctanh.
14936 * math/auto-libm-test-out: Regenerated.
14937 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14938 (TEST_COND_x86): Likewise.
14939 (ccos_test_data): Use AUTO_TESTS_c_c.
14940 (ccosh_test_data): Likewise.
14941 (cexp_test_data): Likewise.
14942 (clog_test_data): Likewise.
14943 (csqrt_test_data): Likewise.
14944 (ctan_test_data): Likewise.
14945 (ctan_tonearest_test_data): Likewise.
14946 (ctan_towardzero_test_data): Likewise.
14947 (ctan_downward_test_data): Likewise.
14948 (ctan_upward_test_data): Likewise.
14949 (ctanh_test_data): Likewise.
14950 (ctanh_tonearest_test_data): Likewise.
14951 (ctanh_towardzero_test_data): Likewise.
14952 (ctanh_downward_test_data): Likewise.
14953 (ctanh_upward_test_data): Likewise.
14954 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14955 mpc_c_c.
14956 (func_calc_desc): Add mpc_c_c union field.
14957 (FUNC_mpc_c_c): New macro.
14958 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14959 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14960 ctanh.
14961 (special_fill_min_subnorm_p120): New function.
14962 (special_real_inputs): Add min_subnorm_p120.
14963 (calc_generic_results): Handle mpc_c_c.
14964 * sysdeps/i386/fpu/libm-test-ulps: Update.
14965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14966
5ff8d60e
SP
149672013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14968
57f41c40
AS
14969 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14970 (do_sin_slow): New functions.
14971 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14972 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14973
84ba214c
SP
14974 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14975 Use M to change sign of result instead of X. Assume X is
14976 positive.
14977 (csloww1): Likewise.
14978 (__sin): Adjust.
14979 (__cos): Adjust.
14980
975195e4
SP
14981 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14982 arguments A and DA.
14983 (__sin): Adjust.
14984 (__cos): Likewise.
14985
5ff8d60e
SP
14986 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14987 (__cos): Likewise.
14988 (sloww1): Don't adjust sign of DX.
14989 (csloww1): Likewise.
14990 (sloww2): Use X directly and don't adjust sign of DX.
14991 (csloww2): Likewise.
14992
eb983568
JM
149932013-12-19 Joseph Myers <joseph@codesourcery.com>
14994
64a17f1a
JM
14995 * math/auto-libm-test-in: Add tests of cabs and carg.
14996 * math/auto-libm-test-out: Regenerated.
14997 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14998 (carg_test_data): Likewise.
14999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15000 mpc_c_f.
15001 (func_calc_desc): Add mpc_c_f union field.
15002 (test_functions): Add cabs and carg.
15003 (calc_generic_results): Handle mpc_c_f.
15004
eb983568
JM
15005 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15006 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15007 as a macro and a compat symbol.
15008 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15009 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15010 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15011 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15012 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15013 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15014 not use .hidden.
15015 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15016 Likewise.
15017 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15018 Likewise.
15019 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15020 Likewise.
15021 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15022 Likewise.
15023 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15024 Likewise.
15025 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15026 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15027 from GLIBC_2.3.2.
15028
6eeb678a
AZ
150292013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15030
15031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15032
6f6fc482
JM
150332013-12-19 Joseph Myers <joseph@codesourcery.com>
15034
21fea2e2
JM
15035 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15036 trailing whitespace removed.
15037 * scripts/config.guess: Update to version 2013-11-29.
15038 * scripts/config.sub: Update to version 2013-10-01.
15039
6f6fc482
JM
15040 * math/auto-libm-test-in: Add tests of sincos.
15041 * math/auto-libm-test-out: Regenerated.
15042 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15043 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15044 mpfr_f_11.
15045 (func_calc_desc): Add mpfr_f_11 union field.
15046 (test_functions): Add sincos.
15047 (calc_generic_results): Handle mpfr_f_11.
15048 * sysdeps/i386/fpu/libm-test-ulps: Update.
15049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15050
83f5c32d
AS
150512013-12-19 Andreas Schwab <schwab@suse.de>
15052
15053 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15054 CALL_MCOUNT.
15055 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15056 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15057 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15058
c688b419
JM
150592013-12-19 Joseph Myers <joseph@codesourcery.com>
15060
335ee092
JM
15061 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15062 * sysdeps/i386/fpu/libm-test-ulps: Update.
15063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15064
f88acd39
JM
15065 [BZ #16293]
15066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15067 round-to-nearest mode when using frndint.
15068 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15069 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15070 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15071 Likewise.
15072 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15073 sinh test to fail.
15074 * math/auto-libm-test-out: Regenerated.
15075 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15076 (TEST_COND_x86): Likewise.
15077 (expm1_tonearest_test_data): New array.
15078 (expm1_test_tonearest): New function.
15079 (expm1_towardzero_test_data): New array.
15080 (expm1_test_towardzero): New function.
15081 (expm1_downward_test_data): New array.
15082 (expm1_test_downward): New function.
15083 (expm1_upward_test_data): New array.
15084 (expm1_test_upward): New function.
15085 (main): Run the new test functions.
15086 * sysdeps/i386/fpu/libm-test-ulps: Update.
15087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15088
c688b419
JM
15089 * include/features.h: Update comment documenting feature test
15090 macros. Mention _DEFAULT_SOURCE in comment.
15091 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15092 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15093 _BSD_SOURCE and _SVID_SOURCE.
15094 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15095 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15096 !_SVID_SOURCE]: Likewise.
15097 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15098 (__USE_POSIX_IMPLICITLY): Define.
15099 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15100 (_POSIX_SOURCE): Undefine and redefine.
15101 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15102 (_POSIX_C_SOURCE): Likewise.
15103 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15104 (Feature Test Macros): Update documentation of default features.
15105
9f6e964c
RS
151062013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15107
15108 * benchtests/Makefile: Add bench-strtok.
15109 * benchtests/bench-strtok.c: New file: strtok benchtest.
15110
ee0a148a
AM
151112013-12-19 Allan McRae <allan@archlinux.org>
15112
15113 * manual/install.texi: Suppress menu for plain text output.
15114 * INSTALL: Regenerated.
15115
b9ab448f
BM
151162013-12-18 Brooks Moses <bmoses@google.com>
15117
15118 [BZ #15846]
15119 * misc/getauxval.c: Include errno.h.
15120 (__getauxval): Set errno to ENOENT if the requested type is not
15121 found.
15122 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15123 don't declare with __attribute_const__.
15124 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15125 * manual/startup.texi: Document that getauxval sets errno.
15126
23776487
JM
151272013-12-18 Joseph Myers <joseph@codesourcery.com>
15128
f889953b
JM
15129 * math/auto-libm-test-in: Add tests of jn and yn.
15130 * math/auto-libm-test-out: Regenerated.
15131 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15132 (yn_test_data): Likewise.
15133 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15134 mpfr_if_f.
15135 (func_calc_desc): Add mpfr_if_f union field.
15136 (FUNC_mpfr_if_f): New macro.
15137 (test_functions): Add jn and yn.
15138 (calc_generic_results): Assert type of second input for
15139 mpfr_ff_f. Handle mpfr_if_f.
15140 (output_for_one_input_case): Disable all checking for arguments
15141 fitting floating-point types in case of an integer argument.
15142 * sysdeps/i386/fpu/libm-test-ulps: Update.
15143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15144
23776487
JM
15145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15146 Don't expect fegetround reference in libm.so.
15147
cb756c6d
MS
151482013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15149
15150 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15151 $(config-cflags-nofma).
15152
2dec468f
JM
151532013-12-18 Joseph Myers <joseph@codesourcery.com>
15154
5953eb3a
JM
15155 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15156 * math/auto-libm-test-out: Regenerated.
15157
2dec468f
JM
15158 [BZ #16338]
15159 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15160 to determine exponent and adjust argument to have exponent of -1.
15161 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15162 log2.
15163 * math/auto-libm-test-out: Regenerated.
15164 * sysdeps/i386/fpu/libm-test-ulps: Update.
15165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15166
4d84e6ad
OB
151672013-12-18 Ondřej Bílka <neleai@seznam.cz>
15168
15169 * manual/probes.texi: Remove cases when per-thread arenas are
15170 disabled.
15171
1818483b
AS
151722013-12-18 Andreas Schwab <schwab@suse.de>
15173
15174 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15175 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15176 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15177 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15178 * sysdeps/i386/i686/multiarch/Makefile: Update.
15179 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15180
25de95bf
JM
151812013-12-17 Joseph Myers <joseph@codesourcery.com>
15182
15183 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15184 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15185
674762d9
PE
151862013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15187
ed27ed83 15188 [BZ #15968]
0748546f
PE
15189 Support TZ transition times < 00:00:00.
15190 This is needed for version-3 tz-format files; it supports time
15191 stamps past 2037 for America/Godthab (the only entry in the tz
15192 database for which this change is relevant).
15193 * manual/time.texi (TZ Variable): Document transition times
15194 from -167:59:59 through -00:00:01.
15195 * time/tzset.c (tz_rule): Time of day is now signed.
15196 (__tzset_parse_tz): Parse negative time of day.
15197
4480e934
PE
15198 Document TZ transition times >= 25:00:00.
15199 * manual/time.texi (TZ Variable): Document transition times from
15200 25:00:00 through 167:59:59. These are already supported, and this
15201 support will help with version-3 tz-format files.
15202
69947401
PE
15203 * manual/time.texi (TZ Variable): Modernize North America example
15204 to reflect current (i.e., 2007-and-later) daylight saving rules.
15205
674762d9
PE
15206 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15207
7011c262
JM
152082013-12-17 Joseph Myers <joseph@codesourcery.com>
15209
2fc6557e
JM
15210 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15211 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15214 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15215 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15216 * sysdeps/unix/bsd/clock.c: Likewise.
15217 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15218 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15219 * sysdeps/unix/bsd/init-posix.c: Likewise.
15220 * sysdeps/unix/bsd/poll.c: Likewise.
15221 * sysdeps/unix/bsd/ptsname.c: Likewise.
15222 * sysdeps/unix/bsd/seekdir.c: Likewise.
15223 * sysdeps/unix/bsd/setegid.c: Likewise.
15224 * sysdeps/unix/bsd/seteuid.c: Likewise.
15225 * sysdeps/unix/bsd/setgid.c: Likewise.
15226 * sysdeps/unix/bsd/setrgid.c: Likewise.
15227 * sysdeps/unix/bsd/setruid.c: Likewise.
15228 * sysdeps/unix/bsd/setsid.c: Likewise.
15229 * sysdeps/unix/bsd/setuid.c: Likewise.
15230 * sysdeps/unix/bsd/sigaction.c: Likewise.
15231 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15232 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15233 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15234 * sysdeps/unix/bsd/telldir.c: Likewise.
15235 * sysdeps/unix/bsd/times.c: Likewise.
15236 * sysdeps/unix/bsd/usleep.c: Likewise.
15237
029c7b25
JM
15238 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15239 ($(objpfx)libbsd-compat.a): Remove rule.
15240
7011c262
JM
15241 * include/features.h (__FAVOR_BSD): Do not define.
15242 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15243 features conflicting with POSIX.
15244 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15245 (_BSD_SOURCE): Remove description of not being a subset of other
15246 feature test macros.
15247 * manual/job.texi (getpgrp): Do not document BSD version.
15248 (getpgid): Do not document by reference to BSD getpgrp.
15249 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15250 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15251 * signal/signal.h [__FAVOR_BSD]: Likewise.
15252 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15253 instead of making contents conditional on [__FAVOR_BSD].
15254 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15255
affb6f78
AZ
152562013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15257
15258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15259
c88769dd
JM
152602013-12-17 Joseph Myers <joseph@codesourcery.com>
15261
6432a540
JM
15262 [BZ #16314]
15263 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15264 values below 2**-450, not 2**-500.
15265 * math/auto-libm-test-in: Don't allow spurious underflow from
15266 hypot.
15267 * math/auto-libm-test-out: Regenerated.
15268
c88769dd
JM
15269 [BZ #16316]
15270 [BZ #16330]
15271 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15272 values of ha and hb and sort them after adjusting subnormal
15273 arguments.
15274 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15275 Likewise.
15276 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15277 values of ea and eb and sort them after adjusting subnormal
15278 arguments.
15279 * math/auto-libm-test-in: Do not expect some hypot tests of
15280 subnormals to fail. Add more hypot tests.
15281 * math/auto-libm-test-out: Regenerated.
15282
29618f6b
KK
152832013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15284
15285 [BZ #13304]
15286 * sysdeps/sh/s_fma.c: New file.
15287 * sysdeps/sh/s_fmaf.c: New file.
15288 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15289 version.
15290 * sysdeps/sh/Implies: Add sh/soft-fp.
15291
eacfdfbf
RM
152922013-12-16 Roland McGrath <roland@hack.frob.com>
15293
15294 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15295 level of indirection to members `objname', `errstring', `malloced'.
15296 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15297 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15298 it as the __longjmp argument (just pass 1 instead).
15299 (_dl_catch_error): Initialize C with argument pointers and address of
15300 volatile local ERRCODE rather than copying values out of C at return.
15301
ff362e5b
JM
153022013-12-16 Joseph Myers <joseph@codesourcery.com>
15303
15304 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15305 * math/auto-libm-test-out: Regenerated.
15306 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15307 (hypot_test_data): Likewise.
15308 (pow_test_data): Likewise.
15309 (pow_tonearest_test_data): Likewise.
15310 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15311 mpfr_ff_f.
15312 (func_calc_desc): Add mpfr_ff_f union field.
15313 (FUNC_mpfr_ff_f): New macro.
15314 (test_functions): Add atan2, hypot and pow.
15315 (special_fill_min): New function.
15316 (special_fill_minus_min): Likewise.
15317 (special_fill_min_subnorm): Likewise.
15318 (special_fill_minus_min_subnorm): Likewise.
15319 (special_real_inputs): Add min, -min, min_subnorm and
15320 -min_subnorm.
15321 (calc_generic_results): Handle mpfr_ff_f.
15322 * sysdeps/i386/fpu/libm-test-ulps: Update.
15323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15324
5764c27f
WN
153252013-12-16 Will Newton <will.newton@linaro.org>
15326
15327 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15328 (Aligned Memory Blocks): Add documentation for aligned_alloc
15329 and suggest it as an alternative to posix_memalign.
15330 (Hooks for Malloc): Document __memalign_hook is also called
15331 for aligned_alloc. (Summary of Malloc): Add summary for
15332 aligned alloc. Document __memalign_hook is also called
15333 for aligned_alloc.
15334
0a096e44
WN
153352013-12-16 Will Newton <will.newton@linaro.org>
15336
15337 * manual/memory.texi (Malloc Examples): Clarify default
15338 alignment documentation. Suggest posix_memalign rather
15339 than memalign or valloc.
15340 (Aligned Memory Blocks): Remove suggestion to use memalign
15341 or valloc. Remove obsolete comment about BSD.
15342 Document memalign errno values and mark the function obsolete.
15343 Document posix_memalign returned error codes. Mark valloc
15344 as obsolete. (Hooks for Malloc): __memalign_hook is also
15345 called for posix_memalign and valloc.
15346 (Summary of Malloc): Add posix_memalign to function summary.
15347 __memalign_hook is also called for posix_memalign and valloc.
15348
8d561986
SP
153492013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15350
15351 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15352 TAYLOR_SIN.
15353 (__sin): Adjust.
15354 (__cos): Likewise.
15355 (sloww): Use mynumber union. Expand ternary operator into
15356 if-else statements.
15357 (cslow): use mynumber union.
15358
73616a74
AM
153592013-12-16 Allan McRae <allan@archlinux.org>
15360
9e8ac24b
AM
15361 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15362 * configure: Regenerated.
15363
6f8e37eb
AM
15364 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15365
8894bad3
AM
15366 [BZ #14120]
15367 * configure.ac: Added --enable-maintainer-mode. Check for
15368 autoconf when enabled.
15369 * configure: Regenerated.
15370
73616a74
AM
15371 * nscd/nscd.service: New file.
15372 * nscd/nscd.tmpfiles: New file.
15373
584b18eb
OB
153742013-12-14 Ondřej Bílka <neleai@seznam.cz>
15375
15376 [BZ #12100]
15377 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15378 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15379 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15380 (strstr): Add __strstr_sse2_unaligned ifunc.
15381 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15382 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15383 (strcasestr): Remove __strcasestr_sse42 ifunc.
15384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15387
8a5c7897
KK
153882013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15389
15390 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15391 * sysdeps/sh/bits/fenv.h: ... here.
15392 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15393
fd712ef3
AZ
153942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15395
15396 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15397
42fcb46c
AZ
15398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15399 hypotf multiarch implementations.
15400 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15401 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15402 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15403 multiarch hypot for PPC64.
15404 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15405 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15406 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15407 multiarch hypotf for PPC64.
15408
83efded4
AZ
15409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15410 modff multiarch implementations.
15411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15414 multiarch modf for PPC64.
15415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15418 multiarch modff for PPC64.
15419
43e246d2
AZ
15420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15421 and logl multiarch implementations.
15422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15425 multiarch logb for PPC64.
15426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15429 multiarch logb for PPC64.
15430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15433 multiarch logb for PPC64.
15434
8fdad123
AZ
15435 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15436 isinff multiarch implementation.
15437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15438 file.
15439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15441 multiarch isinf for PPC64.
15442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15443 file.
15444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15445 multiarch isinff for PPC64.
15446
1481d706
AZ
15447 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15448 finitef multiarch implementation.
15449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15450 file.
15451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15453 multiarch finite for PPC64.
15454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15455 file.
15456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15457 multiarch finitef for PPC64.
15458
5ccd5fc8
AZ
15459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15460 lrint multiarch implementation.
15461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15462 file.
15463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15465 multiarch llrint for PPC64.
15466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15467 multiarch lrint for PPC64.
15468
2568f3fa
AZ
15469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15470 copysignf multiarch implementation.
15471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15472 file.
15473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15474 file.
15475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15476 multiarch copysign for PPC64.
15477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15478 multiarch copysignf for PPC64.
15479
1cb341fd
AZ
15480 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15481 multiarch implementation.
15482 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15483 file.
15484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15485 file.
15486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15487 file.
15488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15489 file.
15490 multiarch llround for PPC64.
15491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15492 multiarch trunc for PPC64.
15493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15494 multiarch truncf for PPC64.
15495
59a3e194
AZ
15496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15497 multiarch implementation.
15498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15499 file.
15500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15501 file.
15502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15503 file.
15504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15505 file.
15506 multiarch llround for PPC64.
15507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15508 multiarch round for PPC64.
15509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15510 multiarch roundf for PPC64.
15511
357fd3b4
AZ
15512 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15513 multiarch implementation.
15514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15515 file.
15516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15517 file.
15518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15519 file.
15520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15521 file.
15522 multiarch llround for PPC64.
15523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15524 multiarch floor for PPC64.
15525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15526 multiarch floorf for PPC64.
15527
96770f12
AZ
15528 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15529 multiarch implementation.
15530 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15531 file.
15532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15533 file.
15534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15535 file.
15536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15537 file.
15538 multiarch llround for PPC64.
15539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15540 multiarch ceil for PPC64.
15541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15542 multiarch ceilf for PPC64.
15543
c3627f6e
AZ
15544 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15545 multiarch implementation.
15546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15547 file.
15548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15549 file.
15550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15551 file.
15552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15553 multiarch llround for PPC64.
15554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15555 multiarch lround for PPC64.
15556
b2284ad7
AZ
15557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15558 multiarch implementation.
15559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15562 file.
15563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15566 multiarch isnan for PPC64.
15567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15568 multiarch isnanf for PPC64.
15569
69bbc63d
AZ
15570 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15571 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15572 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15573 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15574 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15576
c24517c9
AZ
15577 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15578 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15579 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15580 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15581
a52374e8
AZ
15582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15583 multiarch implementations.
15584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15585 (__libc_ifunc_impl_list): Likewise.
15586 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15587 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15588 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15589 multiarch stpcpy for PPC64.
15590
7f5ec113
AZ
15591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15592 multiarch implementations.
15593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15594 (__libc_ifunc_impl_list): Likewise.
15595 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15596 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15597 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15598 multiarch strcpy for PPC64.
15599
e28bcd42
AZ
15600 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15601 redefine function name.
15602 (_wordcopy_fwd_dest_aligned): Likewise.
15603 (_wordcopy_bwd_aligned): Likewise.
15604 (_wordcopy_bwd_dest_aligned): Likewise.
15605 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15606 multiarch implementations.
15607 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15608 (__libc_ifunc_impl_list): Likewise.
15609 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15610 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15611 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15612 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15613 multiarch wcscpy for PPC64.
15614
92cacfce
AZ
15615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15616 multiarch implementations.
15617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15618 (__libc_ifunc_impl_list): Likewise.
15619 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15620 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15621 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15622 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15623 multiarch wcscpy for PPC64.
15624
7b714620
AZ
15625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15626 multiarch implementations.
15627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15628 (__libc_ifunc_impl_list): Likewise.
15629 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15630 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15631 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15632 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15633 multiarch wcsrchr for PPC64.
15634
16fd2ae3
AZ
15635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15636 multiarch implementations.
15637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15638 (__libc_ifunc_impl_list): Likewise.
15639 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15640 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15641 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15642 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15643 multiarch wcschr for PPC64.
15644
9ee2969b
AZ
15645 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15646 multiarch implementations.
15647 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15648 (__libc_ifunc_impl_list): Likewise.
15649 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15650 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15651 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15652 multiarch strchrnul for PPC64.
15653
372dc060
AZ
15654 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15655 implementations.
15656 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15657 (__libc_ifunc_impl_list): Likewise.
15658 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15659 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15660 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15661 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15662 strchr for PPC64.
15663
24c2c3b9
AZ
15664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15665 implementations.
15666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15667 (__libc_ifunc_impl_list): Likewise.
15668 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15669 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15670 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15671 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15672 strncmp for PPC64.
15673
1c92d9a0
AZ
15674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15675 multiarch implementations.
15676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15677 (__libc_ifunc_impl_list): Likewise.
15678 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15679 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15680 strncasecmp for PPC64.
15681 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15682 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15683 multiarch strncasecmp_l for PPC64.
15684
17de3ee3
AZ
15685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15686 multiarch implementations.
15687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15688 (__libc_ifunc_impl_list): Likewise.
15689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15690 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15691 multiarch strcasecmp for PPC64.
15692 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15693 file.
15694 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15695 multiarch strcasecmp_l for PPC64.
15696
62982bf9
AZ
15697 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15698 implementations.
15699 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15700 (__libc_ifunc_impl_list): Likewise.
15701 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15702 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15703 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15704 strnlen for PPC64.
15705
a65f4904
AZ
15706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15707 implementations.
15708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15709 (__libc_ifunc_impl_list): Likewise.
15710 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15711 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15712 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15713 strlen for PPC64.
15714
1fd005ad
AZ
15715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15716 implementations.
15717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15718 (__libc_ifunc_impl_list): Likewise.
15719 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15720 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15721 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15722 rawmemrchr for PPC64.
15723
cd05ba91
AZ
15724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15725 implementation.
15726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15727 (__libc_ifunc_impl_list): Likewise.
15728 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15729 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15730 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15731 memrchr for PPC64.
15732
870f8676
AZ
15733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15734 implementation.
15735 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15736 (__libc_ifunc_impl_list): Likewise.
15737 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15738 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15739 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15740 memchr for PPC64.
15741
f00be62b
AZ
15742 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15743 implementation.
15744 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15745 (__libc_ifunc_impl_list): Likewise.
15746 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15747 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15748 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15749 mempcpy for PPC64.
15750
8a29a3d0
AZ
15751 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15752 avoid cretion of __bzero symbol.
15753 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15754 Likewise.
15755 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15756 Likewise.
15757 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15758 Likewise.
15759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15760 multiarch implementations.
15761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15762 (__libc_ifunc_impl_list): Likewise.
15763 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15764 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15765 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15766 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15767 bzero for PPC32.
15768 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15769 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15770 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15771 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15772 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15773 memset for PPC64.
15774 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15775
07253fcf
AZ
15776 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15777 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15778 implementations.
15779 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15780 (__libc_ifunc_impl_list): Likewise.
15781 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15782 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15783 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15784 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15785 memcmp for PPC64.
15786
b5beafbc
AZ
15787 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15788 multiarch for POWER/PPC64.
15789 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15790 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15791 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15792 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15793 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15794 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15795 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15796 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15797 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15798 memcpy for PPC64.
15799
5e6a4d4b
AZ
15800 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15801 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15802 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15803 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15804 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15805 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15806 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15807 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15808 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15809 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15810 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15811 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15812 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15813 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15814 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15822
ddfab6dc
KK
158232013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15824
15825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15826
19b5525e
SP
158272013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15828
15829 * benchtests/Makefile (bench): Add exp2 and log2.
15830 (LDLIBS-bench-exp2): Add -lm.
15831 (LDLIBS-bench-log2): Likewise.
15832 * benchtests/exp2-inputs: New inputs file.
15833 * benchtests/log2-inputs: New inputs file.
15834 * benchtests/log-inputs: Add new inputs.
15835 * benchtests/tan-inputs: Likewise.
15836
196f7f5d
SP
158372013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15838
7a74607f
SP
15839 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15840 definition...
57f41c40
AS
15841 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15842 (csloww2): ... from here.
7a74607f 15843
196f7f5d
SP
15844 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15845 instead of structures.
15846 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15847 (POLYNOMIAL): Likewise.
15848 (TAYLOR_SLOW): Likewise.
15849 (__sin): Likewise.
15850 (__cos): Likewise.
15851 (slow1): Likewise.
15852 (slow2): Likewise.
15853 (sloww): Likewise.
15854 (sloww1); Likewise.
15855 (sloww2): Likewise.
15856 (bsloww1): Likewise.
15857 (bsloww2): Likewise.
15858 (cslow2): Likewise.
15859 (csloww): Likewise.
15860 (csloww1): Likewise.
15861 (csloww2): Likewise.
15862
0dfa665c
OB
158632013-12-10 Ondřej Bílka <neleai@seznam.cz>
15864
15865 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15866 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15867 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15868 * malloc/hooks.c (realloc_check): Likewise.
15869
5782a80f
OB
15870 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15871 * malloc/arena.c: Remove PER_THREAD conditional.
15872 [!PER_THREAD]: Remove code.
15873 (ptmalloc_unlock_all2): Likewise.
15874 (ptmalloc_init): Likewise.
15875 (_int_new_arena): Likewise.
15876 (arena_get2): Likewise.
15877 * malloc/hooks.c (__malloc_get_state): Likewise.
15878 (__malloc_set_state): Likewise.
15879 * malloc/malloc.c: Likewise.
15880 (struct malloc_state): Likewise.
15881 (struct malloc_par): Likewise.
15882 (__libc_realloc): Likewise.
15883 (__libc_mallopt): Likewise.
15884
aeb95445
AZ
158852013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15886
15887 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15888
e8349efd
OB
158892013-12-09 Ondřej Bílka <neleai@seznam.cz>
15890
15891 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15892 macro to a function. Check for zero perturb_byte.
15893 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15894
f3eeb3fc 15895 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15896 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15897 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15898 force_reg by atomic_forced_read.
15899 * malloc/arena.c (ptmalloc_init): Likewise.
15900 * malloc/hooks.c (top_check): Likewise.
15901
be2f9009
AZ
159022013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15903
15904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15905
e7b914bd
MT
159062013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15907
15908 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15909
9f0be4f8
JM
159102013-12-08 Joseph Myers <joseph@codesourcery.com>
15911
15912 * math/auto-libm-test-in: Add tests of lgamma.
15913 * math/auto-libm-test-out: Regenerated.
15914 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15915 (M_LOG_2_SQRT_PIl): Likewise.
15916 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15917 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15918 mpfr_f_f1.
15919 (func_calc_desc): Add mpfr_f_f1 union field.
15920 (ARGS1): New macro.
15921 (ARGS2): Likewise.
15922 (ARGS3): Likewise.
15923 (ARGS4): Likewise.
15924 (RET1): Likewise.
15925 (RET2): Likewise.
15926 (CALC): Likewise.
15927 (FUNC): Likewise.
15928 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15929 (test_functions): Add lgamma.
15930 (calc_generic_results): Handle mpfr_f_f1.
15931 * sysdeps/i386/fpu/libm-test-ulps: Update.
15932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15933
24eeafdb
AZ
159342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15935
15936 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15937 __mpn_add_n for PowerPC64/POWER7.
15938 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15939 __mpn_sub_n for PowerPC64/POWER7.
15940
4a2c0fd4
AZ
15941 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15942 __mpn_addmul_1 for PowerPC64.
15943 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15944 __mpn_submul_1 for PowerPC64.
15945 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15946 for PowerPC64.
15947 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15948 for PowerPC64.
15949
4b5b548c
FS
159502013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15951
15952 [BZ #15089]
15953 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15954
0a3ac0aa
AZ
159552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15956
15957 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15958
ccdc8438
AZ
15959 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15960 add multiarch folders.
15961 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15962 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15963 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15964 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15965 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15966 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15967 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15968 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15969 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15970 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15971 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15978
2e973d99
AZ
15979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15980 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15982 New file.
15983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15984 New file.
15985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15986 multiarch __ieee754_hypot for PowerPC32.
15987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15988 New file.
15989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15990 New file.
15991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15992 multiarch __ieee754_hypotf for PowerPC32.
15993
2d9470b2
AZ
15994 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15995 long_double_symbol only if __logbl is defined.
15996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15997 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15998 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15999 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16000 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16001 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16003 path for implementation.
16004 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16005 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16007 logb, and logbl multiarch implementations for PowerPC32.
16008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16009 file.
16010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16011 file.
16012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16013 multiarch logb for PowerPC32.
16014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16015 file.
16016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16017 file.
16018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16019 multiarch logbf for PowerPC32.
16020 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16022 file.
16023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16024 multiarch logbl implementation for PowerPC32.
16025
5212ffce
AZ
16026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16027 and modff multiarch implementations.
16028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16029 New file.
16030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16031 New file.
16032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16033 multiarch modf for PowerPC32.
16034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16035 New file.
16036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16037 New file.
16038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16039 multiarch modff for PowerPC32.
16040
79dccf31
AZ
16041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16042 and lrintf multiarch implementations.
16043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16044 New file.
16045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16046 New file.
16047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16048 multiarch lrint for PowerPC32.
16049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16050 file: multiarch lrintf for PowerPC32.
16051
deb66480
AZ
16052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16053 and lroundf multiarch implementations.
16054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16055 New file.
16056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16057 New file.
16058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16059 New file.
16060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16061 multiarch lround for PowerPC32.
16062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16063 file: multiarch lroundf for PowerPC32.
16064
264b036b
AZ
16065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16066 copysign and copysignf multiarch implementations.
16067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16068 New file.
16069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16070 New file.
16071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16072 file: multiarch copysign for PowerPC32.
16073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16074 file: multiarch copysignf for PowerPC32.
16075
d47db6c9
AZ
16076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16077 and truncf multiarch implementations.
16078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16079 New file.
16080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16081 file.
16082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16083 multiarch trunc for PowerPC32.
16084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16085 New file.
16086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16087 New file.
16088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16089 multiarch truncf for PowerPC32.
16090
ddb60b5a
AZ
16091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16092 and roundf multiarch implementations.
16093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16094 New file.
16095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16096 file.
16097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16098 multiarch round for PowerPC32.
16099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16100 New file.
16101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16102 New file.
16103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16104 multiarch roundf for PowerPC32.
16105
bedcf49b
AZ
16106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16107 and floorf multiarch implementations.
16108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16109 New file.
16110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16111 file.
16112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16113 multiarch floor for PowerPC32.
16114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16115 New file.
16116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16117 New file.
16118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16119 multiarch floorf for PowerPC32.
16120
35ae5b40
AZ
16121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16122 and ceilf multiarch implementations.
16123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16124 New file.
16125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16126 file.
16127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16128 multiarch ceil for PowerPC32.
16129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16130 New file.
16131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16132 file.
16133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16134 multiarch ceilf for PowerPC32.
16135
ae1a4cd9
AZ
16136 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16137 is defined.
16138 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16139 FINITEF is defined.
16140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16141 and finitef multiarch implementations.
16142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16143 New file.
16144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16145 file.
16146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16147 multiarch finite for PowerPC32.
16148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16149 New file.
16150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16151 file: multiarch finitef for PowerPC32.
16152
64fffd65
AZ
16153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16154 and isinff multiarch implementations.
16155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16156 file.
16157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16158 file.
16159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16160 multiarch isinf for PowerPC32.
16161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16162 New file.
16163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16164 multiarch isinff for PowerPC32.
16165
8e4e7ba2
AZ
16166 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16167 alias when __isnan is defined.
16168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16169 and isnanf multiarch implementations.
16170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16171 file.
16172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16173 file.
16174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16175 file.
16176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16177 file.
16178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16179 multiarch isnan for PowerPC32.
16180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16181 New file.
16182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16183 New file.
16184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16185 multiarch isnanf for PowerPC32.
16186
ddba588e
AZ
16187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16188 and sqrtf multiarch implementations.
16189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16190 file.
16191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16192 file.
16193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16194 multiarch sqrt for PowerPC32.
16195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16196 file.
16197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16198 file.
16199 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16200 multiarch sqrtf for PowerPC32.
16201
0f96a2f0
AZ
16202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16203 and llroundf multiarch implementations.
16204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16205 New file.
16206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16207 New file.
16208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16209 New file.
16210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16211 file: multiarch llround for PowerPC32.
16212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16213 file: multiarch llroundf for PowerPC32.
16214
c9b5d79e
AZ
16215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16216 multiarch PowerPC32 fpu implementations.
16217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16218 New file.
16219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16220 New file.
16221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16222 multiarch llrint for PowerPC32.
16223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16224 New file.
16225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16226 New file.
16227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16228 file.
16229
9cbb3aab
AZ
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16231
ea5a72f8
AZ
16232 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16233 file.
16234 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16235 file.
16236 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16237 file.
16238 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16239 multiarch wordcopy for PPC32.
16240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16241 wordcopy objects.
16242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16243 (__libc_ifunc_impl_list): Likewise.
16244 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16245 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16246 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16247 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16248 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16249 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16250
93be09e7
AZ
16251 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16252 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16253 file.
16254 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16255 file.
16256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16257 file.
16258 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16259 multiarch wcscpy for PPC32.
16260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16261 multiarch objects.
16262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16263 (__libc_ifunc_impl_list): Likewise.
16264 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16265 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16266 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16267 sysdeps/powerpc/power6/wcscpy.c.
16268
bb04e529
AZ
16269 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16270 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16271 file.
16272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16273 file.
16274 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16275 file.
16276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16277 multiarch wcsrchr for PPC32.
16278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16279 multiarch objects.
16280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16281 (__libc_ifunc_impl_list): Likewise.
16282 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16283 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16284 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16285 sysdeps/powerpc/power6/wcsrchr.c.
16286
05b5cd1c
AZ
16287 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16288 file.
16289 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16290 file.
16291 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16293 multiarch wcschr for PPc32.
16294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16295 multiarch objects.
16296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16297 (__libc_ifunc_impl_list): Likewise.
16298 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16299 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16300 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16301 sysdeps/powerpc/power6/wcschr.c.
16302
ba964147
AZ
16303 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16304 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16305 file.
16306 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16307 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16308 file: multiarch strchr for PPC32.
16309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16310 multiarch objects.
16311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16312 (__libc_ifunc_impl_list): Likewise.
16313
31c81aaa
AZ
16314 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16315 name.
16316 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16317 file.
16318 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16319 file.
16320 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16321 multiarch strchrnul for PPC32.
16322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16323 multiarch objects.
16324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16325 (__libc_ifunc_impl_list): Likewise.
16326
0d0607d9
AZ
16327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16328 file.
16329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16330 multiarch strncasecmp for PPC32.
16331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16332 file.
16333 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16334 multiarch strncasecmp_l for PPC32.
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16336 strncasecmp multiarch objects.
16337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16338 (__libc_ifunc_impl_list): Likewise.
16339
4dfd5c86
AZ
16340 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16341 file.
16342 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16343 multiarch strncasecmp for PPC32.
16344 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16345 New file.
16346 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16347 multiarch strcasecmp_l for PPC32.
16348 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16349 multiarch objects.
16350 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16351 (__libc_ifunc_impl_list): Likewise.
16352
a19e01a3
AZ
16353 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16354 file.
16355 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16356 file.
16357 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16358 multiarch strncmp for PPC32.
16359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16360 multiarch objects.
16361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16362 (__libc_ifunc_impl_list): Likewise.
16363
ae9cf7a2
AZ
16364 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16365 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16366 file.
16367 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16368 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16370 multiarch objects.
16371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16372 (__libc_ifunc_impl_list): Likewise.
16373
3148bb7d
AZ
16374 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16375 file.
16376 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16377 file.
16378 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16380 multiarch objects.
16381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16382 (__libc_ifunc_impl_list): Likewise.
16383
7af8b946
AZ
16384 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16385 file.
16386 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16387 file.
16388 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16389 multiarch rawmemchr for PPC32.
16390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16391 multiarch objects.
16392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16393 (__libc_ifunc_impl_list): Likewise.
16394
03a6aa6a
AZ
16395 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16396 file.
16397 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16398 file.
16399 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16400 file: memrchr multiarch for PPC32.
16401 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16402 multiarch objects.
16403 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16404 (__libc_ifunc_impl_list): Likewise.
16405
1c62e6d9
AZ
16406 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16407 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16408 file.
16409 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16410 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16411 multiarch memchr for PPC32.
16412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16413 multiarch objects.
16414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16415 (__libc_ifunc_impl_list): Likewise.
16416
87da8bdb
AZ
16417 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16418 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16419 file.
16420 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16421 file.
16422 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16423 file: multiarch mempcpy for PPC32.
16424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16425 multiarch objects.
16426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16427 (__libc_ifunc_impl_list): Likewise.
16428
20ed4714
AZ
16429 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16430 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16431 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16432 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16433 multiarch bzero for PPC32.
16434 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16435 file.
16436 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16437 file.
16438 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16439 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16440 file: multiarch memset for PPC32.
16441 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16442 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16443 memset multiarch objects.
16444 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16445 (__libc_ifunc_impl_list): Likewise.
16446
ab3e3a46
AZ
16447 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16448 file.
16449 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16451 memcmp for PPC32.
16452 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16454 multiarch objects.
16455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16456 (__libc_ifunc_impl_list): Likewise.
16457
930de6f0
AZ
16458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16459 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16460 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16461 file.
16462 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16463 file.
16464 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16465 file.
16466 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16467 multiarch memcpy for PPC32.
16468 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16469 multiarch objects.
16470 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16471 (__libc_ifunc_impl_list): Likewise.
16472
4c628e00
AZ
16473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16474 support multiarch for POWER/PPC32.
16475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16476 Likewise.
16477 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16479 Implies file to make multiarch folder appers before the fpu and
16480 default folder for power4 configuration.
16481
f4479220
SP
164822013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16483
16484 * scripts/bench.pl: Append volatile keyword to type.
16485
8517800f
KK
164862013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16487
16488 * sysdeps/sh/sotruss-lib.c: New file.
16489 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16490
180138f1
AZ
164912013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16492
16493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16494
bbf37bdc
JM
164952013-12-05 Joseph Myers <joseph@codesourcery.com>
16496
e47cc4e0
JM
16497 [BZ #6810]
16498 * math/w_tgamma.c: Include <errno.h>.
16499 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16500 * math/w_tgammaf.c: Include <errno.h>.
16501 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16502 * math/w_tgammal.c: Include <errno.h>.
16503 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16504 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16505 underflow. Add more tgamma tests.
16506 * math/auto-libm-test-out: Regenerated.
16507 * sysdeps/i386/fpu/libm-test-ulps: Update.
16508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16509
bbf37bdc
JM
16510 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16511 sin, sinh, tan, tanh, tgamma, y0 and y1.
16512 * math/auto-libm-test-out: Regenerated.
16513 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16514 (TEST_COND_x86): Likewise.
16515 (M_E2l): Remove macro.
16516 (M_E3l): Likewise.
16517 (M_2_SQRT_PIl): Likewise.
16518 (M_SQRT_PIl): Likewise.
16519 (M_1_DIV_El): Likewise.
16520 (log_test_data): Use AUTO_TESTS_f_f.
16521 (log10_test_data): Likewise.
16522 (log1p_test_data): Likewise.
16523 (log2_test_data): Likewise.
16524 (sin_test_data): Likewise.
16525 (sin_tonearest_test_data): Likewise.
16526 (sin_towardzero_test_data): Likewise.
16527 (sin_downward_test_data): Likewise.
16528 (sin_upward_test_data): Likewise.
16529 (sinh_test_data): Likewise.
16530 (sinh_tonearest_test_data): Likewise.
16531 (sinh_towardzero_test_data): Likewise.
16532 (sinh_downward_test_data): Likewise.
16533 (sinh_upward_test_data): Likewise.
16534 (tan_test_data): Likewise.
16535 (tan_tonearest_test_data): Likewise.
16536 (tan_towardzero_test_data): Likewise.
16537 (tan_downward_test_data): Likewise.
16538 (tan_upward_test_data): Likewise.
16539 (tanh_test_data): Likewise.
16540 (tgamma_test_data): Likewise.
16541 (y0_test_data): Likewise.
16542 (y1_test_data): Likewise.
16543 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16544 (special_real_inputs): Add pi/4.
16545 * sysdeps/i386/fpu/libm-test-ulps: Update.
16546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16547
eb5ad6b9
AZ
165482013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16549
16550 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16551 "longjmp_target" static probes.
16552 (__longjmp): Rename to __longjmp_symbol.
16553 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16554 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16555 on which longjmp to generate.
16556 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16557 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16558 probe.
16559 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16560 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16561 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16562 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16563 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16564 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16566 __longjmp_symbol based on which __longjmp to generate.
16567 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16568 probe.
16569 (setjmp): Rename to setjmp_symbol.
16570 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16571 (_setjmp): Rename to _setjmp_symbol.
16572 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16573 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16574 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16575 which setjmp to generate.
16576 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16577 "longjmp_target" static probes.
16578
d136c6dc
SP
165792013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16580
9298ecba
SP
16581 * benchtests/README: Add note about output arguments.
16582 * benchtests/bench-sincos.c: Remove file.
16583 * benchtests/sincos-inputs: New file.
16584 * scripts/bench.pl: Identify output arguments and define
16585 static variables for them.
16586
232983e9
SP
16587 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16588
d136c6dc
SP
16589 [BZ #15941]
16590 * Makefile (INSTALL): Add install-plain.texi as the primary
16591 dependency.
16592 * manual/install-plain.texi: New file.
16593 * manual/install.texi: Include node directive only for
16594 non-plaintext output.
16595
699ff837
JM
165962013-12-04 Joseph Myers <joseph@codesourcery.com>
16597
ab07cea8
JM
16598 * stdlib/longlong.h: Update from GCC.
16599
699ff837
JM
16600 [BZ #6807]
16601 [BZ #15901]
16602 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16603 * math/w_j0f.c (y0f): Likewise.
16604 * math/w_j0l.c (__y0l): Likewise.
16605 * math/w_j1.c (y1): Likewise.
16606 * math/w_j1f.c (y1f): Likewise.
16607 * math/w_j1l.c (__y1l): Likewise
16608 * math/w_jn.c (yn): Likewise.
16609 * math/w_jnf.c (ynf): Likewise.
16610 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16611 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16612 value for Bessel function domain errors outside _SVID_ mode.
16613 Adjust sign of return value for yn (negative integer, 0).
16614 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16615 by zero in return for negative x and set sign appropriately for
16616 negative n.
16617 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16618 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16619 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16620 expectations in error cases.
16621 (y1_test_data): Likewise.
16622 (yn_test_data): Likewise.
16623 * sysdeps/i386/fpu/libm-test-ulps: Update.
16624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16625
5b118558
UW
166262013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16627
16628 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16629 "64" to "64-v1". Add "64-v2".
16630 (abi-64-options): Rename to ...
16631 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16632 (abi-64-condition): Rename to ...
16633 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16634 (abi-64-ld-soname): Rename to ...
16635 (abi-64-v1-ld-soname): ... this.
16636 (abi-64-v2-options): Define.
16637 (abi-64-v2-condition): Likewise.
16638 (abi-64-v2-ld-soname): Likewise.
16639 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16640 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16644
61cd8fe4
UW
166452013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16646 Alan Modra <amodra@gmail.com>
16647
16648 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16649 New versions for use with the ELFv2 ABI.
16650 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16651 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16652 declaration.
16653 (struct La_ppc64v2_retval): Likewise.
16654 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16655 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16656 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16657 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16658 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16659 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16660 Do not save or restore CR.
16661 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16662 (_dl_profile_resolve): Do no save or restore CR. Support extended
16663 return values for ELFv2 ABI. Fix location of FPR return registers.
16664 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16665 updated values for _CALL_ELF == 2.
16666 (La_regs, La_retval, int_retval): Likewise.
16667
8b8a692c
UW
166682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16669
16670 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16671 (FRAME_MIN_SIZE_PARM): Likewise.
16672 (FRAME_BACKCHAIN): Likewise.
16673 (FRAME_CR_SAVE): Likewise.
16674 (FRAME_LR_SAVE): Likewise.
16675 (FRAME_TOC_SAVE): Likewise.
16676 (FRAME_PARM_SAVE): Likewise.
16677 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16678 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16679 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16680 (call_mcount_parm_offset): New macro.
16681 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16682 (PROF): Use symbolic stack frame offsets.
16683 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16684 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16685 Redefine in terms of FRAME_MIN_SIZE.
16686 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16687 (_dl_profile_resolve): Likewise. Update comment.
16688 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16689 symbols stack frame offsets.
16690 (__sigsetjmp): Likewise.
16691 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16692 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16693 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16694 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16695
16696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16697 (FRAME_BACKCHAIN): Remove.
16698 (FRAME_CR_SAVE): Likewise.
16699 (FRAME_LR_SAVE): Likewise.
16700 (FRAME_COMPILER_DW): Likewise.
16701 (FRAME_LINKER_DW): Likewise.
16702 (FRAME_TOC_SAVE): Likewise.
16703 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16704 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16705 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16706 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16708 (CHECK_SP): Use symbolic stack frame offsets.
16709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16710 zone" instead of caller's parameter save area for temp storage.
16711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16712 Likewise. Also, use symbolic stack frame offsets.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16714 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16715 our own stack frame instead of the caller's.
16716 (__socket): Use symbolic stack frame offsets.
16717
122b66de
UW
167182013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16719 Alan Modra <amodra@gmail.com>
16720
16721 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16722 Define.
57f41c40
AS
16723 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16724 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16725 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16726 New function.
16727 (elf_machine_fixup_plt): Call it.
16728 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16729 reloc arguments.
16730 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16731 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16732 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16733 r2 before calling target.
16734
696caf1d
UW
167352013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16736 Alan Modra <amodra@gmail.com>
16737
16738 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16739 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16740 versions of macros to support ELFv2 ABI.
16741 (LOCALENTRY): New macro.
16742 (ENTRY, EALIGN): Use it.
16743 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16744 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16745 fall through into ENTRY entry point.
16746 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16747 Only define if _CALL_ELF != 2.
16748
16749 (elf_machine_matches_host): Verify ABI version matches.
16750 (RTLD_START): Use LOCALENTRY.
16751 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16752 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16753 (PLT_ENTRY_WORDS): New macro.
16754 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16755 (elf_machine_runtime_setup): Support ELFv2 ABI.
16756 (elf_machine_fixup_plt): Likewise.
16757 (elf_machine_plt_conflict): Likewise.
16758 (resolve_ifunc): Likewise.
16759 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16760 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16761 Likewise.
16762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16763 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16765 (makecontext): Support ELFv2 ABI.
16766 * elf/elf.h (EF_PPC64_ABI): Define.
16767
d31beafa
UW
167682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16769
57f41c40
AS
16770 * sysdeps/powerpc/powerpc64/sysdep.h
16771 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16772 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16773 (ENTRY) [ASSEMBLER]: ... but instead here ...
16774 (EALIGN) [ASSEMBLER]: ... and here.
16775 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16776 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16777 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16778 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16779 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16780 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16781 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16782 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16784 Use PPC64_LOAD_FUNCPTR.
16785
b525166b
UW
16786 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16787
7ec07d9a
AM
167882013-12-04 Alan Modra <amodra@gmail.com>
16789
16790 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16791 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16792 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16793 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16794
16795 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16796 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16797 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16798 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16799 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16800 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16801
5162e7dd
UW
168022013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16803
16804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16805 (__makecontext): Fix incorrect CFI when backtracing out of
16806 context created via makecontext.
16807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16808 (__setcontext): Fix incorrect CFI during switch to new context.
16809 (__novec_setcontext): Likewise.
16810
19e3372b
OB
168112013-12-04 Ondřej Bílka <neleai@seznam.cz>
16812
16813 [BZ #4772]
16814 * time/strptime_l.c (__strptime_internal): Allow modifiers
16815 in strptime.
16816 * time/tst-strptime.c (day_tests): Add testcase.
16817
ecaf142d
SP
168182013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16819
16820 * scripts/bench.pl: Skip over blank lines.
16821
fbf964ae
PE
168222013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16823
16824 [BZ #926]
16825 * manual/time.texi (Calendar Time): Clarify what timezone functions
16826 use.
16827
fa60a674
AZ
168282013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16829
16830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16831
d674f0ef
OB
168322013-12-04 Ondřej Bílka <neleai@seznam.cz>
16833
16834 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16835 implementation.
16836 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16837 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16838 * debug/memset_chk.c (__memset_chk): Likewise.
16839 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16840 * debug/strncpy_chk.c: Likewise.
16841
17dea188
JM
168422013-12-03 Joseph Myers <joseph@codesourcery.com>
16843
749008ff
JM
16844 [BZ #15268]
16845 [BZ #15425]
16846 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16847 (__ieee754_exp): For possibly underflowing results, check size of
16848 result and force underflow exception if required.
16849 * math/auto-libm-test-in: Add more tests of exp.
16850 * math/auto-libm-test-out: Regenerated.
16851 * sysdeps/i386/fpu/libm-test-ulps: Update.
16852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16853
17dea188
JM
16854 [BZ #16283]
16855 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16856 * math/w_exp2f.c (__exp2f): Likewise.
16857 * math/w_exp2l.c (__exp2l): Likewise.
16858 * math/auto-libm-test-in: Do not allow missing errno on exp2
16859 underflow.
16860 * math/auto-libm-test-out: Regenerated.
16861
b20de2c3
OB
168622013-12-03 Ondřej Bílka <neleai@seznam.cz>
16863
16864 [BZ #16274]
16865 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16866 handle filename validation.
16867 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16868 (do_open): Delete.
16869
d8e2dbe3
JM
168702013-12-03 Joseph Myers <joseph@codesourcery.com>
16871
34e16df5
JM
16872 [BZ #6786]
16873 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16874 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16875 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16876 <float.h>.
16877 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16878 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16879 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16880 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16881 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16882 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16883 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16884 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16885 Add more erfc tests.
16886 * math/auto-libm-test-out: Regenerated.
16887 * sysdeps/i386/fpu/libm-test-ulps: Update.
16888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16889
d8e2dbe3
JM
16890 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16891 exp2, expm1, j0 and j1.
16892 * math/auto-libm-test-out: Regenerated.
16893 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16894 (erfc_test_data): Likewise.
16895 (exp_test_data): Likewise.
16896 (exp_tonearest_test_data): Likewise.
16897 (exp_towardzero_test_data): Likewise.
16898 (exp_downward_test_data): Likewise.
16899 (exp_upward_test_data): Likewise.
16900 (exp10_test_data): Likewise.
16901 (exp2_test_data): Likewise.
16902 (expm1_test_data): Likewise.
16903 (j0_test_data): Likewise.
16904 (j1_test_data): Likewise.
16905 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16906 (input_flag_type): Add flag_xfail_rounding.
16907 (input_flags): Add xfail-rounding.
16908 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16909 (output_for_one_input_case): Handle flag_xfail_rounding.
16910 * sysdeps/i386/fpu/libm-test-ulps: Update.
16911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16912
18d14251
AJ
169132013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16914
3d2e6075 16915 [BZ #16289]
18d14251
AJ
16916 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16917 division by 0.
16918
520d437b
SP
169192013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16920
16921 [BZ #16195]
16922 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16923 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16924 (STAP_PROBE0): New macro.
16925 (STAP_PROBE1): Likewise.
16926 (STAP_PROBE2): Likewise.
16927 (STAP_PROBE3): Likewise.
16928 (STAP_PROBE4): Likewise.
16929
416e0145
OB
169302013-12-02 Ondřej Bílka <neleai@seznam.cz>
16931
16932 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16933
9d17796a
SE
169342013-12-02 Steve Ellcey <sellcey@mips.com>
16935
16936 * benchtests/Makefile (bench): Add sqrt.
16937 (LDLIBS-bench-sqrt): New.
16938 * benchtests/sqrt-input: New.
16939
f524d6a8
PS
169402013-12-02 Pavel Simerda <psimerda@redhat.com>
16941
639a0ef8
PS
16942 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16943 (GAIH_EAI): Likewise.
16944 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16945 (gaih_inet): Likewise.
16946 (getaddrinfo): Don't use GAIH_EAI.
16947
f524d6a8
PS
16948 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16949 (struct gaih): Remove definition.
16950
df3aedaf
SP
169512013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16952
16953 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16954 Use HERRNOP directly.
16955
1ab19dec
AZ
169562013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16957
b42ad38d 16958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16959
176b0c79
JM
169602013-11-30 Joseph Myers <joseph@codesourcery.com>
16961
16962 * math/gen-auto-libm-tests.c (test_functions): Add more
16963 single-argument functions.
16964 (special_fill_pi_2): New function.
16965 (special_fill_minus_pi_2): Likewise.
16966 (special_fill_pi_6): Likewise.
16967 (special_fill_minus_pi_6): Likewise.
16968 (special_fill_pi_3): Likewise.
16969 (special_fill_2pi_3): Likewise.
16970 (special_fill_e): Likewise.
16971 (special_fill_1_e): Likewise.
16972 (special_fill_e_minus_1): Likewise.
16973 (special_real_inputs): Add more special inputs.
16974 (output_for_one_input_case): Do not require ERANGE on underflow to
16975 zero if round-to-nearest result does not underflow to zero, unless
16976 exact results required.
16977 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16978 atan, atanh, cbrt, cos and cosh.
16979 * math/auto-libm-test-out: Regenerated.
16980 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16981 (acos_tonearest_test_data): Likewise.
16982 (acos_towardzero_test_data): Likewise.
16983 (acos_downward_test_data): Likewise.
16984 (acos_upward_test_data): Likewise.
16985 (acosh_test_data): Likewise.
16986 (asin_test_data): Likewise.
16987 (asin_tonearest_test_data): Likewise.
16988 (asin_towardzero_test_data): Likewise.
16989 (asin_upward_test_data): Likewise.
16990 (asinh_test_data): Likewise.
16991 (atan_test_data): Likewise.
16992 (atanh_test_data): Likewise.
16993 (cbrt_test_data): Likewise.
16994 (cos_test_data): Likewise.
16995 (cos_tonearest_test_data): Likewise.
16996 (cos_towardzero_test_data): Likewise.
16997 (cos_downward_test_data): Likewise.
16998 (cos_upward_test_data): Likewise.
16999 (cosh_test_data): Likewise.
17000 (cosh_tonearest_test_data): Likewise.
17001 (cosh_towardzero_test_data): Likewise.
17002 (cosh_downward_test_data): Likewise.
17003 (cosh_upward_test_data): Likewise.
17004 * sysdeps/i386/fpu/libm-test-ulps: Update.
17005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17006
ffb536d0
JM
170072013-11-29 Joseph Myers <joseph@codesourcery.com>
17008
2a77a467
JM
17009 [BZ #6787]
17010 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17011 * math/w_exp10f.c (__exp10f): Likewise.
17012 * math/w_exp10l.c (__exp10l): Likewise.
17013 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17014 errno settings in existing tests.
17015
ea3bc4e8
JM
17016 [BZ #14032]
17017 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17018 precision control set to double precision.
17019 * sysdeps/i386/fpu/w_sqrt.c: New file.
17020 * math/auto-libm-test-in: Add more tests.
17021 * math/auto-libm-test-out: Update.
17022
0712c9d8
JM
17023 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17024 (sqrt_test_tonearest): New function.
17025 (sqrt_towardzero_test_data): New variable.
17026 (sqrt_test_towardzero): New function.
17027 (sqrt_downward_test_data): New variable.
17028 (sqrt_test_downward): New function.
17029 (sqrt_upward_test_data): New variable.
17030 (sqrt_test_upward): New function.
17031 (main): Call the new functions.
17032
ffb536d0
JM
17033 * math/gen-auto-libm-tests.c: New file.
17034 * math/auto-libm-test-in: Likewise.
17035 * math/auto-libm-test-out: New generated file.
17036 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17037 variables.
17038 (%beautify): Add generated representations of zero.
17039 (top level): Set $auto_input and call parse_auto_input.
17040 (beautify): Remove trailing "f" from hex float constants.
17041 (parse_args): Handle XFAIL_TEST.
17042 (convert_condition): New function.
17043 (or_value): Likewise.
17044 (or_cond_value): Likewise.
17045 (generate_testfile): Handle AUTO_TESTS_* lines.
17046 (parse_auto_input): New function.
17047 * math/libm-test.inc (XFAIL_TEST): New macro.
17048 (ERRNO_UNCHANGED): Update value.
17049 (ERRNO_EDOM): Likewise.
17050 (ERRNO_ERANGE): Likewise.
17051 (IGNORE_RESULT): Likewise.
17052 (TEST_COND_flt_32): New macro.
17053 (TEST_COND_dbl_64): Likewise.
17054 (TEST_COND_ldbl_96_intel): Likewise.
17055 (TEST_COND_ldbl_96_m68k): Likewise.
17056 (TEST_COND_ldbl_128): Likewise.
17057 (TEST_COND_ldbl_128ibm): Likewise.
17058 (TEST_COND_long32): Likewise.
17059 (TEST_COND_long64): Likewise.
17060 (TEST_COND_before_rounding): Likewise.
17061 (TEST_COND_after_rounding): Likewise.
17062 (enable_test): Handle XFAIL_TEST flag.
17063 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17064 with finite results.
17065 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17066 auto-libm-test-out.
17067
acd98a8e
AK
170682013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17069 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17070
17071 [BZ #16214]
17072 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17073 __tls_get_addr_internal instead of __tls_get_offset in order to
17074 avoid GOT pointer dependency. Make rtld export
17075 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17076 __tls_get_addr since we are a __tls_get_offset platform.
17077 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17078 GOT pointer being set up before.
17079 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17080
3c1c46a6
JM
170812013-11-28 Joseph Myers <joseph@codesourcery.com>
17082
7475aef5
JM
17083 * manual/math.texi (Errors in Math Functions): Document accuracy
17084 goals.
17085
8bca7cd8
JM
17086 [BZ #15004]
17087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17088 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17089 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17090 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17091 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17092 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17093 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17094 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17095 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17096 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17097 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17098 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17099 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17100 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17101 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17102 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17103
91a1f3fe
JM
17104 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17105 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17106 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17107 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17108 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17109 Likewise.
17110 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17111 Likewise.
17112 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17113 Likewise.
17114 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17115 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17116 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17117 atomic-feupdateenv and flt-rounds.
17118 * sysdeps/powerpc/nofpu/Versions (libc): Add
17119 __atomic_feholdexcept, __atomic_feclearexcept,
17120 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17121 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17122 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17123 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17124 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17125 here.
17126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17127 Update.
17128
c5df7609
JM
17129 * manual/arith.texi (FP Exceptions): Document that exceptions may
17130 not be raised when matherr is used.
17131 (Math Error Reporting): Document overflow in directed rounding
17132 modes. Document that errno may not be set when finite values are
17133 returned on overflow. Document intent to set errno on underflow
17134 only for underflow to zero.
17135
3c1c46a6
JM
17136 [BZ #16271]
17137 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17138 round-to-nearest then adjust result for other rounding modes.
17139 * include/fenv.h (fegetround): Use libm_hidden_proto.
17140 * math/fegetround.c (fegetround): Use libm_hidden_def.
17141 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17142 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17143 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17144 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17145 Likewise.
17146 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17147 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17148 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17149 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17150
5a4c6d53
SP
171512013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17152
17153 [BZ #16077]
17154 * nss/Versions (libnss_files): Add
17155 _nss_files_gethostbyname3_r.
17156 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17157 New function.
17158 (HOST_DB_LOOKUP): Remove macro.
17159 (_nss_files_gethostbyname_r): Implement function without the
17160 HOST_DB_LOOKUP macro.
17161 (_nss_files_gethostbyname2_r): Likewise.
17162
897b98ba
OB
171632013-11-28 Ondřej Bílka <neleai@seznam.cz>
17164
17165 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17166
6f476861
UB
171672013-11-26 Uros Bizjak <ubizjak@gmail.com>
17168
17169 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17170 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17171 warning.
17172
bd12ab55
AZ
171732013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17174
17175 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17176 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17177 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17178 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17179 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17180 __fe_nomask_env_priv and attribute_hidden.
17181 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17182 (libc_feupdateenv_test_ppc): Likewise.
17183 (libc_feresetround_ppc): Likewise.
17184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17185 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17186 compat_symbol macro.
17187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17188 (__fe_nomask_env): Likewise.
17189 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17190
52bb6543
OB
171912013-11-26 Ondřej Bílka <neleai@seznam.cz>
17192
17193 * string/Makefile: Remove ifunc tests.
17194 * string/test-string.h: Define TEST_IFUNC.
17195 * string/test-bcopy-ifunc.c: Remove.
17196 * string/test-bzero-ifunc.c: Likewise.
17197 * string/test-memccpy-ifunc.c: Likewise.
17198 * string/test-memchr-ifunc.c: Likewise.
17199 * string/test-memcmp-ifunc.c: Likewise.
17200 * string/test-memcpy-ifunc.c: Likewise.
17201 * string/test-memmem-ifunc.c: Likewise.
17202 * string/test-memmove-ifunc.c: Likewise.
17203 * string/test-mempcpy-ifunc.c: Likewise.
17204 * string/test-memrchr-ifunc.c: Likewise.
17205 * string/test-memset-ifunc.c: Likewise.
17206 * string/test-rawmemchr-ifunc.c: Likewise.
17207 * string/test-stpcpy-ifunc.c: Likewise.
17208 * string/test-stpncpy-ifunc.c: Likewise.
17209 * string/test-strcasecmp-ifunc.c: Likewise.
17210 * string/test-strcasestr-ifunc.c: Likewise.
17211 * string/test-strcat-ifunc.c: Likewise.
17212 * string/test-strchr-ifunc.c: Likewise.
17213 * string/test-strchrnul-ifunc.c: Likewise.
17214 * string/test-strcmp-ifunc.c: Likewise.
17215 * string/test-strcpy-ifunc.c: Likewise.
17216 * string/test-strcspn-ifunc.c: Likewise.
17217 * string/test-strlen-ifunc.c: Likewise.
17218 * string/test-strncasecmp-ifunc.c: Likewise.
17219 * string/test-strncat-ifunc.c: Likewise.
17220 * string/test-strncmp-ifunc.c: Likewise.
17221 * string/test-strncpy-ifunc.c: Likewise.
17222 * string/test-strnlen-ifunc.c: Likewise.
17223 * string/test-strpbrk-ifunc.c: Likewise.
17224 * string/test-strrchr-ifunc.c: Likewise.
17225 * string/test-strspn-ifunc.c: Likewise.
17226 * string/test-strstr-ifunc.c: Likewise.
17227
ab260039 172282013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17229
17230 * benchtests/Makefile: Remove ifunc tests.
17231 * benchtests/bench-string.h: Define TEST_IFUNC.
17232 * benchtests/bench-bcopy-ifunc.c: Remove.
17233 * benchtests/bench-bzero-ifunc.c: Likewise.
17234 * benchtests/bench-memccpy-ifunc.c: Likewise.
17235 * benchtests/bench-memchr-ifunc.c: Likewise.
17236 * benchtests/bench-memcmp-ifunc.c: Likewise.
17237 * benchtests/bench-memcpy-ifunc.c: Likewise.
17238 * benchtests/bench-memmem-ifunc.c: Likewise.
17239 * benchtests/bench-memmove-ifunc.c: Likewise.
17240 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17241 * benchtests/bench-memrchr-ifunc.c: Likewise.
17242 * benchtests/bench-memset-ifunc.c: Likewise.
17243 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17244 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17245 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17246 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17247 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17248 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17249 * benchtests/bench-strcat-ifunc.c: Likewise.
17250 * benchtests/bench-strchr-ifunc.c: Likewise.
17251 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17252 * benchtests/bench-strcmp-ifunc.c: Likewise.
17253 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17254 * benchtests/bench-strcpy-ifunc.c: Likewise.
17255 * benchtests/bench-strcspn-ifunc.c: Likewise.
17256 * benchtests/bench-strlen-ifunc.c: Likewise.
17257 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17258 * benchtests/bench-strncat-ifunc.c: Likewise.
17259 * benchtests/bench-strncmp-ifunc.c: Likewise.
17260 * benchtests/bench-strncpy-ifunc.c: Likewise.
17261 * benchtests/bench-strnlen-ifunc.c: Likewise.
17262 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17263 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17264 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17265 * benchtests/bench-strspn-ifunc.c: Likewise.
17266 * benchtests/bench-strstr-ifunc.c: Likewise.
17267
172682013-11-26 Ondřej Bílka <neleai@seznam.cz>
17269
ab260039
OB
17270 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17271
d1d9eaf4 172722013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17273
d1d9eaf4
OB
17274 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17275 * rt/aio.h: Likewise.
17276 * sysdeps/gnu/bits/utmp.h: Likewise.
17277 * sysdeps/gnu/bits/utmpx.h: Likewise.
17278 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17279 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17280 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17281 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17282 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17283 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17284 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17285 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17286 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17287 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17288 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17289 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17290 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17292 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17293 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17294 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17295 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17296 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17297 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17298 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17299 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17300 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17301 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17302 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17304 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17305 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17306 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17307 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17308 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17309 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17310 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17311 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17312 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17313 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17314 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17315 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17316 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17317 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17318 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17319 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17320
a7624ed9
CD
173212013-11-25 Carlos O'Donell <carlos@redhat.com>
17322
17323 [BZ #16245]
17324 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17325 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17326
63cfe52b
JM
173272013-11-25 Joseph Myers <joseph@codesourcery.com>
17328
17329 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17330 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17331 Likewise.
17332
41e8926a
AZ
173332013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17334
17335 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17336 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17337 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17338 (__fesetround): Remove define.
17339 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17340 rounding and exceptions handling.
17341 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17342 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17343 (__fe_nomask_env): Likewise.
17344 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17345 __fegetround instead of fegetround.
17346 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17347 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17348
6851bd4d
RM
173492013-11-21 Roland McGrath <roland@hack.frob.com>
17350
070906ff
RM
17351 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17352 it's there.
17353
6851bd4d
RM
17354 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17355
84ae135d
MI
173562013-11-21 Meador Inge <meadori@codesourcery.com>
17357
17358 [BZ #11157]
17359 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17360 (encrypt_r): Likewise.
17361 * malloc/obstack.h (obstack_free): Likewise.
17362 * posix/unistd.h (encrypt): Likewise.
17363
daf75146
GM
173642013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17365
17366 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17367 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17368 DL_CALL_DT_FINI() that call the functions directly.
17369 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17370 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17371 * elf/dl-fini.c: Likewise.
17372
10ad46bc
OB
173732013-11-20 Ondřej Bílka <neleai@seznam.cz>
17374
17375 * malloc/hooks.c (memalign_check): Add alignment rounding.
17376 * malloc/malloc.c (_mid_memalign): New function.
17377 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17378 Implement by calling _mid_memalign.
17379 * manual/probes.texi (Memory Allocation Probes): Remove
17380 memory_valloc_retry and memory_pvalloc_retry.
17381
f3fd2628
SP
173822013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17383
4712799f
SP
17384 * locale/programs/locarchive.c (open_archive): Add const
17385 qualifier to ARCHIVEFNAME and copy default fname to
17386 DEFAULT_FNAME.
17387
0417b20f
SP
17388 [BZ #15601]
17389 * libio/tst-widetext.input: Rename Oriya to Odia.
17390 * locale/iso-639.def: Likewise.
17391
f3fd2628
SP
17392 * manual/probes.texi (Mathematical Function Probes): Add
17393 documentation for sin, cos, asin and acos probes.
17394 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17395 (__sin32): Add slowasin probe.
17396 (__cos32): Add slowacos probe.
17397 (__mpsin): Add slowsin probe.
17398 (__mpcos): Add slowcos probe.
17399
73c1ce4f
JM
174002013-11-19 Joseph Myers <joseph@codesourcery.com>
17401
17402 [BZ #15483]
17403 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17404 thread-local __sim_exceptions_thread and global
17405 __sim_exceptions_global.
17406 (__sim_disabled_exceptions): Change to thread-local
17407 __sim_disabled_exceptions_thread and global
17408 __sim_disabled_exceptions_global.
17409 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17410 and global __sim_round_mode_global.
17411 (__simulate_exceptions): Use thread-local floating-point state and
17412 set global state from it as needed.
17413 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17414 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17415 __sim_round_mode_thread.
17416 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17417 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17418 and global __sim_exceptions_global.
17419 (__sim_disabled_exceptions): Change to thread-local
17420 __sim_disabled_exceptions_thread and global
17421 __sim_disabled_exceptions_global.
17422 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17423 and global __sim_round_mode_global.
17424 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17425 (SIM_SET_GLOBAL): Likewise.
17426 * sysdeps/powerpc/soft-fp/sfp-machine.h
17427 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17428 __sim_round_mode_thread.
17429 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17430 __sim_disabled_exceptions_thread.
17431 (__sim_exceptions): Change to __sim_exceptions_thread.
17432 (__sim_disabled_exceptions): Change to
17433 __sim_disabled_exceptions_thread.
17434 (__sim_round_mode): Change to __sim_round_mode_thread.
17435 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17436 thread-local floating-point state and set global state from it as
17437 needed.
17438 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17439 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17440 (__sim_disabled_exceptions): Remove extern declaration.
17441 (feenableexcept): Use thread-local floating-point state and set
17442 global state from it as needed.
17443 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17444 extern declaration.
17445 (__sim_disabled_exceptions): Likewise.
17446 (__sim_round_mode): Likewise.
17447 (__fegetenv): Use thread-local floating-point state.
17448 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17449 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17450 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17451 floating-point state and set global state from it as needed.
17452 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17453 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17454 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17455 Likewise.
17456 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17457 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17458 Likewise.
17459 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17460 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17461 Use __sim_round_mode_thread.
17462 * math/test-fenv-tls.c: New file.
17463 * math/Makefile (tests): Add test-fenv-tls.
17464 ($(objpfx)test-fenv-tls): Depend on
17465 $(common-objpfx)nptl/libpthread.so.
17466
b5449b12
AS
174672013-11-19 Andreas Schwab <schwab@suse.de>
17468
17469 * locale/programs/locale.c (show_info): Decode wordarray elements.
17470 * locale/categories.def (LC_MONETARY): Add element for
17471 _NL_MONETARY_CRNCYSTR.
17472 * locale/C-monetary.c (conversion_rate): New variable.
17473 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17474 element.
17475
e186536b
CM
174762013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17477
17478 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17479 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17480
5c349950
PP
174812013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17482
17483 * elf/Makefile (tst-auxv): New test.
17484 * elf/tst-auxv.c: New
17485 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17486
699df45b
JM
174872013-11-18 Joseph Myers <joseph@codesourcery.com>
17488
17489 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17490 (hidden_proto): Caller changed.
17491 (hidden_tls_proto): New macro.
17492 (libc_hidden_tls_proto): Likewise.
17493 (rtld_hidden_tls_proto): Likewise.
17494 (libm_hidden_tls_proto): Likewise.
17495 (libresolv_hidden_tls_proto): Likewise.
17496 (librt_hidden_tls_proto): Likewise.
17497 (libdl_hidden_tls_proto): Likewise.
17498 (libnss_files_hidden_tls_proto): Likewise.
17499 (libnsl_hidden_tls_proto): Likewise.
17500 (libnss_nisplus_hidden_tls_proto): Likewise.
17501 (libutil_hidden_tls_proto): Likewise.
17502
b7589107
OB
175032013-11-18 Ondřej Bílka <neleai@seznam.cz>
17504
17505 [BZ #10253]
17506 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17507 (decompose_rpath): Defer expansion to fillin_rpath.
17508 (_dl_init_paths): Pass linkmap to fillin_rpath.
17509
250c23bd
RS
175102013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17511
17512 * benchtests/Makefile: Add strsep.
17513 * benchtests/bench-strsep.c: New file: strsep benchtest.
17514 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17515
a7931fcf
AS
175162013-11-18 Andreas Schwab <schwab@suse.de>
17517
17518 * locale/programs/locale.c (show_info) [case byte]: Check for
17519 '\377' instead of '\177'.
17520 * locale/C-monetary.c (not_available): Always use "\377".
17521 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17522 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17523 detect unavailable sign_posn locale elements.
17524 * locale/localeconv.c (__localeconv): For grouping and
17525 mon_grouping handle "\177" and "\377" like no grouping.
17526 (INT_ELEM): New macro. Use it to set all numeric members.
17527 * locale/programs/ld-monetary.c (monetary_read)
17528 <tok_mon_grouping>: Normalize single -1 to the empty string.
17529 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17530 Likewise.
17531
728dab0e
OB
175322013-11-07 Ondřej Bílka <neleai@seznam.cz>
17533
17534 [BZ #16055]
17535 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17536 when we match (nil).
17537 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17538
66294491
JM
175392013-11-16 Joseph Myers <joseph@codesourcery.com>
17540
ce665817
JM
17541 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17542 (NO_TEST_INLINE): Update value.
17543 (ERRNO_UNCHANGED): Likewise.
17544 (ERRNO_EDOM): Likewise.
17545 (ERRNO_ERANGE): Likewise.
17546 (IGNORE_RESULT): Likewise.
17547 (check_float_internal): Check signs of NaN results if
17548 TEST_NAN_SIGN used.
17549 (check_complex): Pass TEST_NAN_SIGN flag through to second
17550 check_float_internal call.
17551 (copysign_test_data): Add tests with quiet NaNs as second
17552 argument. Use TEST_NAN_SIGN.
17553 (fabs_test_data): Add test of negative quiet NaN argument. Use
17554 TEST_NAN_SIGN.
17555 (signbit_test_data): Add tests of quiet NaN argument.
17556 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17557
ee1466a9
JM
17558 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17559 $ignore_result.
17560 (parse_args): Handle function results specified as IGNORE.
17561 * math/libm-test.inc (IGNORE_RESULT): New macro.
17562 (check_float_internal): Do not check numerical result if flag
17563 IGNORE_RESULT set.
17564 (check_complex): Pass through IGNORE_RESULT to second
17565 check_float_internal call.
17566 (check_int): Do not check numerical result if flag IGNORE_RESULT
17567 set.
17568 (check_long): Likewise.
17569 (check_bool): Likewise.
17570 (check_longlong): Likewise.
17571 (lrint_test_data): Add tests of infinite and NaN arguments.
17572 (lrint_tonearest_test_data): Likewise.
17573 (lrint_towardzero_test_data): Likewise.
17574 (lrint_downward_test_data): Likewise.
17575 (lrint_upward_test_data): Likewise.
17576 (llrint_test_data): Likewise.
17577 (llrint_tonearest_test_data): Likewise.
17578 (llrint_towardzero_test_data): Likewise.
17579 (llrint_downward_test_data): Likewise.
17580 (llrint_upward_test_data): Likewise.
17581 (lround_test_data): Likewise.
17582 (llround_test_data): Likewise.
17583
14407b7e
JM
17584 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17585 (ERRNO_UNCHANGED): Update value.
17586 (ERRNO_EDOM): Likewise.
17587 (ERRNO_ERANGE): Likewise.
17588 (NO_TEST_INLINE_FLOAT): New macro.
17589 (NO_TEST_INLINE_DOUBLE): Likewise.
17590 (enable_test): New function.
17591 (RUN_TEST_f_f): Check enable_test before running test.
17592 (RUN_TEST_2_f): Likewise.
17593 (RUN_TEST_fff_f): Likewise.
17594 (RUN_TEST_c_f): Likewise.
17595 (RUN_TEST_f_f1): Likewise.
17596 (RUN_TEST_fF_f1): Likewise.
17597 (RUN_TEST_fI_f1): Likewise.
17598 (RUN_TEST_ffI_f1): Likewise.
17599 (RUN_TEST_c_c): Likewise.
17600 (RUN_TEST_cc_c): Likewise.
17601 (RUN_TEST_f_i): Likewise.
17602 (RUN_TEST_f_i_tg): Likewise.
17603 (RUN_TEST_ff_i_tg): Likewise.
17604 (RUN_TEST_f_b): Likewise.
17605 (RUN_TEST_f_b_tg): Likewise.
17606 (RUN_TEST_f_l): Likewise.
17607 (RUN_TEST_f_L): Likewise.
17608 (RUN_TEST_fFF_11): Likewise.
17609 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17610 conditionals.
17611 (cosh_test_data): Likewise.
17612 (exp_test_data): Likewise.
17613 (expm1_test_data): Likewise.
17614 (hypot_test_data): Likewise.
17615 (pow_test_data): Likewise.
17616 (sinh_test_data): Likewise.
17617 (tanh_test_data): Likewise.
17618 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17619 flags argument.
17620
ca07f197
JM
17621 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17622 tests with quiet NaN input and output.
17623 (acosh_test_data): Likewise.
17624 (asin_test_data): Likewise.
17625 (asinh_test_data): Likewise.
17626 (atan_test_data): Likewise.
17627 (atanh_test_data): Likewise.
17628 (atan2_test_data): Likewise.
17629 (cbrt_test_data): Likewise.
17630 (cos_test_data): Likewise.
17631 (cosh_test_data): Likewise.
17632 (erf_test_data): Likewise.
17633 (erfc_test_data): Likewise.
17634 (exp_test_data): Likewise.
17635 (exp10_test_data): Likewise.
17636 (exp2_test_data): Likewise.
17637 (expm1_test_data): Likewise.
17638 (hypot_test_data): Likewise.
17639 (j0_test_data): Likewise.
17640 (j1_test_data): Likewise.
17641 (jn_test_data): Likewise.
17642 (lgamma_test_data): Likewise.
17643 (log_test_data): Likewise.
17644 (log10_test_data): Likewise.
17645 (log1p_test_data): Likewise.
17646 (log2_test_data): Likewise.
17647 (pow_test_data): Likewise.
17648 (scalb_test_data): Likewise.
17649 (sin_test_data): Likewise.
17650 (sincos_test_data): Likewise.
17651 (sinh_test_data): Likewise.
17652 (tan_test_data): Likewise.
17653 (tanh_test_data): Likewise.
17654 (tgamma_test_data): Likewise.
17655 (y0_test_data): Likewise.
17656 (y1_test_data): Likewise.
17657 (yn_test_data): Likewise.
17658
66294491
JM
17659 [BZ #16167]
17660 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17661 argument being NaN and avoid computations with second argument in
17662 that case.
17663 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17664 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17665 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17666
1820b143
CL
176672013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17668
17669 * locale/iso-639.def: Add Chitwani Tharu (the).
17670
714bd261
AS
176712013-11-14 Andreas Schwab <schwab@suse.de>
17672
17673 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17674 word instead of empty string.
17675
7ab44563
AZ
176762013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17677
17678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17679 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17681 (__fe_nomask_env): Likewise.
17682
e8470ea2
SE
176832013-11-13 Steve Ellcey <sellcey@mips.com>
17684
17685 * benchtests/bench-timing.h: Include time.h.
17686
17c1d9f0
L
176872013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17688
17689 [BZ #15997]
17690 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17691 to 3.4.0 for x32.
17692 * sysdeps/unix/sysv/linux/configure: Regenerated.
17693
9310c284
JM
176942013-11-13 Joseph Myers <joseph@codesourcery.com>
17695
17696 [BZ #16151]
17697 * stdlib/strtod_l.c (round_and_return): Do not consider
17698 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17699 exponent one less than half the least subnormal exponent.
17700 * stdlib/test-strtod-round-data: Add more tests.
17701 * stdlib/tst-strtod-round.c (tests): Regenerated.
17702
7a2ad8cf
AZ
177032013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17704
17705 [BZ #14143]
17706 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17707 (__fe_mask_env): Likewise.
17708 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17709 libm_hidden_proto and add function prototype.
17710 (__fe_mask_env): Add function prototype.
17711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17712 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17714 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17716 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17717
50727aa7
MS
177182013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17719
b2f386c1 17720 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17721 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17722
a615be46
MS
177232013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17724
17725 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17726 of htab_find_slot().
17727
7ddace62
DM
177282013-11-11 David S. Miller <davem@davemloft.net>
17729
17730 [BZ #16150]
17731 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17732 symbol in the non-vis3 case in static builds.
17733 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17734 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17735 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17736 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17737
9182aa67
JK
177382013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17739
17740 [BZ #387]
17741 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17742 it is empty.
17743
450a2e2d
AZ
177442013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17745
b2f386c1
SP
17746 * benchtests/Makefile: Add bench-strtod.
17747 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17748
8ec3f656
AS
177492013-11-11 Andreas Schwab <schwab@suse.de>
17750
17751 [BZ #16153]
17752 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17753 terminating NUL in key length.
17754
76a9b998
AZ
177552013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17756
17757 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17758 Add artificial ODP entry for vDSO symbol for PPC64.
17759 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17760 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17761
e4368156
OB
177622013-11-07 Ondřej Bílka <neleai@seznam.cz>
17763
17764 [BZ #15374]
17765 * nss/getent.c (services_keys): Recognize services starting with digit.
17766
8d6bb57c
DM
177672013-11-06 David S. Miller <davem@davemloft.net>
17768
17769 [BZ #15985]
17770 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17771 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17772
e256c421
WN
177732013-11-06 Will Newton <will.newton@linaro.org>
17774
17775 * manual/memory.texi (Malloc Examples): Remove register
17776 keyword from examples.
17777
f6e12daa 177782013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17779
f6e12daa 17780 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17781
9d880655
AS
177822013-11-04 Joseph Myers <joseph@codesourcery.com>
17783
fd2f9486 17784 [BZ #6981]
9d880655
AS
17785 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17786 depending on [__GCC_IEC_559 > 0].
17787 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17788 depending on [__GCC_IEC_559_COMPLEX > 0].
17789
ae129d3c
CL
177902013-11-03 Chris Leonard <cjl@sugarlabs.org>
17791
17792 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17793 to iso-639.def.
17794
4a15c2a4 177952013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17796
17797 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17798
8b35e35d
OB
177992013-11-01 Ondřej Bílka <neleai@seznam.cz>
17800
17801 [BZ #16112]
17802 * malloc/malloc (malloc_info): Do not handle first bin as
17803 special case.
17804
1d70fd6c
CL
178052013-11-01 Chris Leonard <cjl@sugarlabs.org>
17806
17807 * locale/iso-639.def: Add Central Nahuatl (nhn).
17808
8c5c2600
BH
178092013-11-01 Bruno Haible <bruno@clisp.org>
17810
17811 [BZ #7003]
17812 * manual/math.texi (BSD Random): Specify range upper bound as
17813 in POSIX.
17814
da5579c2
CL
178152013-10-31 Chris Leonard <cjl@sugarlabs.org>
17816
17817 * locale/iso-639.def: Add Meadow Mari (mhr).
17818
5d30d853
OB
178192013-10-31 Ondřej Bílka <neleai@seznam.cz>
17820
17821 [BZ #14752], [BZ #15763]
17822 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17823 Validate name.
17824 * rt/tst_shm.c: Add test for escaping directory.
17825
a4966c61
AS
178262013-10-31 Andreas Schwab <schwab@suse.de>
17827
8a43e768 17828 [BZ #15917]
a4966c61
AS
17829 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17830 followed by 'x' as part of digit sequence.
17831 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17832
28d708c4
MAP
178332013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17834
17835 [BZ #16037]
17836 * configure.ac: allow GNU Make 4.0 and greater.
17837 * configure: Regenerated.
17838
a56ee40b
WN
178392013-10-30 Will Newton <will.newton@linaro.org>
17840
17841 [BZ #16038]
17842 * malloc/hooks.c (memalign_check): Limit alignment to the
17843 maximum representable power of two.
17844 * malloc/malloc.c (__libc_memalign): Likewise.
17845 * malloc/tst-memalign.c (do_test): Add test for very
17846 large alignment values.
17847 * malloc/tst-posix_memalign.c (do_test): Likewise.
17848
c6e4925d
OB
178492013-10-30 Ondřej Bílka <neleai@seznam.cz>
17850
17851 [BZ #11087]
17852 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17853 (munmap_chunk): Likewise.
17854 (mremap_chunk): Likewise.
17855
178562013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17857
8a43e768 17858 [BZ #15799]
bbea82f7
OB
17859 * stdlib/div.c (div): Remove obsolete code.
17860 * stdlib/ldiv.c (ldiv): Likewise.
17861 * stdlib/lldiv.c (lldiv): Likewise.
17862
977f4b31
SP
178632013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17864
17865 [BZ #16071]
17866 * nss/nss_files/files-XXX.c (get_contents_ret): New
17867 enumerator.
17868 (get_contents): New function.
17869 (internal_getent): Use it. Expand size of LINEBUFLEN.
17870
cb8a6dbd
MF
178712013-10-30 Mike Frysinger <vapier@gentoo.org>
17872
17873 * configure.in: Moved to ...
17874 * configure.ac: ... here. Change reference to configure.in
17875 to configure.ac.
17876 * sysdeps/arm/preconfigure.ac: ... here.
17877 configure.in to configure.ac.
17878 * sysdeps/gnu/configure.in: Moved to ...
17879 * sysdeps/gnu/configure.ac: ... here.
17880 * sysdeps/i386/configure.in: Moved to ...
17881 * sysdeps/i386/configure.ac: ... here.
17882 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17883 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17884 * sysdeps/mach/configure.in: Moved to ...
17885 * sysdeps/mach/configure.ac: ... here.
17886 * sysdeps/mach/hurd/configure.in: Moved to ...
17887 * sysdeps/mach/hurd/configure.ac: ... here.
17888 * sysdeps/powerpc/configure.in: Moved to ...
17889 * sysdeps/powerpc/configure.ac: ... here.
17890 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17891 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17892 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17893 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17894 * sysdeps/s390/s390-32/configure.in: Moved to ...
17895 * sysdeps/s390/s390-32/configure.ac: ... here.
17896 * sysdeps/s390/s390-64/configure.in: Moved to ...
17897 * sysdeps/s390/s390-64/configure.ac: ... here.
17898 * sysdeps/sh/configure.in: Moved to ...
17899 * sysdeps/sh/configure.ac: ... here.
17900 * sysdeps/sparc/configure.in: Moved to ...
17901 * sysdeps/sparc/configure.ac: ... here.
17902 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17903 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17904 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17905 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17906 * sysdeps/x86_64/configure.in: Moved to ...
17907 * sysdeps/x86_64/configure.ac: ... here.
17908 * sysdeps/x86_64/preconfigure.in: Moved to ...
17909 * sysdeps/x86_64/preconfigure.ac: ... here.
17910 * aclocal.m4: Change reference to configure.in to configure.ac.
17911 * config.h.in: Likewise.
17912 * manual/install.texi: Likewise.
17913 * manual/maint.texi: Likewise.
17914 * Makefile: Likewise.
17915 * malloc/Makefile: Likewise.
17916 * nscd/Makefile: Likewise.
17917 * Makeconfig: Change reference to configure.in and
17918 preconfigure.in to configure.ac and preconfigure.ac
17919 respectively.
17920 * INSTALL: Regenerated.
17921 * configure: Likewise.
17922 * sysdeps/gnu/configure: Likewise.
17923 * sysdeps/i386/configure: Likewise.
17924 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17925 * sysdeps/mach/configure: Likewise.
17926 * sysdeps/mach/hurd/configure: Likewise.
17927 * sysdeps/powerpc/configure: Likewise.
17928 * sysdeps/powerpc/powerpc32/configure: Likewise.
17929 * sysdeps/powerpc/powerpc64/configure: Likewise.
17930 * sysdeps/s390/s390-32/configure: Likewise.
17931 * sysdeps/s390/s390-64/configure: Likewise.
17932 * sysdeps/sh/configure: Likewise.
17933 * sysdeps/sparc/configure: Likewise.
17934 * sysdeps/unix/sysv/linux/configure: Likewise.
17935 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17936 * sysdeps/x86_64/configure: Likewise.
17937 * sysdeps/x86_64/preconfigure: Likewise.
17938
36a4953a
AS
179392013-10-29 Andreas Schwab <schwab@suse.de>
17940
17941 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17942
c79a1204
SP
179432013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17944
dfa1b402
SP
17945 * benchtests/pow-inputs: Add new inputs.
17946
54f73d9c
SP
17947 * benchtests/exp-inputs: Add new inputs.
17948
c79a1204
SP
17949 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17950 conditional check for return value.
17951 (__cos32): Likewise.
17952
67beb545 179532013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17954
17955 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17956 to provide a boost for large inputs with word alignment.
17957 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17958 implementation based on optimized PPC64 strcpy.
17959 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17960 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17961 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17962 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17963
151659f6
OB
179642013-10-25 Ondřej Bílka <neleai@seznam.cz>
17965
482a077e 17966 [BZ #2801]
151659f6
OB
17967 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17968
10b0f26b
OB
179692013-10-25 Ondřej Bílka <neleai@seznam.cz>
17970
17971 [BZ #14876]
17972 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17973 * time/tst-strptime.c (day_tests): Add testcase.
17974
ca42d35e
OB
179752013-10-25 Ondřej Bílka <neleai@seznam.cz>
17976
482a077e 17977 [BZ #14029]
ca42d35e
OB
17978 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17979
52e6d801
FB
179802013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17981
17982 [BZ #16074]
17983 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17984 MAP_FAILED on error.
17985
7cbcdb36
SP
179862013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17987
17988 [BZ #16072]
17989 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17990 heap for large requests.
17991
894f3f10
AM
179922013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17993
17994 [BZ #9954]
17995 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17996 result if the result has no associated interface.
17997 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17998 interface for all 127.X.Y.Z addresses.
17999
b85545a6
CL
180002013-10-24 Chris Leonard <cjl@sugarlabs.org>
18001
18002 * locale/iso-639.def: Add Ligurian (lij)
18003
d1f23d46
OB
180042013-10-21 Ondřej Bílka <neleai@seznam.cz>
18005
18006 [BZ #15825]
18007 * sunrpc/rpc_main.c: Document rpcgen -5.
18008
4db5b08f
MS
180092013-10-19 Michael Stahl <mstahl@redhat.com>
18010
18011 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18012
a471e96a
OB
180132013-10-19 Ondřej Bílka <neleai@seznam.cz>
18014
d1f23d46 18015 [BZ #10278]
a471e96a
OB
18016 * posix/glob.c: Match only directories when trailing slash is present.
18017 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18018 (main): Add testcase.
18019
45c30c61
OB
180202013-10-19 Ondřej Bílka <neleai@seznam.cz>
18021
18022 [BZ #15670]
18023 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18024
484c12fb
CD
180252013-10-18 Carlos O'Donell <carlos@redhat.com>
18026
3d7dc513
CD
18027 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18028 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18029 AUTH_DES and cindex for FIPS 140-2.
18030 (DES Encryption): Add cindex FIPS 46-3.
18031
484c12fb
CD
18032 * locale/locarchive.h (struct locarhandle): Add fname.
18033 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18034 if an optional argument was specified to --list-archive,
18035 otherwise NULL.
18036 * locale/programs/locarchive.c (show_archive_content): Take new
18037 argument fname and pass it via ah.fname to open_archive.
18038 * locale/programs/localedef.h: Update decl.
18039 (open_archive): If AH->fname is non-null, open that file
18040 rather than the default file name, and don't ignore ENOENT.
18041 (create_archive): Set AH.fname to NULL.
18042 (delete_locales_from_archive): Likewise.
18043 (add_locales_to_archive): Likewise.
18044 * locale/programs/locfile.c (write_all_categories): Likewise.
18045
3c8325fb
JM
180462013-10-18 Joseph Myers <joseph@codesourcery.com>
18047 Aldy Hernandez <aldyh@redhat.com>
18048
18049 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18050 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18051 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18052 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18053 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18054 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18055 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18056 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18057 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18058 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18059 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18060 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18061 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18062 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18063 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18064 Likewise.
18065 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18066 Likewise.
18067 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18068 Likewise.
18069 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18070 Likewise.
18071 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18072 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18073 Likewise.
18074 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18075 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18076 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18077 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18078 Likewise.
18079 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18080 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18081 * sysdeps/powerpc/preconfigure: Likewise.
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18083 Likewise.
18084 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18085 Replace contents of file by #include of <fenv_libc.h>.
18086 * sysdeps/powerpc/soft-fp/sfp-machine.h
18087 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18088 and <sys/prctl.h>.
18089 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18091 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18095 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18097 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18098 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18099 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18100 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18102 Allow copysignl PLT reference to be missing.
18103
5abe0682
RS
181042013-10-18 Richard Sandiford <richard@codesourcery.com>
18105 Joseph Myers <joseph@codesourcery.com
18106
18107 [BZ #15948]
18108 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18109 single character.
18110 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18111
c7738d08
SP
181122013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18113
18114 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18115 * elf/tst-tls1.c: Likewise.
18116 * elf/tst-tls10.h: Likewise.
18117 * elf/tst-tls14.c: Likewise.
18118 * elf/tst-tls2.c: Likewise.
18119 * elf/tst-tls3.c: Likewise.
18120 * elf/tst-tls4.c: Likewise.
18121 * elf/tst-tls5.c: Likewise.
18122 * elf/tst-tls6.c: Likewise.
18123 * elf/tst-tls7.c: Likewise.
18124 * elf/tst-tls8.c: Likewise.
18125 * elf/tst-tls9.c: Likewise.
18126 * elf/tst-tlsmod1.c: Likewise.
18127 * elf/tst-tlsmod13.c: Likewise.
18128 * elf/tst-tlsmod13a.c: Likewise.
18129 * elf/tst-tlsmod14a.c: Likewise.
18130 * elf/tst-tlsmod16a.c: Likewise.
18131 * elf/tst-tlsmod16b.c: Likewise.
18132 * elf/tst-tlsmod2.c: Likewise.
18133 * elf/tst-tlsmod3.c: Likewise.
18134 * elf/tst-tlsmod4.c: Likewise.
18135 * elf/tst-tlsmod5.c: Likewise.
18136 * elf/tst-tlsmod6.c: Likewise.
18137
0bfcf2c7
OB
181382013-10-18 Ondřej Bílka <neleai@seznam.cz>
18139
18140 [BZ #12486]
18141 * malloc/malloc.c: remove checks for statistics.
18142
264aad1e
OB
181432013-10-17 Ondřej Bílka <neleai@seznam.cz>
18144
18145 [BZ #15277]
18146 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18147 * inet/tst-network.c: Add testcase.
18148
b957ced8
AS
181492013-10-17 Andreas Schwab <schwab@suse.de>
18150
18151 [BZ #15218]
18152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18153 to determine canonical name.
18154
c5d5d574
OB
181552013-10-17 Ondřej Bílka <neleai@seznam.cz>
18156
18157 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18158 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18160 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18163 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18167 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18168 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18169 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18170 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18171 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18172 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18173 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18174 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18175 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18180 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18181 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18182 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18183 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18184 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18187 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18189 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18203 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18204 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18205 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18206 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18208 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18209 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18210 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18212 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18215
e5c2c2d0
JM
182162013-10-17 Joseph Myers <joseph@codesourcery.com>
18217
18218 [BZ #16041]
18219 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18220 make result into a quiet NaN.
18221
51ca9e29
JM
182222013-10-16 Joseph Myers <joseph@codesourcery.com>
18223
18224 * soft-fp/adddf3.c: Fix horizontal whitespace.
18225 * soft-fp/addsf3.c: Likewise.
18226 * soft-fp/addtf3.c: Likewise.
18227 * soft-fp/divdf3.c: Likewise.
18228 * soft-fp/divsf3.c: Likewise.
18229 * soft-fp/divtf3.c: Likewise.
18230 * soft-fp/double.h: Likewise.
18231 * soft-fp/eqdf2.c: Likewise.
18232 * soft-fp/eqsf2.c: Likewise.
18233 * soft-fp/eqtf2.c: Likewise.
18234 * soft-fp/extenddftf2.c: Likewise.
18235 * soft-fp/extended.h: Likewise.
18236 * soft-fp/extendsfdf2.c: Likewise.
18237 * soft-fp/extendsftf2.c: Likewise.
18238 * soft-fp/extendxftf2.c: Likewise.
18239 * soft-fp/fixdfdi.c: Likewise.
18240 * soft-fp/fixdfsi.c: Likewise.
18241 * soft-fp/fixdfti.c: Likewise.
18242 * soft-fp/fixsfdi.c: Likewise.
18243 * soft-fp/fixsfsi.c: Likewise.
18244 * soft-fp/fixsfti.c: Likewise.
18245 * soft-fp/fixtfdi.c: Likewise.
18246 * soft-fp/fixtfsi.c: Likewise.
18247 * soft-fp/fixtfti.c: Likewise.
18248 * soft-fp/fixunsdfdi.c: Likewise.
18249 * soft-fp/fixunsdfsi.c: Likewise.
18250 * soft-fp/fixunsdfti.c: Likewise.
18251 * soft-fp/fixunssfdi.c: Likewise.
18252 * soft-fp/fixunssfsi.c: Likewise.
18253 * soft-fp/fixunssfti.c: Likewise.
18254 * soft-fp/fixunstfdi.c: Likewise.
18255 * soft-fp/fixunstfsi.c: Likewise.
18256 * soft-fp/fixunstfti.c: Likewise.
18257 * soft-fp/floatdidf.c: Likewise.
18258 * soft-fp/floatdisf.c: Likewise.
18259 * soft-fp/floatditf.c: Likewise.
18260 * soft-fp/floatsidf.c: Likewise.
18261 * soft-fp/floatsisf.c: Likewise.
18262 * soft-fp/floatsitf.c: Likewise.
18263 * soft-fp/floattidf.c: Likewise.
18264 * soft-fp/floattisf.c: Likewise.
18265 * soft-fp/floattitf.c: Likewise.
18266 * soft-fp/floatundidf.c: Likewise.
18267 * soft-fp/floatundisf.c: Likewise.
18268 * soft-fp/floatunditf.c: Likewise.
18269 * soft-fp/floatunsidf.c: Likewise.
18270 * soft-fp/floatunsisf.c: Likewise.
18271 * soft-fp/floatunsitf.c: Likewise.
18272 * soft-fp/floatuntidf.c: Likewise.
18273 * soft-fp/floatuntisf.c: Likewise.
18274 * soft-fp/floatuntitf.c: Likewise.
18275 * soft-fp/fmadf4.c: Likewise.
18276 * soft-fp/fmasf4.c: Likewise.
18277 * soft-fp/fmatf4.c: Likewise.
18278 * soft-fp/gedf2.c: Likewise.
18279 * soft-fp/gesf2.c: Likewise.
18280 * soft-fp/getf2.c: Likewise.
18281 * soft-fp/ledf2.c: Likewise.
18282 * soft-fp/lesf2.c: Likewise.
18283 * soft-fp/letf2.c: Likewise.
18284 * soft-fp/muldf3.c: Likewise.
18285 * soft-fp/mulsf3.c: Likewise.
18286 * soft-fp/multf3.c: Likewise.
18287 * soft-fp/negdf2.c: Likewise.
18288 * soft-fp/negsf2.c: Likewise.
18289 * soft-fp/negtf2.c: Likewise.
18290 * soft-fp/op-1.h: Likewise.
18291 * soft-fp/op-2.h: Likewise.
18292 * soft-fp/op-4.h: Likewise.
18293 * soft-fp/op-8.h: Likewise.
18294 * soft-fp/op-common.h: Likewise.
18295 * soft-fp/quad.h: Likewise.
18296 * soft-fp/single.h: Likewise.
18297 * soft-fp/soft-fp.h: Likewise.
18298 * soft-fp/sqrtdf2.c: Likewise.
18299 * soft-fp/sqrtsf2.c: Likewise.
18300 * soft-fp/sqrttf2.c: Likewise.
18301 * soft-fp/subdf3.c: Likewise.
18302 * soft-fp/subsf3.c: Likewise.
18303 * soft-fp/subtf3.c: Likewise.
18304 * soft-fp/truncdfsf2.c: Likewise.
18305 * soft-fp/trunctfdf2.c: Likewise.
18306 * soft-fp/trunctfsf2.c: Likewise.
18307 * soft-fp/trunctfxf2.c: Likewise.
18308 * soft-fp/unorddf2.c: Likewise.
18309 * soft-fp/unordsf2.c: Likewise.
18310 * soft-fp/unordtf2.c: Likewise.
18311
9ebb0332
JM
183122013-10-15 Joseph Myers <joseph@codesourcery.com>
18313
18314 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18315 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18316
4b1a6d8b
OB
183172013-10-15 Ondřej Bílka <neleai@seznam.cz>
18318
18319 * elf/dl-libc.c: Clear initfini list after freeing.
18320
1e145589
JM
183212013-10-14 Joseph Myers <joseph@codesourcery.com>
18322
18323 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18324 * soft-fp/addsf3.c: Likewise.
18325 * soft-fp/addtf3.c: Likewise.
18326 * soft-fp/divdf3.c: Likewise.
18327 * soft-fp/divsf3.c: Likewise.
18328 * soft-fp/divtf3.c: Likewise.
18329 * soft-fp/double.h: Likewise.
18330 * soft-fp/eqdf2.c: Likewise.
18331 * soft-fp/eqsf2.c: Likewise.
18332 * soft-fp/eqtf2.c: Likewise.
18333 * soft-fp/extenddftf2.c: Likewise.
18334 * soft-fp/extended.h: Likewise.
18335 * soft-fp/extendsfdf2.c: Likewise.
18336 * soft-fp/extendsftf2.c: Likewise.
18337 * soft-fp/extendxftf2.c: Likewise.
18338 * soft-fp/fixdfdi.c: Likewise.
18339 * soft-fp/fixdfsi.c: Likewise.
18340 * soft-fp/fixdfti.c: Likewise.
18341 * soft-fp/fixsfdi.c: Likewise.
18342 * soft-fp/fixsfsi.c: Likewise.
18343 * soft-fp/fixsfti.c: Likewise.
18344 * soft-fp/fixtfdi.c: Likewise.
18345 * soft-fp/fixtfsi.c: Likewise.
18346 * soft-fp/fixtfti.c: Likewise.
18347 * soft-fp/fixunsdfdi.c: Likewise.
18348 * soft-fp/fixunsdfsi.c: Likewise.
18349 * soft-fp/fixunsdfti.c: Likewise.
18350 * soft-fp/fixunssfdi.c: Likewise.
18351 * soft-fp/fixunssfsi.c: Likewise.
18352 * soft-fp/fixunssfti.c: Likewise.
18353 * soft-fp/fixunstfdi.c: Likewise.
18354 * soft-fp/fixunstfsi.c: Likewise.
18355 * soft-fp/fixunstfti.c: Likewise.
18356 * soft-fp/floatdidf.c: Likewise.
18357 * soft-fp/floatdisf.c: Likewise.
18358 * soft-fp/floatditf.c: Likewise.
18359 * soft-fp/floatsidf.c: Likewise.
18360 * soft-fp/floatsisf.c: Likewise.
18361 * soft-fp/floatsitf.c: Likewise.
18362 * soft-fp/floattidf.c: Likewise.
18363 * soft-fp/floattisf.c: Likewise.
18364 * soft-fp/floattitf.c: Likewise.
18365 * soft-fp/floatundidf.c: Likewise.
18366 * soft-fp/floatundisf.c: Likewise.
18367 * soft-fp/floatunsidf.c: Likewise.
18368 * soft-fp/floatunsisf.c: Likewise.
18369 * soft-fp/floatuntidf.c: Likewise.
18370 * soft-fp/floatuntisf.c: Likewise.
18371 * soft-fp/floatuntitf.c: Likewise.
18372 * soft-fp/fmadf4.c: Likewise.
18373 * soft-fp/fmasf4.c: Likewise.
18374 * soft-fp/fmatf4.c: Likewise.
18375 * soft-fp/gedf2.c: Likewise.
18376 * soft-fp/gesf2.c: Likewise.
18377 * soft-fp/getf2.c: Likewise.
18378 * soft-fp/ledf2.c: Likewise.
18379 * soft-fp/lesf2.c: Likewise.
18380 * soft-fp/letf2.c: Likewise.
18381 * soft-fp/muldf3.c: Likewise.
18382 * soft-fp/mulsf3.c: Likewise.
18383 * soft-fp/multf3.c: Likewise.
18384 * soft-fp/negdf2.c: Likewise.
18385 * soft-fp/negsf2.c: Likewise.
18386 * soft-fp/negtf2.c: Likewise.
18387 * soft-fp/op-1.h: Likewise.
18388 * soft-fp/op-2.h: Likewise.
18389 * soft-fp/op-4.h: Likewise.
18390 * soft-fp/op-8.h: Likewise.
18391 * soft-fp/op-common.h: Likewise.
18392 * soft-fp/quad.h: Likewise.
18393 * soft-fp/single.h: Likewise.
18394 * soft-fp/soft-fp.h: Likewise.
18395 * soft-fp/sqrtdf2.c: Likewise.
18396 * soft-fp/sqrtsf2.c: Likewise.
18397 * soft-fp/sqrttf2.c: Likewise.
18398 * soft-fp/subdf3.c: Likewise.
18399 * soft-fp/subsf3.c: Likewise.
18400 * soft-fp/subtf3.c: Likewise.
18401 * soft-fp/truncdfsf2.c: Likewise.
18402 * soft-fp/trunctfdf2.c: Likewise.
18403 * soft-fp/trunctfsf2.c: Likewise.
18404 * soft-fp/trunctfxf2.c: Likewise.
18405 * soft-fp/unorddf2.c: Likewise.
18406 * soft-fp/unordsf2.c: Likewise.
18407 * soft-fp/unordtf2.c: Likewise.
18408
17c48a60
OB
184092013-10-14 Ondřej Bílka <neleai@seznam.cz>
18410
18411 [BZ #15672]
18412 * misc/error.c (error_tail): Fix possible buffer overflow.
18413
cabba934
OB
184142013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18415
18416 [BZ #13028]
18417 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18418 address.
18419
94bf958a
PM
184202013-10-14 P. J. McDermott <pj@pehjota.net>
18421
18422 [BZ #832]
18423 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18424 testing pipefail option.
18425
71b4dea7
JM
184262013-10-12 Joseph Myers <joseph@codesourcery.com>
18427
18428 * soft-fp/double.h: Indent preprocessor directives inside #if.
18429 * soft-fp/extended.h: Likewise.
18430 * soft-fp/op-2.h: Likewise.
18431 * soft-fp/op-4.h: Likewise.
18432 * soft-fp/op-common.h: Likewise.
18433 * soft-fp/quad.h: Likewise.
18434 * soft-fp/single.h: Likewise.
18435 * soft-fp/soft-fp.h: Likewise.
18436
55602758
YC
184372013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18438
18439 * iconv/iconv_prog.c: Fix typos.
18440 * stdio-common/psiginfo-data.h: Likewise.
18441
9cd83302
RT
184422013-10-12 Reuben Thomas <rrt@sc3d.org>
18443
18444 [BZ #15764]
18445 * locale/setlocale.c: Fix typo.
18446
99fd9f47
JM
184472013-10-12 Joseph Myers <joseph@codesourcery.com>
18448
b7ea74f0
JM
18449 [BZ #16036]
18450 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18451 signaling NaN arguments.
18452 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18453 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18454
8a509447
JM
18455 [BZ #14910]
18456 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18457 unordered operands.
18458 * soft-fp/gesf2.c (__gesf2): Likewise.
18459 * soft-fp/getf2.c (__getf2): Likewise.
18460 * soft-fp/ledf2.c (__ledf2): Likewise.
18461 * soft-fp/lesf2.c (__lesf2): Likewise.
18462 * soft-fp/letf2.c (__letf2): Likewise.
18463
98998e9f
JM
18464 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18465 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18466 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18467 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18468 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18469 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18470 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18471 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18472 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18473 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18474 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18475 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18476 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18477 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18478 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18479 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18480 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18481 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18482 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18483 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18484 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18485 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18486 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18487 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18488 * soft-fp/floattidf.c (__floattidf): Likewise.
18489 * soft-fp/floattisf.c (__floattisf): Likewise.
18490 * soft-fp/floattitf.c (__floattitf): Likewise.
18491 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18492 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18493 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18494 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18495 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18496 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18497 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18498 * soft-fp/gesf2.c (__gesf2): Likewise.
18499 * soft-fp/getf2.c (__getf2): Likewise.
18500 * soft-fp/ledf2.c (__ledf2): Likewise.
18501 * soft-fp/lesf2.c (__lesf2): Likewise.
18502 * soft-fp/letf2.c (__letf2): Likewise.
18503
8edc4a11
JM
18504 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18505 Undefine and redefine.
18506 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18507 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18508 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18509 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18510 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18511 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18512 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18513 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18514 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18515 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18516 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18517 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18518 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18519 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18520 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18521
8399acaf
JM
18522 [BZ #16032]
18523 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18524 without decrementing exponent if mantissa >= that for the
18525 denominator, not >.
18526 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18527 denominator, not >. Decrement exponent in < case instead of
18528 incrementing in >= case.
18529 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18530 without decrementing exponent if mantissa >= that for the
18531 denominator, not >.
18532
99fd9f47
JM
18533 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18534 computing saturated result for unsigned overflow.
18535
10e1cf6b
SP
185362013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18537 Jeff Law <law@redhat.com>
18538
18539 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18540 (atan2Mp): Add systemtap probe marker.
18541 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18542 (__ieee754_log): Add systemtap probe marker.
18543 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18544 (atanMp): Add systemtap probe marker.
18545 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18546 (tanMp): Add systemtap probe marker.
18547 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18548 (__slowexp): Add systemtap probe marker.
18549 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18550 (__slowpow): Add systemtap probe marker.
18551 * manual/probes.texi: Document probes.
18552
3d110c7c
EB
185532013-10-11 Eric Biggers <ebiggers3@gmail.com>
18554
18555 [BZ #15362]
18556 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18557 written.
18558 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18559 written.
18560 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18561 written to buffer but not flushed.
18562 * libio/iofwrite_u.c: Likewise.
18563 * libio/iopadn.c: Return bytes returned even if EOF was
18564 encountered.
18565 * libio/iowpadn.c: Likewise.
18566 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18567 if _IO_padn does not write the whole buffer.
18568 [!COMPILE_WPRINTF] (PAD): Likewise.
18569
75b4202a
DM
185702013-10-10 David S. Miller <davem@davemloft.net>
18571
18572 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18573 directory block.
18574
6c6352e6
JM
185752013-10-10 Joseph Myers <joseph@codesourcery.com>
18576
33b853c3
JM
18577 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18578 instead of FSF address.
18579 * soft-fp/fixdfti.c: Likewise.
18580 * soft-fp/fixsfti.c: Likewise.
18581 * soft-fp/fixtfti.c: Likewise.
18582 * soft-fp/fixunsdfti.c: Likewise.
18583 * soft-fp/fixunssfti.c: Likewise.
18584 * soft-fp/fixunstfti.c: Likewise.
18585 * soft-fp/floattidf.c: Likewise.
18586 * soft-fp/floattisf.c: Likewise.
18587 * soft-fp/floattitf.c: Likewise.
18588 * soft-fp/floatuntidf.c: Likewise.
18589 * soft-fp/floatuntisf.c: Likewise.
18590 * soft-fp/floatuntitf.c: Likewise.
18591 * soft-fp/trunctfxf2.c: Likewise.
18592
6c6352e6
JM
18593 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18594 * soft-fp/fixdfti.c: Likewise.
18595 * soft-fp/fixsfti.c: Likewise.
18596 * soft-fp/fixtfti.c: Likewise.
18597 * soft-fp/fixunsdfti.c: Likewise.
18598 * soft-fp/fixunssfti.c: Likewise.
18599 * soft-fp/fixunstfti.c: Likewise.
18600 * soft-fp/floattidf.c: Likewise.
18601 * soft-fp/floattisf.c: Likewise.
18602 * soft-fp/floattitf.c: Likewise.
18603 * soft-fp/floatuntidf.c: Likewise.
18604 * soft-fp/floatuntisf.c: Likewise.
18605 * soft-fp/floatuntitf.c: Likewise.
18606 * soft-fp/trunctfxf2.c: Likewise.
18607
3bf78b71
DM
186082013-10-10 David S. Miller <davem@davemloft.net>
18609
18610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18611
6f10289e
JM
186122013-10-10 Joseph Myers <joseph@codsourcery.com>
18613
bd878fc0
JM
18614 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18615 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18616 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18617 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18618 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18619 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18620 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18621
6f10289e
JM
18622 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18623 for NaNs before doing comparisons on argument.
18624 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18625 Likewise.
18626
321e2684
WN
186272013-10-10 Will Newton <will.newton@linaro.org>
18628
18629 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18630 passed to _int_memalign does not overflow.
18631
40fefba1
TR
186322013-10-10 Torvald Riegel <triegel@redhat.com>
18633
18634 * scripts/bench.pl: Add include-sources directive.
18635 * benchtests/README: Update documentation.
18636
2ae21ed2
JM
186372013-10-10 Joseph Myers <joseph@codesourcery.com>
18638
dcc2dd3f
JM
18639 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18640 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18641 instead of FP_INIT_ROUNDMODE.
18642 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18643 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18644
2ae21ed2
JM
18645 [BZ #16034]
18646 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18647 copy class of input value.
18648 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18649 not handle exceptions.
18650 * soft-fp/negsf2.c (__negsf2): Likewise.
18651 * soft-fp/negtf2.c (__negtf2): Likewise.
18652 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18653
cb8f9562
JM
186542013-10-09 Joseph Myers <joseph@codesourcery.com>
18655
18656 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18657 semicolon. From Linux kernel.
18658
5b60c59d
AB
186592013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18660
18661 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18662
b86835ca
YC
186632013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18664
18665 [BZ #156]
18666 * manual/socket.texi: Added statement about buffer
18667 for gethostbyname2_r.
18668
e7044ea7
OB
186692013-10-08 Ondřej Bílka <neleai@seznam.cz>
18670
18671 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18672 Use .p2align directive instead, throughout.
18673 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18674 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18675 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18676 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18677 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18678 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18679 * sysdeps/x86_64/strchr.S: Likewise.
18680 * sysdeps/x86_64/strrchr.S: Likewise.
18681
09544cbc
SP
186822013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18683
88576635
SP
18684 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18685
e7b2d1dd
SP
18686 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18687
09544cbc
SP
18688 * sysdeps/generic/math_private.h (__mpsin1): Remove
18689 declaration.
18690 (__mpcos1): Likewise.
18691 (__mpsin): New argument __range_reduce.
18692 (__mpcos): Likewise.
18693 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18694 (slow): Use __mpsin and __mpcos.
18695 (slow1): Likewise.
18696 (slow2): Likewise.
18697 (sloww): Likewise.
18698 (sloww1): Likewise.
18699 (sloww2): Likewise.
18700 (bsloww): Likewise.
18701 (bsloww1): Likewise.
18702 (bsloww2): Likewise.
18703 (cslow2): Likewise.
18704 (csloww): Likewise.
18705 (csloww1): Likewise.
18706 (csloww2): Likewise.
18707 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18708 range_reduce. Merge in __mpsin1.
18709 (__mpcos): Likewise.
18710 (__mpsin1): Remove.
18711 (__mpcos1): Likewise.
18712
7602d070
JM
187132013-10-07 Joseph Myers <joseph@codesourcery.com>
18714
18715 * locale/loadlocale.c (_nl_intern_locale_data): Use
18716 LOCFILE_ALIGNED_P.
18717 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18718 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18719 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18720 obstack data is appropriately aligned.
18721 (obstack_int32_grow_fast): Likewise.
18722 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18723 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18724 (add_locale_uint32_array): Likewise.
18725
a357259b
SP
187262013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18727
18728 * benchtests/Makefile: Remove ARGLIST and RET variables.
18729 ($(objpfx)bench-%.c): Pass only function name to the script.
18730 * benchtests/README: Update documentation.
18731 * benchtests/acos-inputs: Add new directives.
18732 * benchtests/acosh-inputs: Likewise.
18733 * benchtests/asin-inputs: Likewise.
18734 * benchtests/asinh-inputs: Likewise.
18735 * benchtests/atan-inputs: Likewise.
18736 * benchtests/atanh-inputs: Likewise.
18737 * benchtests/cos-inputs: Likewise.
18738 * benchtests/cosh-inputs: Likewise.
18739 * benchtests/exp-inputs: Likewise.
18740 * benchtests/log-inputs: Likewise.
18741 * benchtests/pow-inputs: Likewise.
18742 * benchtests/rint-inputs: Likewise.
18743 * benchtests/sin-inputs: Likewise.
18744 * benchtests/sinh-inputs: Likewise.
18745 * benchtests/tan-inputs: Likewise.
18746 * benchtests/tanh-inputs: Likewise.
18747 * scripts/bench.pl: Add support for new directives.
18748
9ec1b13d
AM
187492013-10-07 Alan Modra <amodra@gmail.com>
18750
18751 * README: Fix careless merge.
18752
8b7d57cd
AM
187532013-10-05 Alan Modra <amodra@gmail.com>
18754
18755 * NEWS: Mention powerpc64le support and bugs fixed.
18756 * README: Both big-endian and little-endian powerpc64 supported.
18757
7b7bab13
ST
187582013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18759
57f41c40
AS
18760 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18761 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18762 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18763 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18764
d39baad1
RA
187652013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18766
18767 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18768 match prototype.
18769
cd78f7e7
JM
187702013-10-04 Joseph Myers <joseph@codesourcery.com>
18771
29d73d86
JM
18772 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18773 Move -mhard-float appending from
18774 ports/sysdeps/powerpc/powerpc32/Makefile.
18775 [$(with-fp) = yes] (ASFLAGS): Likewise.
18776 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18777 * sysdeps/powerpc/nofpu: Move directory from
18778 ports/sysdeps/powerpc/nofpu.
18779 * sysdeps/powerpc/soft-fp: Move directory from
18780 ports/sysdeps/powerpc/soft-fp.
18781 * sysdeps/powerpc/powerpc32/405: Move directory from
18782 ports/sysdeps/powerpc/powerpc32/405.
18783 * sysdeps/powerpc/powerpc32/440: Move directory from
18784 ports/sysdeps/powerpc/powerpc32/440.
18785 * sysdeps/powerpc/powerpc32/464: Move directory from
18786 ports/sysdeps/powerpc/powerpc32/464.
18787 * sysdeps/powerpc/powerpc32/476: Move directory from
18788 ports/sysdeps/powerpc/powerpc32/476.
18789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18794 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18796 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18798 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18799 * README: Update for powerpc-*-linux-gnu software floating point
18800 support in libc.
18801
e246b347
JM
18802 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18803 case to powerpc/powerpc32*.
18804 * sysdeps/unix/sysv/linux/configure: Regenerated.
18805
89c2003e
JM
18806 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18807 (_FPU_MASK_OM): Define as 0x04.
18808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18810 0x00c10080.
18811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18812 0x0000003c.
18813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18814
cd78f7e7
JM
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18816 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18817 getcontext_e500.
18818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18819 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18820 setcontext_e500.
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18822 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18823 and setcontext_e500.
18824
c755294d
CL
188252013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18826
18827 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18828
e16d221c
SP
188292013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18830
18831 * manual/threads.texi (Default Thread Attributes): Fix typo.
18832
215c7d43
WN
188332013-10-04 Will Newton <will.newton@linaro.org>
18834
18835 * malloc/Makefile: Add tst-memalign.
18836 * malloc/tst-memalign.c: New file.
18837
27d0461b
WN
18838 * malloc/tst-posix_memalign.c: Add comments.
18839 (do_test): Add comments and call free on all potentially
18840 allocated pointers. Add space after cast.
18841
1bc92709
WN
18842 * malloc/tst-pvalloc.c: Add comments.
18843 (do_test): Add comments and call free on all potentially
18844 allocated pointers. Remove duplicate check for NULL pointer.
18845 Add space after cast.
18846
66a9be9d
WN
18847 * malloc/tst-valloc.c: Add comments.
18848 (do_test): Add comments and call free on all potentially
18849 allocated pointers. Remove duplicate check for NULL pointer.
18850 Add space after cast.
18851
4cb81307
AM
188522013-10-04 Alan Modra <amodra@gmail.com>
18853
18854 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18855 Use stdint types in rather than __attribute__((mode())).
18856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18857
f8e3e9f3
AM
188582013-10-04 Alan Modra <amodra@gmail.com>
18859
18860 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18861 Correct handling of unaligned relocs for little-endian.
18862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18863
8f9ebb08
AM
188642013-10-04 Alan Modra <amodra@gmail.com>
18865
18866 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18867 * configure: Regenerate.
18868 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18869 * shlib-versions: Likewise.
18870
0edf96c2
AM
188712013-10-04 Alan Modra <amodra@gmail.com>
18872
18873 * string/tester.c (test_memrchr): Increment reported test cycle.
18874
e0f7a380
AM
188752013-10-04 Alan Modra <amodra@gmail.com>
18876
18877 * string/test-memcpy.c (do_one_test): When reporting errors, print
18878 string address and don't overrun end of string.
18879
466b0393
AM
188802013-10-04 Alan Modra <amodra@gmail.com>
18881
18882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18883 insrdi. Make better use of reg selection to speed exit slightly.
18884 Schedule entry path a little better. Remove useless "are we done"
18885 checks on entry to main loop. Handle wrapping around zero address.
18886 Correct main loop count. Handle single left-over word from main
18887 loop inline rather than by using loop_small. Remove extra word
18888 case in loop_small caused by wrong loop count. Add little-endian
18889 support.
18890 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18891 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18892 cache hint.
18893 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18894 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18895 support. Avoid rlwimi.
18896 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18897
3be87c77
AM
188982013-10-04 Alan Modra <amodra@gmail.com>
18899
18900 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18901 insrdi. Formatting.
3be87c77
AM
18902 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18903 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18904 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18905 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18906 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18907 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18908
759cfef3
AM
189092013-10-04 Alan Modra <amodra@gmail.com>
18910
18911 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18912 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18913 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18914 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18915 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18916 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18917 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18918 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18919 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18920 use of regs. Use power7 mtocrf. Tidy function tails.
18921
fe6e95d7
AM
189222013-10-04 Alan Modra <amodra@gmail.com>
18923
18924 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18925 Formatting. Consistently use rXXX register defines or rN defines.
18926 Use early exit labels that avoid restoring unused non-volatile regs.
18927 Make cr field use more consistent with rWORDn compares. Rename
18928 regs used as shift registers for unaligned loop, using rN defines
18929 for short lifetime/multiple use regs.
18930 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18931 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18932 addi 1,1,64 to pop stack frame. Simplify return value code.
18933 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18934
664318c3
AM
189352013-10-04 Alan Modra <amodra@gmail.com>
18936
18937 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18938 support. Correct typos, formatting. Optimize tail. Use insrdi
18939 rather than rlwimi.
18940 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18941 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18942 little-endian support. Correct typos.
18943 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18944 rather than rlwimi.
18945 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18946 in loop and entry code to keep "and." results.
18947 (strchr): Add little-endian support. Comment. Move cntlzd
18948 earlier in tail.
18949 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18950
43b84013
AM
189512013-10-04 Alan Modra <amodra@gmail.com>
18952
18953 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18954 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18955 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18956 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18957
8a7413f9
AM
189582013-10-04 Alan Modra <amodra@gmail.com>
18959
18960 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18961 (rTMP): Define as r11.
18962 (strcmp): Add little-endian support. Optimise tail.
18963 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18964 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18965 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18966 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18967 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18968 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18969 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18970
33ee81de
AM
189712013-10-04 Alan Modra <amodra@gmail.com>
18972
18973 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18974 little-endian support. Remove unnecessary "are we done" tests.
18975 Handle "s" wrapping around zero and extremely large "size".
18976 Correct main loop count. Handle single left-over word from main
18977 loop inline rather than by using small_loop. Correct comments.
18978 Delete "zero" tail, use "end_max" instead.
18979 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18980
db9b4570
AM
189812013-10-04 Alan Modra <amodra@gmail.com>
18982
18983 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18984 support. Don't branch over align.
18985 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18986 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18987 support. Rearrange tmp reg use to suit. Comment.
18988 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18989
f7c399cf
AM
189902013-10-04 Alan Modra <amodra@gmail.com>
18991
18992 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18993
0b2c2ace
AM
189942013-10-04 Alan Modra <amodra@gmail.com>
18995
18996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18997 conditional form of branch and link when obtaining pc.
18998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18999
02f04a6c
AM
190002013-10-04 Alan Modra <amodra@gmail.com>
19001
19002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19003 HIWORD/LOWORD.
19004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19006
9b874b2f
AM
190072013-10-04 Alan Modra <amodra@gmail.com>
19008
19009 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19010 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19011 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19012 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19013 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19014 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19015 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19016 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19017 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19018 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19019
be1e5d31
AB
190202013-10-04 Anton Blanchard <anton@au1.ibm.com>
19021 Alistair Popple <alistair@ozlabs.au.ibm.com>
19022 Alan Modra <amodra@gmail.com>
19023
19024 [BZ #15723]
19025 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19026 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19027 _dl_hwcap access for little-endian.
19028 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19029 destroy vmx regs when saving unaligned.
19030 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19031 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19032 destroy vmx regs when saving unaligned.
19033
fef13a78
AM
190342013-10-04 Alan Modra <amodra@gmail.com>
19035
19036 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19037 Don't use a union to pack hi/low value.
19038
76a66d51
AB
190392013-10-04 Anton Blanchard <anton@au1.ibm.com>
19040
19041 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19042 for little-endian.
19043 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19044 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19045 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19046 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19047 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19048
6a31fe7f
AM
190492013-10-04 Alan Modra <amodra@gmail.com>
19050
19051 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19052 constants to usual value for .cst8 section, and remove redundant
19053 high address load.
19054 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19055 constant for 0x1p52. Load little-endian words of double from
19056 correct stack offsets.
19057
7b88401f
AM
190582013-10-04 Alan Modra <amodra@gmail.com>
19059
19060 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19061 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19062 words of double from correct stack offsets.
19063 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19064 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19065 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19066 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19067 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19068 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19069 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19070 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19071 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19072 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19073 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19074 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19075 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19076 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19077 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19078 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19079 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19080
9c008155
AM
190812013-10-04 Alan Modra <amodra@gmail.com>
19082
19083 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19084 64-bit int/double union.
19085 (_FPU_SETCW): Likewise.
19086 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19087 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19088
da13146d
AM
190892013-10-04 Alan Modra <amodra@gmail.com>
19090
19091 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19092 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19093
603e8410
AM
190942013-10-04 Alan Modra <amodra@gmail.com>
19095
19096 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19097 use vector int constants.
19098 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19099
4a28b3ca
AB
191002013-10-04 Anton Blanchard <anton@au1.ibm.com>
19101
19102 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19103 array with long long.
19104 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19105 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19106 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19107 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19108 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19109 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19110 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19111 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19112 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19113 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19114 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19115 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19116 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19117
2ca85d2b
AB
191182013-10-04 Anton Blanchard <anton@au1.ibm.com>
19119
19120 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19121 (__signbit): Likewise. Correct for little-endian.
19122 (__signbitl): Call __signbit.
19123 (lrint): Correct for little-endian.
19124 (lrintf): Call lrint.
19125
62a728ae
AM
191262013-10-04 Alan Modra <amodra@gmail.com>
19127
19128 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19129 union 32-bit int array member with 64-bit int array.
19130 (t515, tm256): Double rather than long double.
19131 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19132
32c301df
AM
191332013-10-04 Alan Modra <amodra@gmail.com>
19134
19135 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19136 Delete.
19137 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19138 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19139 version of math_ldbl.h.
19140
650ef4bd
AM
191412013-10-04 Alan Modra <amodra@gmail.com>
19142
19143 [BZ #15734], [BZ #15735]
19144 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19145 all uses of ieee875 long double macros and unions. Simplify test
19146 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19147 ldbl_extract_mantissa value for ix,iy exponents. Properly
19148 normalize after ldbl_extract_mantissa, and don't add hidden bit
19149 already handled. Don't treat low word of ieee854 mantissa like
19150 low word of IBM long double and mask off bit when testing for
19151 zero.
19152 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19153 all uses of ieee875 long double macros and unions. Simplify tests
19154 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19155 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19156 two1022, instead use their values. Recognise that tests for large
19157 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19158 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19159 Rewrite all uses of ieee875 long double macros and unions. Simplify
19160 test for 0.0L and nan. Correct negation.
19161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19162 ieee875 long double macros and unions. Correct output for large
19163 magnitude x. Correct absolute value calculation.
19164 (__erfcl): Likewise.
19165 * math/libm-test.inc: Add tests for errors discovered in IBM long
19166 double versions of fmodl, remainderl, erfl and erfcl.
19167
765714ca
AM
191682013-10-04 Alan Modra <amodra@gmail.com>
19169
19170 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19171 all uses of ieee854 long double macros and unions. Simplify tests
19172 for long doubles that are fully specified by the high double.
19173 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19174 Likewise.
19175 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19176 Remove dead code too.
19177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19178 (__ieee754_ynl): Likewise.
19179 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19182 Remove dead code too.
19183 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19184 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19185 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19187 Simplify.
19188 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19189 Simplify.
19190 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19192 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19193 Comment on variable precision.
19194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19196 Likewise.
19197 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19202
4ebd120c
AM
192032013-10-04 Alan Modra <amodra@gmail.com>
19204
19205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19206 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19207 all uses of ieee854 long double macros and unions.
19208 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19210 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19211 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19212 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19213 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19214 Likewise.
19215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19216 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19218 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19220 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19221 Simplify sign and nan test too.
19222 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19223 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19225 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19226 Likewise.
19227 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19228 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19229 Likewise.
19230 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19231 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19232 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19233 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19234 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19236
1b6adf88
AM
192372013-10-04 Alan Modra <amodra@gmail.com>
19238
19239 * stdio-common/printf_size.c (__printf_size): Don't use
19240 union ieee854_long_double in fpnum union.
19241 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19242 signbit macro to retrieve sign from long double.
19243 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19244 retrieve sign from long double.
19245 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19246 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19247 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19248 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19249 * math/test-misc.c (main): Don't use union ieee854_long_double.
19250
4cf69995
AM
192512013-10-04 Alan Modra <amodra@gmail.com>
19252
19253 [BZ #15680]
19254 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19255 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19256 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19257 calculation. Remove unnecessary test for denormal exponent.
19258 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19259 Correct handling of denormals. Avoid undefined shift behaviour.
19260 Correct normalisation of low mantissa when low double is denormal.
19261 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19262 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19263 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19264 Correct normalisation of low mantissa. Test for overflow of high
19265 mantissa and normalise.
19266 (ldbl_nearbyint): Use more readable constant for two52.
19267 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19268 (__mpn_construct_long_double): Fix test for overflow of high
19269 mantissa and correct normalisation. Avoid undefined shift.
19270
9605ca6c
AM
192712013-10-04 Alan Modra <amodra@gmail.com>
19272
19273 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19274 (union ibm_extended_long_double): Define as an array of ieee754_double.
19275 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19276 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19277 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19278 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19280 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19281 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19282 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19284 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19286
975569d0
JM
192872013-10-03 Joseph Myers <joseph@codesourcery.com>
19288
d3d23756
JM
19289 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19290 page size instead of calling getpagesize.
19291
975569d0
JM
19292 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19293 (LOCFILE_ALIGN_MASK): Likewise.
19294 (LOCFILE_ALIGN_UP): Likewise.
19295 (LOCFILE_ALIGNED_P): Likewise.
19296 * locale/programs/ld-collate.c (collate_output): Use the new
19297 macros instead of __alignof__ (int32_t).
19298 * locale/weight.h (findidx): Likewise.
19299
b1fe1f2b
OB
193002013-10-03 Ondřej Bílka <neleai@seznam.cz>
19301
19302 [BZ #431]
19303 * manual/string.texi: Fix strncat and wcsncat.
19304
5f855e35
BM
193052013-10-03 Brooks Moses <bmoses@google.com>
19306
19307 [BZ #15915]
19308 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19309 * Makerules: ...here, and adjust associated comments.
19310
3cef6009
WN
193112013-10-02 Will Newton <will.newton@linaro.org>
19312
19313 * malloc/Makefile: Add tst-pvalloc.
19314 * malloc/tst-pvalloc.c: New file.
19315
7815420b
WN
193162013-10-02 Will Newton <will.newton@linaro.org>
19317
19318 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19319 improve test coverage.
19320
4868b204
WN
193212013-10-02 Will Newton <will.newton@linaro.org>
19322
19323 * malloc/Makefile: Add tst-posix_memalign.
19324 * malloc/tst-posix_memalign.c: New file.
19325
29c793b3
EB
193262013-10-01 Eric Blake <eblake@redhat.com>
19327
19328 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19329 Use __THROWNL rather than __THROW on static functions.
19330
fd967522
PM
193312013-09-30 Petr Machata <pmachata@redhat.com>
19332
19333 * elf/elf.h (R_AARCH64_ABS16): New macro.
19334 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19335 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19336 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19337 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19338 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19339 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19340 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19341 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19342 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19343 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19344 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19345 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19346 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19347 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19348 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19349 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19350 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19351 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19352 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19353 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19354 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19355 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19356 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19357 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19358 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19359 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19360 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19361 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19362 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19363 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19364 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19365 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19366 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19367 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19368 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19369 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19370 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19371 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19372 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19373 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19374 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19375 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19376 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19377 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19378 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19379 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19380 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19381 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19382 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19383 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19384 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19385 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19386 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19387 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19388 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19389 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19390 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19391 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19392 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19393 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19394 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19395 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19396 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19397 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19398 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19399 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19400 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19401 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19402 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19403 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19404 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19405 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19406 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19407 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19408 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19409 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19410 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19411 (R_AARCH64_TLSDESC_LDR): Likewise.
19412 (R_AARCH64_TLSDESC_ADD): Likewise.
19413 (R_AARCH64_TLSDESC_CALL): Likewise.
19414
b2179107
AS
194152013-09-30 Andreas Schwab <schwab@suse.de>
19416
19417 [BZ #15048]
19418 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19419 the nss database lookup.
19420 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19422
47f28d0a
MF
194232013-09-28 Mike Frysinger <vapier@gentoo.org>
19424
19425 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19426
194272013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19428
19429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19430 ${Bash-specific parameter/pattern/string} parameter expansion.
19431 * sysdeps/unix/make-syscalls.sh: Likewise.
19432
f4518a17
KK
194332013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19434
19435 * sysdeps/sh/stackguard-macros.h: New file.
19436
dc1a95c7
OB
194372013-09-26 Ondřej Bílka <neleai@seznam.cz>
19438
19439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19440 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19441 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19442 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19443 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19444 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19445
5ebbff8f
AZ
194462013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19447
19448 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19449 Fix thread ID register.
19450
4fd2cf9f
JM
194512013-09-25 Joseph Myers <joseph@codesourcery.com>
19452
19453 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19454 [POSIX || UNIX98]: Require rather than permitting all symbols from
19455 <time.h>.
19456 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19457 element of struct sched_param.
19458 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19459 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19460 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19461 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19462 constant.
19463
12c22bc4
OL
194642013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19465
19466 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19467 argument calculation.
19468
a03d8ea7
JM
194692013-09-24 Joseph Myers <joseph@codesourcery.com>
19470
19471 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19472 Expect macro.
19473 [POSIX] (pthread_attr_t): Do not require type.
19474 [POSIX] (pthread_cond_t): Likewise.
19475 [POSIX] (pthread_condattr_t): Likewise.
19476 [POSIX] (pthread_key_t): Likewise.
19477 [POSIX] (pthread_mutex_t): Likewise.
19478 [POSIX] (pthread_mutexattr_t): Likewise.
19479 [POSIX] (pthread_once_t): Likewise.
19480 [POSIX] (pthread_t): Likewise.
19481 [POSIX-based standards] (pthread_atfork): Expect function.
19482
6055173a
JM
194832013-09-24 Joseph Myers <joseph@codesourcery.com>
19484 Richard Sandiford <richard@codesourcery.com>
19485
19486 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19487 (swap_endianness_p): New extern variable.
19488 (set_big_endian): New inline function.
19489 (maybe_swap_uint32): Likewise.
19490 (maybe_swap_uint32_array): Likewise.
19491 (maybe_swap_uint32_obstack): Likewise.
19492 * locale/programs/locfile.c: Include <stdbool.h>.
19493 (swap_endianness_p): New variable.
19494 (add_locale_uint32): Call maybe_swap_uint32.
19495 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19496 (write_locale_data): Call maybe_swap_uint32_array.
19497 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19498 maybe_swap_uint32.
19499 (obstack_int32_grow_fast): Likewise.
19500 (output_weightwc): Call maybe_swap_uint32_obstack.
19501 (collate_output): Likewise.
19502 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19503 (OPT_LITTLE_ENDIAN): Likewise.
19504 (options): Add --little-endian and --big-endian options.
19505 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19506 * locale/programs/locarchive.c: Include "locfile.h".
19507 (GET): New macro.
19508 (SET): Likewise.
19509 (INC): Likewise.
19510 (create_archive): Use the new macros to access fields of
19511 structures directly mapped from or written to locale archives.
19512 (oldlocrecentcmp): Likewise.
19513 (enlarge_archive): Likewise.
19514 (insert_name): Likewise.
19515 (add_alias): Likewise.
19516 (add_locale): Likewise.
19517 (delete_locales_from_archive): Likewise.
19518 (show_archive_content): Likewise.
19519 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19520 locale data.
19521
39bf0bb4
RM
195222013-09-24 Roland McGrath <roland@hack.frob.com>
19523
19524 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19525 http://www.gnu.org/doc/freemanuals.texi.
19526 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19527
f02eed10
WN
195282013-09-24 Will Newton <will.newton@linaro.org>
19529
19530 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19531 macro.
19532
a3a6c312
JM
195332013-09-23 Joseph Myers <joseph@codesourcery.com>
19534
19535 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19536 unsigned char.
19537
107375ac
MR
195382013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19539
19540 * manual/threads.texi (POSIX Threads): Fix a typo.
19541
141f3a77
SP
195422013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19543
303e567a
SP
19544 [BZ #14547]
19545 * string/tst-strcoll-overflow.c: New test case.
19546 * string/Makefile (xtests): Add tst-strcoll-overflow.
19547 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19548 cache if string sizes may cause integer overflow.
19549
141f3a77
SP
19550 [BZ #14547]
19551 * string/strcoll_l.c (coll_seq): New members rule, idx,
19552 save_idx and back_us.
19553 (get_next_seq_nocache): New function.
19554 (do_compare_nocache): New function.
19555 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19556 when malloc fails.
19557
c61b4d41
CD
195582013-09-23 Carlos O'Donell <carlos@redhat.com>
19559
0b1f8e35
CD
19560 [BZ #15754]
19561 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19562 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19563 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19564
c61b4d41
CD
19565 [BZ #15754]
19566 * elf/Makefile (tests): Add tst-ptrguard1.
19567 (tests-static): Add tst-ptrguard1-static.
19568 (tst-ptrguard1-ARGS): Define.
19569 (tst-ptrguard1-static-ARGS): Define.
19570 * elf/tst-ptrguard1.c: New file.
19571 * elf/tst-ptrguard1-static.c: New file.
19572 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19573 * sysdeps/i386/stackguard-macros.h: Likewise.
19574 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19575 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19576 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19577 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19578 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19579 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19580
195812013-09-23 Hector Marco <hecmargi@upv.es>
19582 Ismael Ripoll <iripoll@disca.upv.es>
19583 Carlos O'Donell <carlos@redhat.com>
19584
19585 [BZ #15754]
19586 * sysdeps/generic/stackguard-macros.h: Define
19587 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19588 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19589 Define __pointer_chk_guard_local.
19590 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19591 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19592
f5f4e7b4
VV
195932013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19594
19595 [BZ #15859]
19596 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19597
5bb43a43
AS
195982013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19599
19600 * include/string.h (__ffs): Declare as hidden.
19601 * string/ffs.c (__ffs): Define as hidden.
19602 * sysdeps/i386/ffs.c (__ffs): Likewise.
19603 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19604 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19605 * sysdeps/s390/ffs.c (__ffs): Likewise.
19606 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19607
3ea5be54
AO
196082013-09-20 Alexandre Oliva <aoliva@redhat.com>
19609
ffb89e53
AO
19610 * NEWS: Mention malloc probes.
19611
322dea08
AO
19612 * malloc/arena.c (new_heap): New memory_heap_new probe.
19613 (grow_heap): New memory_heap_more probe.
19614 (shrink_heap): New memory_heap_less probe.
19615 (heap_trim): New memory_heap_free probe.
19616 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19617 (systrim): New memory_sbrk_less probe.
19618 * manual/probes.texi: Document them.
19619
655673f3
AO
19620 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19621 * manual/probes.texi: Document it.
19622
35fed6f1
AO
19623 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19624 (__libc_realloc): Add memory_realloc_retry probe.
19625 (__libc_memalign): Add memory_memalign_retry probe.
19626 (__libc_valloc): Add memory_valloc_retry probe.
19627 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19628 (__libc_calloc): Add memory_calloc_retry probe.
19629 * manual/probes.texi: Document them.
19630
6999d38c
AO
19631 * malloc/arena.c (get_free_list): Add probe
19632 memory_arena_reuse_free_list.
19633 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19634 and memory_arena_reuse.
19635 (arena_get2) [!PER_THREAD]: Likewise.
19636 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19637 memory_arena_reuse_realloc.
19638 * manual/probes.texi: Document them.
19639
0653427f
AO
19640 * malloc/malloc.c (__libc_free): Add
19641 memory_mallopt_free_dyn_thresholds probe.
19642 (__libc_mallopt): Add multiple memory_mallopt probes.
19643 * manual/probes.texi: Document them.
19644
3ea5be54
AO
19645 * malloc/malloc.c: Include stap-probe.h.
19646 (__libc_mallopt): Add memory_mallopt probe.
19647 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19648 * manual/probes.texi: New.
19649 * manual/Makefile (chapters): Add probes.
19650 * manual/threads.texi: Set next node.
19651
e35696c3 196522013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19653
e35696c3
CL
19654 [BZ #15963, #13985]
19655 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19656 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19657 Add `Chinese' to `nan' entry name.
19658
4aafb73c
SP
196592013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19660
19661 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19662 (POLYNOMIAL): Likewise.
19663 (TAYLOR_SINCOS): Likewise.
19664 (TAYLOR_SLOW): Likewise.
19665 (__sin): Use TAYLOR_SINCOS.
19666 (__cos): Likewise.
19667 (slow): Use TAYLOR_SLOW.
19668 (sloww): Likewise.
19669 (bsloww): Likewise.
19670 (csloww): Likewise.
19671
d84f25c7
LD
196722013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19673
19674 * stdlib/strtod_l.c: Fix buffer overrun.
19675
5eea0404
SP
196762013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19677
7849ff93
SP
19678 * benchtests/Makefile (bench): Add sincos.
19679 * benchtests/bench-sincos.c: New file.
19680
cfa3c886
SP
19681 * math/libm-test.inc (cos_test_data): New test inputs.
19682 (sin_test_data): Likewise.
19683
b348e1e3
SP
19684 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19685 macro.
19686 (__sin): Use it.
19687 (__cos): Likewise.
19688 (slow1): Likewise.
19689 (slow2): Likewise.
19690 (sloww1): Likewise.
19691 (sloww2): Likewise.
19692 (bsloww1): Likewise.
19693 (bsloww2): Likewise.
19694 (cslow2): Likewise.
19695 (csloww1): Likewise.
19696 (csloww2): Likewise.
19697
6cce25f8
SP
19698 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19699 function.
19700 (__sin): Use it.
19701 (__cos): Likewise.
19702
5eea0404
SP
19703 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19704 gotos.
19705 (__cos): Likewise.
19706
9c21573c
MR
197072013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19708
19709 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19710 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19711 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19712 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19713 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19714 * elf/cache.c (print_entry): Handle the new cache flags.
19715
24d22e65
JM
197162013-09-18 Joseph Myers <joseph@codesourcery.com>
19717 Aldy Hernandez <aldyh@redhat.com>
19718
19719 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19720 Change condition to [_SOFT_FLOAT].
19721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19729 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19732 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19733 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19735 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19736 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19737 declaration.
19738
d13ef066
JM
197392013-09-18 Joseph Myers <joseph@codesourcery.com>
19740
2e071de0
JM
19741 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19742 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19743 (__longjmp): Use LOAD_GP to load saved GPRs.
19744 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19745 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19746 (__sigsetjmp): Use SAVE_GP to save GPRs.
19747
d13ef066
JM
19748 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19749 Do not append -msoft-float.
19750 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19751
97a0650b
SP
197522013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19753
19754 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19755
11ca09e9
JM
197562013-09-17 Joseph Myers <joseph@codesourcery.com>
19757
19758 [BZ #15966]
19759 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19760 (_FPU_GETCW): Use initial "__" on variable and field names but not
19761 on macro parameter name.
19762 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19763 parentheses around reference to macro parameter.
19764
08ffcf34
RS
197652013-09-13 Richard Sandiford <richard@codesourcery.com>
19766
19767 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19768 prototype.
19769 (ctype_startup): Use uint32_t in cast and sizeof for
19770 ctype->charnames.
19771
ae7080d3
JL
197722013-09-11 Jia Liu <proljc@gmail.com>
19773
19774 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19775 __daddr_t_defined.
19776 [__FreeBSD__]: Likewise.
19777
5905e7b3
OB
197782013-09-11 Ondřej Bílka <neleai@seznam.cz>
19779
19780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19781 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19782 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19783 (strchr): Remove __strchr_sse42 ifunc selection.
19784 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19785 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19786
b987c776
WN
197872013-09-11 Will Newton <will.newton@linaro.org>
19788
19789 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19790 parameter to RES. Remove hardcoded 1000 value.
19791 * benchtests/bench-skeleton.c (main): Pass RES parameter
19792 to TIMING_INIT and multiply result by 1000.
19793
ddf985af
AZ
197942013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19795
19796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19797
ffdd3181
AS
197982013-09-11 Andreas Schwab <schwab@suse.de>
19799
19800 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19801 if not defined.
19802 (O_TMPFILE) [__USE_GNU]: Define.
19803 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19804 Define.
19805
b73ed247
WN
198062013-09-11 Will Newton <will.newton@linaro.org>
19807
19808 [BZ #15857]
19809 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19810 does not overflow.
19811
55e17aad
WN
198122013-09-11 Will Newton <will.newton@linaro.org>
19813
19814 [BZ #15856]
19815 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19816 does not overflow.
19817
1159a193
WN
198182013-09-11 Will Newton <will.newton@linaro.org>
19819
19820 [BZ #15855]
19821 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19822 does not overflow.
19823
5905e7b3 198242013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19825
19826 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19827 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19828 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19829 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19830 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19831
cdfc721b
AM
198322013-09-10 Allan McRae <allan@archlinux.org>
19833
aa04af00
AM
19834 [BZ #15748]
19835 * manual/arith.texi (Parsing of Floats): Clarify
19836 cross-reference.
19837
cdfc721b
AM
19838 [BZ #15849]
19839 * manual/install.texi (Running make install): Mention
19840 --enable-pt-chown.
19841 * INSTALL: Regenerated.
19842
95e7cf29
MR
198432013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19844
19845 * csu/init-first.c (_init): Remove the !SHARED condition around
19846 FPU control word initialization.
19847 * elf/dl-support.c (_dl_fpu_control): New variable.
19848 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19849 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19850 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19851 * math/test-fpucw-static.c: New file.
19852 * math/test-fpucw-ieee.c: New file.
19853 * math/test-fpucw-ieee-static.c: New file.
19854 * math/Makefile (tests): Add `test-fpucw-ieee' and
19855 `$(tests-static)'.
19856 (tests-static): New variable.
19857 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19858 dependency to...
19859 [($(build-shared),yes)]
19860 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19861 ... this.
19862 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19863 New dependency.
19864
83e43bf0
AM
198652013-09-09 Allan McRae <allan@archlinux.org>
19866
a9f5ce09
AM
19867 [BZ #15939]
19868 * manual/string.texi (Collation Functions): Fix typo in
19869 strcoll example.
19870 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19871
34829bc2
AM
19872 [BZ #15893]
19873 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19874
3932737d
AM
19875 [BZ #15892]
19876 * libio/memstream.c (open_memstream): Fix memory leak.
19877 * libio/wmemstream.c (open_wmemstream): Likewise.
19878
83e43bf0
AM
19879 [BZ #15895]
19880 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19881
0c66b8e9
WN
198822013-09-09 Will Newton <will.newton@linaro.org>
19883
19884 * malloc/Makefile: Add tst-realloc to tests.
19885 * malloc/tst-realloc.c: New file.
19886
f6b00fd1
AM
198872013-09-09 Allan McRae <allan@archlinux.org>
19888
19889 [BZ #15844]
19890 * COPYING: Update from GNU website to fix FSF address.
19891 * COPYING.LIB: Likewise.
19892
eec55e16
DM
198932013-09-06 David S. Miller <davem@davemloft.net>
19894
19895 * po/zh_TW.po: Update Chinese (traditional) translation from
19896 translation project.
19897
1ecbb381
RS
198982013-09-06 Richard Sandiford <richard@codesourcery.com>
19899 Joseph Myers <joseph@codesourcery.com>
19900
19901 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19902 "localeinfo.h".
19903 (obstack_chunk_alloc): New macro.
19904 (obstack_chunk_free): Likewise.
19905 (record_offset): New function.
19906 (init_locale_data): Likewise.
19907 (align_locale_data): Likewise.
19908 (add_locale_empty): Likewise.
19909 (add_locale_raw_data): Likewise.
19910 (add_locale_raw_obstack): Likewise.
19911 (add_locale_string): Likewise.
19912 (add_locale_wstring): Likewise.
19913 (add_locale_uint32): Likewise.
19914 (add_locale_uint32_array): Likewise.
19915 (add_locale_char): Likewise.
19916 (start_locale_structure): Likewise.
19917 (end_locale_structure): Likewise.
19918 (start_locale_prelude): Likewise.
19919 (end_locale_prelude): Likewise.
19920 (write_locale_data): Take locale_file structure rather than an
19921 iovec.
19922 * locale/programs/locfile.h: Include "obstack.h".
19923 (struct locale_file): Change to store locale file contents instead
19924 of header.
19925 (init_locale_data): New prototype.
19926 (align_locale_data): Likewise.
19927 (add_locale_empty): Likewise.
19928 (add_locale_raw_data): Likewise.
19929 (add_locale_raw_obstack): Likewise.
19930 (add_locale_string): Likewise.
19931 (add_locale_wstring): Likewise.
19932 (add_locale_uint32): Likewise.
19933 (add_locale_uint32_array): Likewise.
19934 (add_locale_char): Likewise.
19935 (start_locale_structure): Likewise.
19936 (end_locale_structure): Likewise.
19937 (start_locale_prelude): Likewise.
19938 (end_locale_prelude): Likewise.
19939 (write_locale_data): Update prototype.
19940 * locale/programs/3level.h (struct TABLE): Remove result field.
19941 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19942 Use new locale_file interface.
19943 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19944 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19945 * locale/programs/ld-address.c (address_output): Use new
19946 locale_file interface.
19947 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19948 NO_ADD_LOCALE.
19949 (collate_finish): Don't call collseq_table_finalize.
19950 (collate_output): Use new locale_file interface.
19951 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19952 in file.
19953 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19954 (TABLE): Move defines earlier in file.
19955 (ELEMENT): Likewise.
19956 (DEFAULT): Likewise.
19957 (wctrans_table_add): Move macro and inline function earlier in
19958 file.
19959 (struct wctype_table): Move type earlier in file.
19960 (add_locale_wctype_table): New static prototype.
19961 (struct locale_ctype_t): Use logical types instead of struct iovec
19962 pointers for members.
19963 (ctype_output): Use new locale_file interface.
19964 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19965 new locale_file interface.
19966 (allocate_arrays): Update for use of new locale_file interface.
19967 * locale/programs/ld-identification.c (identification_output): Use
19968 new locale_file interface.
19969 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19970 * locale/programs/ld-messages.c (messages_output): Likewise.
19971 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19972 * locale/programs/ld-name.c (name_output): Likewise.
19973 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19974 * locale/programs/ld-paper.c (paper_output): Likewise.
19975 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19976 * locale/programs/ld-time.c (time_output): Likewise.
19977
e029e2e5
AZ
199782013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19979
19980 * benchtests/Makefile: Add memrchr benchmark.
19981 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19982 benchmark as memrchr.
19983 * benchtests/bench-memrchr-ifunc.c: New file.
19984 * benchtests/bench-memrchr.c: New file.
19985
bbf6e8e4
WN
199862013-09-06 Will Newton <will.newton@linaro.org>
19987
19988 * benchtests/Makefile (string-bench): Add memcpy.
19989
6c82a2f8
CD
199902013-09-05 Carlos O'Donell <carlos@redhat.com>
19991 Cong Wang <amwang@redhat.com>
19992
e732c5f0 19993 [BZ #15850]
6c82a2f8
CD
19994 * sysdeps/unix/sysv/linux/bits/in.h
19995 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19996 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19997 before __USE_KERNEL_IPV6_DEFS uses.
19998 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19999 IPPROTO_BEETPH.
20000 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20001 sockaddr_in6, or ipv6_mreq.
20002
5430fc65
AZ
200032013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20004
20005 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20006 memory access for final bytes in some large inputs.
20007 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20008
4660856c
AZ
200092013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20010
20011 * string/test-memrchr.c: New file.
20012 * string/test-memrchr-ifunc.c: New file.
20013 * string/Makefile: Add new memrchr testcase.
20014
bb8ea713
MF
200152013-09-05 Mike Frysinger <vapier@gentoo.org>
20016
20017 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20018 fanotify_init returns EPERM.
20019
b92a20b5
JM
200202013-09-04 Joseph Myers <joseph@codesourcery.com>
20021
20022 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20023 errors.
20024 (top level): Treat second token from macro or constant entries for
20025 allowed headers as allowed.
20026 * include/complex.h: Condition internal declarations on
20027 [!_ISOMAC].
20028 * include/fenv.h: Condition include of <stdbool.h> and internal
20029 declarations on [!_ISOMAC].
7447ccd9
CL
20030
200312013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20032
3e181dda 20033 [BZ #15923]
7447ccd9
CL
20034 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20035
3f2e46a4
JM
200362013-09-04 Joseph Myers <joseph@codesourcery.com>
20037
20038 * configure.in (--enable-versioning): Remove configure option.
20039 (libc_cv_asm_symver_directive): Remove configure test.
20040 (libc_cv_ld_version_script_option): Likewise.
20041 (VERSIONING): Remove variable and AC_SUBST.
20042 (DO_VERSIONING): Remove AC_DEFINE.
20043 * configure: Regenerated.
20044 * config.h.in (DO_VERSIONING): Remove macro.
20045 * Makerules [$(versioning) = yes]: Change conditionals to
20046 [$(build-shared) = yes].
20047 * config.make.in (versioning): Remove variable.
20048 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20049 [$(build-shared) = yes].
20050 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20051 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20052 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20053 [$(build-shared) = yes].
20054 * extra-lib.mk [$(versioning) = yes]: Likewise.
20055 * hurd/Makefile [$(versioning) = yes]: Likewise.
20056 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20057 [SHARED].
20058 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20059 [SHARED].
20060 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20061 [SHARED && !NO_HIDDEN].
20062 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20063 [SHARED].
20064 [SHARED && DO_VERSIONING]: Likewise..
20065 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20066 [$(build-shared) = yes].
20067 * manual/install.texi (--disable-versioning): Remove
20068 documentation.
20069 * INSTALL: Regenerated.
20070 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20071 to [SHARED].
20072 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20073 [$(build-shared) = yes].
20074 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20075 * sysdeps/i386/i686/multiarch/strstr-c.c
20076 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20077 [SHARED && !NO_HIDDEN].
20078 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20079 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20080 * sysdeps/powerpc/powerpc32/dl-machine.c
20081 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20082 * sysdeps/powerpc/powerpc32/sysdep.h
20083 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20084 to [SHARED && PIC && !NO_HIDDEN].
20085 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20086 conditional to [SHARED].
20087
44558701
WN
200882013-09-04 Will Newton <will.newton@linaro.org>
20089
20090 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20091 * benchtests/bench-string.h: Include bench-timing.h instead
20092 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20093 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20094 call to HP_TIMING_DIFF_INIT.
20095 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20096 instead of hp-timing.h macros.
20097 * benchtests/bench-memchr.c: Likewise.
20098 * benchtests/bench-memcmp.c: Likewise.
20099 * benchtests/bench-memcpy.c: Likewise.
20100 * benchtests/bench-memmem.c: Likewise.
20101 * benchtests/bench-memmove.c: Likewise.
20102 * benchtests/bench-memset.c: Likewise.
20103 * benchtests/bench-rawmemchr.c: Likewise.
20104 * benchtests/bench-strcasecmp.c: Likewise.
20105 * benchtests/bench-strcasestr.c: Likewise.
20106 * benchtests/bench-strcat.c: Likewise.
20107 * benchtests/bench-strchr.c: Likewise.
20108 * benchtests/bench-strcmp.c: Likewise.
20109 * benchtests/bench-strcpy.c: Likewise.
20110 * benchtests/bench-strcpy_chk.c: Likewise.
20111 * benchtests/bench-strlen.c: Likewise.
20112 * benchtests/bench-strncasecmp.c: Likewise.
20113 * benchtests/bench-strncat.c: Likewise.
20114 * benchtests/bench-strncmp.c: Likewise.
20115 * benchtests/bench-strncpy.c: Likewise.
20116 * benchtests/bench-strnlen.c: Likewise.
20117 * benchtests/bench-strpbrk.c: Likewise.
20118 * benchtests/bench-strrchr.c: Likewise.
20119 * benchtests/bench-strspn.c: Likewise.
20120 * benchtests/bench-strstr.c: Likewise.
20121
cae16d66
WN
201222013-09-04 Will Newton <will.newton@linaro.org>
20123
20124 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20125
ffa3cd7f
JM
201262013-09-03 Joseph Myers <joseph@codesourcery.com>
20127
20128 [BZ #15427]
20129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20130 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20131 * math/libm-test.inc (lgamma_test_data): Add more tests.
20132 * sysdeps/i386/fpu/libm-test-ulps: Update.
20133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20134
8f02859f
OB
201352013-09-03 Ondřej Bílka <neleai@seznam.cz>
20136
20137 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20139 Add ifunc.
20140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20141 Add strcmp-sse2-unaligned
20142 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20143
18d43716
MF
201442013-09-02 Mike Frysinger <vapier@gentoo.org>
20145
20146 * Versions.def (libc): Add GLIBC_2.19.
20147
ac444012
MF
201482013-09-02 Mike Frysinger <vapier@gentoo.org>
20149
20150 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20151 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20152
b7835e32
JM
201532013-09-02 Joseph Myers <joseph@codesourcery.com>
20154
20155 [BZ #14155]
20156 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20157 intermediate calculations in recurrence.
20158 (__ieee754_ynf): Likewise.
20159 * math/libm-test.inc (jn_test_data): Do not allow spurious
20160 underflow exception. Add more tests.
20161 (yn_test_data): Add more tests.
20162 * sysdeps/i386/fpu/libm-test-ulps: Update.
20163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20164
8220f4f0
OB
201652013-09-02 Ondřej Bílka <neleai@seznam.cz>
20166
20167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20168
f24a6d08
OB
201692013-08-30 Ondřej Bílka <neleai@seznam.cz>
20170
20171 * csu/init-first.c: Fix then/than typos.
20172 * locale/programs/ld-collate.c: Likewise.
20173 * locale/programs/linereader.h: Likewise.
20174 * manual/charset.texi: Likewise.
20175 * manual/filesys.texi: Likewise.
20176 * manual/stdio.texi: Likewise.
20177 * manual/string.texi: Likewise.
20178 * stdlib/fmtmsg.c: Likewise.
20179 * sysdeps/i386/stpncpy.S: Likewise.
20180 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20181 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20182 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20183 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20184
382466e0
OB
201852013-08-30 Ondřej Bílka <neleai@seznam.cz>
20186
20187 * elf/dl-open.c: Fix typos.
20188 * iconvdata/gbbig5.c: Likewise.
20189 * iconvdata/iso-2022-jp.c: Likewise.
20190 * iconv/gconv_int.h: Likewise.
20191 * iconv/loop.c: Likewise.
20192 * nis/rpcsvc/nis.h: Likewise.
20193 * resolv/ns_name.c: Likewise.
20194 * stdio-common/vfscanf.c: Likewise.
20195 * streams/stropts.h: Likewise.
20196 * sunrpc/rpc_thread.c: Likewise.
20197 * sysdeps/i386/strpbrk.S: Likewise.
20198 * sysdeps/ieee754/k_standard.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20201 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20202 * sysdeps/mach/hurd/profil.c: Likewise.
20203 * sysdeps/s390/dl-procinfo.h: Likewise.
20204 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20205 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20206 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20207 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20208 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20209
0186c6e9
OB
202102013-08-30 Ondřej Bílka <neleai@seznam.cz>
20211
20212 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20214
d4e16af1
OB
202152013-08-29 Ondřej Bílka <neleai@seznam.cz>
20216
20217 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20218 aix specific files.
20219 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20220 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20221 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20222 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20223 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20224 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20225 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20226 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20227
88335980
TS
202282013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20229 Roland McGrath <roland@hack.frob.com>
20230
20231 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20232 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20233
ed479b02
ST
202342013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20235
20236 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20237 __executable_start symbol instead of _start.
20238
f1cc4c86
TS
202392013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20240
d821f07c
TS
20241 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20242 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20243 Move macros to...
20244 * sysdeps/gnu/ldsodefs.h: ... this new file.
20245
c54290cf
TS
20246 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20247 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20248 instead of ELFOSABI_LINUX.
20249
0007fc9b 20250 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20251 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20252 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20253 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20254 Likewise.
20255 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20256 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20257 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20258 Likewise.
20259 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20260 (ibm_extended_long_double): Add ieee_nan member.
20261 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20262 (do_test): New function.
20263
f1cc4c86
TS
20264 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20265 TEST_TRUNC.
20266 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20267 functions, renamed from truncdfsf_test, trunctfsf_test,
20268 trunctfdf_test.
20269 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20270 functions.
20271 (do_test): Run all these.
20272
6f65e668
OB
202732013-08-29 Ondřej Bílka <neleai@seznam.cz>
20274
20275 * argp/argp-help.c: Fix typos.
20276 * argp/argp-parse.c: Likewise.
20277 * debug/backtracesyms.c: Likewise.
20278 * elf/elf.h: Likewise.
20279 * malloc/malloc.c: Likewise.
20280 * nis/nis_print.c: Likewise.
20281 * resolv/res_comp.c: Likewise.
20282 * stdlib/stdlib.h: Likewise.
20283 * sunrpc/clnt_tcp.c: Likewise.
20284 * sunrpc/clnt_udp.c: Likewise.
20285 * sunrpc/clnt_unix.c: Likewise.
20286 * sysdeps/unix/bsd/ptsname.c: Likewise.
20287 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20288 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20290 Likewise.
20291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20292 Likewise.
20293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20294 Likewise.
6f65e668
OB
20295 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20296
3a309239
SP
202972013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20298
20299 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20300 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20301
3b813b29
MF
203022013-08-27 Mike Frysinger <vapier@gentoo.org>
20303
20304 [BZ #15897]
20305 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20306 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20307 ($(objpfx)bug-dl-leaf): New rule.
20308 ($(objpfx)bug-dl-leaf.so): Likewise.
20309 ($(objpfx)bug-dl-leaf.out): Likewise.
20310 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20311 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20312 * dlfcn/bug-dl-leaf.c: New test.
20313 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20314 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20315 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20316 (dlclose): Likewise.
20317 (dlmopen): Likewise.
20318
8cc3269f
RM
203192013-08-27 Roland McGrath <roland@hack.frob.com>
20320
7f9d0034
RM
20321 * include/netdb.h [!_ISOMAC]:
20322 Don't include <tls.h>.
20323 (h_errno, __libc_h_errno): Move declaration and macros out of
20324 [_LIBC_REENTRANT].
20325
fb431262
RM
20326 * include/resolv.h [_RESOLV_H_]:
20327 Don't include <tls.h>.
20328 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20329 * resolv/res_libc.c: Don't include <tls.h>.
20330 (_res): Use __attribute__ ((nocommon)) in place of
20331 __attribute__ ((section (".bss"))).
20332
bd81123a
RM
20333 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20334 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20335
c4e42566
RM
20336 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20337
f890a59b
RM
20338 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20339 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20340
20341 * resolv/res_mkquery.c: Include <sys/time.h>.
20342
5d1f0a09
RM
20343 * inet/ifreq.c: Moved to ...
20344 * sysdeps/unix/ifreq.c: ... here.
20345 * inet/ifreq.c: New file, true stub version.
20346
6fcf28b3
RM
20347 * socket/sa_len.c: New file.
20348 * socket/Makefile (aux): Add it.
20349 * sysdeps/unix/sysv/linux/Makefile
20350 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20351 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20352 and #include <socket/sa_len.c>.
20353 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20354 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20355
e041fb8b
RM
20356 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20357 * bits/socket.h: ... here.
20358
8cc3269f
RM
20359 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20360 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20361 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20362
5d228a43
AS
203632013-08-27 Andreas Schwab <schwab@suse.de>
20364
45b8accc
AS
20365 [BZ #15736]
20366 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20367 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20368 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20369 * string/test-strcasecmp.c (test_main): Run tests in several
20370 locales.
20371 * string/test-strncasecmp.c (test_main): Likewise.
20372
5d228a43
AS
20373 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20374 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20375 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20377 (__strncasecmp_ssse3) [PIC]: Likewise.
20378
59d112a4
RM
203792013-08-26 Roland McGrath <roland@hack.frob.com>
20380
53234cc3
RM
20381 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20382
59d112a4
RM
20383 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20384 instead of explicitly declaring xdecrypt.
20385 * nis/nss_nis/nis-publickey.c: Likewise.
20386
595aba70
SP
203872013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20388
20389 [BZ #15890]
20390 * nscd/aicache.c: Include res_hconf.h.
20391 (addhstaiX): Initialize res_hconf.
20392
ffabd393
AS
203932013-08-26 Andreas Schwab <schwab@suse.de>
20394
20395 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20396 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20397
e0a69f5c
SP
203982013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20399
20400 * nscd/aicache.c (addhstaiX): Fix indentation.
20401
8c12f01d
MF
204022013-08-25 Mike Frysinger <vapier@gentoo.org>
20403
20404 * configure.ac: Quote $build_pt_chown test.
20405 * configure: Regenerated.
20406
8fe89494
JM
204072013-08-23 Joseph Myers <joseph@codesourcery.com>
20408
20409 [BZ #15532]
20410 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20411 * math/s_cexpf.c (__cexpf): Likewise.
20412 * math/s_cexpl.c (__cexpl): Likewise.
20413 * math/libm-test.inc (cexp_test_data): Correct expected return
20414 value for NaN + i0. Add another test.
20415
75b181d6
DM
204162013-08-22 David S. Miller <davem@davemloft.net>
20417
20418 * po/ca.po: Update Catalan translation from translation project.
936241e4 20419 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20420
acd06bb1
JM
204212013-08-21 Joseph Myers <joseph@codesourcery.com>
20422
20423 [BZ #15797]
20424 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20425 is infinite, not alongside NaN test.
20426 * math/s_fdimf.c (__fdimf): Likewise.
20427 * math/s_fdiml.c (__fdiml): Likewise.
20428 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20429 errno is unchanged.
20430
c0c3f78a
OB
204312013-08-21 Ondřej Bílka <neleai@seznam.cz>
20432
20433 * argp/argp-help.c: Fix typos.
20434 * crypt/speeds.c: Likewise.
20435 * csu/check_fds.c: Likewise.
20436 * elf/dl-load.c: Likewise.
20437 * elf/dl-open.c: Likewise.
20438 * elf/reldep3.c: Likewise.
20439 * elf/reldep.c: Likewise.
20440 * elf/sprof.c: Likewise.
20441 * iconv/iconv_charmap.c: Likewise.
20442 * iconv/skeleton.c: Likewise.
20443 * iconv/strtab.c: Likewise.
20444 * io/lockf64.c: Likewise.
20445 * libio/libioP.h: Likewise.
20446 * resolv/gai_notify.c: Likewise.
20447 * resolv/ns_name.c: Likewise.
20448 * resolv/ns_samedomain.c: Likewise.
20449 * resolv/res_send.c: Likewise.
20450 * stdlib/random.c: Likewise.
20451 * sunrpc/rpc/xdr.h: Likewise.
20452 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20453 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20454 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20455 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20456 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20457 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20458 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20459 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20460 * sysdeps/mach/hurd/check_fds.c: Likewise.
20461 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20462 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20463 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20464 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20465 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20466 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20467 * sysdeps/pthread/aio_notify.c: Likewise.
20468 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20469 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20470 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20471 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20472 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20473
46ed1038
LD
204742013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20475
20476 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20477 version if bit_Slow_SSE4_2 is set.
20478 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20480
d400dcac
AZ
204812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20482
20483 [BZ #15867]
20484 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20485 trampoline stack frame information.
20486 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20487 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20488 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20489 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20490 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20491 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20492 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20493 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20494 sa_flags value.
20495 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20496 interrupting a syscall and set with option SA_SIGINFO.
20497
42c8fdd8
JM
204982013-08-20 Joseph Myers <joseph@codesourcery.com>
20499
c980f2f4
JM
20500 [BZ #15531]
20501 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20502 argument is infinite.
20503 * math/s_cprojf.c (__cprojf): Likewise.
20504 * math/s_cprojl.c (__cprojl): Likewise.
20505 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20506 * math/libm-test.inc (cproj_test_data): Add more tests.
20507
0716c4fc
JM
20508 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20509
42c8fdd8
JM
20510 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20511 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20512 size. Use __ffs to determine corresponding shift.
20513
b31469d0
JM
205142013-08-20 Joseph Myers <joseph@codesourcery.com>
20515 Roland McGrath <roland@hack.frob.com>
20516
20517 * Makefile (INSTALL): Remove trailing blank lines from output of
20518 makeinfo.
20519
4e39af6e
AK
205202013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20521
20522 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20523 Align 32 bit compat elf_greg to 8 bytes.
20524
f315524e
AA
205252013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20526
20527 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20528
1326ba1a
SP
205292013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20530
20531 * string/strcoll_l.c (coll_seq): New structure.
20532 (get_next_seq_cached): New function.
20533 (get_next_seq): New function.
20534 (do_compare): New function.
20535 (STRCOLL): Use GNU style definition. Simplify implementation
20536 by using get_next_seq, get_next_seq_cached and do_compare.
20537
91ce4085
FW
205382013-08-16 Florian Weimer <fweimer@redhat.com>
20539
20540 [BZ #14699]
20541 CVE-2013-4237
20542 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20543 member.
20544 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20545 member.
20546 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20547 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20548 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20549 conditional.
20550 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20551 GETDENTS_64BIT_ALIGNED.
20552 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20553 * manual/filesys.texi (Reading/Closing Directory): Document
20554 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20555 strongly.
20556 * manual/conf.texi (Limits for Files): Add portability note to
20557 NAME_MAX, PATH_MAX.
20558 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20559
ca0a6bc4
AS
205602013-08-13 Andreas Schwab <schwab@suse.de>
20561
20562 [BZ #15749]
20563 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20564 of fabs.
20565 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20566 LDBL_MAX_EXP >= 16384]: Add tests for it.
20567
6c1fd795
DM
205682013-08-12 David S. Miller <davem@davemloft.net>
20569
20570 * version.h (RELEASE): Set to "development".
20571 (VERSION): Set to "2.18.90".
20572 * NEWS: Add 2.19 section.
20573
31ad488d
DM
205742013-08-03 David S. Miller <davem@davemloft.net>
20575
20576 * po/ko.po: Update Korean translation from translation project.
20577
db24e684
DM
205782013-08-01 David S. Miller <davem@davemloft.net>
20579
20580 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20581 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20582 Bilka.
20583
f723285b
DM
205842013-07-30 David S. Miller <davem@davemloft.net>
20585
20586 * po/fr.po: Update French translation from translation project.
20587
3cbc52db
DM
205882013-07-28 David S. Miller <davem@davemloft.net>
20589
30bbc0cc
DM
20590 * po/cs.po: Update Czech translation from translation project.
20591
3cbc52db
DM
20592 * po/sv.po: Update Swedish translation from translation project.
20593
d492e6d0
DM
205942013-07-27 David S. Miller <davem@davemloft.net>
20595
f1a7f492
DM
20596 * po/eo.po: Update Esperanto translation from translation project.
20597
90e62a4a
DM
20598 * po/vi.po: Update Vietnamese translation from translation project.
20599
d492e6d0
DM
20600 * po/de.po: Update German translation from translation project.
20601
d4baa62d
DM
206022013-07-26 David S. Miller <davem@davemloft.net>
20603
641aa7b4
DM
20604 * po/bg.po: Update Bulgarian translation from translation project.
20605
d4baa62d
DM
20606 * po/nl.po: Update Dutch translation from translation project.
20607 * po/pl.po: Update Polish translation from translation project.
20608 * po/ru.po: Update Russian translation from translation project.
20609
61a9dcb9
DM
206102013-07-24 David S. Miller <davem@davemloft.net>
20611
20612 * po/libc.pot: Update.
20613
7b1f8b58
AZ
206142013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20615
20616 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20617 variable page size.
20618 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20619 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20620 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20621
a8fc7a03
AK
206222013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20623
20624 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20625
e4608715
CD
206262013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20627 Andreas Schwab <schwab@suse.de>
20628 Roland McGrath <roland@hack.frob.com>
20629 Joseph Myers <joseph@codesourcery.com>
20630 Carlos O'Donell <carlos@redhat.com>
20631
20632 [BZ #15755]
20633 * config.h.in: Define HAVE_PT_CHOWN.
20634 * config.make.in (build-pt-chown): New variable.
20635 * configure.in (--enable-pt_chown): New configure option.
20636 * configure: Regenerate.
20637 * login/Makefile: Include Makeconfig. Build pt_chown only if
20638 build-pt-chown is enabled.
20639 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20640 pt_chown to fix pty ownership.
20641 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20642 CLOSE_ALL_FDS.
20643 * manual/install.texi (Configuring and compiling): Mention
20644 --enable-pt_chown. Add @findex for grantpt.
20645 * INSTALL: Regenerate.
20646
da2d62df
DM
206472013-07-20 David S. Miller <davem@davemloft.net>
20648
20649 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20650 difference between 32-bit and 64-bit.
20651
d7e06450
CD
206522013-07-15 Carlos O'Donell <carlos@redhat.com>
20653
20654 [BZ #15711]
20655 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20656 Avoid system header dependency with -ffreestanding.
20657 ($(objpfx)bits/syscall%d): Likewise.
20658
f959cfd7
DM
206592013-07-13 David S. Miller <davem@davemloft.net>
20660
20661 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20662 underflows from atanl/atan2l due to bug 15319.
20663 (casinh_test_data): Likewise.
20664
c61f8513
DM
206652013-07-07 David S. Miller <davem@davemloft.net>
20666
20667 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20668
72c90ed0
JA
206692013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20670
20671 * sysdeps/i386/fpu/libm-test-ulps: Update.
20672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20673
52dfbe13
SP
206742013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20675
20676 * configure.in (--enable-lock-elision): Fix message text.
20677 * INSTALL: Regenerate.
20678 * configure: Regenerate.
20679
3f169543
AZ
206802013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20681
20682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20683
521c6785
AJ
206842013-07-03 Andreas Jaeger <aj@suse.de>
20685
20686 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20687 define.
20688 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20689 (ptrace_peeksiginfo_args): Add.
20690 (__ptrace_peeksiginfo_flags): Add.
20691 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20692 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20693 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20694
d2cc15cb
AM
206952013-07-03 Allan McRae <allan@archlinux.org>
20696
20697 * sysdeps/i386/fpu/libm-test-ulps: Update.
20698
3aaeeca7
DM
206992013-07-02 David S. Miller <davem@davemloft.net>
20700
20701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20702
5314ed1a
MT
207032013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20704
20705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20706
67338156
JM
207072013-07-02 Joseph Myers <joseph@codesourcery.com>
20708
20709 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20711
1717da59
AK
207122013-07-02 Andi Kleen <ak@linux.intel.com>
20713
20714 * config.h.in (ENABLE_LOCK_ELISION): Add.
20715 * configure.in (--enable-lock-elision): Add option.
20716 * manual/install.texi: Document --enable lock elision.
20717 * configure: Regenerate
20718 * INSTALL: Regenerate.
20719
1c81621c
L
207202013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20721
20722 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20723 SSE4.2 strcasecmp for libc.a.
20724 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20725
77f01ab5
JM
207262013-07-02 Joseph Myers <joseph@codesourcery.com>
20727
20728 [BZ #13304]
20729 * soft-fp/op-common.h (_FP_FMA): New macro.
20730 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20731 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20732 (_FP_MUL_MEAT_1_imm): ... here.
20733 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20734 (_FP_MUL_MEAT_1_wide): ... here.
20735 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20736 (_FP_MUL_MEAT_1_hard): ... here.
20737 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20738 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20739 (_FP_MUL_MEAT_2_wide): ... here.
20740 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20741 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20742 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20743 (_FP_MUL_MEAT_2_gmp): ... here.
20744 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20745 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20746 (_FP_MUL_MEAT_4_wide): ... here.
20747 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20748 (_FP_MUL_MEAT_4_gmp): ... here.
20749 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20750 (_FP_WFRACBITS_DW_S): Likewise.
20751 (_FP_WFRACXBITS_DW_S): Likewise.
20752 (_FP_HIGHBIT_DW_S): Likewise.
20753 (FP_FMA_S): Likewise.
20754 (_FP_FRAC_HIGH_DW_S): Likewise.
20755 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20756 (_FP_WFRACBITS_DW_D): Likewise.
20757 (_FP_WFRACXBITS_DW_D): Likewise.
20758 (_FP_HIGHBIT_DW_D): Likewise.
20759 (FP_FMA_D): Likewise.
20760 (_FP_FRAC_HIGH_DW_D): Likewise.
20761 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20762 (_FP_WFRACBITS_DW_E): Likewise.
20763 (_FP_WFRACXBITS_DW_E): Likewise.
20764 (_FP_HIGHBIT_DW_E): Likewise.
20765 (FP_FMA_E): Likewise.
20766 (_FP_FRAC_HIGH_DW_E): Likewise.
20767 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20768 (_FP_WFRACBITS_DW_Q): Likewise.
20769 (_FP_WFRACXBITS_DW_Q): Likewise.
20770 (_FP_HIGHBIT_DW_Q): Likewise.
20771 (FP_FMA_Q): Likewise.
20772 (_FP_FRAC_HIGH_DW_Q): Likewise.
20773 * soft-fp/fmasf4.c: New file.
20774 * soft-fp/fmadf4.c: Likewise.
20775 * soft-fp/fmatf4.c: Likewise.
20776
6308fd9a
LD
207772013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20778
20779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20780 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20781 Silvermont.
20782 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20783 macro.
20784 (index_Slow_SSE4_2): Likewise.
20785 (index_Prefer_PMINUB_for_stringop): Likewise.
20786 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20787 bit_Slow_SSE4_2 is set.
20788 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20789 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20790
89cd9569
RA
207912013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20792
20793 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20794 rtld_global._dl_hwcap2.
20795 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20796 POWER8.
20797 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20798 POWER8 feature descriptions defined in _dl_hwcap2.
20799 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20800 string handling for POWER8 feature bits.
20801 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20802 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20803 _dl_powerpc_cap_flags.
20804 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20805 * sysdeps/powerpc/rtld-global-offsets.sym
20806 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20807 _dl_hwcap2 in the rtld_global_ro structure.
20808
1ae8bfe0
RA
208092013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20810
20811 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20812 hardware capabilities in support of AT_HWCAP2.
20813 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20814 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20815 GLRO(dl_hwcap2).
20816 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20817 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20818 explicitly the unknown a_type display mechanism is used.
20819 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20820 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20821 struct member.
20822 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20823 to macro prototype for AT_HWCAP2 support.
20824 * sysdeps/i386/dl-procinfo.h: Likewise.
20825 * sysdeps/s390/dl-procinfo.h: Likewise.
20826 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20827 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20828 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20829 return -1 for unknown a_type display fallback.
20830 * sysdeps/sparc/dl-procinfo.h: Likewise.
20831 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20832 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20833
8fbec010
JM
208342013-06-28 Joseph Myers <joseph@codesourcery.com>
20835
20836 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20837 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20838
0432680e
PY
208392013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20840
20841 [BZ #12492]
20842 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20843 mprotect making __stack_prot writable.
20844
ce61a2ad
NF
208452013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20846 Joseph Myers <joseph@codesourcery.com>
20847
20848 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20849 as being properly aligned.
20850
f91f1c0f
MR
208512013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20852
3d0f5d0c
MR
20853 * dlfcn/modstatic5.c: New file.
20854 * dlfcn/tststatic5.c: New file.
20855 * dlfcn/Makefile (tests): Add tststatic5.
20856 (tests-static): Likewise.
20857 (modules-names): Add modstatic5.
20858 (tststatic5-ENV): New variable.
20859 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20860
f91f1c0f
MR
20861 [BZ #15022]
20862 * elf/dl-support.c (_dl_main_map): New variable.
20863 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20864 (_dl_nns, _dl_load_adds): Set to 1.
20865 (_dl_initial_searchlist): Refer to _dl_main_map.
20866 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20867 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20868 call to _dl_get_origin.
20869 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20870 around call_map.
20871 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20872 * dlfcn/modstatic3.c: New file.
20873 * dlfcn/tststatic3.c: New file.
20874 * dlfcn/tststatic4.c: New file.
20875 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20876 (tests-static): Likewise.
20877 (modules-names): Add modstatic3.
20878 (tststatic3-ENV, tststatic4-ENV): New variables.
20879 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20880 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20881
cbe7d24b
JM
208822013-06-26 Joseph Myers <joseph@codesourcery.com>
20883
20884 * configure.in (CC): Require GCC version 4.4 or later.
20885 * configure: Regenerated.
20886 * manual/install.texi (Tools for Compilation): Update GCC version
20887 requirement.
20888 * INSTALL: Regenerated.
20889
11b8a0e1
LD
208902013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20891
20892 [BZ #15674]
bb5bb87c
L
20893 * string/test-memcmp.c (check2): New.
20894 (main): Call check2.
20895
11b8a0e1
LD
20896 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20897
b0037103
MR
208982013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20899
20900 [BZ #15022]
20901 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20902 over to...
20903 (dl_open_worker) [!SHARED]: ... here.
20904
c18c701d
RA
209052013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20906
20907 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20908
1d17fa5f
RH
209092013-06-25 Richard Henderson <rth@redhat.com>
20910
20911 * locale/programs/locarchive.c: Include <libc-internal.h>
20912
8fcb833a
JM
209132013-06-25 Joseph Myers <joseph@codesourcery.com>
20914
20915 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20916 trailing whitespace removed.
20917
17db6e8d
MF
209182013-06-24 Mike Frysinger <vapier@gentoo.org>
20919
20920 [BZ #10283]
17db6e8d
MF
20921 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20922 * locale/programs/locarchive.c: Include libc-mmap.h.
20923 (prepare_address_space): Take two new outputs (the mmap base and len).
20924 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20925 values.
20926 (create_archive): Declare new mmap base and len values for
20927 prepare_address_space, and store the result in ah.
20928 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20929 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20930 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20931 Declare new mmap base and len values for
20932 prepare_address_space, and store the result in new_ah.
20933 (open_archive): Declare new mmap base and len values for
20934 prepare_address_space, and store the result in ah.
20935 (close_archive): If ah->mmap_base is not NULL, use that and
20936 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20937 * sysdeps/generic/libc-mmap.h: New file.
20938
d605071e
MF
209392013-06-24 Mike Frysinger <vapier@gentoo.org>
20940
20941 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20942 (ALIGN_UP): Likewise.
20943 (PTR_ALIGN_DOWN): Likewise.
20944 (PTR_ALIGN_UP): Likewise.
20945
2f063a6e
RA
209462013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20947
20948 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20949 entry mapped to PPC_PLATFORM_POWER8.
20950 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20951 POWER8.
20952 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20953 (_dl_string_platform): Add case for exporting platform position for
20954 POWER8.
20955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20956 search path to sysdeps/powerpc/powerpc32/power8 directory.
20957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20958 search path to sysdeps/powerpc/powerpc64/power8 directory.
20959 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20960 power7 directories.
20961 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20962 power7 directories.
20963
a31ee4b3
SP
209642013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20965
a74ca98f
SP
20966 * INSTALL: Regenerate.
20967
a31ee4b3
SP
20968 * nscd/connections.c (nscd_init): Fix comment.
20969
695c378f
JM
209702013-06-22 Joseph Myers <joseph@codesourcery.com>
20971
d8412221
JM
20972 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20973
695c378f
JM
20974 [BZ #15667]
20975 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20976 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20977
d1d54715
MR
209782013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20979
20980 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20981 DL_DST_REQ_STATIC.
20982 (DL_DST_REQ_STATIC): Remove macro.
20983
8fdda7af
JM
209842013-06-21 Joseph Myers <joseph@codesourcery.com>
20985
20986 [BZ #7006]
20987 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20988 with a shift of 0 bits.
20989
f3bc5e5a
MR
209902013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20991
20992 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20993 $(tststatic-ENV).
20994
be09e8c9
KK
209952013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20996
20997 [BZ #15655]
20998 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20999
85c2e611
AZ
210002013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21001
21002 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21003 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21004 accepts -fno-tree-loop-distribute-patterns.
21005 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21006 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21007 recursive call.
21008 * string/memset.c (memset): Likewise.
21009 * string/test-memmove.c (simple_memmove): Disable loop transformation
21010 to library calls.
21011 * string/test-memset.c (simple_memset): Likewise.
21012 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21013 * benchtests/bench-memset.c (simple_memset): Likewise.
21014 * configure: Regenerated.
21015
c91e0825
JM
210162013-06-20 Joseph Myers <joseph@codesourcery.com>
21017
b8c792af
JM
21018 * math/test-misc.c (main): Ignore fesetround failure when failures
21019 of subsequent rounding tests would be ignored.
21020
c91e0825
JM
21021 [BZ #15654]
21022 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21023 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21024 * math/fegetenv.c (__fegetenv): Return 0.
21025 * math/fegetexcept.c (fegetexcept): Return 0.
21026 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21027 FE_TONEAREST.
21028 * math/feholdexcpt.c (feholdexcept): Return 0.
21029 * math/fesetenv.c (__fesetenv): Return 0.
21030 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21031 argument FE_TONEAREST.
21032 * math/feupdateenv.c (__feupdateenv): Return 0.
21033 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21034
bfcacbde
RM
210352013-06-18 Roland McGrath <roland@hack.frob.com>
21036
21037 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21038 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21039 ($(objpfx)rtld-%.os rules): Use them.
21040
e55a9b25
AZ
210412013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21042
21043 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21044 fields.
21045
346d65b3
RM
210462013-06-17 Roland McGrath <roland@hack.frob.com>
21047
12086fb4
RM
21048 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21049 length of target pattern, then descending length of dependency pattern.
21050 * configure.in (AWK): Require gawk 3.1.2 or newer.
21051 * manual/install.texi (Tools for Compilation): Say that we do.
21052 * configure: Regenerated.
21053
346d65b3
RM
21054 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21055 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21056 * scripts/sysd-rules.awk: ... this new script.
21057 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21058 than a glob-style pattern.
21059
1a846317
JM
210602013-06-17 Joseph Myers <joseph@codesourcery.com>
21061
21062 * math/test-misc.c (main): Do not treat incorrectly rounded
21063 conversions as failure unless ROUNDING_TESTS passes.
21064
8fc75e6f
JM
210652013-06-15 Joseph Myers <joseph@codesourcery.com>
21066
3711a167
JM
21067 [BZ #15631]
21068 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21069 restore exception state around main square root computation, then
21070 check for inexactness explicitly.
21071
8fc75e6f
JM
21072 * math/libm-test.inc (fma_test_data): Add another test.
21073
61dd6208
SP
210742013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21075
adf23d2c
SP
21076 * manual/threads.texi (Non-POSIX Extensions): New document
21077 node. Document pthread_getattr_default_np and
21078 pthread_setattr_default_np.
21079
61dd6208
SP
21080 * Versions.def (libpthread): Add GLIBC_2.18.
21081 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21083 Likewise.
21084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21085 Likewise.
21086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21087 Likewise.
21088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21089 Likewise.
21090 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21091 Likewise.
21092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21093 Likewise.
21094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21095 Likewise.
21096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21097 Likewise.
21098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21099 Likewise.
21100
d086fc7b
LD
211012013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21102
21103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21104 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21105
747ef469
SP
211062013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21107 H.J. Lu <hjl.tools@gmail.com>
21108
21109 [BZ #15627]
21110 * sysdeps/x86_64/rtld-memset.c: Remove file.
21111 * sysdeps/x86_64/rtld-memset.S: New file.
21112
1b2feed2
JM
211132013-06-14 Joseph Myers <joseph@codesourcery.com>
21114
21115 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21116 (test_in_one_mode): Take arguments for whether the rounding mode
21117 is supported for each floating-point type.
21118 (do_test): Pass new arguments to test_in_one_mode using
21119 ROUNDING_TESTS.
21120
a58ad3f8
RM
211212013-06-13 Roland McGrath <roland@hack.frob.com>
21122
21123 * posix/tst-waitid.c (do_test): Distinguish different instances of
21124 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21125 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21126 before entering the kernel for waitpid.
21127
c204ab28
SP
211282013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21129
21130 * NEWS: Fix note on clock function precision. Text by Roland
21131 McGrath.
21132
f4a29fba
RM
211332013-06-13 Roland McGrath <roland@hack.frob.com>
21134
21135 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21136 it into place only when and if the sanity check passes.
21137
1f24b9ad
JM
211382013-06-13 Joseph Myers <joseph@codesourcery.com>
21139
21140 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21141 output for whether conversion result is exact. Take argument
21142 indicating whether type is IBM long double.
21143 (round_for_all): Change need_exact field to ibm_ld.
21144 * stdlib/tst-strtod-round.c (struct exactness): New type.
21145 (struct test): Change bool ld_ok field to struct exactness exact.
21146 (TEST): Update all definitions for change to field.
21147 (tests): Regenerate array contents.
21148 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21149 field value. Check for IBM long double here.
21150 (do_test): Update calls to test_in_one_mode.
21151
58206c68
SP
211522013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21153
21154 [BZ #12515]
21155 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21156 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21157
2d6f4c5b 211582013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21159
21160 [BZ #15605]
21161 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21162 generated by the compiler on loop optimizations.
21163 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21164 general definitions.
21165
94f2c076
JM
211662013-06-12 Joseph Myers <joseph@codesourcery.com>
21167
21168 * math/bug-nextafter.c: Include <math-tests.h>.
21169 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21170 the relevant type.
21171 * math/bug-nexttoward.c: Include <math-tests.h>.
21172 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21173 the relevant type.
21174 * math/test-misc.c: Include <math-tests.h>.
21175 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21176 the relevant type.
21177
e0e50a0a
AJ
211782013-06-12 Andreas Jaeger <aj@suse.de>
21179
21180 * po/ia.po: Update Interlingua translation from translation
21181 project.
21182
25061094
SP
211832013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21184
21185 * include/fenv.h: Include stdbool.h.
21186 (struct rm_ctx): New structure.
21187 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21188 Define macro.
21189 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21190 (SET_RESTORE_ROUNDF): Likewise.
21191 (SET_RESTORE_ROUNDL): Likewise.
21192 (SET_RESTORE_ROUND_NOEX): Likewise.
21193 (SET_RESTORE_ROUND_NOEXF): Likewise.
21194 (SET_RESTORE_ROUND_NOEXL): Likewise.
21195 (SET_RESTORE_ROUND_53BIT): Likewise.
21196 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21197 (libc_feresetround_noexf_ctx): Likewise.
21198 (libc_feresetround_noexl_ctx): Likewise.
21199 (libc_feholdsetround_53bit_ctx): Likewise.
21200 (libc_feresetround_53bit_ctx): Likewise.
21201 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21202 (libc_feholdexcept_setround_sse_ctx): New function.
21203 (libc_fesetenv_sse_ctx): Likewise.
21204 (libc_feupdateenv_sse_ctx): Likewise.
21205 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21206 (libc_feholdexcept_setround_387_ctx): Likewise.
21207 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21208 (libc_feholdsetround_387_prec_ctx): Likewise.
21209 (libc_feholdsetround_387_ctx): Likewise.
21210 (libc_feholdsetround_387_53bit_ctx): Likewise.
21211 (libc_feholdsetround_sse_ctx): Likewise.
21212 (libc_feresetround_sse_ctx): Likewise.
21213 (libc_feresetround_387_ctx): Likewise.
21214 (libc_feupdateenv_387_ctx): Likewise.
21215 (libc_feholdexcept_setroundf_ctx): Define macro.
21216 (libc_fesetenvf_ctx): Likewise.
21217 (libc_feupdateenvf_ctx): Likewise.
21218 (libc_feholdsetroundf_ctx): Likewise.
21219 (libc_feresetroundf_ctx): Likewise.
21220 (libc_feholdexcept_setround_ctx): Likewise.
21221 (libc_fesetenv_ctx): Likewise.
21222 (libc_feupdateenv_ctx): Likewise.
21223 (libc_feholdsetround_ctx): Likewise.
21224 (libc_feresetround_ctx): Likewise.
21225 (libc_feholdexcept_setroundl_ctx): Likewise.
21226 (libc_feupdateenvl_ctx): Likewise.
21227 (libc_feholdsetroundl_ctx): Likewise.
21228 (libc_feresetroundl_ctx): Likewise.
21229 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21230 (libc_feresetround_53bit_ctx): Likewise.
21231
59b30555
SP
212322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21233
21234 * locale/iso-639.def: Convert to UTF-8.
21235
f1d73d30
JM
212362013-06-11 Joseph Myers <joseph@codesourcery.com>
21237
21238 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21239 (EXCEPTION_TESTS_double): Likewise.
21240 (EXCEPTION_TESTS_long_double): Likewise.
21241 (EXCEPTION_TESTS): Likewise.
21242 * math/libm-test.inc (test_exceptions): Only test exceptions if
21243 EXCEPTION_TESTS (FLOAT).
21244
94aca5e7
SP
212452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21246
21247 * benchtests/Makefile (string-bench): Add strcpy_chk and
21248 stpcpy_chk.
21249 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21250 * benchtests/bench-stpcpy_chk.c: New file.
21251 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21252 * benchtests/bench-strcpy_chk.c: New file.
21253 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21254 code.
21255 (do_test): Likewise.
21256
fac0c5f2
RA
212572013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21258
21259 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21260 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21261 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21262 with tabs where appropriate.
21263 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21264 dl-procinfo.h.
21265 [PPC_PLATFORM_PPC440]: Likewise.
21266 [PPC_PLATFORM_PPC464]: Likewise.
21267 [PPC_PLATFORM_PPC476]: Likewise.
21268 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21269 ppc464, and ppc476 platform strings merging from ports/
21270 dl-procinfo.h.
21271
f22bc486
AS
212722013-06-11 Andreas Schwab <schwab@suse.de>
21273
21274 [BZ #14991]
21275 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21276 (from_ucs4_idx): Regenerate.
21277 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21278 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21279 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21280 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21281 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21282 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21283 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21284 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21285 from FROM_LOOP and TO_LOOP specific macros.
21286 (BODY): Handle combining characters.
21287 * iconvdata/BIG5HKSCS.irreversible: Update.
21288 * iconvdata/BIG5HKSCS.precomposed: New file.
21289 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21290 characters.
21291 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21292
c1f75dc3
SP
212932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21294
4eacded2
SP
21295 * include/sys/time.h: Fix indentation and add copyright header.
21296
fec799f8
SP
21297 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21298 (do_test): Likewise.
21299 * string/test-memchr.c (do_one_test): Likewise.
21300 (do_test): Likewise.
21301 * string/test-memcmp.c (do_one_test): Likewise.
21302 (do_test): Likewise.
21303 * string/test-memcpy.c (do_one_test): Likewise.
21304 (do_test): Likewise.
21305 * string/test-memmem.c (do_one_test): Likewise.
21306 (do_test): Likewise.
21307 (do_random_tests): Likewise.
21308 * string/test-memmove.c (do_one_test): Likewise.
21309 (do_test): Likewise.
21310 * string/test-memset.c (do_one_test): Likewise.
21311 (do_test): Likewise.
21312 * string/test-rawmemchr.c (do_one_test): Likewise.
21313 (do_test): Likewise.
21314 * string/test-strcasecmp.c (do_one_test): Likewise.
21315 (do_test): Likewise.
21316 * string/test-strcasestr.c (do_one_test): Likewise.
21317 (do_test): Likewise.
21318 * string/test-strcat.c (do_one_test): Likewise.
21319 (do_test): Likewise.
21320 * string/test-strchr.c (do_one_test): Likewise.
21321 (do_test): Likewise.
21322 * string/test-strcmp.c (do_one_test): Likewise.
21323 (do_test): Likewise.
21324 * string/test-strcpy.c (do_one_test): Likewise.
21325 (do_test): Likewise.
21326 * string/test-string.h: Likewise.
21327 (test_init): Likewise.
21328 * string/test-strlen.c (do_one_test): Likewise.
21329 (do_test): Likewise.
21330 * string/test-strncasecmp.c (do_one_test): Likewise.
21331 (do_test): Likewise.
21332 * string/test-strncat.c (do_one_test): Likewise.
21333 (do_test): Likewise.
21334 * string/test-strncmp.c (do_one_test): Likewise.
21335 (do_test_limit): Likewise.
21336 (do_test): Likewise.
21337 * string/test-strncpy.c (do_one_test): Likewise.
21338 (do_test): Likewise.
21339 * string/test-strnlen.c (do_one_test): Likewise.
21340 (do_test): Likewise.
21341 * string/test-strpbrk.c (do_one_test): Likewise.
21342 (do_test): Likewise.
21343 * string/test-strrchr.c (do_one_test): Likewise.
21344 (do_test): Likewise.
21345 * string/test-strspn.c (do_one_test): Likewise.
21346 (do_test): Likewise.
21347 * string/test-strstr.c (do_one_test): Likewise.
21348 (do_test): Likewise.
21349
97020474
SP
21350 * benchtests/Makefile (string-bench): Add string benchmarks.
21351 * benchtests/bench-bcopy-ifunc.c: New file.
21352 * benchtests/bench-bcopy.c: New file.
21353 * benchtests/bench-bzero-ifunc.c: New file.
21354 * benchtests/bench-bzero.c: New file.
21355 * benchtests/bench-memccpy-ifunc.c: New file.
21356 * benchtests/bench-memccpy.c: New file.
21357 * benchtests/bench-memchr-ifunc.c: New file.
21358 * benchtests/bench-memchr.c: New file.
21359 * benchtests/bench-memcmp-ifunc.c: New file.
21360 * benchtests/bench-memcmp.c: New file.
21361 * benchtests/bench-memmem-ifunc.c: New file.
21362 * benchtests/bench-memmem.c: New file.
21363 * benchtests/bench-memmove-ifunc.c: New file.
21364 * benchtests/bench-memmove.c: New file.
21365 * benchtests/bench-mempcpy-ifunc.c: New file.
21366 * benchtests/bench-mempcpy.c: New file.
21367 * benchtests/bench-memset-ifunc.c: New file.
21368 * benchtests/bench-memset.c: New file.
21369 * benchtests/bench-rawmemchr-ifunc.c: New file.
21370 * benchtests/bench-rawmemchr.c: New file.
21371 * benchtests/bench-stpcpy-ifunc.c: New file.
21372 * benchtests/bench-stpcpy.c: New file.
21373 * benchtests/bench-stpncpy-ifunc.c: New file.
21374 * benchtests/bench-stpncpy.c: New file.
21375 * benchtests/bench-strcasecmp-ifunc.c: New file.
21376 * benchtests/bench-strcasecmp.c: New file.
21377 * benchtests/bench-strcasestr-ifunc.c: New file.
21378 * benchtests/bench-strcasestr.c: New file.
21379 * benchtests/bench-strcat-ifunc.c: New file.
21380 * benchtests/bench-strcat.c: New file.
21381 * benchtests/bench-strchr-ifunc.c: New file.
21382 * benchtests/bench-strchr.c: New file.
21383 * benchtests/bench-strchrnul-ifunc.c: New file.
21384 * benchtests/bench-strchrnul.c: New file.
21385 * benchtests/bench-strcmp-ifunc.c: New file.
21386 * benchtests/bench-strcmp.c: New file.
21387 * benchtests/bench-strcpy-ifunc.c: New file.
21388 * benchtests/bench-strcpy.c: New file.
21389 * benchtests/bench-strcspn-ifunc.c: New file.
21390 * benchtests/bench-strcspn.c: New file.
21391 * benchtests/bench-strlen-ifunc.c: New file.
21392 * benchtests/bench-strlen.c: New file.
21393 * benchtests/bench-strncasecmp-ifunc.c: New file.
21394 * benchtests/bench-strncasecmp.c: New file.
21395 * benchtests/bench-strncat-ifunc.c: New file.
21396 * benchtests/bench-strncat.c: New file.
21397 * benchtests/bench-strncmp-ifunc.c: New file.
21398 * benchtests/bench-strncmp.c: New file.
21399 * benchtests/bench-strncpy-ifunc.c: New file.
21400 * benchtests/bench-strncpy.c: New file.
21401 * benchtests/bench-strnlen-ifunc.c: New file.
21402 * benchtests/bench-strnlen.c: New file.
21403 * benchtests/bench-strpbrk-ifunc.c: New file.
21404 * benchtests/bench-strpbrk.c: New file.
21405 * benchtests/bench-strrchr-ifunc.c: New file.
21406 * benchtests/bench-strrchr.c: New file.
21407 * benchtests/bench-strspn-ifunc.c: New file.
21408 * benchtests/bench-strspn.c: New file.
21409 * benchtests/bench-strstr-ifunc.c: New file.
21410 * benchtests/bench-strstr.c: New file.
21411
c1f75dc3
SP
21412 * benchtests/Makefile: Disable parallel execution of targets.
21413 (string-bench): Add memcpy.
21414 (benchset): New variable to store a list of benchmark sets.
21415 (bench-func): Renamed from bench.
21416 (bench-set): New target.
21417 (bench): Depend on bench-func and bench-set.
21418 * benchtests/README: Add section on benchmark sets.
21419 * benchtests/bench-memcpy-ifunc.c: New file.
21420 * benchtests/bench-memcpy.c: New file.
21421 * benchtests/bench-string.h: New file.
21422
50fd745b
AS
214232013-06-11 Andreas Schwab <schwab@suse.de>
21424
21425 [BZ #15577]
21426 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21427 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21428 values in the triple.
21429 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21430 terminator in the group key.
21431
3ee7e9fe
AJ
214322013-06-11 Andreas Jaeger <aj@suse.de>
21433
21434 * po/zh_TW.po: Update Chinese (traditional) translation from
21435 translation project.
21436
89fb6835
SP
214372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21438
21439 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21440 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21441 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21442 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21443 (clock_getcpuclockid): Likewise.
21444 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21445 Add weak_alias and libc_hidden_def.
21446 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21447 * rt/clock_gettime.c (clock_gettime): Rename to
21448 __clock_gettime. Add weak_alias and libc_hidden_def.
21449 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21450 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21451 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21452 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21453 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21454 Likewise.
21455 * rt/clock_settime.c (clock_settime): Rename to
21456 __clock_settime. Add weak_alias and libc_hidden_def.
21457 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21458
0efa6f8b
JM
214592013-06-10 Joseph Myers <joseph@codesourcery.com>
21460
b8c61b4b
JM
21461 * mach/err_boot.sub: Remove trailing whitespace.
21462 * mach/err_ipc.sub: Likewise.
21463 * mach/err_mach.sub: Likewise.
21464
0efa6f8b
JM
21465 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21466 (ROUNDING_TESTS_double): Likewise.
21467 (ROUNDING_TESTS_long_double): Likewise.
21468 (ROUNDING_TESTS): Likewise.
21469 * math/libm-test.inc: Include <math-tests.h>.
21470 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21471 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21472 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21473 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21474
50b818bf
SP
214752013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21476
21477 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21478 of assigning.
21479
60d2f8f3
JM
214802013-06-08 Joseph Myers <joseph@codesourcery.com>
21481
4902d2c3
JM
21482 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21483 otherwise empty TRANS lines.
21484 * sysdeps/gnu/errlist.c: Regenerated.
21485
60d2f8f3
JM
21486 * catgets/gencat.c (error_print): Use (void) in function
21487 definition.
21488 * crypt/crypt_util.c (__init_des): Likewise.
21489 * crypt/speeds.c (Stop): Likewise.
21490 (main): Likewise.
21491 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21492 * inet/ruserpass.c (token): Likewise.
21493 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21494 * intl/localealias.c (extend_alias_table): Likewise.
21495 * intl/plural-exp.c (init_germanic_plural): Likewise.
21496 * libio/fcloseall.c (__fcloseall): Likewise.
21497 * libio/genops.c (_IO_flush_all): Likewise.
21498 (_IO_flush_all_linebuffered): Likewise.
21499 (_IO_cleanup): Likewise.
21500 (_IO_iter_begin): Likewise.
21501 (_IO_iter_end): Likewise.
21502 (_IO_list_lock): Likewise.
21503 (_IO_list_unlock): Likewise.
21504 (_IO_list_resetlock): Likewise.
21505 * libio/getchar.c (getchar): Likewise.
21506 * libio/getchar_u.c (getchar_unlocked): Likewise.
21507 * libio/getwchar.c (getwchar): Likewise.
21508 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21509 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21510 * login/getpt.c (__getpt): Likewise.
21511 * login/tst-utmp.c (main): Likewise.
21512 * malloc/hooks.c (__malloc_check_init): Likewise.
21513 * malloc/malloc.c (__malloc_stats): Likewise.
21514 * malloc/mtrace.c (tr_break): Likewise.
21515 (mtrace): Likewise.
21516 (muntrace): Likewise.
21517 * misc/fstab.c (endfsent): Likewise.
21518 * misc/getclktck.c (__getclktck): Likewise.
21519 * misc/getdtsz.c (__getdtablesize): Likewise.
21520 * misc/gethostid.c (gethostid): Likewise.
21521 * misc/getpagesize.c (__getpagesize): Likewise.
21522 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21523 (__get_nprocs): Likewise.
21524 (__get_phys_pages): Likewise.
21525 (__get_avphys_pages): Likewise.
21526 * misc/getttyent.c (getttyent): Likewise.
21527 (setttyent): Likewise.
21528 (endttyent): Likewise.
21529 * misc/getusershell.c (getusershell): Likewise.
21530 (endusershell): Likewise.
21531 (setusershell): Likewise.
21532 (initshells): Likewise.
21533 * misc/hsearch.c (__hdestroy): Likewise.
21534 * misc/sync.c (sync): Likewise.
21535 * misc/syslog.c (closelog_internal): Likewise.
21536 (closelog): Likewise.
21537 * misc/ttyslot.c (ttyslot): Likewise.
21538 * misc/vhangup.c (vhangup): Likewise.
21539 * posix/fork.c (__fork): Likewise.
21540 * posix/getegid.c (__getegid): Likewise.
21541 * posix/geteuid.c (__geteuid): Likewise.
21542 * posix/getgid.c (__getgid): Likewise.
21543 * posix/getpid.c (__getpid): Likewise.
21544 * posix/getppid.c (__getppid): Likewise.
21545 * posix/getuid.c (__getuid): Likewise.
21546 * posix/pause.c (pause): Likewise.
21547 * posix/setpgrp.c (setpgrp): Likewise.
21548 * posix/setsid.c (__setsid): Likewise.
21549 * posix/test-vfork.c (noop): Likewise.
21550 * resolv/gethnamaddr.c (_endhtent): Likewise.
21551 (_gethtent): Likewise.
21552 (ht_endhostent): Likewise.
21553 (gethostent): Likewise.
21554 (dns_service): Likewise.
21555 * stdlib/drand48.c (drand48): Likewise.
21556 * stdlib/lrand48.c (lrand48): Likewise.
21557 * stdlib/mrand48.c (mrand48): Likewise.
21558 * stdlib/rand.c (rand): Likewise.
21559 * stdlib/random.c (__random): Likewise.
21560 * stdlib/setenv.c (clearenv): Likewise.
21561 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21562 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21563 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21564 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21565 (__get_nprocs): Likewise.
21566 (__get_phys_pages): Likewise.
21567 (__get_avphys_pages): Likewise.
21568 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21569 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21570 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21571 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21572 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21573 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21574 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21575 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21576 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21577 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21578 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21579 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21580 * sysdeps/posix/clock.c (clock): Likewise.
21581 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21582 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21583 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21584 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21585 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21586 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21587 (__get_nprocs_conf): Likewise.
21588 (__get_phys_pages): Likewise.
21589 (__get_avphys_pages): Likewise.
21590 * time/clock.c (clock): Likewise.
21591 * time/tzset.c (__tzname_max): Likewise.
21592
2e09a79a
JM
215932013-06-07 Joseph Myers <joseph@codesourcery.com>
21594
21595 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21596 (__bswap_32): Do not use "register".
21597 * crypt/crypt.c (_ufc_doit_r): Likewise.
21598 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21599 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21600 * gmon/gmon.c (__monstartup): Likewise.
21601 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21602 * hurd/hurdmalloc.c (more_memory): Likewise.
21603 (malloc): Likewise.
21604 (free): Likewise.
21605 (realloc): Likewise.
21606 (malloc_fork_prepare): Likewise.
21607 (malloc_fork_parent): Likewise.
21608 (malloc_fork_child): Likewise.
21609 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21610 (_svcauth_des): Likewise.
21611 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21612 * inet/inet_net.c (inet_network): Likewise.
21613 * inet/inet_netof.c (inet_netof): Likewise.
21614 * inet/rcmd.c (__validuser2_sa): Likewise.
21615 * io/fts.c (fts_open): Likewise.
21616 (fts_load): Likewise.
21617 (fts_close): Likewise.
21618 (fts_read): Likewise.
21619 (fts_children): Likewise.
21620 (fts_build): Likewise.
21621 (fts_stat): Likewise.
21622 (fts_sort): Likewise.
21623 (fts_alloc): Likewise.
21624 (fts_lfree): Likewise.
21625 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21626 (_IO_file_xsgetn): Likewise.
21627 (_IO_file_xsgetn_mmap): Likewise.
21628 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21629 (_IO_cookie_write): Likewise.
21630 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21631 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21632 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21633 * malloc/obstack.c (_obstack_begin): Likewise.
21634 (_obstack_begin_1): Likewise.
21635 (_obstack_newchunk): Likewise.
21636 (_obstack_allocated_p): Likewise.
21637 (obstack_free): Likewise.
21638 (_obstack_memory_used): Likewise.
21639 * misc/getttyent.c (getttynam): Likewise.
21640 (getttyent): Likewise.
21641 (skip): Likewise.
21642 (value): Likewise.
21643 * misc/getusershell.c (initshells): Likewise.
21644 * misc/syslog.c (__vsyslog_chk): Likewise.
21645 * misc/ttyslot.c (ttyslot): Likewise.
21646 * nis/nis_hash.c (__nis_hash): Likewise.
21647 * posix/fnmatch_loop.c (FCT): Likewise.
21648 * posix/getconf.c (print_all): Likewise.
21649 (main): Likewise.
21650 * posix/getopt.c (exchange): Likewise.
21651 * posix/glob.c (globfree): Likewise.
21652 (prefix_array): Likewise.
21653 (__glob_pattern_type): Likewise.
21654 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21655 (NS_GET32): Likewise.
21656 (NS_PUT16): Likewise.
21657 (NS_PUT32): Likewise.
21658 * resolv/gethnamaddr.c (getanswer): Likewise.
21659 (gethostbyname2): Likewise.
21660 (gethostbyaddr): Likewise.
21661 (_gethtent): Likewise.
21662 (_gethtbyname2): Likewise.
21663 (_gethtbyaddr): Likewise.
21664 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21665 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21666 * resolv/res_init.c (__res_vinit): Likewise.
21667 (net_mask): Likewise.
21668 * resolv/res_mkquery.c (outchar): Likewise.
21669 (PRINT): Likewise.
21670 * stdio-common/printf_fp.c (outchar): Likewise.
21671 (PRINT): Likewise.
21672 * stdio-common/printf_fphex.c (outchar): Likewise.
21673 (PRINT): Likewise.
21674 * stdio-common/printf_size.c (outchar): Likewise.
21675 (PRINT): Likewise.
21676 * stdio-common/test_rdwr.c (main): Likewise.
21677 * stdio-common/tfformat.c (matches): Likewise.
21678 * stdio-common/vfprintf.c (outchar): Likewise.
21679 (printf_unknown): Likewise.
21680 (buffered_vfprintf): Likewise.
21681 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21682 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21683 (ReadFile): Likewise.
21684 * stdlib/qsort.c (SWAP): Likewise.
21685 (_quicksort): Likewise.
21686 * stdlib/setenv.c (__add_to_environ): Likewise.
21687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21688 * stdlib/strtol_l.c (__strtol_l): Likewise.
21689 * stdlib/tst-strtod.c (main): Likewise.
21690 * stdlib/tst-strtol.c (main): Likewise.
21691 * stdlib/tst-strtoll.c (main): Likewise.
21692 * string/bits/string2.h (__strcmp_cc): Likewise.
21693 (__strcmp_cg): Likewise.
21694 (__strcspn_c1): Likewise.
21695 (__strcspn_c2): Likewise.
21696 (__strcspn_c3): Likewise.
21697 (__strspn_c1): Likewise.
21698 (__strspn_c2): Likewise.
21699 (__strspn_c3): Likewise.
21700 (__strsep_1c): Likewise.
21701 (__strsep_2c): Likewise.
21702 (__strsep_3c): Likewise.
21703 * string/memccpy.c (__memccpy): Likewise.
21704 * string/stpcpy.c (__stpcpy): Likewise.
21705 * string/strcmp.c (strcmp): Likewise.
21706 * string/strrchr.c (strrchr): Likewise.
21707 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21708 Likewise.
21709 * sysdeps/mach/hurd/getcwd.c
21710 (_hurd_canonicalize_directory_name_internal): Likewise.
21711 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21712 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21713 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21714 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21715 Likewise, in both definitions.
21716 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21717 definitions.
21718 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21719 64] (__bswap_64): Likewise.
21720 * time/test_time.c (main): Likewise.
21721 * time/tzfile.c (__tzfile_read): Likewise.
21722 (__tzfile_compute): Likewise.
21723 * time/tzset.c (__tzset_parse_tz): Likewise.
21724 (tzset_internal): Likewise.
21725 (compute_change): Likewise.
21726 * wcsmbs/wcscat.c (__wcscat): Likewise.
21727 * wcsmbs/wcschr.c (wcschr): Likewise.
21728 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21729 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21730 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21731 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21732 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21733 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21734 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21735 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21736 * wcsmbs/wmemset.c (wmemset): Likewise.
21737
9e54314b
JM
217382013-06-06 Joseph Myers <joseph@codesourcery.com>
21739
21740 * scripts/config.guess: Update to version 2013-05-16.
21741 * scripts/config.sub: Update to version 2013-04-24.
21742 * scripts/install-sh: Update to version 2011-11-20.07.
21743 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21744 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21745
350635a5
OB
217462013-06-06 Ondřej Bílka <neleai@seznam.cz>
21747
21748 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21749 * elf/sln.c: Likewise.
21750 * hurd/hurd/ioctl.h: Likewise.
21751 * hurd/hurdmalloc.c: Likewise.
21752 * hurd/xattr.c: Likewise.
21753 * include/shlib-compat.h: Likewise.
21754 * inet/ruserpass.c: Likewise.
21755 * libio/iofgets_u.c: Likewise.
21756 * libio/iofgetws_u.c: Likewise.
21757 * locale/programs/ld-identification.c: Likewise.
21758 * locale/programs/ld-time.c: Likewise.
21759 * mach/msg-destroy.c: Likewise.
21760 * nss/nss_files/files-netgrp.c: Likewise.
21761 * resolv/res_data.c: Likewise.
21762 * soft-fp/op-1.h: Likewise.
21763 * soft-fp/op-2.h: Likewise.
21764 * soft-fp/op-4.h: Likewise.
21765 * soft-fp/op-common.h: Likewise.
21766 * stdio-common/printf_fphex.c: Likewise.
21767 * stdlib/strtod_l.c: Likewise.
21768 * sunrpc/rpc/clnt.h: Likewise.
21769 * sysdeps/generic/framestate.c: Likewise.
21770 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21771 * sysdeps/i386/bsd-setjmp.S: Likewise.
21772 * sysdeps/i386/__longjmp.S: Likewise.
21773 * sysdeps/i386/setjmp.S: Likewise.
21774 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21775 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21779 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21781 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21784 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21787 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21792 * sysdeps/ieee754/support.c: Likewise.
21793 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21794 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21795 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21796 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21797 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21798 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21799 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21800 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21801 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21802 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21803 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21804 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21805 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21806 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21807 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21808 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21809 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21811
44a988af
OB
218122013-06-05 Ondřej Bílka <neleai@seznam.cz>
21813
25506f09 21814 * posix/transbug.c: Remove executable mode.
44a988af 21815
9c84384c
JM
218162013-06-05 Joseph Myers <joseph@codesourcery.com>
21817
21818 * crypt/speeds.c: Remove trailing whitespace.
21819 * dlfcn/default.c: Likewise.
21820 * elf/ifuncdep2.c: Likewise.
21821 * elf/ifuncmain1.c: Likewise.
21822 * elf/ifuncmain1vis.c: Likewise.
21823 * elf/testobj.h: Likewise.
21824 * elf/tst-stackguard1.c: Likewise.
21825 * gmon/sys/gmon.h: Likewise.
21826 * hurd/hurdmsg.c: Likewise.
21827 * hurd/new-fd.c: Likewise.
21828 * hurd/ports-get.c: Likewise.
21829 * iconvdata/ibm1008_420.c: Likewise.
21830 * inet/tst-getni1.c: Likewise.
21831 * inet/tst-getni2.c: Likewise.
21832 * libio/ioungetc.c: Likewise.
21833 * libio/wfiledoalloc.c: Likewise.
21834 * manual/libm-err-tab.pl: Likewise.
21835 * math/w_dremf.c: Likewise.
21836 * misc/ftruncate.c: Likewise.
21837 * posix/bug-glob2.c: Likewise.
21838 * posix/tst-pcre.c: Likewise.
21839 * posix/wait4.c: Likewise.
21840 * resolv/README: Likewise.
21841 * resolv/res_debug.h: Likewise.
21842 * resolv/tst-inet_ntop.c: Likewise.
21843 * setjmp/bug269-setjmp.c: Likewise.
21844 * soft-fp/extended.h: Likewise.
21845 * soft-fp/op-1.h: Likewise.
21846 * soft-fp/op-2.h: Likewise.
21847 * soft-fp/op-4.h: Likewise.
21848 * soft-fp/op-8.h: Likewise.
21849 * soft-fp/testit.c: Likewise.
21850 * stdio-common/bug16.c: Likewise.
21851 * stdlib/random.c: Likewise.
21852 * sunrpc/rpcsvc/rquota.x: Likewise.
21853 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21854 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21855 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21856 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21857 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21858 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21859 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21860 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21861 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21862 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21863 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21864 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21865 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21866 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21867 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21868 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21869 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21871 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21874 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21875 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21876 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21877 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21878 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21880 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21881 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21882 * sysdeps/ieee754/s_lib_version.c: Likewise.
21883 * sysdeps/mach/hurd/check_fds.c: Likewise.
21884 * sysdeps/mach/hurd/getsockname.c: Likewise.
21885 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21886 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21887 * sysdeps/powerpc/bits/link.h: Likewise.
21888 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21889 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21890 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21891 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21892 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21893 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21894 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21895 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21896 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21897 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21898 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21899 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21900 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21901 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21902 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21903 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21904 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21905 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21906 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21907 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21908 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21909 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21910 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21911 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21912 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21913 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21914 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21915 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21916 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21917 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21918 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21920 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21921 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21922 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21923 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21924 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21925 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21926 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21927 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21928 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21929 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21930 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21931 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21932 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21933 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21934 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21935 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21936 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21937 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21938 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21939 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21940 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21941 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21942 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21943 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21944 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21945 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21946 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21947 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21948 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21949 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21950 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21951 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21952 * sysdeps/powerpc/sysdep.h: Likewise.
21953 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21954 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21955 * sysdeps/sh/dl-trampoline.S: Likewise.
21956 * sysdeps/sh/memset.S: Likewise.
21957 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21958 * sysdeps/sh/strlen.S: Likewise.
21959 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21960 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21961 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21962 * sysdeps/sparc/sparc32/rem.S: Likewise.
21963 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21964 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21965 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21966 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21967 * sysdeps/sparc/sparc32/urem.S: Likewise.
21968 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21969 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21970 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21971 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21972 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21973 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21974 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21975 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21976 * sysdeps/unix/bsd/times.c: Likewise.
21977 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21978 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21982 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21983 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21984 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21985 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21986 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21987 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21988 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21989 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21990 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21991 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21992 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21993 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21994 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21995 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21996 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21997 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21998 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21999 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22000 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22001 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22002 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22003 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22004 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22005 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22006 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22007 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22008 * sysdeps/x86_64/strcspn.S: Likewise.
22009
869378a5
RA
220102013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22011
22012 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22013 generated file. Regenerate properly from gen-translit.pl.
22014 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22015 locale/C-translit.h.
22016
840e2943
AS
220172013-06-05 Andreas Schwab <schwab@suse.de>
22018
22019 [BZ #15100]
22020 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22021 week as 6 instead of -1.
22022 * time/tst-strptime.c (day_tests): Add test case.
22023
4c60cb0c
SP
220242013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22025
22026 * sysdeps/generic/math_private.h
22027 (libc_feholdexcept_setround_53bit): Replace with
22028 libc_feholdsetround_53bit.
22029 (libc_feupdateenv_53bit): Replace with
22030 libc_feresetround_53bit.
22031 (SET_RESTORE_ROUND_53BIT): Adjust.
22032
d180203e
SP
220332013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22034
96df079a
SP
22035 * string/test-strchrnul.c: Add copyright header.
22036
d180203e
SP
22037 * posix/tst-getaddrinfo4.c: Increase test timeout.
22038
8b0ccb2d
CD
220392013-06-03 Carlos O'Donell <carlos@redhat.com>
22040
22041 [BZ #15536]
22042 * math/libm-test.inc (MAX_EXP): Remove
22043 (MIN_EXP): Define.
22044 (ulp): Use MIN_EXP - MANT_DIG.
22045 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22046
3b3c4d40
CD
220472013-05-31 Carlos O'Donell <carlos@redhat.com>
22048
22049 * po/be.po: Revert last change.
22050 * po/zh_CN.po: Likewise.
22051 * po/header.pot: Likewise.
22052
fab7ce3f
JM
220532013-05-31 Joseph Myers <joseph@codesourcery.com>
22054
22055 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22056 link-libc-deps to empty as target-specific variable.
22057 * Makerules (link-libc-args): New variable.
22058 (libc-for-link): Likewise.
22059 (link-libc-deps): Likewise.
22060 (lib%.so): Depend on $(link-libc-deps). Link with
22061 $(link-libc-args).
22062 (build-module): Link with $(link-libc-args).
22063 (build-module-asneeded): Likewise.
22064 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22065 list of objects.
22066 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22067 target-specific variable.
22068 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22069 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22070 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22071 libc.
22072 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22073 libc and ld.so.
22074 ($(objpfx)libpcprofile.so): Likewise.
22075 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22076 libc_nonshared.a.
22077 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22078 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22079 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22080 $(link-libc-deps).
22081 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22082 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22083 * login/Makefile ($(objpfx)libutil.so): Likewise.
22084 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22085 * math/Makefile ($(objpfx)libm.so): Likewise.
22086 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22087 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22088 variable instead of depending directly on libc.
22089 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22090 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22091 $(link-libc-deps).
22092 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22093 libc.
22094 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22095 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22096 ($(objpfx)libanl.so): Likewise.
22097 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22098 ld.so.
22099 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22100 $(link-libc-deps).
22101 * sysdeps/i386/fpu/Makefile: Remove file.
22102 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22103 ($(objpfx)libm.so): Remove dependency on ld.so.
22104
eca5920c
PF
221052013-05-30 Patsy Franklin <pfrankli@redhat.com>
22106
22107 [BZ # 15553]
22108 * nis/yp_xdr.c (XDRMAXNAME): Define.
22109 (XDRMAXRECORD): Define.
22110 (xdr_domainname): Use XDRMAXNAME.
22111 (xdr_mapname): Likewise.
22112 (xdr_peername): Likewise.
22113 (xdr_keydat): Use XDRMAXRECORD.
22114 (xdr_valdat): Likewise.
22115
221162013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22117
22118 [BZ #14256]
22119 * manual/errno.texi (ESTALE): Update to account for more than
22120 just NFS file systems.
22121 * sysdeps/gnu/errlist.c: Regenerated.
22122
b9375348
SP
221232013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22124
22125 [BZ #15465]
22126 * elf/Makefile (tests): Add tst-null-argv.
22127 (modules-names): Add tst-null-argv-lib.
22128 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22129 (tst-null-argv-ENV): Set environment for tst-null-argv.
22130 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22131 (RTLD_PROGNAME): New macro.
22132 * elf/tst-null-argv.c: New test case.
22133 * elf/tst-null-argv-lib.c: Library for test case.
22134 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22135 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22136 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22137 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22138 * elf/dl-init.c (call_init): Likewise.
22139 (_dl_init): Likewise.
22140 * elf/dl-load.c (print_search_path): Likewise.
22141 (_dl_map_object): Likewise.
22142 * elf/dl-lookup.c (do_lookup_x): Likewise.
22143 (add_dependency): Likewise.
22144 (_dl_lookup_symbol_x): Likewise.
22145 (_dl_debug_bindings): Likewise.
22146 * elf/dl-open.c (_dl_show_scope): Likewise.
22147 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22148 * elf/dl-version.c (match_symbol): Likewise.
22149 (_dl_check_map_versions): Likewise.
22150 * elf/rtld.c (dl_main): Likewise.
22151 (print_unresolved): Use RTLD_PROGNAME.
22152 (print_missing_version): Likewise.
22153 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22154 (elf_machine_rela): Likewise.
22155 * sysdeps/powerpc/powerpc32/dl-machine.c
22156 (__process_machine_rela): Likewise.
22157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22158 Likewise.
22159 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22160 Likewise.
22161 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22162 Likewise.
22163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22165 Likewise.
22166 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22167 Likewise.
22168 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22169
8a9f20c8
CD
221702013-05-28 Carlos O'Donell <carlos@redhat.com>
22171
22172 * po/be.po: Add descriptive title.
22173 * po/zh_CN.po: Likewise.
22174 * po/header.pot: Likewise.
22175
0e60d68e
MF
221762013-05-28 Mike Frysinger <vapier@gentoo.org>
22177
22178 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22179 error message.
22180 (enlarge_archive): Likewise.
22181
56b672e9
BN
221822013-05-28 Ben North <ben@redfrontdoor.org>
22183
22184 * manual/arith.texi (frexp): It is the magnitude of the return
22185 value which lies in [0.5, 1), not the return value itself.
22186
5e056687
AZ
221872013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22188
22189 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22190
2b66ef5d
TS
221912013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22192
528c2405
TS
22193 * stdio-common/bug26.c (main): Correct fscanf template.
22194
07b4c13d
TS
22195 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22196 declare _dl_skip_args.
22197
ec9dd97c
TS
22198 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22199 Don't declare.
22200
2b66ef5d
TS
22201 * manual/platform.texi: Add missing @end deftypefun.
22202
4f8dfe27
JM
222032013-05-24 Joseph Myers <joseph@codesourcery.com>
22204
0323d086
JM
22205 [BZ #15529]
22206 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22207 bit of mantissa of 2^16382.
22208 * math/libm-test.inc (hypot_test_data): Add more tests.
22209
dd4259b9
JM
22210 * math/libm-test.inc: Add drem and pow10 to list of tested
22211 functions.
22212 (pow10_test): New function.
22213 (drem_test): Likewise.
22214 (drem_test_tonearest): Likewise.
22215 (drem_test_towardzero): Likewise.
22216 (drem_test_downward): Likewise.
22217 (drem_test_upward): Likewise.
22218 (main): Call the new functions.
22219
4f8dfe27
JM
22220 * math/libm-test.inc (finite_test_data): Remove.
22221 (finite_test): Run tests from isfinite_test_data.
22222 (gamma_test_data): Remove.
22223 (gamma_test): Run tests from lgamma_test_data.
22224 * sysdeps/i386/fpu/libm-test-ulps: Update.
22225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22226
d116b7c4
AZ
222272013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22228
22229 * manual/platform.texi: Add PowerPC PPR function set documentation.
22230 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22231 implementation.
22232
e96e3767
CD
222332013-05-24 Carlos O'Donell <carlos@redhat.com>
22234
22235 * math/libm-test.inc (MAX_EXP): Define.
22236 (ULPDIFF): Define.
22237 (ulp): New function.
22238 (check_float_internal): Use ULPDIFF.
22239 (cpow_test): Disable failing test.
22240 (check_ulp): Test ulp() implemetnation.
22241 (main): Call check_ulp before starting tests.
22242
b679a606
JM
222432013-05-24 Joseph Myers <joseph@codesourcery.com>
22244
e8bdba36
JM
22245 * math/gen-libm-test.pl (generate_testfile): Do not handle
22246 START_DATA and END_DATA.
22247 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22248 END_DATA.
22249 (acos_tonearest_test_data): Likewise.
22250 (acos_towardzero_test_data): Likewise.
22251 (acos_downward_test_data): Likewise.
22252 (acos_upward_test_data): Likewise.
22253 (acosh_test_data): Likewise.
22254 (asin_test_data): Likewise.
22255 (asin_tonearest_test_data): Likewise.
22256 (asin_towardzero_test_data): Likewise.
22257 (asin_downward_test_data): Likewise.
22258 (asin_upward_test_data): Likewise.
22259 (asinh_test_data): Likewise.
22260 (atan_test_data): Likewise.
22261 (atanh_test_data): Likewise.
22262 (atan2_test_data): Likewise.
22263 (cabs_test_data): Likewise.
22264 (cacos_test_data): Likewise.
22265 (cacosh_test_data): Likewise.
22266 (carg_test_data): Likewise.
22267 (casin_test_data): Likewise.
22268 (casinh_test_data): Likewise.
22269 (catan_test_data): Likewise.
22270 (catanh_test_data): Likewise.
22271 (cbrt_test_data): Likewise.
22272 (ccos_test_data): Likewise.
22273 (ccosh_test_data): Likewise.
22274 (ceil_test_data): Likewise.
22275 (cexp_test_data): Likewise.
22276 (cimag_test_data): Likewise.
22277 (clog_test_data): Likewise.
22278 (clog10_test_data): Likewise.
22279 (conj_test_data): Likewise.
22280 (copysign_test_data): Likewise.
22281 (cos_test_data): Likewise.
22282 (cos_tonearest_test_data): Likewise.
22283 (cos_towardzero_test_data): Likewise.
22284 (cos_downward_test_data): Likewise.
22285 (cos_upward_test_data): Likewise.
22286 (cosh_test_data): Likewise.
22287 (cosh_tonearest_test_data): Likewise.
22288 (cosh_towardzero_test_data): Likewise.
22289 (cosh_downward_test_data): Likewise.
22290 (cosh_upward_test_data): Likewise.
22291 (cpow_test_data): Likewise.
22292 (cproj_test_data): Likewise.
22293 (creal_test_data): Likewise.
22294 (csin_test_data): Likewise.
22295 (csinh_test_data): Likewise.
22296 (csqrt_test_data): Likewise.
22297 (ctan_test_data): Likewise.
22298 (ctan_tonearest_test_data): Likewise.
22299 (ctan_towardzero_test_data): Likewise.
22300 (ctan_downward_test_data): Likewise.
22301 (ctan_upward_test_data): Likewise.
22302 (ctanh_test_data): Likewise.
22303 (ctanh_tonearest_test_data): Likewise.
22304 (ctanh_towardzero_test_data): Likewise.
22305 (ctanh_downward_test_data): Likewise.
22306 (ctanh_upward_test_data): Likewise.
22307 (erf_test_data): Likewise.
22308 (erfc_test_data): Likewise.
22309 (exp_test_data): Likewise.
22310 (exp_tonearest_test_data): Likewise.
22311 (exp_towardzero_test_data): Likewise.
22312 (exp_downward_test_data): Likewise.
22313 (exp_upward_test_data): Likewise.
22314 (exp10_test_data): Likewise.
22315 (exp2_test_data): Likewise.
22316 (expm1_test_data): Likewise.
22317 (fabs_test_data): Likewise.
22318 (fdim_test_data): Likewise.
22319 (finite_test_data): Likewise.
22320 (floor_test_data): Likewise.
22321 (fma_test_data): Likewise.
22322 (fma_towardzero_test_data): Likewise.
22323 (fma_downward_test_data): Likewise.
22324 (fma_upward_test_data): Likewise.
22325 (fmax_test_data): Likewise.
22326 (fmin_test_data): Likewise.
22327 (fmod_test_data): Likewise.
22328 (fpclassify_test_data): Likewise.
22329 (frexp_test_data): Likewise.
22330 (gamma_test_data): Likewise.
22331 (hypot_test_data): Likewise.
22332 (ilogb_test_data): Likewise.
22333 (isfinite_test_data): Likewise.
22334 (isgreater_test_data): Likewise.
22335 (isgreaterequal_test_data): Likewise.
22336 (isinf_test_data): Likewise.
22337 (isless_test_data): Likewise.
22338 (islessequal_test_data): Likewise.
22339 (islessgreater_test_data): Likewise.
22340 (isnan_test_data): Likewise.
22341 (isnormal_test_data): Likewise.
22342 (issignaling_test_data): Likewise.
22343 (isunordered_test_data): Likewise.
22344 (j0_test_data): Likewise.
22345 (j1_test_data): Likewise.
22346 (jn_test_data): Likewise.
22347 (ldexp_test_data): Likewise.
22348 (lgamma_test_data): Likewise.
22349 (lrint_test_data): Likewise.
22350 (lrint_tonearest_test_data): Likewise.
22351 (lrint_towardzero_test_data): Likewise.
22352 (lrint_downward_test_data): Likewise.
22353 (lrint_upward_test_data): Likewise.
22354 (llrint_test_data): Likewise.
22355 (llrint_tonearest_test_data): Likewise.
22356 (llrint_towardzero_test_data): Likewise.
22357 (llrint_downward_test_data): Likewise.
22358 (llrint_upward_test_data): Likewise.
22359 (log_test_data): Likewise.
22360 (log10_test_data): Likewise.
22361 (log1p_test_data): Likewise.
22362 (log2_test_data): Likewise.
22363 (logb_test_data): Likewise.
22364 (logb_downward_test_data): Likewise.
22365 (lround_test_data): Likewise.
22366 (llround_test_data): Likewise.
22367 (modf_test_data): Likewise.
22368 (nearbyint_test_data): Likewise.
22369 (nextafter_test_data): Likewise.
22370 (nexttoward_test_data): Likewise.
22371 (pow_test_data): Likewise.
22372 (pow_tonearest_test_data): Likewise.
22373 (pow_towardzero_test_data): Likewise.
22374 (pow_downward_test_data): Likewise.
22375 (pow_upward_test_data): Likewise.
22376 (remainder_test_data): Likewise.
22377 (remainder_tonearest_test_data): Likewise.
22378 (remainder_towardzero_test_data): Likewise.
22379 (remainder_downward_test_data): Likewise.
22380 (remainder_upward_test_data): Likewise.
22381 (remquo_test_data): Likewise.
22382 (rint_test_data): Likewise.
22383 (rint_tonearest_test_data): Likewise.
22384 (rint_towardzero_test_data): Likewise.
22385 (rint_downward_test_data): Likewise.
22386 (rint_upward_test_data): Likewise.
22387 (round_test_data): Likewise.
22388 (scalb_test_data): Likewise.
22389 (scalbn_test_data): Likewise.
22390 (scalbln_test_data): Likewise.
22391 (signbit_test_data): Likewise.
22392 (sin_test_data): Likewise.
22393 (sin_tonearest_test_data): Likewise.
22394 (sin_towardzero_test_data): Likewise.
22395 (sin_downward_test_data): Likewise.
22396 (sin_upward_test_data): Likewise.
22397 (sincos_test_data): Likewise.
22398 (sinh_test_data): Likewise.
22399 (sinh_tonearest_test_data): Likewise.
22400 (sinh_towardzero_test_data): Likewise.
22401 (sinh_downward_test_data): Likewise.
22402 (sinh_upward_test_data): Likewise.
22403 (sqrt_test_data): Likewise.
22404 (tan_test_data): Likewise.
22405 (tan_tonearest_test_data): Likewise.
22406 (tan_towardzero_test_data): Likewise.
22407 (tan_downward_test_data): Likewise.
22408 (tan_upward_test_data): Likewise.
22409 (tanh_test_data): Likewise.
22410 (tgamma_test_data): Likewise.
22411 (trunc_test_data): Likewise.
22412 (y0_test_data): Likewise.
22413 (y1_test_data): Likewise.
22414 (yn_test_data): Likewise.
22415 (significand_test_data): Likewise.
22416
b679a606
JM
22417 * math/gen-libm-test.pl (@functions): Remove variable.
22418 (generate_testfile): Don't handle START and END lines.
22419 * math/libm-test.inc (START): New macro.
22420 (END): Likewise.
22421 (END_COMPLEX): Likewise.
22422 (acos_test): Use END macro without arguments.
22423 (acos_test_tonearest): Likewise.
22424 (acos_test_towardzero): Likewise.
22425 (acos_test_downward): Likewise.
22426 (acos_test_upward): Likewise.
22427 (acosh_test): Likewise.
22428 (asin_test): Likewise.
22429 (asin_test_tonearest): Likewise.
22430 (asin_test_towardzero): Likewise.
22431 (asin_test_downward): Likewise.
22432 (asin_test_upward): Likewise.
22433 (asinh_test): Likewise.
22434 (atan_test): Likewise.
22435 (atanh_test): Likewise.
22436 (atan2_test): Likewise.
22437 (cabs_test): Likewise.
22438 (cacos_test): Use END_COMPLEX macro without arguments.
22439 (cacosh_test): Likewise.
22440 (carg_test): Use END macro without arguments.
22441 (casin_test): Use END_COMPLEX macro without arguments.
22442 (casinh_test): Likewise.
22443 (catan_test): Likewise.
22444 (catanh_test): Likewise.
22445 (cbrt_test): Use END macro without arguments.
22446 (ccos_test): Use END_COMPLEX macro without arguments.
22447 (ccosh_test): Likewise.
22448 (ceil_test): Use END macro without arguments.
22449 (cexp_test): Use END_COMPLEX macro without arguments.
22450 (cimag_test): Use END macro without arguments.
22451 (clog_test): Use END_COMPLEX macro without arguments.
22452 (clog10_test): Likewise.
22453 (conj_test): Likewise.
22454 (copysign_test): Use END macro without arguments.
22455 (cos_test): Likewise.
22456 (cos_test_tonearest): Likewise.
22457 (cos_test_towardzero): Likewise.
22458 (cos_test_downward): Likewise.
22459 (cos_test_upward): Likewise.
22460 (cosh_test): Likewise.
22461 (cosh_test_tonearest): Likewise.
22462 (cosh_test_towardzero): Likewise.
22463 (cosh_test_downward): Likewise.
22464 (cosh_test_upward): Likewise.
22465 (cpow_test): Use END_COMPLEX macro without arguments.
22466 (cproj_test): Likewise.
22467 (creal_test): Use END macro without arguments.
22468 (csin_test): Use END_COMPLEX macro without arguments.
22469 (csinh_test): Likewise.
22470 (csqrt_test): Likewise.
22471 (ctan_test): Likewise.
22472 (ctan_test_tonearest): Likewise.
22473 (ctan_test_towardzero): Likewise.
22474 (ctan_test_downward): Likewise.
22475 (ctan_test_upward): Likewise.
22476 (ctanh_test): Likewise.
22477 (ctanh_test_tonearest): Likewise.
22478 (ctanh_test_towardzero): Likewise.
22479 (ctanh_test_downward): Likewise.
22480 (ctanh_test_upward): Likewise.
22481 (erf_test): Use END macro without arguments.
22482 (erfc_test): Likewise.
22483 (exp_test): Likewise.
22484 (exp_test_tonearest): Likewise.
22485 (exp_test_towardzero): Likewise.
22486 (exp_test_downward): Likewise.
22487 (exp_test_upward): Likewise.
22488 (exp10_test): Likewise.
22489 (exp2_test): Likewise.
22490 (expm1_test): Likewise.
22491 (fabs_test): Likewise.
22492 (fdim_test): Likewise.
22493 (finite_test): Likewise.
22494 (floor_test): Likewise.
22495 (fma_test): Likewise.
22496 (fma_test_towardzero): Likewise.
22497 (fma_test_downward): Likewise.
22498 (fma_test_upward): Likewise.
22499 (fmax_test): Likewise.
22500 (fmin_test): Likewise.
22501 (fmod_test): Likewise.
22502 (fpclassify_test): Likewise.
22503 (frexp_test): Likewise.
22504 (gamma_test): Likewise.
22505 (hypot_test): Likewise.
22506 (ilogb_test): Likewise.
22507 (isfinite_test): Likewise.
22508 (isgreater_test): Likewise.
22509 (isgreaterequal_test): Likewise.
22510 (isinf_test): Likewise.
22511 (isless_test): Likewise.
22512 (islessequal_test): Likewise.
22513 (islessgreater_test): Likewise.
22514 (isnan_test): Likewise.
22515 (isnormal_test): Likewise.
22516 (issignaling_test): Likewise.
22517 (isunordered_test): Likewise.
22518 (j0_test): Likewise.
22519 (j1_test): Likewise.
22520 (jn_test): Likewise.
22521 (ldexp_test): Likewise.
22522 (lgamma_test): Likewise.
22523 (lrint_test): Likewise.
22524 (lrint_test_tonearest): Likewise.
22525 (lrint_test_towardzero): Likewise.
22526 (lrint_test_downward): Likewise.
22527 (lrint_test_upward): Likewise.
22528 (llrint_test): Likewise.
22529 (llrint_test_tonearest): Likewise.
22530 (llrint_test_towardzero): Likewise.
22531 (llrint_test_downward): Likewise.
22532 (llrint_test_upward): Likewise.
22533 (log_test): Likewise.
22534 (log10_test): Likewise.
22535 (log1p_test): Likewise.
22536 (log2_test): Likewise.
22537 (logb_test): Likewise.
22538 (logb_test_downward): Likewise.
22539 (lround_test): Likewise.
22540 (llround_test): Likewise.
22541 (modf_test): Likewise.
22542 (nearbyint_test): Likewise.
22543 (nextafter_test): Likewise.
22544 (nexttoward_test): Likewise.
22545 (pow_test): Likewise.
22546 (pow_test_tonearest): Likewise.
22547 (pow_test_towardzero): Likewise.
22548 (pow_test_downward): Likewise.
22549 (pow_test_upward): Likewise.
22550 (remainder_test): Likewise.
22551 (remainder_test_tonearest): Likewise.
22552 (remainder_test_towardzero): Likewise.
22553 (remainder_test_downward): Likewise.
22554 (remainder_test_upward): Likewise.
22555 (remquo_test): Likewise.
22556 (rint_test): Likewise.
22557 (rint_test_tonearest): Likewise.
22558 (rint_test_towardzero): Likewise.
22559 (rint_test_downward): Likewise.
22560 (rint_test_upward): Likewise.
22561 (round_test): Likewise.
22562 (scalb_test): Likewise.
22563 (scalbn_test): Likewise.
22564 (scalbln_test): Likewise.
22565 (signbit_test): Likewise.
22566 (sin_test): Likewise.
22567 (sin_test_tonearest): Likewise.
22568 (sin_test_towardzero): Likewise.
22569 (sin_test_downward): Likewise.
22570 (sin_test_upward): Likewise.
22571 (sincos_test): Likewise.
22572 (sinh_test): Likewise.
22573 (sinh_test_tonearest): Likewise.
22574 (sinh_test_towardzero): Likewise.
22575 (sinh_test_downward): Likewise.
22576 (sinh_test_upward): Likewise.
22577 (sqrt_test): Likewise.
22578 (tan_test): Likewise.
22579 (tan_test_tonearest): Likewise.
22580 (tan_test_towardzero): Likewise.
22581 (tan_test_downward): Likewise.
22582 (tan_test_upward): Likewise.
22583 (tanh_test): Likewise.
22584 (tgamma_test): Likewise.
22585 (trunc_test): Likewise.
22586 (y0_test): Likewise.
22587 (y1_test): Likewise.
22588 (yn_test): Likewise.
22589 (significand_test): Likewise.
22590
bae143d2
OB
225912013-05-24 Ondřej Bílka <neleai@seznam.cz>
22592
22593 [BZ #15381]
22594 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22595
9323d39b
EM
225962013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22597
d4ea44a0 22598 [BZ #14894]
9323d39b
EM
22599 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22600 __ppc_mdoio and __ppc_mdoom.
22601 * manual/platform.texi: Document new functions __ppc_yield,
22602 __ppc_mdoio and __ppc_mdoom.
22603
13e23af7
CD
226042013-05-22 Carlos O'Donell <carlos@redhat.com>
22605
22606 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22607 (main): Mention "tls" pseudo-hwcap is legacy.
22608 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22609
351fe550
JM
226102013-05-22 Joseph Myers <joseph@codesourcery.com>
22611
22612 * math/gen-libm-test.pl (parse_args): Output only string of
22613 arguments as text for test name, not full call or descriptions of
22614 tests for extra outputs.
22615 (generate_testfile): Do not pass function name to parse_args.
22616 Generate this_func variable from START.
22617 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22618 field to arg_str.
22619 (struct test_ff_f_data): Likewise.
22620 (test_ff_f_data_nexttoward): Likewise.
22621 (struct test_fi_f_data): Likewise.
22622 (struct test_fl_f_data): Likewise.
22623 (struct test_if_f_data): Likewise.
22624 (struct test_fff_f_data): Likewise.
22625 (struct test_c_f_data): Likewise.
22626 (struct test_f_f1_data): Likewise. Remove field extra_name.
22627 (struct test_fF_f1_data): Likewise.
22628 (struct test_ffI_f1_data): Likewise.
22629 (struct test_c_c_data): Rename test_name field to arg_str.
22630 (struct test_cc_c_data): Likewise.
22631 (struct test_f_i_data): Likewise.
22632 (struct test_ff_i_data): Likewise.
22633 (struct test_f_l_data): Likewise.
22634 (struct test_f_L_data): Likewise.
22635 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22636 and extra2_name.
22637 (COMMON_TEST_SETUP): New macro.
22638 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22639 (COMMON_TEST_CLEANUP): Likewise.
22640 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22641 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22642 macros.
22643 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22644 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22645 macros.
22646 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22647 (RUN_TEST_fff_f): Take argument string. Call new setup and
22648 cleanup macros.
22649 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22650 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22651 macros.
22652 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22653 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22654 macros.
22655 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22656 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22657 cleanup macros.
22658 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22659 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22660 cleanup macros.
22661 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22662 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22663 cleanup macros.
22664 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22665 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22666 macros.
22667 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22668 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22669 macros.
22670 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22671 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22672 macros.
22673 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22674 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22675 cleanup macros.
22676 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22677 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22678 cleanup macros.
22679 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22680 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22681 macros.
22682 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22683 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22684 cleanup macros.
22685 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22686 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22687 macros.
22688 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22689 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22690 macros.
22691 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22692 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22693 cleanup macros.
22694 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22695
85118d4d
EBM
226962013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22697
22698 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22699 to _sifields.sigfault.
22700 (si_addr_lsb): Define new macro.
22701 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22702 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22703 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22704
7a44c18f
CD
227052013-05-03 Carlos O'Donell <carlos at redhat.com>
22706
22707 [BZ #15441]
22708 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22709 returns -1.
22710 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22711 null return -1.
22712 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22713 loading the domain.
22714
b50a7181
JM
227152013-05-22 Joseph Myers <joseph@codesourcery.com>
22716
22717 * math/gen-libm-test.pl (parse_args): Do not include expected
22718 result in test name.
22719 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22720 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22721 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22722 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22723 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22725
051063c8
SP
227262013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22727
3ce9e010
SP
22728 * benchtests/Makefile: Sort function entries.
22729
051063c8
SP
22730 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22731 tanh, asinh, acosh, atanh.
22732 * benchtests/acos-inputs: New file.
22733 * benchtests/acosh-inputs: New file.
22734 * benchtests/asin-inputs: New file.
22735 * benchtests/asinh-inputs: New file.
22736 * benchtests/atanh-inputs: New file.
22737 * benchtests/cosh-inputs: New file.
22738 * benchtests/log-inputs: New file.
22739 * benchtests/sinh-inputs: New file.
22740 * benchtests/tanh-inputs: New file.
22741
47c22455
DL
227422013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22743
22744 [BZ #15339]
22745 * posix/tst-getaddrinfo4.c: New test.
22746 * posix/Makefile (tests): Add it.
22747
3d04f5db
SP
227482013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22749
22750 [BZ #15339]
22751 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22752 when no services were used.
22753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22754 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22755
d5dd6189
AS
227562013-05-21 Andreas Schwab <schwab@suse.de>
22757
22758 [BZ #15014]
22759 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22760 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22761 successful.
22762 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22763 redundant variable declarations and reallocation of buffer when
22764 parsing as IPv6 address. Always set NSS status when called from
22765 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22766 buffer too small. Correct computation of needed size.
22767 * nss/Makefile (tests): Add test-digits-dots.
22768 * nss/test-digits-dots.c: New test.
22769
fef94eab
SP
227702013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22771
22772 * benchtests/Makefile: Remove instructions for adding
22773 benchmark tests.
22774 * benchtests/README: New file to explain how to execute and
22775 enhance the benchmark tests.
22776
e39adf43
AS
227772013-05-21 Andreas Schwab <schwab@suse.de>
22778
22779 [BZ #15493]
22780 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22781 * setjmp/tst-sigsetjmp.c: New test.
22782
b2b671b6
OB
227832013-05-20 Ondřej Bílka <neleai@seznam.cz>
22784
22785 * sysdeps/x86_64/memset.S (memset): New implementation.
22786 (__bzero): Likewise.
22787 (__memset_tail): New function.
22788
2d48b41c
OB
227892013-05-20 Ondřej Bílka <neleai@seznam.cz>
22790
22791 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22792 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22793 __memcpy_sse2_unaligned ifunc selection.
22794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22795 Add memcpy-sse2-unaligned.S.
22796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22797 Add: __memcpy_sse2_unaligned.
22798
f16cc3eb
JM
227992013-05-19 Joseph Myers <joseph@codesourcery.com>
22800
3e694268
JM
22801 [BZ #15490]
22802 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22803 math_force_eval before restoring floating-point envrionment.
22804 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22805 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22806 Likewise.
22807 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22808 <math_private.h>.
22809 (__nearbyintl): Use math_force_eval before restoring
22810 floating-point environment.
22811 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22812
db62a907
JM
22813 * math/gen-libm-test.pl (special_functions): Remove.
22814 (parse_args): Don't handle TEST_extra. Handle functions with no
22815 return value.
22816 * math/libm-test.inc (struct test_sincos_data): Replace with
22817 struct test_fFF_11_data.
22818 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22819 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22820 (sincos_test_data): Change element type to struct
22821 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22822 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22823 RUN_TEST_LOOP_sincos.
22824 * math/README.libm-test: Don't mention special handling of
22825 individual functions.
22826 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22827 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22828 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22829 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22830 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22832
f16cc3eb
JM
22833 * math/gen-libm-test.pl (get_variable): Remove function.
22834 (parse_args): Don't show pointer parameters to call in test
22835 names. Use "extra output N" in test names for extra outputs
22836 rather than naming variables.
22837
3779b5b6
JM
228382013-05-18 Joseph Myers <joseph@codesourcery.com>
22839
2ee094ff
JM
22840 [BZ #15488]
22841 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22842 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22843 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22844 double tests.
22845 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22846 disable.
22847 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22848 check_long_double.
22849
3779b5b6
JM
22850 * math/gen-libm-test.pl (@tests): Remove variable.
22851 ($count): Likewise.
22852 (new_test): Remove function.
22853 (show_exceptions): New function.
22854 (special_functions): Use show_exceptions instead of new_test.
22855 (parse_args): Likewise.
22856 (generate_testfile): Pass only function name in generated call to
22857 print_max_error or print_complex_max_error.
22858 (get_ulps): Do not handle complex tests specially.
22859 (output_test): Rename to ...
22860 (get_all_ulps_for_test): ... this. Return a string rather than
22861 printing to a file. Require ulps to be present.
22862 (output_ulps): Generate arrays rather than #defines.
22863 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22864 (struct ulp_data): New type.
22865 (BUILD_COMPLEX_ULP): Remove macro.
22866 (compare_ulp_data): New function.
22867 (find_ulps): Likewise.
22868 (find_test_ulps): Likewise.
22869 (find_function_ulps): Likewise.
22870 (find_complex_function_ulps): Likewise.
22871 (print_max_error): Determine allowed ulps using
22872 find_function_ulps.
22873 (print_complex_max_error): Determine allowed ulps using
22874 find_complex_function_ulps.
22875 (check_float_internal): Determine max ulps using find_test_ulps.
22876 (check_float): Do not take max_ulp parameter. Update call to
22877 check_float_internal.
22878 (check_complex): Likewise.
22879 (check_int): Do not take max_ulp parameter.
22880 (check_long): Likewise.
22881 (check_bool): Likewise.
22882 (check_longlong): Likewise.
22883 (struct test_f_f_data): Remove max_ulp field.
22884 (struct test_ff_f_data): Likewise.
22885 (struct test_ff_f_data_nexttoward): Likewise.
22886 (struct test_fi_f_data): Likewise.
22887 (struct test_fl_f_data): Likewise.
22888 (struct test_if_f_data): Likewise.
22889 (struct test_fff_f_data): Likewise.
22890 (struct test_c_f_data): Likewise.
22891 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22892 (struct test_fF_f1_data): Likewise.
22893 (struct test_ffI_f1_data): Likewise.
22894 (struct test_c_c_data): Remove max_ulp field.
22895 (struct test_cc_c_data): Likewise.
22896 (struct test_f_i_data): Likewise.
22897 (struct test_ff_i_data): Likewise.
22898 (struct test_f_l_data): Likewise.
22899 (struct test_f_L_data): Likewise.
22900 (struct test_sincos_data): Likewise.
22901 (RUN_TEST_f_f): Do not handle ulps.
22902 (RUN_TEST_LOOP_f_f): Likewise.
22903 (RUN_TEST_2_f): Likewise.
22904 (RUN_TEST_LOOP_2_f): Likewise.
22905 (RUN_TEST_fff_f): Likewise.
22906 (RUN_TEST_LOOP_fff_f): Likewise.
22907 (RUN_TEST_c_f): Likewise.
22908 (RUN_TEST_LOOP_c_f): Likewise.
22909 (RUN_TEST_f_f1): Likewise.
22910 (RUN_TEST_LOOP_f_f1): Likewise.
22911 (RUN_TEST_fF_f1): Likewise.
22912 (RUN_TEST_LOOP_fF_f1): Likewise.
22913 (RUN_TEST_fI_f1): Likewise.
22914 (RUN_TEST_LOOP_fI_f1): Likewise.
22915 (RUN_TEST_ffI_f1): Likewise.
22916 (RUN_TEST_LOOP_ffI_f1): Likewise.
22917 (RUN_TEST_c_c): Likewise.
22918 (RUN_TEST_LOOP_c_c): Likewise.
22919 (RUN_TEST_cc_c): Likewise.
22920 (RUN_TEST_LOOP_cc_c): Likewise.
22921 (RUN_TEST_f_i): Likewise.
22922 (RUN_TEST_LOOP_f_i): Likewise.
22923 (RUN_TEST_f_i_tg): Likewise.
22924 (RUN_TEST_LOOP_f_i_tg): Likewise.
22925 (RUN_TEST_ff_i_tg): Likewise.
22926 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22927 (RUN_TEST_f_b): Likewise.
22928 (RUN_TEST_LOOP_f_b): Likewise.
22929 (RUN_TEST_f_b_tg): Likewise.
22930 (RUN_TEST_LOOP_f_b_tg): Likewise.
22931 (RUN_TEST_f_l): Likewise.
22932 (RUN_TEST_LOOP_f_l): Likewise.
22933 (RUN_TEST_f_L): Likewise.
22934 (RUN_TEST_LOOP_f_L): Likewise.
22935 (RUN_TEST_sincos): Likewise.
22936 (RUN_TEST_LOOP_sincos): Likewise.
22937
8269107f
JM
229382013-05-17 Joseph Myers <joseph@codesourcery.com>
22939
bb38759d
JM
22940 [BZ #15480]
22941 [BZ #15485]
22942 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22943 main case of finite arguments, set rounding mode to FE_TONEAREST
22944 and discard exceptions.
22945 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22946 exceptions.
22947 (remainder_tonearest_test_data): New variable.
22948 (remainder_test_tonearest): New function.
22949 (remainder_towardzero_test_data): New variable.
22950 (remainder_test_towardzero): New function.
22951 (remainder_downward_test_data): New variable.
22952 (remainder_test_downward): New function.
22953 (remainder_upward_test_data): New variable.
22954 (remainder_test_upward): New function.
22955 (main): Call the new test functions.
22956
a00bdcf0
JM
22957 * math/libm-test.inc (struct test_f_f1_data): Remove field
22958 extra_init.
22959 (struct test_fF_f1_data): Likewise.
22960 (struct test_ffI_f1_data): Likewise.
22961 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22962 based on value of EXTRA_EXPECTED.
22963 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22964 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22965 EXTRA_VAR based on value of EXTRA_EXPECTED.
22966 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22967 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22968 EXTRA_VAR based on value of EXTRA_EXPECTED.
22969 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22970 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22971 EXTRA_VAR based on value of EXTRA_EXPECTED.
22972 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22973 * math/gen-libm-test.pl (parse_args): Don't output initializers
22974 for extra output values.
22975
de407f79
JM
22976 * math/libm-test.inc (check_int): Expect result to be exactly
22977 equal to expected value and do not handle ulps.
22978 (check_long): Likewise.
22979 (check_longlong): Likewise.
22980
8269107f
JM
22981 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22982 exceptions.
22983 (cimag_test_data): Likewise.
22984 (conj_test_data): Likewise.
22985 (copysign_test_data): Likewise.
22986 (cproj_test_data): Likewise.
22987 (creal_test_data): Likewise.
22988 (fabs_test_data): Likewise.
22989 (fdim_test_data): Likewise.
22990 (finite_test_data): Likewise.
22991 (floor_test_data): Likewise.
22992 (fmax_test_data): Likewise.
22993 (fmin_test_data): Likewise.
22994 (fmod_test_data): Likewise.
22995 (fpclassify_test_data): Likewise.
22996 (frexp_test_data): Likewise.
22997 (ilogb_test_data): Likewise.
22998 (isfinite_test_data): Likewise.
22999 (isgreater_test_data): Likewise.
23000 (isgreaterequal_test_data): Likewise.
23001 (isinf_test_data): Likewise.
23002 (isless_test_data): Likewise.
23003 (islessequal_test_data): Likewise.
23004 (islessgreater_test_data): Likewise.
23005 (isnan_test_data): Likewise.
23006 (isnormal_test_data): Likewise.
23007 (issignaling_test_data): Likewise.
23008 (isunordered_test_data): Likewise.
23009 (ldexp_test_data): Likewise.
23010 (lrint_test_data): Likewise.
23011 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23012 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23013 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23014 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23015 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23016 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23017 test input.
23018 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23019 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23020 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23021 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23022 that test input.
23023 (lrint_downward_test_data): Test for "inexact" exceptions.
23024 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23025 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23026 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23027 test input.
23028 (lrint_upward_test_data): Test for "inexact" exceptions.
23029 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23030 test input.
23031 (llrint_test_data): Test for "inexact" exceptions.
23032 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23033 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23034 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23035 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23036 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23037 (llrint_downward_test_data): Test for "inexact" exceptions.
23038 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23039 (llrint_upward_test_data): Test for "inexact" exceptions.
23040 (logb_test_data): Likewise.
23041 (logb_downward_test_data): Likewise.
23042 (nextafter_test_data): Likewise.
23043 (nexttoward_test_data): Likewise.
23044 (remainder_test_data): Likewise.
23045 (remquo_test_data): Likewise.
23046 (scalbn_test_data): Likewise.
23047 (scalbln_test_data): Likewise.
23048 (signbit_test_data): Likewise.
23049 (sqrt_test_data): Likewise.
23050 (significand_test_data): Likewise.
23051
48a18de1
SP
230522013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23053
23054 [BZ #15424]
23055 * benchtests/bench-modf.c (struct args): Mark arg0 as
23056 volatile.
23057 * scripts/bench.pl: Mark members of struct args as volatile.
23058
13d3b41a
AZ
230592013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23060
68191c1d 23061 [BZ # 15497]
13d3b41a
AZ
23062 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23063 negative infinity on POWER6 or lower.
23064 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23065
2848b105
MR
230662013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23067
23068 [BZ #15442]
23069 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23070 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23071 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23072 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23073 (_FP_SETQNAN): New macro.
23074 (_FP_SETQNAN_SEMIRAW): Likewise.
23075 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23076 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23077 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23078 (FP_EXTEND): Use _FP_FRAC_SNANP.
23079 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23080 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23081 into account.
23082 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23083 New macro.
23084 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23085 Likewise.
23086
323e5cb7
JM
230872013-05-16 Joseph Myers <joseph@codesourcery.com>
23088
c58b274f
JM
23089 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23090 with DIVIDE_BY_ZERO_EXCEPTION.
23091 (gamma_test_data): Likewise.
23092 (lgamma_test_data): Likewise.
23093 (log_test_data): Likewise.
23094 (log10_test_data): Likewise.
23095 (log2_test_data): Likewise.
23096 (tgamma_test_data): Likewise.
23097
0ab34904
JM
23098 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23099 (acos_test_tonearest): Likewise.
23100 (acos_test_towardzero): Likewise.
23101 (acos_test_downward): Likewise.
23102 (acos_test_upward): Likewise.
23103 (acosh_test): Likewise.
23104 (asin_test): Likewise.
23105 (asin_test_tonearest): Likewise.
23106 (asin_test_towardzero): Likewise.
23107 (asin_test_downward): Likewise.
23108 (asin_test_upward): Likewise.
23109 (asinh_test): Likewise.
23110 (atan_test): Likewise.
23111 (atanh_test): Likewise.
23112 (atan2_test): Likewise.
23113 (cabs_test): Likewise.
23114 (cacos_test): Likewise.
23115 (cacosh_test): Likewise.
23116 (casin_test): Likewise.
23117 (casinh_test): Likewise.
23118 (catan_test): Likewise.
23119 (catanh_test): Likewise.
23120 (cbrt_test): Likewise.
23121 (ccos_test): Likewise.
23122 (ccosh_test): Likewise.
23123 (cexp_test): Likewise.
23124 (clog_test): Likewise.
23125 (clog10_test): Likewise.
23126 (cos_test): Likewise.
23127 (cos_test_tonearest): Likewise.
23128 (cos_test_towardzero): Likewise.
23129 (cos_test_downward): Likewise.
23130 (cos_test_upward): Likewise.
23131 (cosh_test): Likewise.
23132 (cosh_test_tonearest): Likewise.
23133 (cosh_test_towardzero): Likewise.
23134 (cosh_test_downward): Likewise.
23135 (cosh_test_upward): Likewise.
23136 (cpow_test): Likewise.
23137 (csin_test): Likewise.
23138 (csinh_test): Likewise.
23139 (csqrt_test): Likewise.
23140 (ctan_test): Likewise.
23141 (ctan_test_tonearest): Likewise.
23142 (ctan_test_towardzero): Likewise.
23143 (ctan_test_downward): Likewise.
23144 (ctan_test_upward): Likewise.
23145 (ctanh_test): Likewise.
23146 (ctanh_test_tonearest): Likewise.
23147 (ctanh_test_towardzero): Likewise.
23148 (ctanh_test_downward): Likewise.
23149 (ctanh_test_upward): Likewise.
23150 (erf_test): Likewise.
23151 (erfc_test): Likewise.
23152 (exp_test): Likewise.
23153 (exp_test_tonearest): Likewise.
23154 (exp_test_towardzero): Likewise.
23155 (exp_test_downward): Likewise.
23156 (exp_test_upward): Likewise.
23157 (exp10_test): Likewise.
23158 (exp2_test): Likewise.
23159 (expm1_test): Likewise.
23160 (fmod_test): Likewise.
23161 (gamma_test): Likewise.
23162 (hypot_test): Likewise.
23163 (j0_test): Likewise.
23164 (j1_test): Likewise.
23165 (jn_test): Likewise.
23166 (lgamma_test): Likewise.
23167 (log_test): Likewise.
23168 (log10_test): Likewise.
23169 (log1p_test): Likewise.
23170 (log2_test): Likewise.
23171 (logb_test_downward): Likewise.
23172 (pow_test): Likewise.
23173 (pow_test_tonearest): Likewise.
23174 (pow_test_towardzero): Likewise.
23175 (pow_test_downward): Likewise.
23176 (pow_test_upward): Likewise.
23177 (remainder_test): Likewise.
23178 (remquo_test): Likewise.
23179 (sin_test): Likewise.
23180 (sin_test_tonearest): Likewise.
23181 (sin_test_towardzero): Likewise.
23182 (sin_test_downward): Likewise.
23183 (sin_test_upward): Likewise.
23184 (sincos_test): Likewise.
23185 (sinh_test): Likewise.
23186 (sinh_test_tonearest): Likewise.
23187 (sinh_test_towardzero): Likewise.
23188 (sinh_test_downward): Likewise.
23189 (sinh_test_upward): Likewise.
23190 (sqrt_test): Likewise.
23191 (tan_test): Likewise.
23192 (tan_test_tonearest): Likewise.
23193 (tan_test_towardzero): Likewise.
23194 (tan_test_downward): Likewise.
23195 (tan_test_upward): Likewise.
23196 (tanh_test): Likewise.
23197 (tgamma_test): Likewise.
23198 (y0_test): Likewise.
23199 (y1_test): Likewise.
23200 (yn_test): Likewise.
23201
323e5cb7
JM
23202 * math/gen-libm-test.pl (adjust_arg): Remove function.
23203 (special_function): Remove argument $in_func. Only handle
23204 generating output for tables of tests, not inside functions.
23205 (parse_args): Likewise.
23206 (generate_testfile): Remove variable $in_func. Update call to
23207 parse_args.
23208 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23209 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23210 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23211 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23212 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23213 (MAX_VALUE_INIT): Rename macro to max_value.
23214 (MIN_VALUE_INIT): Rename macro to min_value.
23215 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23216 (plus_zero): Remove variable.
23217 (minus_zero): Likewise.
23218 (plus_infty): Likewise.
23219 (minus_infty): Likewise.
23220 (qnan_value): Likewise.
23221 (max_value): Likewise.
23222 (min_value): Likewise.
23223 (min_subnorm_value): Likewise.
23224
e054f494
RA
232252013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23226
23227 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23228 uint64_t or uint32_t usage.
23229 * crypt/sha256-block.c: Likewise.
23230 * crypt/sha256-crypt.c: Likewise.
23231 * crypt/sha256.c: Likewise.
23232 * crypt/sha512-block.c: Likewise.
23233 * crypt/sha512-crypt.c: Likewise.
23234 * crypt/sha512.c: Likewise.
23235 * debug/backtrace-tst.c: Likewise.
23236 * debug/pcprofiledump.c: Likewise.
23237 * elf/cache.c: Likewise.
23238 * elf/dl-cache.c: Likewise.
23239 * elf/dl-misc.c: Likewise.
23240 * elf/dl-profile.c: Likewise.
23241 * elf/dl-support.c: Likewise.
23242 * elf/ldconfig.c: Likewise.
23243 * elf/sprof.c: Likewise.
23244 * iconv/dummy-repertoire.c: Likewise.
23245 * iconv/iconv_charmap.c: Likewise.
23246 * iconv/skeleton.c: Likewise.
23247 * iconvdata/8bit-generic.c: Likewise.
23248 * iconvdata/cp737.h: Likewise.
23249 * iconvdata/cp775.h: Likewise.
23250 * iconvdata/ibm1008.h: Likewise.
23251 * iconvdata/ibm1025.h: Likewise.
23252 * iconvdata/ibm1046.h: Likewise.
23253 * iconvdata/ibm1097.h: Likewise.
23254 * iconvdata/ibm1112.h: Likewise.
23255 * iconvdata/ibm1122.h: Likewise.
23256 * iconvdata/ibm1123.h: Likewise.
23257 * iconvdata/ibm1124.h: Likewise.
23258 * iconvdata/ibm1129.h: Likewise.
23259 * iconvdata/ibm1130.h: Likewise.
23260 * iconvdata/ibm1132.h: Likewise.
23261 * iconvdata/ibm1133.h: Likewise.
23262 * iconvdata/ibm1137.h: Likewise.
23263 * iconvdata/ibm1140.h: Likewise.
23264 * iconvdata/ibm1141.h: Likewise.
23265 * iconvdata/ibm1142.h: Likewise.
23266 * iconvdata/ibm1143.h: Likewise.
23267 * iconvdata/ibm1144.h: Likewise.
23268 * iconvdata/ibm1145.h: Likewise.
23269 * iconvdata/ibm1146.h: Likewise.
23270 * iconvdata/ibm1147.h: Likewise.
23271 * iconvdata/ibm1148.h: Likewise.
23272 * iconvdata/ibm1149.h: Likewise.
23273 * iconvdata/ibm1153.h: Likewise.
23274 * iconvdata/ibm1154.h: Likewise.
23275 * iconvdata/ibm1155.h: Likewise.
23276 * iconvdata/ibm1156.h: Likewise.
23277 * iconvdata/ibm1157.h: Likewise.
23278 * iconvdata/ibm1158.h: Likewise.
23279 * iconvdata/ibm1160.h: Likewise.
23280 * iconvdata/ibm1161.h: Likewise.
23281 * iconvdata/ibm1162.h: Likewise.
23282 * iconvdata/ibm1163.h: Likewise.
23283 * iconvdata/ibm1164.h: Likewise.
23284 * iconvdata/ibm1166.h: Likewise.
23285 * iconvdata/ibm1167.h: Likewise.
23286 * iconvdata/ibm12712.h: Likewise.
23287 * iconvdata/ibm1390.h: Likewise.
23288 * iconvdata/ibm1399.h: Likewise.
23289 * iconvdata/ibm16804.h: Likewise.
23290 * iconvdata/ibm4517.h: Likewise.
23291 * iconvdata/ibm4899.h: Likewise.
23292 * iconvdata/ibm4909.h: Likewise.
23293 * iconvdata/ibm4971.h: Likewise.
23294 * iconvdata/ibm5347.h: Likewise.
23295 * iconvdata/ibm803.h: Likewise.
23296 * iconvdata/ibm856.h: Likewise.
23297 * iconvdata/ibm901.h: Likewise.
23298 * iconvdata/ibm902.h: Likewise.
23299 * iconvdata/ibm9030.h: Likewise.
23300 * iconvdata/ibm9066.h: Likewise.
23301 * iconvdata/ibm921.h: Likewise.
23302 * iconvdata/ibm922.h: Likewise.
23303 * iconvdata/ibm9448.h: Likewise.
23304 * iconvdata/isiri-3342.h: Likewise.
23305 * iconvdata/jis0201.h: Likewise.
23306 * include/link.h: Likewise.
23307 * include/netdb.h: Likewise.
23308 * inet/check_native.c: Likewise.
23309 * inet/check_pf.c: Likewise.
23310 * inet/getipv4sourcefilter.c: Likewise.
23311 * inet/getnameinfo.c: Likewise.
23312 * inet/getsourcefilter.c: Likewise.
23313 * inet/htonl.c: Likewise.
23314 * inet/setipv4sourcefilter.c: Likewise.
23315 * inet/setsourcefilter.c: Likewise.
23316 * inet/test-inet6_opt.c: Likewise.
23317 * inet/tst-network.c: Likewise.
23318 * locale/C-collate.c: Likewise.
23319 * locale/C-ctype.c: Likewise.
23320 * locale/C-time.c: Likewise.
23321 * locale/C-translit.h: Likewise.
23322 * locale/loadarchive.c: Likewise.
23323 * locale/programs/3level.h: Likewise.
23324 * locale/programs/charmap.c: Likewise.
23325 * locale/programs/charmap.h: Likewise.
23326 * locale/programs/ld-address.c: Likewise.
23327 * locale/programs/ld-collate.c: Likewise.
23328 * locale/programs/ld-ctype.c: Likewise.
23329 * locale/programs/ld-identification.c: Likewise.
23330 * locale/programs/ld-measurement.c: Likewise.
23331 * locale/programs/ld-messages.c: Likewise.
23332 * locale/programs/ld-monetary.c: Likewise.
23333 * locale/programs/ld-name.c: Likewise.
23334 * locale/programs/ld-numeric.c: Likewise.
23335 * locale/programs/ld-paper.c: Likewise.
23336 * locale/programs/ld-telephone.c: Likewise.
23337 * locale/programs/ld-time.c: Likewise.
23338 * locale/programs/linereader.c: Likewise.
23339 * locale/programs/locale.c: Likewise.
23340 * locale/programs/locarchive.c: Likewise.
23341 * locale/programs/locfile.h: Likewise.
23342 * locale/programs/repertoire.c: Likewise.
23343 * locale/programs/simple-hash.c: Likewise.
23344 * locale/programs/simple-hash.h: Likewise.
23345 * malloc/memusage.c: Likewise.
23346 * malloc/memusagestat.c: Likewise.
23347 * nis/nis_defaults.c: Likewise.
23348 * nis/nis_hash.c: Likewise.
23349 * nis/nis_print.c: Likewise.
23350 * nis/nis_xdr.c: Likewise.
23351 * nscd/connections.c: Likewise.
23352 * nscd/hstcache.c: Likewise.
23353 * nscd/nscd_gethst_r.c: Likewise.
23354 * nscd/nscd_getserv_r.c: Likewise.
23355 * nscd/nscd_helper.c: Likewise.
23356 * nscd/servicescache.c: Likewise.
23357 * nss/makedb.c: Likewise.
23358 * nss/nss_db/db-XXX.c: Likewise.
23359 * nss/nss_db/db-initgroups.c: Likewise.
23360 * nss/nss_db/db-netgrp.c: Likewise.
23361 * nss/nss_files/files-network.c: Likewise.
23362 * nss/nss_files/files-parse.c: Likewise.
23363 * posix/bug-regex5.c: Likewise.
23364 * posix/fnmatch_loop.c: Likewise.
23365 * posix/regcomp.c: Likewise.
23366 * posix/regexec.c: Likewise.
23367 * posix/tst-rfc3484-2.c: Likewise.
23368 * posix/tst-rfc3484-3.c: Likewise.
23369 * posix/tst-rfc3484.c: Likewise.
23370 * resolv/nss_dns/dns-canon.c: Likewise.
23371 * resolv/nss_dns/dns-network.c: Likewise.
23372 * resolv/res_init.c: Likewise.
23373 * resolv/res_mkquery.c: Likewise.
23374 * resolv/tst-aton.c: Likewise.
23375 * stdlib/cxa_atexit.c: Likewise.
23376 * stdlib/cxa_finalize.c: Likewise.
23377 * stdlib/gen-fpioconst.c: Likewise.
23378 * stdlib/strtol_l.c: Likewise.
23379 * string/tst-endian.c: Likewise.
23380 * sunrpc/auth_des.c: Likewise.
23381 * sunrpc/clnt_udp.c: Likewise.
23382 * sunrpc/rtime.c: Likewise.
23383 * sunrpc/svcauth_des.c: Likewise.
23384 * sunrpc/xdr.c: Likewise.
23385 * sunrpc/xdr_intXX_t.c: Likewise.
23386 * sunrpc/xdr_rec.c: Likewise.
23387 * sysdeps/generic/ldconfig.h: Likewise.
23388 * sysdeps/generic/ldsodefs.h: Likewise.
23389 * sysdeps/generic/memusage.h: Likewise.
23390 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23391 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23392 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23393 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23394 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23395 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23396 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23398 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23400 * sysdeps/posix/getaddrinfo.c: Likewise.
23401 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23402 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23403 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23404 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23405 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23406 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23407 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23408 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23409 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23410 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23411 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23412 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23413 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23414 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23415 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23416 * sysdeps/x86_64/dl-tls.h: Likewise.
23417 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23418 * time/alt_digit.c: Likewise.
23419 * time/era.c: Likewise.
23420 * wcsmbs/tst-c16c32-1.c: Likewise.
23421
8c75f674
JM
234222013-05-16 Joseph Myers <joseph@codesourcery.com>
23423
23424 * math/libm-test.inc (struct test_sincos_data): New type.
23425 (RUN_TEST_LOOP_sincos): New macro.
23426 (sincos_test_data): New variable.
23427 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23428
e6e49e59
RH
234292013-05-16 Richard Henderson <rth@redhat.com>
23430
23431 * math/atest-exp2.c (LIMB64): New macro.
23432 (CONSTSZ): New macro.
23433 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23434 (hexdig): Move ...
23435 (print_mpn_fp): ... to function scope.
23436 (read_mpn_hex): Remove.
23437 (get_log2): Remove.
23438 (exp2_mpn): Use mp_log2.
23439 (main): Use mp_exp1.
23440
15c7c18d
JM
234412013-05-16 Joseph Myers <joseph@codesourcery.com>
23442
105a07df
JM
23443 * math/libm-test.inc: Remove comment about not testing "inexact"
23444 exceptions.
23445 (INEXACT_EXCEPTION): New macro.
23446 (NO_INEXACT_EXCEPTION): Likewise.
23447 (INVALID_EXCEPTION_OK): Update value.
23448 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23449 (OVERFLOW_EXCEPTION_OK): Likewise.
23450 (UNDERFLOW_EXCEPTION_OK): Likewise.
23451 (IGNORE_ZERO_INF_SIGN): Likewise.
23452 (ERRNO_UNCHANGED): Likewise.
23453 (ERRNO_EDOM): Likewise.
23454 (ERRNO_ERANGE): Likewise.
23455 (test_exceptions): Handle testing "inexact" exceptions.
23456 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23457 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23458 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23459 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23460 INEXACT_EXCEPTION.
23461 (rint_towardzero_test_data): Likewise.
23462 (rint_downward_test_data): Likewise.
23463 (rint_upward_test_data): Likewise.
23464
e9eee333
JM
23465 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23466 with OVERFLOW_EXCEPTION.
23467 (exp10_test_data): Likewise.
23468 (exp2_test_data): Likewise.
23469 (expm1_test_data): Likewise.
23470 (lgamma_test_data): Likewise.
23471 (pow_test_data): Likewise.
23472 (tgamma_test_data): Likewise.
23473 (yn_test_data): Remove duplicate test of overflow.
23474
1c38ff73
JM
23475 * math/libm-test.inc (struct test_cc_c_data): New type.
23476 (RUN_TEST_LOOP_cc_c): New macro.
23477 (cpow_test_data): New variable.
23478 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23479
15c7c18d
JM
23480 * math/libm-test.inc (struct test_f_L_data): New type.
23481 (RUN_TEST_LOOP_f_L): New macro.
23482 (llrint_test_data): New variable.
23483 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23484 (llrint_tonearest_test_data): New variable.
23485 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23486 (llrint_towardzero_test_data): New variable.
23487 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23488 (llrint_downward_test_data): New variable.
23489 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23490 (llrint_upward_test_data): New variable.
23491 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23492 (llround_test_data): New variable.
23493 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23494
f137ff13
PC
234952013-05-13 Peter Collingbourne <pcc@google.com>
23496
23497 * math/atest-exp2.c (get_log2): Remove const attribute.
23498
3608cb24
JM
234992013-05-15 Joseph Myers <joseph@codesourcery.com>
23500
23501 * math/libm-test.inc (struct test_f_l_data): New type.
23502 (RUN_TEST_LOOP_f_l): New macro.
23503 (lrint_test_data): New variable.
23504 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23505 (lrint_tonearest_test_data): New variable.
23506 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23507 (lrint_towardzero_test_data): New variable.
23508 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23509 (lrint_downward_test_data): New variable.
23510 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23511 (lrint_upward_test_data): New variable.
23512 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23513 (lround_test_data): New variable.
23514 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23515
39b1f617
PC
235162013-05-15 Peter Collingbourne <pcc@google.com>
23517
1deff3dc
PC
23518 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23519 (EXTRACT_WORDS64) Use where appropriate.
23520 (INSERT_WORDS64) Likewise.
23521
791f3ba0
PC
23522 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23523 constraints with x constraints.
23524 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23525
39b1f617
PC
23526 * malloc/obstack.c (_obstack_compat): Add initializer.
23527
12fba011
EM
235282013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23529
23530 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23531 si_trapno and add si_addr_lsb to _sifields.sigfault.
23532 (si_trapno): Remove macro.
23533 (si_addr_lsb): Define new macro.
23534 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23535
d369f531
JM
235362013-05-15 Joseph Myers <joseph@codesourcery.com>
23537
b861c6c4
JM
23538 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23539 instead of TEST_f_l.
23540 (llrint_test_tonearest): Likewise.
23541 (llrint_test_towardzero): Likewise.
23542 (llrint_test_downward): Likewise.
23543 (llrint_test_upward): Likewise.
23544 (llround_test): Likewise.
23545
7abeee12
JM
23546 * math/libm-test.inc (struct test_f_i_data): Add comment.
23547 (RUN_TEST_LOOP_f_b): New macro.
23548 (RUN_TEST_LOOP_f_b_tg): Likewise.
23549 (finite_test_data): New variable.
23550 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23551 (isfinite_test_data): New variable.
23552 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23553 (isinf_test_data): New variable.
23554 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23555 (isnan_test_data): New variable.
23556 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23557 (isnormal_test_data): New variable.
23558 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23559 (issignaling_test_data): New variable.
23560 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23561 (signbit_test_data): New variable.
23562 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23563
cbe8c4d3
JM
23564 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23565 with INVALID_EXCEPTION.
23566 (acosh_test_data): Likewise.
23567 (asin_test_data): Likewise.
23568 (atanh_test_data): Likewise.
23569 (fmod_test_data): Likewise.
23570 (log_test_data): Likewise.
23571 (log10_test_data): Likewise.
23572 (log2_test_data): Likewise.
23573 (pow_test_data): Likewise.
23574 (sqrt_test_data): Likewise.
23575 (y0_test_data): Likewise.
23576 (y1_test_data): Likewise.
23577 (yn_test_data): Likewise.
23578
5575c0e5
JM
23579 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23580 function contents.
23581
d369f531
JM
23582 * math/libm-test.inc (struct test_ff_i_data): New type.
23583 (RUN_TEST_LOOP_ff_i_tg): New macro.
23584 (isgreater_test_data): New variable.
23585 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23586 (isgreaterequal_test_data): New variable.
23587 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23588 (isless_test_data): New variable.
23589 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23590 (islessequal_test_data): New variable.
23591 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23592 (islessgreater_test_data): New variable.
23593 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23594 (isunordered_test_data): New variable.
23595 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23596
781fd748
DM
235972013-05-14 David S. Miller <davem@davemloft.net>
23598
23599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23600
87aa21df
JM
236012013-05-14 Joseph Myers <joseph@codesourcery.com>
23602
5e908270
JM
23603 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23604
f71172e5
JM
23605 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23606 extra_test to int.
23607 (struct test_f_i_data): Change type of max_ulp to int.
23608
8cfa635a
JM
23609 * math/libm-test.inc (test_ffI_f1_data): New type.
23610 (RUN_TEST_LOOP_ffI_f1): New macro.
23611 (remquo_test_data): New variable.
23612 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23613
2bcb36b2
JM
23614 * setjmp/tst-setjmp-fp.c: New file.
23615 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23616 (link-libm): New variable.
23617 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23618
acbd839a
JM
23619 * math/libm-test.inc (struct test_f_i_data): New type.
23620 (RUN_TEST_LOOP_f_i): New macro.
23621 (RUN_TEST_LOOP_f_i_tg): Likewise.
23622 (fpclassify_test_data): New variable.
23623 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23624 (ilogb_test_data): New variable.
23625 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23626
e414d745
JM
23627 * math/libm-test.inc (scalbln_test): Correct function name in END
23628 call.
23629
d9c2a0fd
JM
23630 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23631 (RUN_TEST_LOOP_fI_f1): New macro.
23632 (frexp_test_data): New variable.
23633 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23634
9dc9095d
JM
23635 * math/libm-test.inc (struct test_fF_f1_data): New type.
23636 (RUN_TEST_LOOP_fF_f1): New macro.
23637 (modf_test_data): New variable.
23638 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23639
87aa21df
JM
23640 * math/libm-test.inc (struct test_f_f1_data): New type.
23641 (RUN_TEST_LOOP_f_f1): New macro.
23642 (gamma_test_data): New variable.
23643 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23644 (lgamma_test_data): New variable.
23645 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23646
141af660
CD
236472013-05-13 Carlos O'Donell <carlos@redhat.com>
23648
23649 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23650 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23651 (main): Comment "tls" pseudo-hwcap.
23652
6d33265c
JM
236532013-05-13 Joseph Myers <joseph@codesourcery.com>
23654
68fc074c
JM
23655 * math/libm-test.inc (struct test_fl_f_data): New type.
23656 (RUN_TEST_LOOP_fl_f): New variable.
23657 (scalbln_test_data): New variable.
23658 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23659
243216e1
JM
23660 * math/libm-test.inc (struct test_fi_f_data): New type.
23661 (RUN_TEST_LOOP_fi_f): New macro.
23662 (ldexp_test_data): New variable.
23663 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23664 (scalbn_test_data): New variable.
23665 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23666
6a1992e2
JM
23667 * math/libm-test.inc (struct test_c_f_data): New type.
23668 (RUN_TEST_LOOP_c_f): New macro.
23669 (cabs_test_data): New variable.
23670 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23671 (carg_test_data): New variable.
23672 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23673 (cimag_test_data): New variable.
23674 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23675 (creal_test_data): New variable.
23676 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23677
0e400df5
JM
23678 * math/libm-test.inc (struct test_if_f_data): New type.
23679 (RUN_TEST_LOOP_if_f): New macro.
23680 (jn_test_data): New variable.
23681 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23682 (yn_test_data): New variable.
23683 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23684
6d33265c
JM
23685 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23686
f98ece5f
AZ
236872013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23688
23689 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23690 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23691
0f7d347b
SP
236922013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23693
43fe811b
SP
23694 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23695 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23696 (bench-deps): Add bench-timing.h.
23697 * benchtests-bench-skeleton.c: Include bench-timing.h.
23698 (main): Use TIMING_* macros instead of clock_gettime.
23699 * benchtests/bench-timing.h: New file.
23700
0f7d347b
SP
23701 [BZ #14582]
23702 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23703 Renamed from _LIB_VERSION.
23704 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23705
601a3a5f
JM
237062013-05-12 Joseph Myers <joseph@codesourcery.com>
23707
4f184d30
JM
23708 * math/libm-test.inc (struct test_fff_f_data): New type.
23709 (RUN_TEST_LOOP_fff_f): New macro.
23710 (fma_test_data): New variable.
23711 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23712 (fma_towardzero_test_data): New variable.
23713 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23714 (fma_downward_test_data): New variable.
23715 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23716 (fma_upward_test_data): New variable.
23717 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23718
08198877
JM
23719 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23720 (struct test_c_c_data): New type.
23721 (RUN_TEST_LOOP_c_c): New macro.
23722 (cacos_test_data): New variable.
23723 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23724 (cacosh_test_data): New variable.
23725 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23726 (casin_test_data): New variable.
23727 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23728 (casinh_test_data): New variable.
23729 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23730 (catan_test_data): New variable.
23731 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23732 (catanh_test_data): New variable.
23733 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23734 (ccos_test_data): New variable.
23735 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23736 (ccosh_test_data): New variable.
23737 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23738 (cexp_test_data): New variable.
23739 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23740 (clog_test_data): New variable.
23741 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23742 (clog10_test_data): New variable.
23743 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23744 (conj_test_data): New variable.
23745 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23746 (cproj_test_data): New variable.
23747 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23748 (csin_test_data): New variable.
23749 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23750 (csinh_test_data): New variable.
23751 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23752 (csqrt_test_data): New variable.
23753 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23754 (ctan_test_data): New variable.
23755 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23756 (ctan_tonearest_test_data): New variable.
23757 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23758 (ctan_towardzero_test_data): New variable.
23759 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23760 (ctan_downward_test_data): New variable.
23761 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23762 (ctan_upward_test_data): New variable.
23763 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23764 (ctanh_test_data): New variable.
23765 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23766 (ctanh_tonearest_test_data): New variable.
23767 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23768 (ctanh_towardzero_test_data): New variable.
23769 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23770 (ctanh_downward_test_data): New variable.
23771 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23772 (ctanh_upward_test_data): New variable.
23773 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23774 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23775 of BUILD_COMPLEX.
23776
601a3a5f
JM
23777 * math/libm-test.inc (struct test_ff_f_data): New type.
23778 (struct test_ff_f_data_nexttoward): Likewise.
23779 (RUN_TEST_LOOP_2_f): New macro.
23780 (RUN_TEST_LOOP_ff_f): Likewise.
23781 (atan2_test_data): New variable.
23782 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23783 (copysign_test_data): New variable.
23784 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23785 (fdim_test_data): New variable.
23786 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23787 (fmax_test_data): New variable.
23788 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23789 (fmin_test_data): New variable.
23790 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23791 (fmod_test_data): New variable.
23792 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23793 (hypot_test_data): New variable.
23794 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23795 (nextafter_test_data): New variable.
23796 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23797 (nexttoward_test_data): New variable.
23798 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23799 (pow_test_data): New variable.
23800 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23801 (pow_tonearest_test_data): New variable.
23802 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23803 (pow_towardzero_test_data): New variable.
23804 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23805 (pow_downward_test_data): New variable.
23806 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23807 (pow_upward_test_data): New variable.
23808 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23809 (remainder_test_data): New variable.
23810 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23811 (scalb_test_data): New variable.
23812 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23813 * sysdeps/i386/fpu/libm-test-ulps: Update.
23814
74c57478
JM
238152013-05-11 Joseph Myers <joseph@codesourcery.com>
23816
8329e4da
JM
23817 * math/libm-test.inc (fma_test): Use max_value instead of local
23818 variable fltmax.
23819 (nextafter_test): Likewise.
23820
74c57478
JM
23821 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23822 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23823 (acos_downward_test_data): New variable.
23824 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23825 (acos_upward_test_data): New variable.
23826 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23827 (acosh_test_data): New variable.
23828 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23829 (asin_test_data): New variable.
23830 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23831 (asin_tonearest_test_data): New variable.
23832 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23833 (asin_towardzero_test_data): New variable.
23834 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23835 (asin_downward_test_data): New variable.
23836 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23837 (asin_upward_test_data): New variable.
23838 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23839 (asinh_test_data): New variable.
23840 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23841 (atan_test_data): New variable.
23842 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23843 (atanh_test_data): New variable.
23844 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23845 (cbrt_test_data): New variable.
23846 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23847 (ceil_test_data): New variable.
23848 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23849 (cos_test_data): New variable.
23850 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23851 (cos_tonearest_test_data): New variable.
23852 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23853 (cos_towardzero_test_data): New variable.
23854 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23855 (cos_downward_test_data): New variable.
23856 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23857 (cos_upward_test_data): New variable.
23858 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23859 (cosh_test_data): New variable.
23860 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23861 (cosh_tonearest_test_data): New variable.
23862 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23863 (cosh_towardzero_test_data): New variable.
23864 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23865 (cosh_downward_test_data): New variable.
23866 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23867 (cosh_upward_test_data): New variable.
23868 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23869 (erf_test_data): New variable.
23870 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23871 (erfc_test_data): New variable.
23872 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23873 (exp_test_data): New variable.
23874 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23875 (exp_tonearest_test_data): New variable.
23876 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23877 (exp_towardzero_test_data): New variable.
23878 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23879 (exp_downward_test_data): New variable.
23880 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23881 (exp_upward_test_data): New variable.
23882 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23883 (exp10_test_data): New variable.
23884 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23885 (exp2_test_data): New variable.
23886 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23887 (expm1_test_data): New variable.
23888 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23889 (fabs_test_data): New variable.
23890 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23891 (floor_test_data): New variable.
23892 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23893 (j0_test_data): New variable.
23894 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23895 (j1_test_data): New variable.
23896 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23897 (log_test_data): New variable.
23898 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23899 (log10_test_data): New variable.
23900 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23901 (log1p_test_data): New variable.
23902 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23903 (log2_test_data): New variable.
23904 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23905 (logb_test_data): New variable.
23906 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23907 (logb_downward_test_data): New variable.
23908 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23909 (nearbyint_test_data): New variable.
23910 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23911 (rint_test_data): New variable.
23912 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23913 (rint_tonearest_test_data): New variable.
23914 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23915 (rint_towardzero_test_data): New variable.
23916 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23917 (rint_downward_test_data): New variable.
23918 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23919 (rint_upward_test_data): New variable.
23920 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23921 (round_test_data): New variable.
23922 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23923 (sin_test_data): New variable.
23924 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23925 (sin_tonearest_test_data): New variable.
23926 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23927 (sin_towardzero_test_data): New variable.
23928 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23929 (sin_downward_test_data): New variable.
23930 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23931 (sin_upward_test_data): New variable.
23932 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23933 (sinh_test_data): New variable.
23934 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23935 (sinh_tonearest_test_data): New variable.
23936 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23937 (sinh_towardzero_test_data): New variable.
23938 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23939 (sinh_downward_test_data): New variable.
23940 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23941 (sinh_upward_test_data): New variable.
23942 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23943 (sqrt_test_data): New variable.
23944 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23945 (tan_test_data): New variable.
23946 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23947 (tan_tonearest_test_data): New variable.
23948 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23949 (tan_towardzero_test_data): New variable.
23950 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23951 (tan_downward_test_data): New variable.
23952 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23953 (tan_upward_test_data): New variable.
23954 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23955 (tanh_test_data): New variable.
23956 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23957 (tgamma_test_data): New variable.
23958 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23959 (trunc_test_data): New variable.
23960 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23961 (y0_test_data): New variable.
23962 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23963 (y1_test_data): New variable.
23964 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23965 (significand_test_data): New variable.
23966 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23967
7187d844
CG
239682013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23969
23970 [BZ #12387]
23971 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23972
f63fae73
PT
239732013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23974
23975 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23976
8a67a4b3
AJ
239772013-05-10 Andreas Jaeger <aj@suse.de>
23978
23979 [BZ #15448]
23980 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23981 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23982
51df539d
JM
239832013-05-10 Joseph Myers <joseph@codesourcery.com>
23984
23985 * math/gen-libm-test.pl (adjust_arg): New function.
23986 (special_functions): Handle generating output in both functions
23987 and arrays.
23988 (parse_args): Likewise.
23989 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23990 $in_func argument to parse_args.
23991 * math/libm-test.inc (struct test_f_f_data): New type.
23992 (IF_ROUND_INIT_): New macro.
23993 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23994 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23995 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23996 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23997 (ROUND_RESTORE_): Likewise.
23998 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23999 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24000 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24001 (ROUND_RESTORE_FE_UPWARD): Likewise.
24002 (RUN_TEST_LOOP_f_f): New macro.
24003 (acos_test_data): New variable.
24004 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24005 (acos_tonearest_test_data): New variable.
24006 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24007
5c637fe5
SP
240082013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24009
24010 * benchtests/bench-skeleton.c (startup): Fix coding style.
24011
ab2b9461
JM
240122013-05-10 Joseph Myers <joseph@codesourcery.com>
24013
24014 [BZ #6809]
24015 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24016 negative infinity argument.
24017 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24018 negative infinity argument.
24019 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24020 negative infinity argument.
24021 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24022 domain errors.
24023
4c0fe6fe
FW
240242013-05-10 Florian Weimer <fweimer@redhat.com>
24025
24026 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24027 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24028 * iconv/iconv_prog.c (main): Likewise.
24029 * locale/programs/charmap-dir.c (charmap_readdir)
24030 (fopen_uncompressed): Likewise.
24031 * locale/programs/locfile.c (siblings_uncached)
24032 (write_locale_data): Use lstat64 instead of lstat.
24033 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24034 stat.
24035
a3375d29
AJ
240362013-05-10 Andreas Jaeger <aj@suse.de>
24037
24038 [BZ #15395]
24039 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24040 localization.
24041 Include <locale.h>.
24042
36129722
CD
240432013-05-09 Carlos O'Donell <carlos@redhat.com>
24044
24045 * elf/dl-close.c (_dl_close_worker): Add comments.
24046
faa7f811
JM
240472013-05-09 Joseph Myers <joseph@codesourcery.com>
24048
ed41ffef
JM
24049 [BZ #15359]
24050 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24051 high part of pi/2.
24052 (__ieee754_rem_pio2l): Update comments.
24053
d0213cd0
JM
24054 [BZ #15429]
24055 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24056 high part of pi/2.
24057 (__ieee754_rem_pio2l): Update comments.
24058
0d3e777a
JM
24059 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24060 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24061
24f56066
JM
24062 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24063 M_PI_4l.
24064
faa7f811
JM
24065 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24066 (M_PI_34_LOG10El): Likewise.
24067 (M_PI2_LOG10El): Likewise.
24068 (M_PI4_LOG10El): Likewise.
24069 (M_PI_LOG10El): Likewise.
24070
e9a5e0fd
AZ
240712013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24072
24073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24074
d8cd06db
JM
240752013-05-08 Joseph Myers <joseph@codesourcery.com>
24076
a0d9f9d7
JM
24077 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24078 (MINUS_ZERO_INIT): Likewise.
24079 (PLUS_INFTY_INIT): Likewise.
24080 (MINUS_INFTY_INIT): Likewise.
24081 (QNAN_VALUE_INIT): Likewise.
24082 (MAX_VALUE_INIT): Likewise.
24083 (MIN_VALUE_INIT): Likewise.
24084 (MIN_SUBNORM_VALUE_INIT): Likewise.
24085 (plus_zero): Initialize with PLUS_ZERO_INIT.
24086 (minus_zero): Initialize with MINUS_ZERO_INIT.
24087 (plus_infty): Initialize with PLUS_INFTY_INIT.
24088 (minus_infty): Initialize with MINUS_INFTY_INIT.
24089 (qnan_value): Initialize with QNAN_VALUE_INIT.
24090 (max_value): Initialize with MAX_VALUE_INIT.
24091 (min_value): Initialize with MIN_VALUE_INIT.
24092 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24093
ae08db3b
JM
24094 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24095 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24096 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24097 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24098
f44bf14a
JM
24099 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24100 (RUN_TEST_2_f): Likewise.
24101 (RUN_TEST_ff_f): Likewise.
24102 (RUN_TEST_fi_f): Likewise.
24103 (RUN_TEST_fl_f): Likewise.
24104 (RUN_TEST_fff_f): Likewise.
24105 (RUN_TEST_c_f): Likewise.
24106 (RUN_TEST_f_f1): Likewise.
24107 (RUN_TEST_fF_f1): Likewise.
24108 (RUN_TEST_fI_f1): Likewise.
24109 (RUN_TEST_ffI_f1): Likewise.
24110 (RUN_TEST_c_c): Likewise.
24111 (RUN_TEST_cc_c): Likewise.
24112 (RUN_TEST_f_i): Likewise.
24113 (RUN_TEST_f_i_tg): Likewise.
24114 (RUN_TEST_ff_i_tg): Likewise.
24115 (RUN_TEST_f_b): Likewise.
24116 (RUN_TEST_f_b_tg): Likewise.
24117 (RUN_TEST_f_l): Likewise.
24118 (RUN_TEST_f_L): Likewise.
24119 (RUN_TEST_sincos): Likewise.
24120 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24121 whether to show exceptions. Do not include ");\n" in return
24122 value.
24123 (special_functions): Output call to RUN_TEST_sincos instead of
24124 check_float calls. Update calls to new_test.
24125 (parse_args): Output call to single RUN_TEST_* macro instead of
24126 check_* calls and other assignments. Update calls to new_test.
24127
d8cd06db
JM
24128 [BZ #2546]
24129 [BZ #2560]
24130 [BZ #5159]
24131 [BZ #15426]
24132 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24133 input to result for tgamma overflow.
24134 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24135 (gamma_coeff): New variable.
24136 (NCOEFF): New macro.
24137 (gamma_positive): New function.
24138 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24139 underflow here. Use gamma_positive instead of exp (lgamma) for
24140 other arguments.
24141 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24142 (gamma_coeff): New variable.
24143 (NCOEFF): New macro.
24144 (gammaf_positive): New function.
24145 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24146 underflow here. Use gamma_positive instead of exp (lgamma) for
24147 other arguments.
24148 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24149 (gamma_coeff): New variable.
24150 (NCOEFF): New macro.
24151 (gammal_positive): New function.
24152 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24153 underflow here. Use gamma_positive instead of exp (lgamma) for
24154 other arguments.
24155 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24156 (gamma_coeff): New variable.
24157 (NCOEFF): New macro.
24158 (gammal_positive): New function.
24159 (__ieee754_gammal_r): Handle positive infinity, overflow and
24160 underflow here. Handle NaN the same as positive infinity. Remove
24161 check x < 0xffffffff for negative integers. Use gamma_positive
24162 instead of exp (lgamma) for other arguments.
24163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24164 (gamma_coeff): New variable.
24165 (NCOEFF): New macro.
24166 (gammal_positive): New function.
24167 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24168 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24169 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24170 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24172 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24173 * sysdeps/generic/math_private.h (__gamma_productf): New
24174 prototype.
24175 (__gamma_product): Likewise.
24176 (__gamma_productl): Likewise.
24177 * math/Makefile (libm-calls): Add gamma_product.
24178 * math/libm-test.inc (tgamma_test): Add more tests.
24179 * sysdeps/i386/fpu/libm-test-ulps: Update.
24180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24181
bb7cf681
OB
241822013-05-08 Ondřej Bílka <neleai@seznam.cz>
24183
24184 * benchtests/bench-skeleton.c (main): Preheat CPU.
24185
ba853947
AJ
241862013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24187
24188 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24189
8347c74c
RM
241902013-05-07 Roland McGrath <roland@hack.frob.com>
24191
24192 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24193 and _dl_skip_args_internal.
24194
e8dd4791
CD
241952013-05-07 Carlos O'Donell <carlos@redhat.com>
24196
24197 * manual/message.texi (Message Translation): Talk about users.
24198 Message to key mapping impacts design.
24199
c7405830
RM
242002013-05-06 Roland McGrath <roland@hack.frob.com>
24201
a9173057
RM
24202 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24203
976e2f03
RM
24204 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24205
9723ffc5
RM
24206 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24207 * sysdeps/wordsize-64/glob64.c: ... here.
24208
962e6658
RM
24209 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24210 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24211 New macros.
24212
ee586a6d
RM
24213 * debug/getlogin_r_chk.c: Moved to ...
24214 * login/getlogin_r_chk.c: ... here.
24215 * debug/Makefile (routines): Move getlogin_r_chk to ...
24216 * login/Makefile (routines): ... here.
24217 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24218 * login/Versions (libc: GLIBC_2.4): ... here.
24219
355f9165
RM
24220 * io/poll.c (__poll): Renamed from poll.
24221 Add libc_hidden_def.
24222 (poll): Define as weak alias.
24223
bd9ffde6
RM
24224 * debug/ptsname_r_chk.c: Moved to ...
24225 * login/ptsname_r_chk.c: ... here.
24226 * debug/Makefile (routines): Move ptsname_r_chk to ...
24227 * login/Makefile (routines): ... here.
24228 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24229 * login/Versions (libc: GLIBC_2.4): ... here.
24230
8fb16a04
RM
24231 * posix/getlogin.c: Moved to ...
24232 * login/getlogin.c: ... here.
24233 * posix/getlogin_r.c: Moved to ...
24234 * login/getlogin_r.c: ... here.
24235 * posix/getlogin_r.c: Moved to ...
24236 * login/getlogin_r.c: ... here.
24237 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24238 * login/Makefile (routines): ... here.
24239 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24240 * login/Versions (libc: GLIBC_2.0): ... here.
24241
b99b892f
RM
24242 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24243 (setrlimit): Define as weak alias.
24244
c7405830
RM
24245 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24246 Call __ names for open, ftruncate, and close.
24247 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24248 (truncate): Define as weak alias.
24249
5bf96de5
JM
242502013-05-06 Joseph Myers <joseph@codesourcery.com>
24251
9ea3513c
JM
24252 * math/gen-libm-test.pl (parse_args): Initialize x before each
24253 test of frexp, modf and remquo.
24254
5bf96de5
JM
24255 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24256 test signgam value.
24257
16e616a7
AZ
242582013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24259
24260 [BZ #15418]
24261 [BZ #15419]
24262 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24263 internal tests.
24264 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24265
d5e82754
RM
242662013-05-06 Roland McGrath <roland@hack.frob.com>
24267
24268 * elf/dl-writev.h: New file.
24269 * elf/dl-misc.c: Include it.
24270 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24271 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24272
a7548d41
JM
242732013-05-04 Joseph Myers <joseph@codesourcery.com>
24274
b7dab1e4
JM
24275 * math/libm-test.inc (noXFails): Remove variable.
24276 (noXPasses): Likewise.
24277 (BUILD_COMPLEX_INT): Remove macro.
24278 (print_screen): Remove xfail argument.
24279 (print_screen_max_error): Likewise.
24280 (update_stats): Likewise.
24281 (print_max_error): Likewise. Update calls to other affected
24282 functions.
24283 (print_complex_max_error): Likewise.
24284 (test_single_exception): Update calls to print_screen.
24285 (test_single_errno): Likewise.
24286 (check_float_internal): Remove xfail argument. Update calls to
24287 other affected functions.
24288 (check_float): Likewise.
24289 (check_complex): Likewise.
24290 (check_int): Likewise.
24291 (check_long): Likewise.
24292 (check_bool): Likewise.
24293 (check_longlong): Likewise.
24294 (main): Don't print noXFails and noXPasses.
24295 * math/gen-libm-test.pl (top level): Don't mention expected
24296 failure handling in comment.
24297 (new_test): Don't handle expected failures.
24298 (parse_args): Don't mention expected failure handling in comment.
24299 (generate_testfile): Don't handle expected failures.
24300 (parse_ulps): Likewise.
24301 (print_ulps_file): Likewise.
24302 (get_failure): Remove function.
24303 (output_test): Don't handle expected failures.
24304 * make/README.libm-test: Don't mention expected failure handling.
24305
a7548d41
JM
24306 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24307 (minus_zero): Likewise.
24308 (plus_infty): Likewise.
24309 (minus_infty): Likewise.
24310 (qnan_value): Likewise.
24311 (max_value): Likewise.
24312 (min_value): Likewise.
24313 (min_subnorm_value): Likewise.
24314 (initialize): Do not initialize those variables dynamically.
24315
60bfd54c
RM
243162013-05-03 Roland McGrath <roland@hack.frob.com>
24317
cc0e6ed8
RM
24318 * io/open.c (__open_2): Moved to ...
24319 * io/open_2.c: ... this new file.
24320 * io/open64.c (__open64_2): Moved to ...
24321 * io/open64_2.c: ... this new file.
24322 * io/openat.c (__openat_2): Moved to ...
24323 * io/openat_2.c: ... this new file.
24324 * io/openat64.c (__openat64_2): Moved to ...
24325 * io/openat64_2.c: ... this new file.
24326 * io/Makefile (routines): Add them.
24327 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24328 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24329 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24330 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24331 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24332 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24333 (__openat64): Add hidden_ver.
24334 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24335 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24336
60bfd54c
RM
24337 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24338 Separately conditionalize setting of GLRO(dl_sysinfo) so
24339 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24340 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24341
83e7640f
AZ
243422013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24343
24344 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24345 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24346 definition.
24347 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24348 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24349 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24350 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24351 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24352
d5dc2af3
JM
243532013-05-03 Joseph Myers <joseph@codesourcery.com>
24354
c31a5b1e
JM
24355 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24356 test signgam value.
24357
d5dc2af3
JM
24358 * math/libm-test.inc (hypot_test): Do not use
24359 IGNORE_ZERO_INF_SIGN.
24360
164fd39d
AJ
243612013-05-03 Andreas Jaeger <aj@suse.de>
24362
24363 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24364 Linux 3.9.
24365 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24366 (PF_MAX): Adjust for VSOCK change.
24367
8237f48c
AZ
243682013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24369
24370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24371
9df02941
CD
243722013-05-02 Carlos O'Donell <carlos@redhat.com>
24373
24374 [BZ #15264]
24375 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24376 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24377 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24378
d422395e
DM
243792013-05-02 David S. Miller <davem@davemloft.net>
24380
24381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24382
a07c5731
OB
243832013-05-01 Ondřej Bílka <neleai@seznam.cz>
24384
24385 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24386
1324e37f
RM
243872013-05-01 Roland McGrath <roland@hack.frob.com>
24388
24389 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24390
0695940b
RS
243912013-05-01 Richard Smith <richard@metafoo.co.uk>
24392
bb5f27ad 24393 [BZ #14952]
0695940b
RS
24394 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24395 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24396 Use __attribute__ ((__gnu_inline__)).
24397 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24398 Don't use __attribute__ ((__gnu_inline__)).
24399
10de07f5
JM
244002013-05-01 Joseph Myers <joseph@codesourcery.com>
24401
24402 [BZ #15423]
24403 * math/s_catan.c (__catan): Handle small real or imaginary part of
24404 input specially to avoid spurious underflow.
24405 * math/s_catanf.c (__catanf): Likewise.
24406 * math/s_catanh.c (__catanh): Likewise.
24407 * math/s_catanhf.c (__catanhf): Likewise.
24408 * math/s_catanhl.c (__catanhl): Likewise.
24409 * math/s_catanl.c (__catanl): Likewise.
24410 * math/libm-test.inc (catan_test): Add more tests.
24411 (catanh_test): Likewise.
24412 * sysdeps/i386/fpu/libm-test-ulps: Update.
24413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24414
cb4d5414
AZ
244152013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24416
24417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24418
caf84319
JM
244192013-04-30 Joseph Myers <joseph@codesourcery.com>
24420
24421 [BZ #15416]
24422 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24423 accurately for denominator in atan2.
24424 * math/s_catanf.c (__catanf): Likewise.
24425 * math/s_catanh.c (__catanh): Likewise.
24426 * math/s_catanhf.c (__catanhf): Likewise.
24427 * math/s_catanhl.c (__catanhl): Likewise.
24428 * math/s_catanl.c (__catanl): Likewise.
24429 * math/libm-test.inc (catan_test): Add more tests.
24430 (catanh_test): Likewise.
24431 * sysdeps/i386/fpu/libm-test-ulps: Update.
24432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24433
d569c6ee
SP
244342013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24435
6dbe713d
SP
24436 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24437
f0ee064b
SP
24438 * benchtests/Makefile (bench): Remove slow benchmarks.
24439 * benchtests/atan-inputs: Add slow benchmark inputs.
24440 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24441 (BENCH_FUNC): Accept variant offset.
24442 (VARIANT): Define.
24443 * benchtests/bench-skeleton.c (main): Run benchmark for each
24444 variant.
24445 * benchtests/cos-inputs: Add slow benchmark inputs.
24446 * benchtests/exp-inputs: Likewise.
24447 * benchtests/pow-inputs: Likewise.
24448 * benchtests/sin-inputs: Likewise.
24449 * benchtests/slowatan-inputs: Remove.
24450 * benchtests/slowatan.c: Remove.
24451 * benchtests/slowcos-inputs: Remove.
24452 * benchtests/slowcos.c: Remove.
24453 * benchtests/slowexp-inputs: Remove.
24454 * benchtests/slowexp.c: Remove.
24455 * benchtests/slowpow-inputs: Remove.
24456 * benchtests/slowpow.c: Remove.
24457 * benchtests/slowsin-inputs: Remove.
24458 * benchtests/slowsin.c: Remove.
24459 * benchtests/slowtan-inputs: Remove.
24460 * benchtests/slowtan.c: Remove.
24461 * benchtests/tan-inputs: Add slow benchmark inputs.
24462 * scripts/bench.pl: Parse comments and directives.
24463
d569c6ee
SP
24464 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24465 in CPPFLAGS.
24466 ($(objpfx)bench-%.c): Remove *-ITER.
24467 * benchtests/bench-modf.c: Remove definition of ITER.
24468 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24469 (main): Loop for DURATION seconds instead of fixed number of
24470 iterations.
24471 * scripts/bench.pl: Don't expect iterations in parameters.
24472
a6a242fe
RM
244732013-04-29 Roland McGrath <roland@hack.frob.com>
24474
24475 * io/fchdir.c (__fchdir): Renamed from fchdir.
24476 (fchdir): Define as weak alias.
24477
f2da7793
JM
244782013-04-29 Joseph Myers <joseph@codesourcery.com>
24479
24480 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24481 (ERRNO_EDOM): Likewise.
24482 (ERRNO_ERANGE): Likewise.
24483 (noErrnoTests): New variable.
24484 (init_max_error): Set errno to 0.
24485 (test_single_errno): New function.
24486 (test_errno): Likewise.
24487 (check_float_internal): Call test_errno. Set errno to 0.
24488 (check_complex): Refer to errno tests in comment.
24489 (check_int): Call test_errno. Set errno to 0.
24490 (check_long): Likewise.
24491 (check_bool): Likewise.
24492 (check_longlong): Likewise.
24493 (cos_test): Use ERRNO_* flags for errno tests instead of
24494 check_int.
24495 (expm1_test): Likewise.
24496 (fmod_test): Likewise.
24497 (ilogb_test): Likewise.
24498 (lgamma_test): Likewise.
24499 (pow_test): Likewise.
24500 (remainder_test): Likewise.
24501 (sin_test): Likewise.
24502 (tan_test): Likewise.
24503 (yn_test): Likewise.
24504 (initialize): Set errno to 0.
24505 (main): Print number of errno tests.
24506 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24507
b1a36ceb
AJ
245082013-04-29 Andreas Jaeger <aj@suse.de>
24509
c3ed8088
AJ
24510 [BZ #15084]
24511 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24512 and RES_USEVC.
24513
f1a24198
AJ
24514 [BZ #15085]
24515 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24516 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24517 unimplemented.
24518
9ce3b2cb
AJ
24519 [BZ #15380]
24520 * stdlib/random.c (__initstate): Return NULL if
24521 __initstate fails.
24522
f1a24198 24523 [BZ #15086]
b1a36ceb
AJ
24524 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24525 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24526 RES_SNGLKUPREOP.
24527
7e7b6f36
AZ
245282013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24529
24530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24531
4d14f449
JM
245322013-04-29 Joseph Myers <joseph@codesourcery.com>
24533
24534 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24535 of individual tests.
24536 (casin_test): Likewise.
24537 (casinh_test): Likewise.
24538
5b4217d7
JM
245392013-04-27 Joseph Myers <joseph@codesourcery.com>
24540
24541 [BZ #15409]
24542 * math/s_catan.c (__catan): Handle arguments with large real or
24543 imaginary part separately without squaring.
24544 * math/s_catanf.c (__catanf): Likewise.
24545 * math/s_catanh.c (__catanh): Likewise.
24546 * math/s_catanhf.c (__catanhf): Likewise.
24547 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24548 and redefine.
24549 (__catanhl): Handle arguments with large real or imaginary part
24550 separately without squaring.
24551 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24552 and redefine.
24553 (__catanl): Handle arguments with large real or imaginary part
24554 separately without squaring.
24555 * math/libm-test.inc (catan_test): Add more tests.
24556 (catanh_test): Likewise.
24557 * sysdeps/i386/fpu/libm-test-ulps: Update.
24558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24559
4220c3ef
AJ
245602013-04-27 Andreas Jaeger <aj@suse.de>
24561
24562 [BZ #15007]
24563 * stdlib/stdlib.h: Update guards for qecvt.
24564 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24565 <stdlib.h>.
24566
4721b2d1
AM
245672013-04-27 Allan McRae <allan@archlinux.org>
24568
24569 * sysdeps/i386/fpu/libm-test-ulps: Update.
24570
f0302940
JM
245712013-04-26 Joseph Myers <joseph@codesourcery.com>
24572
9457fd95
JM
24573 [BZ #15406]
24574 * math/s_catan.c: Include <float.h>.
24575 (__catan): Ensure underflow exception occurs for underflowed
24576 result.
24577 * math/s_catanf.c: Include <float.h>.
24578 (__catanf): Ensure underflow exception occurs for underflowed
24579 result.
24580 * math/s_catanh.c: Include <float.h>.
24581 (__catanh): Ensure underflow exception occurs for underflowed
24582 result.
24583 * math/s_catanhf.c: Include <float.h>.
24584 (__catanhf): Ensure underflow exception occurs for underflowed
24585 result.
24586 * math/s_catanhl.c: Include <float.h>.
24587 (__catanhl): Ensure underflow exception occurs for underflowed
24588 result.
24589 * math/s_catanl.c: Include <float.h>.
24590 (__catanl): Ensure underflow exception occurs for underflowed
24591 result.
24592 * math/libm-test.inc (catan_test): Add more tests.
24593 (catanh_test): Likewise.
24594
f0302940
JM
24595 [BZ #15405]
24596 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24597 underflowed result.
24598 * math/s_ccoshf.c (__ccoshf): Likewise.
24599 * math/s_ccoshl.c (__ccoshl): Likewise.
24600 * math/s_csin.c (__csin): Likewise.
24601 * math/s_csinf.c (__csinf): Likewise.
24602 * math/s_csinh.c (__csinh): Likewise.
24603 * math/s_csinhf.c (__csinhf): Likewise.
24604 * math/s_csinhl.c (__csinhl): Likewise.
24605 * math/s_csinl.c (__csinl): Likewise.
24606 * math/libm-test.inc (ccos_test): Add more tests.
24607 (ccosh_test): Likewise.
24608 (csin_test): Likewise.
24609 (csinh_test): Likewise.
24610
aa630f59
AZ
246112013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24612
24613 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24614 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24615 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24616 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24617 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24618 powerpc/power5+/fpu folders.
24619 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24620
24621
1b835983
MT
246222013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24623
24624 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24625
73709b26
JM
246262013-04-25 Joseph Myers <joseph@codesourcery.com>
24627
24628 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24629 additions to variable.
24630 [$(config-machine) = x86_64] (modules-names): Likewise.
24631 ($(objpfx)tst-audit3): Remove dependency.
24632 ($(objpfx)tst-audit3.out): Likewise.
24633 ($(objpfx)tst-audit4): Likewise.
24634 ($(objpfx)tst-audit4.out): Likewise.
24635 ($(objpfx)tst-audit5): Likewise.
24636 ($(objpfx)tst-audit5.out): Likewise.
24637 ($(objpfx)tst-audit6): Likewise.
24638 ($(objpfx)tst-audit6.out): Likewise.
24639 ($(objpfx)tst-audit7): Likewise.
24640 ($(objpfx)tst-audit7.out): Likewise.
24641 (tst-audit3-ENV): Remove variable.
24642 (tst-audit4-ENV): Likewise.
24643 (tst-audit5-ENV): Likewise.
24644 (tst-audit6-ENV): Likewise.
24645 (tst-audit7-ENV): Likewise.
24646 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24647 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24648 addition to variable.
24649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24650 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24651 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24652 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24653 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24654 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24655 tst-audit3, tst-audit4 and tst-audit5.
24656 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24657 tst-audit6 and tst-audit7.
24658 [$(subdir) = elf] (modules-names): Add audit modules for those
24659 tests.
24660 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24661 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24662 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24663 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24664 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24665 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24666 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24667 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24668 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24669 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24670 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24671 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24672 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24673 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24674 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24675 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24676 Likewise.
24677 [$(subdir) = elf && $(config-cflags-avx) = yes]
24678 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24679 [$(subdir) = elf && $(config-cflags-avx) = yes]
24680 (CFLAGS-tst-auditmod4a.c): Likewise.
24681 [$(subdir) = elf && $(config-cflags-avx) = yes]
24682 (CFLAGS-tst-auditmod4b.c): Likewise.
24683 [$(subdir) = elf && $(config-cflags-avx) = yes]
24684 (CFLAGS-tst-auditmod6b.c): Likewise.
24685 [$(subdir) = elf && $(config-cflags-avx) = yes]
24686 (CFLAGS-tst-auditmod6c.c): Likewise.
24687 [$(subdir) = elf && $(config-cflags-avx) = yes]
24688 (CFLAGS-tst-auditmod7b.c): Likewise.
24689 * elf/tst-audit3.c: Move to ...
24690 * sysdeps/x86_64/tst-audit3.c: ... here.
24691 * elf/tst-audit4.c: Move to ...
24692 * sysdeps/x86_64/tst-audit4.c: ... here.
24693 * elf/tst-audit5.c: Move to ...
24694 * sysdeps/x86_64/tst-audit5.c: ... here.
24695 * elf/tst-audit6.c: Move to ...
24696 * sysdeps/x86_64/tst-audit6.c: ... here.
24697 * elf/tst-audit7.c: Move to ...
24698 * sysdeps/x86_64/tst-audit7.c: ... here.
24699 * elf/tst-auditmod3a.c: Move to ...
24700 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24701 * elf/tst-auditmod3b.c: Move to ...
24702 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24703 * elf/tst-auditmod4a.c: Move to ...
24704 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24705 * elf/tst-auditmod4b.c: Move to ...
24706 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24707 * elf/tst-auditmod5a.c: Move to ...
24708 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24709 * elf/tst-auditmod5b.c: Move to ...
24710 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24711 * elf/tst-auditmod6a.c: Move to ...
24712 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24713 * elf/tst-auditmod6b.c: Move to ...
24714 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24715 * elf/tst-auditmod6c.c: Move to ...
24716 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24717 * elf/tst-auditmod7a.c: Move to ...
24718 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24719 * elf/tst-auditmod7b.c: Move to ...
24720 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24721
1ef74943
PP
247222013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24723
24724 [BZ #15366]
24725 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24726 define unconditionally.
24727 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24728 define unconditionally.
24729 (INT8_C, INT16_C, etc.): Likewise.
24730
93fd48c5
MR
247312013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24732
ae9552cf
MR
24733 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24734 __ehdr_start with hidden visibility.
24735
93fd48c5
MR
24736 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24737
418601aa
CD
247382013-04-24 Carlos O'Donell <carlos@redhat.com>
24739
24740 * math/libm-test.inc (cos_test): Use accurate hex constants.
24741 (sincost_test): Likewise.
24742
2f38fbfe
JM
247432013-04-24 Joseph Myers <joseph@codesourcery.com>
24744
5e221800
JM
24745 * math/libm-test.inc (catan_test): Add more tests.
24746 (catanh_test): Likewise.
24747
77f143fd
JM
24748 * math/s_catanf.c (__catanf): Use suffixed floating-point
24749 constants.
24750 * math/s_catanhf.c (__catanhf): Likewise.
24751 * math/s_catanhl.c (__catanhl): Likewise.
24752 * math/s_catanl.c (__catanl): Likewise.
24753
2f38fbfe
JM
24754 [BZ #15394]
24755 * math/s_catan.c (__catan): Calculate imaginary part of result
24756 with log1p not log unless computing log of number close to 0.
24757 * math/s_catanf.c (__catanf): Likewise.
24758 * math/s_catanl.c (__catanl): Likewise.
24759 * math/s_catanh.c (__catanh): Calculate real part of result with
24760 log1p not log unless computing log of number close to 0.
24761 * math/s_catanhf.c (__catanhf): Likewise.
24762 * math/s_catanhl.c (__catanhl): Likewise.
24763 * math/libm-test.inc (catan_test): Add more tests.
24764 (catanh_test): Likewise.
24765 * sysdeps/i386/fpu/libm-test-ulps: Update.
24766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24767
45d69176
SP
247682013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24769
24770 * benchtests/Makefile: Mention files in which fast and slow
24771 paths of math functions are implemented.
24772
87f51853
RM
247732013-04-23 Roland McGrath <roland@hack.frob.com>
24774
24775 * sysdeps/posix/timespec_get.c: New file.
24776
3c026539
AZ
247772013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24778
24779 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24780 POWER.
24781 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24782 for POWER.
24783 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24784 powerpc/power5/fpu folders.
24785 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24786 * benchtests/Makefile: Add modf testcase.
24787 * benchtests/bench-modf.c: New file: Benchmark test for mo
24788
ff491d14
SP
247892013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24790
24791 [BZ #14888]
24792 * time/Makefile (tests): Add tst-strptime-whitespace.
24793 * time/strptime_l.c (get_number): Use ISSPACE.
24794 (__strptime_internal): Likewise.
24795 * time/tst-strptime-whitespace.c: New test case.
24796
7ed3f4e8
AS
247972013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24798
24799 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24800 member.
24801 (_nss_files_init): Set it here.
24802
5c95f7b6
HC
248032013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24804
24805 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24806 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24807 unsigned.
24808
d34c9158
JBG
248092013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24810
24811 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24812
2169712d
SP
248132013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24814
24815 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24816 size just once.
24817
29c5de99
DM
248182013-04-21 David S. Miller <davem@davemloft.net>
24819
24820 * po/ru.po: Update Russion translation from translation project.
24821
ccdad15d
AC
248222013-04-17 Adam Conrad <adconrad@0c3.net>
24823
24824 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24825 and setfsgid.
24826
0f122b8d
CD
248272013-04-17 Carlos O'Donell <carlos@redhat.com>
24828
5c5b07da 24829 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24830 * configure: Regenerate.
5c5b07da 24831 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24832 Add example to error message.
24833 * sysdeps/i386/configure: Regenerate.
24834
037714dd
SP
248352013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24836
24837 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24838 slowtan.
24839 * benchtests/cos-inputs: New file.
24840 * benchtests/slowcos-inputs: New file.
24841 * benchtests/slowcos.c: New file.
24842 * benchtests/slowtan-inputs: New file.
24843 * benchtests/slowtan.c: New file.
24844 * benchtests/tan-inputs: New file.
24845
e913141d
RM
248462013-04-16 Roland McGrath <roland@hack.frob.com>
24847
24848 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24849 considered kosher.
24850
a2964074
SP
248512013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24852
4856bcd2
SP
24853 * benchtests/Makefile: Include cppflags-iterator.mk to add
24854 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24855
a2964074
SP
24856 * Makefile.in (bench-clean): New target.
24857 * benchtests/Makefile (bench-clean): Likewise.
24858
9fbf9aca
DH
248592013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24860
24861 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24862
207d1e2a
TS
248632013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24864
24865 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24866
306dfba9
AS
248672013-04-15 Andreas Schwab <schwab@suse.de>
24868
24869 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24871 * nscd/pwdcache.c (cache_addpw): Likewise.
24872 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24873 more than recsize.
24874
206a6699
SP
248752013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24876
24877 * benchtests/Makefile (bench): Write all output to
24878 bench-out.tmp together.
24879
0582f6b3
AS
248802013-04-15 Andreas Schwab <schwab@suse.de>
24881
24882 * nscd/nscd.c (main): Don't fork again after closing files.
24883
acb4325f
SP
248842013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24885
5cb26d0a
SP
24886 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24887
acb4325f
SP
24888 * benchtests/Rules (bench-deps): Collect dependencies into a
24889 single variable. Add Makefile to dependencies.
24890 ($(objpfx)bench-%.c): Depend on bench-deps.
24891
47792506
RM
248922013-04-12 Roland McGrath <roland@hack.frob.com>
24893 Xavier Roche <roche+kml2@exalead.com>
24894
24895 [BZ #15361]
24896 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24897 just that it's a file descriptor.
24898 * manual/llio.texi (Synchronizing AIO Operations): Update description
24899 for EBADF error from aio_fsync.
24900
8fc1bee5
SP
249012013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24902
24903 * Rules (bench): Move target definition...
24904 * benchtests/Makefile: ... here.
24905
aba5e333
CD
249062013-04-11 Carlos O'Donell <carlos@redhat.com>
24907
24908 * math/libm-test.inc (cos_test): Fix PI/2 test.
24909 (sincos_test): Likewise.
24910 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24911 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24912
273cdee8
AS
249132013-04-11 Andreas Schwab <schwab@suse.de>
24914
6ecec3b6
AS
24915 [BZ #13988]
24916 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24917 accept exponent character only when digits were seen.
24918 * stdio-common/Makefile (tests): Add bug26.
24919 * stdio-common/bug26.c: New file.
24920
273cdee8
AS
24921 [BZ #14293]
24922 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24923 non-freeable.
24924
8da491f5
SP
249252013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24926
01dc6df9
SP
24927 * Makeconfig (rtld-prefix): Define built linker prefix.
24928 * Rules (run-bench): Use it.
24929 * math/Makefile (run-regen-ulps): Likewise.
24930
8da491f5
SP
24931 * Rules (bench): Remove eval.
24932
abe7f530
SP
249332013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24934 Roland McGrath <roland@hack.frob.com>
24935 Ondrej Bilka <neleai@seznam.cz>
24936
24937 [BZ #15346]
24938 * time/getdate.c: Include ctype.h and alloca.h.
24939 (__getdate_r): Trim leading and trailing spaces of input.
24940 * time/tst-getdate.c (tests): Add tests with leading and
24941 trailing spaces.
24942
61c23e62
RM
249432013-04-08 Roland McGrath <roland@hack.frob.com>
24944
24945 [BZ #14280]
24946 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24947 when computing value.
24948
7208a313
CD
249492013-04-06 Carlos O'Donell <carlos@redhat.com>
24950
085b2d41
CD
24951 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24952 Use testrun.sh to run libm tests.
24953
7208a313
CD
24954 [BZ #15309]
24955 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24956
872c0acd
MM
249572013-04-06 Marko Myllynen <myllynen@redhat.com>
24958
24959 [BZ #15264]
24960 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24961
26510bdd
CD
249622013-04-06 Carlos O'Donell <carlos@redhat.com>
24963
24964 * Makefile.in (regen-ulps): New target.
24965 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24966 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24967 [ifneq (no,$(PERL)] (regen-ulps): New target.
24968 [ifeq (no,$(PERL)] (regen-ulps): New target.
24969 * math/libm-test.inc (ulps_file_name): Define.
24970 (output_dir): New variable.
24971 (options): Add "output-dir" option.
24972 (parse_opt): Handle 'o' case.
24973 (main): If output_dir is non-NULL use it as a prefix
24974 otherwise use "".
24975 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24976
a01f19c8
CD
249772013-04-06 Carlos O'Donell <carlos@redhat.com>
24978
24979 [BZ #10060, #10062]
24980 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24981 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24982 fail configure if __sync_val_compare_and_swap is not inlined.
24983 * sysdeps/i386/configure: Regenerate.
24984 * configure.in: Build for i686 when configured for i386.
24985 * configure: Regenerate.
24986 * README: Remove i386 reference.
24987
b7a329a5
CD
249882013-04-06 Carlos O'Donell <carlos@redhat.com>
24989
24990 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24991 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24992
bf0f50df
TS
249932013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24994
ee091edf
TS
24995 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24996 (lmsnanval): New variables.
24997 (F): Add conversion tests.
24998 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24999 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25000
a8b792d6
TS
25001 * stdio-common/tstdiomisc.c (F): Properly collect individual
25002 tests' results.
25003
a1cbf437
TS
25004 [BZ #14686, #15336]
25005 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25006 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25007 Instead, use input NaN values or generate a qNaN by arithmetic
25008 operation. Also fix bugs to comply with the standard.
25009 * math/libm-test.inc (remainder_test): Add more tests.
25010
8b43a0c9
TS
25011 [BZ #15335, #15342]
25012 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25013 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25014 input NaN values or generate a qNaN by arithmetic operation.
25015
d91da4ce
TS
25016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25017 unreachable code.
25018
bf0f50df
TS
25019 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25020 definitions.
25021
05e166c8
JM
250222013-04-03 Joseph Myers <joseph@codesourcery.com>
25023
25024 [BZ #14478]
25025 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25026 underflowed result.
25027 * math/s_cexpf.c (__cexpf): Likewise.
25028 * math/s_cexpl.c (__cexpl): Likewise.
25029 * math/libm-test.inc (cexp_test): Add more tests.
25030
1cef1b19
AS
250312013-04-03 Andreas Schwab <schwab@suse.de>
25032
25033 [BZ #15330]
25034 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25035 order arrays from heap if bigger than alloca cutoff.
25036
74d87055
TS
250372013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25038
25039 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25040 (SNAN_TESTS_double): Refer to GCC PR56831.
25041 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25042 GCC PR56828.
25043
d755bba4
SP
250442013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25045
90d5d5bb
SP
25046 * Rules (bench): Move bench.out after the run is complete.
25047
73e0cd5d
SP
25048 * Rules (bench): Echo currently running benchmark.
25049
64aabd4b
SP
25050 * benchtests/Makefile (bench): Add atan and slowatan.
25051 * benchtests/atan-inputs: New file.
25052 * benchtests/slowatan-inputs: New file.
25053 * benchtests/slowatan.c: New file.
25054
c871eccd
SP
25055 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25057 its value.
25058
d755bba4
SP
25059 [BZ #15305]
25060 * sysdeps/unix/sysv/linux/kernel-features.h
25061 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25062 __ASSUME_XFS_RESTRICTED_CHOWN.
25063 * sysdeps/unix/sysv/linux/pathconf.c
25064 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25065 Save and restore errno.
25066
52ce4860
JM
250672013-04-02 Joseph Myers <joseph@codesourcery.com>
25068
25069 [BZ #15327]
25070 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25071 arguments using __kernel_casinh.
25072 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25073 arguments using __kernel_casinhf.
25074 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25075 arguments using __kernel_casinhl.
25076 * math/libm-test.inc (cacosh_test): Add more tests.
25077 * sysdeps/i386/fpu/libm-test-ulps: Update.
25078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25079
81f311c2
SP
250802013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25081
e7906a47
SP
25082 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25084
92e3664b
SP
25085 * bench/Makefile (bench): Add sin and slowsin.
25086 * benchtests/sin-inputs: New file.
25087 * benchtests/slowsin-inputs: New file.
25088 * benchtests/slowsin.c: New file.
25089
81f311c2
SP
25090 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25091 (bench): Add slowexp and slowpow.
25092 (exp-ITER): Increase iterations.
25093 (pow-ITER): Likewise.
25094 * benchtests/exp-inputs: Change input.
25095 * benchtests/pow-inputs: Likewise.
25096 * benchtests/slowexp-inputs: New file.
25097 * benchtests/slowexp.c: New file.
25098 * benchtests/slowpow-inputs: New file.
25099 * benchtests/slowpow.c: New file.
25100
ab0f1aa9
AZ
251012013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25102
25103 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25104 instructions.
25105 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25106 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25107 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25108 * benchtests/Makefile: Add rint benchtest.
25109 * benchtests/rint-inputs: Input for rint benchtest.
25110
57267616
TS
251112013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25112
25113 * Versions.def (libm): Add GLIBC_2.18.
25114 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25115 hidden libm prototypes.
25116 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25117 * math/Makefile (libm-calls): Add s_issignaling.
25118 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25119 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25120 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25121 declaration.
25122 * math/math.h [__USE_GNU] (issignaling): New macro.
25123 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25124 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25125 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25126 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25129 * manual/arith.texi (issignaling): New section.
25130 * manual/libm-err-tab.pl (@all_functions): Update comment.
25131 * math/gen-libm-test.pl (parse_args): Apply special handling for
25132 issignaling.
25133 * math/libm-test.inc (print_float, issignaling_test): New
25134 functions.
25135 (check_float_internal): Add issignaling checks.
25136 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25137 default definition.
25138 * sysdeps/powerpc/math-tests.h: New file.
25139 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25140 tests.
25141 * math/test-snan.c (TEST_FUNC): Likewise.
25142
6142896d
DM
251432013-03-30 David S. Miller <davem@davemloft.net>
25144
25145 * po/de.po: Update from translation team.
25146
ccc8cadf
JM
251472013-03-30 Joseph Myers <joseph@codesourcery.com>
25148
25149 [BZ #10357]
25150 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25151 imaginary part less than 1.0 and real part less than 0.5
25152 specially.
25153 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25154 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25155 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25156 (cacos_test): Add more tests.
25157 (casin_test): Likewise.
25158 (casinh_test): Likewise.
25159 * sysdeps/i386/fpu/libm-test-ulps: Update.
25160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25161
0f6a8d4b
SP
251622013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25163
0d1029de
SP
25164 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25165 ONE with its value.
25166
c2d94018
SP
25167 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25168 (__pow_mp): Replace ONE and MONE with their values.
25169 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25170 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25171 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25172 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25173 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25174 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25175
27ec37f1
SP
25176 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25177
a64d7e0e
SP
25178 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25179 (__pow_mp): Replace ZERO and MZERO with their values.
25180 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25182 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25183 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25184 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25185 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25186 (__sqr): Likewise.
25187
d26dd3eb
SP
25188 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25189
0f6a8d4b
SP
25190 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25191
e57b0c61
RM
251922013-03-28 Roland McGrath <roland@hack.frob.com>
25193
25194 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25195 Declare with __attribute__ ((weak)).
25196 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25197 Call __call_tls_dtors only if it's not NULL.
25198
356b3480
RM
251992013-03-28 Roland McGrath <roland@hack.frob.com>
25200
288f7d79
RM
25201 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25202 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25203 magic __ehdr_start linker symbol if it's defined.
25204 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25205 them up here if it was already done.
25206
dc0a0263
RM
25207 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25208 (_dl_aux_init): Use const in cast when setting it.
25209 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25210 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25211 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25212
3d3436ae
RM
25213 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25214 Declare them here.
25215 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25216 * csu/libc-tls.c: Nor here.
25217 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25218
356b3480
RM
25219 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25220 (__libc_message): Never call vsyslog.
25221
b0f1246a
AM
252222013-03-28 Alan Modra <amodra@gmail.com>
25223
25224 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25225 Define as empty.
25226 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25227 Likewise.
25228
fbbe2b9a
AZ
252292013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25230
25231 [BZ #15214]
25232 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25233 underflow.
25234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25235
1728ab37
SP
252362013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25237
7a86be6e
SP
25238 [BZ #15304]
25239 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25240 Don't add gid passed as argument.
25241
1728ab37
SP
25242 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25243
3a7182a1
JM
252442013-03-27 Joseph Myers <joseph@codesourcery.com>
25245
25246 [BZ #15307]
25247 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25248 imaginary part between 1.0 and 1.5 and real part less than 0.5
25249 specially.
25250 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25251 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25252 * math/libm-test.inc (cacos_test): Add more tests.
25253 (casin_test): Likewise.
25254 (casinh_test): Likewise.
25255 * sysdeps/i386/fpu/libm-test-ulps: Update.
25256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25257
6f2e90e7
SP
252582013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25259
5739f705
SP
25260 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25261 constants.
25262 (norm): Likewise.
25263 (denorm): Likewise.
25264 (__dbl_mp): Likewise.
25265 (add_magnitudes): Likewise.
25266 (sub_magnitudes): Likewise.
25267 (__add): Likewise.
25268 (__sub): Likewise.
25269 (__mul): Likewise.
25270 (__sqr): Likewise.
25271 (__inv): Likewise.
25272 (__dvd): Likewise.
25273
e375e83d
SP
25274 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25275 commented code.
25276 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25277 (__dubcos): Likewise.
25278 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25279 (__ieee754_acos): Likewise.
25280 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25281 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25282 (__exp1): Likewise.
25283 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25284 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25285 (log1): Likewise.
25286 (my_log2): Likewise.
25287 (checkint): Likewise.
25288 * sysdeps/ieee754/dbl-64/e_remainder.c
25289 (__ieee754_remainder): Likewise.
25290 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25291 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25292 (bsloww): Likewise.
25293 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25294
6f2e90e7
SP
25295 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25297 MANTISSA_STORE_T to store computations on mantissa. Use
25298 macros for rounding and division.
25299 (denorm): Likewise.
25300 (__dbl_mp): Likewise.
25301 (add_magnitudes): Likewise.
25302 (sub_magnitudes): Likewise.
25303 (__mul): Likewise.
25304 (__sqr): Likewise.
25305 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25306 powers of two in terms of TWOPOW macro.
25307 (mp_no): Make type of mantissa as MANTISSA_T.
25308 [!RADIXI]: Define RADIXI.
25309 [!TWO52]: Define TWO52.
25310 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25311
fce14d4e
AZ
253122013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25313
25314 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25315 llroundl symbol when building for PPC32.
25316
9ad027fb
MW
253172013-03-24 Mark H Weaver <mhw@netris.org>
25318
25319 * manual/arith.texi (Normalization Functions): Fix prototypes for
25320 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25321
e42a38dd
AZ
253222013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25323
25324 [BZ #13889]
25325 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25326 high value to check if expl overflow.
25327 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25328 to check for underflow and overflow.
25329 * math/libm-test.inc: Add exp test.
25330
2e0fb521
DL
253312013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25332
25333 [BZ #11120]
25334 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25335 with NOT_IN_libc.
25336
b5784d95
AZ
253372013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25338
25339 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25340 symbol.
25341
5aa4a1a1
TS
253422013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25343
bdef0be7
TS
25344 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25345 wrap blocks consisting of several statements.
25346
5aa4a1a1
TS
25347 * sysdeps/generic/math-tests.h: New file.
25348 * sysdeps/i386/fpu/math-tests.h: Likewise.
25349 * math/test-snan.c: Include it.
25350 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25351
98c48fe5
JM
253522013-03-21 Joseph Myers <joseph@codesourcery.com>
25353
25354 [BZ #15285]
25355 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25356 (__ieee754_j0l): Do not improve calculations using cos of twice
25357 input for inputs above LDBL_MAX / 2.0L.
25358 (__ieee754_y0l): Likewise.
25359 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25360 (__ieee754_j1l): Do not improve calculations using cos of twice
25361 input for inputs above LDBL_MAX / 2.0L.
25362 (__ieee754_y1l): Likewise.
25363 * math/libm-test.inc (j0_test): Add another test.
25364 (j1_test): Likewise.
25365 (y0_test): Likewise.
25366 (y1_test): Likewise.
25367 * sysdeps/i386/fpu/libm-test-ulps: Update.
25368
3775a8bc
SP
253692013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25370
25371 * Rules ($(objpfx)bench-%.c): Include code from a C source
25372 file.
25373
0a1b2ae6
JM
253742013-03-21 Joseph Myers <joseph@codesourcery.com>
25375
25376 [BZ #15287]
25377 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25378 imaginary part 1.0 and real part less than 0.5 specially.
25379 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25380 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25381 * math/libm-test.inc (cacos_test): Add more tests.
25382 (casin_test): Likewise.
25383 (casinh_test): Likewise.
25384 * sysdeps/i386/fpu/libm-test-ulps: Update.
25385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25386
b33d4ce4
SP
253872013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25388
25389 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25390 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25391
bef0b507
JM
253922013-03-20 Joseph Myers <joseph@codesourcery.com>
25393
25394 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25395 * config.make.in (config-cflags-sse4): Remove variable.
25396 (config-cflags-avx): Likewise.
25397 (config-cflags-sse2avx): Likewise.
25398 (config-cflags-novzeroupper): Likewise.
25399 (config-asflags-i686): Likewise.
25400 (have-mfma4): Likewise.
25401 (have-as-vis3): Likewise.
25402 (MIG): Likewise.
25403 * configure.in (MIG): Do not AC_SUBST.
25404 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25405 (libc_cv_cc_sse4): Do not AC_SUBST.
25406 (libc_cv_cc_avx): Likewise.
25407 (libc_cv_cc_sse2avx): Likewise.
25408 (libc_cv_cc_novzeroupper): Likewise.
25409 (libc_cv_cc_fma4): Likewise.
25410 (libc_cv_as_i686): Likewise.
25411 (libc_cv_sparc_as_vis3): Likewise.
25412 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25413 LIBC_CONFIG_VAR.
25414 (config-asflags-i686): Likewise.
25415 (config-cflags-avx): Likewise.
25416 (config-cflags-sse2avx): Likewise.
25417 (have-mfma4): Likewise.
25418 (config-cflags-novzeroupper): Likewise.
25419 * sysdeps/mach/configure.in (MIG): Likewise.
25420 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25421 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25422 LIBC_CONFIG_VAR.
25423 (config-cflags-avx): Likewise.
25424 (config-cflags-sse2avx): Likewise.
25425 (have-mfma4): Likewise.
25426 (config-cflags-novzeroupper): Likewise.
25427 * configure: Regenerated.
25428 * sysdeps/i386/configure: Likewise.
25429 * sysdeps/mach/configure: Likewise.
25430 * sysdeps/sparc/configure: Likewise.
25431 * sysdeps/x86_64/configure: Likewise.
25432
912cc4b3
RM
254332013-03-20 Roland McGrath <roland@hack.frob.com>
25434
25435 [BZ #14812]
25436 * locale/programs/localedef.c (options): Put N_ translation marker
25437 on argument names, not just descriptions.
25438
04eed2b0
MS
254392013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25440
25441 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25442
a065ceff
OB
254432013-03-20 Ondřej Bílka <neleai@seznam.cz>
25444
9bb2a810 25445 [BZ #14176]
a065ceff
OB
25446 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25447
a600e5ce
RM
254482013-03-19 Roland McGrath <roland@hack.frob.com>
25449
25450 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25451 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25452 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25453 [!BEFORE_ABORT] (before_abort): New function.
25454 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25455 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25456 (writev_for_fatal): New function.
25457 (WRITEV_FOR_FATAL): New macro; call that.
25458 (backtrace_and_maps): New function.
25459 (BEFORE_ABORT): New macro; call that.
25460 (struct str_list): Type removed.
25461 (__libc_message, __libc_fatal): Functions removed.
25462 Include <sysdeps/posix/libc_fatal.c> instead.
25463
6b18bea6
JM
254642013-03-19 Joseph Myers <joseph@codesourcery.com>
25465
25466 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25467 constants.
25468 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25469 double constants.
25470
aaa8cb4b
AS
254712013-03-19 Andreas Schwab <schwab@suse.de>
25472
44673770
AS
25473 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25474 * sysdeps/gnu/configure: Regenerate.
25475
aaa8cb4b
AS
25476 * configure.in: Substitute libc_cv_rtlddir.
25477 * configure: Regenerate.
25478 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25479 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25480 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25481 * elf/Makefile (install-others, CFLAGS-interp.c)
25482 (ldso_install, common-ldd-rewrite): Likewise.
25483 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25484 $(inst_slibdir)/$(rtld-installed-name).
25485 * scripts/rellns-sh: Add -p option.
25486 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25487 for source.
25488
d3cfc668
SP
254892013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25490
25491 * manual/nptl.texi: Renamed to ...
25492 * manual/threads.texi: ... this.
25493 * manual/Makefile (chapters): Update.
25494
0e2b9cdd
RM
254952013-03-18 Roland McGrath <roland@hack.frob.com>
25496
25497 [BZ #14812]
25498 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25499 on argument names, not just descriptions.
0e2b9cdd
RM
25500 * malloc/memusagestat.c (options): Likewise.
25501 * nss/getent.c (options): Likewise.
63270c24
RM
25502
255032013-03-18 Benno Schulenberg <bensberg@justemail.net>
25504
25505 [BZ #14812]
25506 * iconv/iconv_prog.c (options): Put N_ translation marker
25507 on argument names, not just descriptions.
25508 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25509
b2e1393c
OB
255102013-03-18 Ondrej Bilka <neleai@seznam.cz>
25511
25512 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25513 implementation which is faster on all x86_64 architectures.
25514 Tested on AMD, Intel Nehalem, SNB, IVB.
25515 * sysdeps/x86_64/strnlen.S: Likewise.
25516
25517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25518 Remove all multiarch strlen and strnlen versions.
25519 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25520 Remove strlen and strnlen related parts.
25521
25522 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25523 Inline strlen part.
25524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25525
25526 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25527 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25528 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25529 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25530 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25531 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25532
ec4ff04d
CD
255332013-03-17 Carlos O'Donell <carlos@redhat.com>
25534
25535 * manual/memory.texi (Malloc Tunable Parameters):
25536 Sort parameters alphabetically. Add comments for missing entries.
25537
cd18e90a
DM
255382013-03-17 David S. Miller <davem@davemloft.net>
25539
25540 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25541
2a185d32
JM
255422013-03-16 Joseph Myers <joseph@codesourcery.com>
25543
d2f9799e
JM
25544 [BZ #15283]
25545 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25546 for arguments at most half maximum finite value.
25547 * math/libm-test.inc (j0_test): Add more tests.
25548 (j1_test): Likewise.
25549 (y0_test): Likewise.
25550 (y1_test): Likewise.
25551 * sysdeps/i386/fpu/libm-test-ulps: Update.
25552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25553
2a185d32
JM
25554 [BZ #14155]
25555 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25556 1 / x and functions P and Q for arguments above 0x1p256L.
25557 (__ieee754_y0l): Likewise.
25558 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25559 (__ieee754_y1l): Likewise.
25560 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25561 (j1_test): Likewise.
25562 (y0_test): Likewise.
25563 (y1_test): Likewise.
25564
6cbec759
TS
255652013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25566
25567 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25568 variable.
25569
bc16e260
RM
255702013-03-15 Roland McGrath <roland@hack.frob.com>
25571
aefc9b8c
RM
25572 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25573 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25574 zero since it's initialized to EXEC_PAGESIZE.
25575
bc16e260
RM
25576 * sysdeps/unix/sysv/linux/ldsodefs.h
25577 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25578 * sysdeps/generic/ldsodefs.h: ... here.
25579
a57da955
TS
255802013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25581
af00a34d
TS
25582 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25583
495ded2c
TS
25584 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25585 math/test-snan.c.
25586 * math/test-snan.c: Renamed from
25587 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25588 * math/Makefile (tests): Add test-snan.
25589 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25590 test-powerpc-snan.
25591
777b0332
TS
25592 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25593 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25594 functions.
25595 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25596 __builtin_nan family of functions.
25597 * math/libm-test.inc (initialize): Initialize qnan_value with
25598 __builtin_nan family of functions.
25599 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25600 Remove variables.
25601 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25602 Remove functions.
25603 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25604 storage class. Initialize qNaN_var and sNaN_var with
25605 __builtin_nan and __builtin_nans families of functions,
25606 respectively.
25607
64d063b8
TS
25608 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25609 (sqrt_test): Remove duplicate test with qNaN input.
25610 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25611 (round_test, signbit_test, significand_test): Note missing +/-Inf
25612 as well as qNaN tests.
25613
67e971f1
TS
25614 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25615 qNaN_var. Fix a few strings, too.
25616 * math/libm-test.inc (nan_value): Rename to qnan_value.
25617 * math/gen-libm-test.pl (%beautify): Adjust to that.
25618 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25619 * math/test-misc.c (main): Likewise.
25620 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25621 to __qnan_bytes, and __qnan_union, respectively.
25622 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25623 Likewise.
25624 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25625 and lqnanval, respectively.
25626 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25627 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25629 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25630
64487e12
TS
25631 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25632 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25633 doubles.
25634
e015e27b
TS
25635 * math/test-misc.c (main): Fix copy'n'pastos.
25636 * misc/tst-efgcvt.c (special): Likewise.
25637
a57da955
TS
25638 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25639 Remove declarations.
25640
1e380345
SP
256412013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25642
25643 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25644 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25645 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25646 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25647
ef26eece
AZ
256482013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25649
25650 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25651 macro to return vdso values correctly in IFUNC implementations.
25652 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25653 Optimization by using IFUNC.
25654
8cfdb7e0
SP
256552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25656 Richard Henderson <rth@redhat.com>
25657 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25658
25659 * Makefile.in (bench): New target.
25660 * NEWS: Mention the benchmark framework.
25661 * Rules (bench): Likewise.
25662 (binaries-bench): Generate binaries for functions to
25663 benchmark.
25664 * benchtests/Makefile: New makefile for benchmark tests.
25665 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25666 programs.
25667 * benchtests/exp-inputs: New input file for EXP function.
25668 * benchtests/pow-inputs: New input file for POW function.
25669 * scripts/bench.pl: New script to generate source files for
25670 benchmark programs.
25671
bcda9880
SP
256722013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25673
d22ca8cd
SP
25674 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25676 computations on mantissa. Use macros for rounding and
25677 division.
25678 (denorm): Likewise.
25679 (__dbl_mp): Likewise.
25680 (add_magnitudes): Likewise.
25681 (sub_magnitudes): Likewise.
25682 (__mul): Likewise.
25683 (__sqr): Likewise.
25684 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25685 powers of two in terms of TWOPOW macro.
25686 (mp_no): Make type of mantissa as MANTISSA_T.
25687 [!RADIXI]: Define RADIXI.
25688 [!TWO52]: Define TWO52.
25689 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25690
bcda9880
SP
25691 * manual/nptl.texi (cindex): Modify threads to pthreads.
25692
06d5adfb
JM
256932013-03-15 Joseph Myers <joseph@codesourcery.com>
25694
25695 * sysdeps/x86_64/preconfigure: Regenerated.
25696
41c7328e
JM
256972013-03-14 Joseph Myers <joseph@codesourcery.com>
25698
25699 [BZ #14155]
25700 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25701 0x1p28 and above.
25702 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25703 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25704 0x1p28 and above.
25705 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25706 * math/libm-test.inc (j0_test): Do not allow one spurious
25707 underflow exception.
25708 (y1_test): Likewise.
25709
e25cfa60
SP
257102013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25711
0409959c
SP
25712 * manual/Makefile (chapters): Add nptl.
25713 * manual/debug.texi (Debugging Support): Add link to Threads
25714 chapter.
25715 * manual/nptl.texi: New file.
25716
e25cfa60
SP
25717 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25718
58a1335e
PB
257192013-03-14 Petr Baudis <pasky@ucw.cz>
25720
25721 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25722 for non-NULL pointer before the memory validity test. Pointed
25723 out by Holger Brunck <holger.brunck@keymile.com>.
25724
9dc7c64f
AS
257252013-03-13 Andreas Schwab <schwab@suse.de>
25726
25727 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25728 instead of .os.
25729
54206aa6
JM
257302013-03-13 Joseph Myers <joseph@codesourcery.com>
25731
25732 * timezone/zic.c: Update from tzcode 2013b.
25733
e98cdb38
CD
257342013-03-12 Carlos O'Donell <carlos@redhat.com>
25735
25736 * manual/install.texi (Configuring and compiling):
25737 Mention i686 and i586.
25738 * INSTALL: Regenerate.
25739
9967e003
RM
257402013-03-12 Roland McGrath <roland@hack.frob.com>
25741
25742 * sysdeps/init_array/elf-init.c: New file.
25743 * csu/elf-init.c
25744 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25745 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25746
25747 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25748 __gmon_start__ as global, but as static with a .preinit_array pointer.
25749 * sysdeps/init_array/gmon-start.c: New file. Use that.
25750 * sysdeps/init_array/crti.S: New file, empty except for comments.
25751 * sysdeps/init_array/crtn.S: Likewise.
25752
e6b5a293 257532013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25754
25755 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25756 definining bcopy.
80f844c9
OB
25757 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25758 Remove Prefer_SSE_for_memop.
25759 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25760 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25761 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25763 memset-x86-64.
80f844c9 25764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25765 Remove bzero, memset ifunc support.
80f844c9
OB
25766 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25767 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25768 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25769 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25770
fb6b0fcb
AS
257712013-03-11 Andreas Schwab <schwab@suse.de>
25772
25773 [BZ #15234]
25774 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25775 by SHLIB_COMPAT.
25776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25777 (GLIBC_2.16): Remove pthread_atfork.
25778
3e6bd4b1
PP
257792013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25780
25781 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25782 (ptestcases.h): Likewise.
25783
222d7f00
RM
257842013-03-08 Roland McGrath <roland@hack.frob.com>
25785
25786 * Makeconfig ($(common-objpfx)config.status): Depend on
25787 sysdeps/*/preconfigure{,.in} too.
25788
1ba4f030
JM
257892013-03-08 Joseph Myers <joseph@codesourcery.com>
25790
a222d91a
JM
25791 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25792 (__free_hook): Use void * instead of __malloc_ptr_t.
25793 (__malloc_hook): Likewise.
25794 (__realloc_hook): Likewise.
25795 (__memalign_hook): Likewise.
25796 (__after_morecore_hook): Likewise.
25797 * malloc/arena.c (save_malloc_hook): Likewise.
25798 (save_free_hook): Likewise.
25799 * malloc/hooks.c (malloc_hook_ini): Likewise.
25800 (realloc_hook_ini): Likewise.
25801 (memalign_hook_ini): Likewise.
25802 * malloc/malloc.c (malloc_hook_ini): Likewise.
25803 (realloc_hook_ini): Likewise.
25804 (memalign_hook_ini): Likewise.
25805 (__free_hook): Likewise.
25806 (__malloc_hook): Likewise.
25807 (__realloc_hook): Likewise.
25808 (__memalign_hook): Likewise.
25809 (__libc_malloc): Likewise.
25810 (__libc_free): Likewise.
25811 (__libc_realloc): Likewise.
25812 (__libc_memalign): Likewise.
25813 (__libc_valloc): Likewise.
25814 (__libc_pvalloc): Likewise.
25815 (__libc_calloc): Likewise.
25816 (__posix_memalign): Likewise.
25817 * malloc/morecore.c (__sbrk): Likewise.
25818 (__default_morecore): Likewise.
25819
5cc45e10
JM
25820 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25821
dd54b864
JM
25822 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25823 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25824 __malloc_ptrdiff_t.
25825
1ba4f030
JM
25826 * malloc/malloc.h (__malloc_size_t): Remove macro.
25827 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25828 __malloc_size_t.
25829 (old_memalign_hook): Likewise.
25830 (old_realloc_hook): Likewise.
25831 (struct hdr): Likewise.
25832 (flood): Likewise.
25833 (mallochook): Likewise.
25834 (memalignhook): Likewise.
25835 (reallochook): Likewise.
25836 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25837 (tr_old_realloc_hook): Likewise.
25838 (tr_old_memalign_hook): Likewise.
25839 (tr_mallochook): Likewise.
25840 (tr_reallochook): Likewise.
25841 (tr_memalignhook): Likewise.
25842
edf66e57
AZ
258432013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25844
25845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25846 default_ldbl_pack and using as default implementation.
25847 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25848 implementation.
25849 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25850 redundant definition.
25851 (ldbl_insert_mantissa): Likewise.
25852 (ldbl_canonicalize): Likewise.
25853 (ldbl_nearbyint): Likewise.
25854 (ldbl_pack): Rename to ldbl_pack_ppc.
25855 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25856 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25857 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25858
6d9145d8
SP
258592013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25860
25861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25862 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25863 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25864 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25866 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25867 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25868 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25869
4dd4e157
AJ
258702013-03-07 Andreas Jaeger <aj@suse.de>
25871
25872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25873 bits/mman-linux.h.
25874
adbb8027
SP
258752013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25876
ce544b5b
SP
25877 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25878 Include mpa.h and declare __MPEXP.
25879 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25880 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25881 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25882 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25883 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25884 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25885 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25886
4cc149fd
SP
25887 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25888 (__slowpow): Use long double EXPL and LOGL functions to
25889 compute POW.
25890 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25891 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25892 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25893 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25894 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25895 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25896
e6ebd4a7
SP
25897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25898 intermediate variable to calculate exponent.
25899 (__sqr): Likewise.
25900 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25901 Likewise.
25902 (__sqr): Likewise.
25903
82a9811d
SP
25904 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25905 [!NO__SQR]: Define __sqr.
25906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25907 and NO__SQR. Remove all code except __mul and __sqr. Include
25908 sysdeps/ieee754/dbl-64/mpa.c.
25909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25910
adbb8027
SP
25911 [BZ #12723]
25912 * posix/Makefile (tests): Add tst-pathconf.
25913 * posix/tst-pathconf.c: New test case.
25914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25915 _PC_PIPE_BUF.
25916 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25917
39120df9
PF
259182013-03-06 Patsy Franklin <pfrankli@redhat.com>
25919
25920 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25921
67525cb8
AJ
259222013-03-06 Andreas Jaeger <aj@suse.de>
25923
664a9ce4
AJ
25924 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25925 definition via __MAP_ANONYMOUS.
25926
8e39047d
AJ
25927 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25928 it's not part of Linux headers.
25929
67525cb8
AJ
25930 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25931 (MAP_HUGE_MASK): Define.
25932
25933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25934 Define.
25935 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25936 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25937 Define.
25938 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25939 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25940 Define.
25941 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25943 Define.
25944 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25945
25946 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25947 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25948 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25949 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25950 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25951 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25952
25953 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25954 Handle f2fs.
25955
25956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25957 Handle f2fs and efivarfs.
25958
25959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25960 f2fs.
25961
25962 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25963 (EFIVARFS_MAGIC): Add.
25964 (F2FS_LINK_MAX): Add.
25965
e1b42695
PP
259662013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25967
25968 * stdio-common/vfprintf.c: Replace __builtin_expect with
25969 __glibc_unlikely.
25970
2d67d91a
JM
259712013-03-06 Joseph Myers <joseph@codesourcery.com>
25972
25973 [BZ #13550]
25974 * sysdeps/generic/bp-sym.h: Remove file.
25975 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25976 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25977 <bp-sym.h> and <bp-asm.h>.
25978 (__longjmp): Don't use BP_SYM.
25979 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25980 and <bp-asm.h>.
25981 (memcpy): Don't use BP_SYM.
25982 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25983 <bp-sym.h> and <bp-asm.h>.
25984 (memcpy): Don't use BP_SYM.
25985 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25986 <bp-asm.h>.
25987 (memcpy): Don't use BP_SYM.
25988 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25989 <bp-asm.h>.
25990 (memset): Don't use BP_SYM.
25991 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25992 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25993 (__bzero): Don't use BP_SYM.
25994 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25995 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25996 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25997 <bp-sym.h> and <bp-asm.h>.
25998 (memcmp): Don't use BP_SYM. Remove comment about bounded
25999 pointers.
26000 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26001 <bp-sym.h> and <bp-asm.h>.
26002 (memcpy): Don't use BP_SYM.
26003 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26004 <bp-sym.h> and <bp-asm.h>.
26005 (memset): Don't use BP_SYM.
26006 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26007 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26008 (__bzero): Don't use BP_SYM.
26009 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26010 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26011 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26012 <bp-sym.h> and <bp-asm.h>.
26013 (strncmp): Don't use BP_SYM. Remove comment about bounded
26014 pointers.
26015 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26016 <bp-sym.h> and <bp-asm.h>.
26017 (memcpy): Don't use BP_SYM.
26018 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26019 <bp-sym.h> and <bp-asm.h>.
26020 (memset): Don't use BP_SYM.
26021 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26022 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26023 (__bzero): Don't use BP_SYM.
26024 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26025 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26027 <bp-sym.h> and <bp-asm.h>.
26028 (__memchr): Don't use BP_SYM.
26029 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26030 <bp-sym.h> and <bp-asm.h>.
26031 (memcmp): Don't use BP_SYM. Remove comment about bounded
26032 pointers.
26033 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26034 <bp-sym.h> and <bp-asm.h>.
26035 (memcpy): Don't use BP_SYM.
26036 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26037 <bp-sym.h> and <bp-asm.h>.
26038 (__mempcpy): Don't use BP_SYM.
26039 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26040 <bp-sym.h> and <bp-asm.h>.
26041 (__memrchr): Don't use BP_SYM.
26042 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26043 <bp-sym.h> and <bp-asm.h>.
26044 (memset): Don't use BP_SYM.
26045 (__bzero): Likewise.
26046 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26047 <bp-sym.h> and <bp-asm.h>.
26048 (__rawmemchr): Don't use BP_SYM.
26049 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26050 <bp-sym.h> and <bp-asm.h>.
26051 (__STRCMP): Don't use BP_SYM.
26052 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26053 <bp-sym.h> and <bp-asm.h>.
26054 (strchr): Don't use BP_SYM.
26055 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26056 <bp-sym.h> and <bp-asm.h>.
26057 (__strchrnul): Don't use BP_SYM.
26058 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26059 <bp-sym.h> and <bp-asm.h>.
26060 (strlen): Don't use BP_SYM.
26061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26062 <bp-sym.h> and <bp-asm.h>.
26063 (strncmp): Don't use BP_SYM. Remove comment about bounded
26064 pointers.
26065 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26066 <bp-sym.h> and <bp-asm.h>.
26067 (__strnlen): Don't use BP_SYM.
26068 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26069 <bp-sym.h> and <bp-asm.h>.
26070 (__GI__setjmp): Don't use BP_SYM.
26071 (_setjmp): Likewise.
26072 (__sigsetjmp): Likewise.
26073 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26074 (L(start_addresses)): Don't use BP_SYM.
26075 (_start): Likewise.
26076 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26077 <bp-asm.h>.
26078 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26079 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26080 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26081 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26082 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26083 <bp-asm.h>.
26084 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26085 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26086 about bounded pointers.
26087 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26088 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26089 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26090 <bp-asm.h>.
26091 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26092 about bounded pointers. Remove GKM FIXME comments.
26093 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26094 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26095 <bp-asm.h>.
26096 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26097 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26098 Remove GKM FIXME comments.
26099 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26100 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26101 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26102 <bp-asm.h>.
26103 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26104 about bounded pointers. Remove GKM FIXME comment.
26105 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26106 and <bp-asm.h>.
26107 (strncmp): Don't use BP_SYM. Remove comment about bounded
26108 pointers.
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26110 <bp-sym.h> and <bp-asm.h>.
26111 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26113 <bp-sym.h> and <bp-asm.h>.
26114 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26115 comment.
26116
cdcf361f
PP
261172013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26118
26119 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26120 call free(NULL).
26121
3c4a2b15
DM
261222013-03-05 David S. Miller <davem@davemloft.net>
26123
26124 * po/es.po: Update from translation team.
26125
cdcf361f 261262013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26127
26128 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26129 <bits/mman-linux.h>.
26130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26131 is fine.
26132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26133 <bits/mman-linux.h> to end of file.
26134 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26135 is fine.
26136 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26137 <bits/mman-linux.h> to end of file.
26138 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26139 is fine.
26140 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26141 <bits/mman-linux.h> to end of file.
26142
26143 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26144 (MCL_CURRENT, MCL_FUTURE): Define here.
26145
5f67c04f
AK
261462013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26147
8a4473cc 26148 [BZ #15232]
5f67c04f
AK
26149 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26150 attribute_hidden.
26151 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26152
c3e94a95
AK
261532013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26154
26155 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26156 fourth parameter needed for rt_sigprocmask syscall.
26157 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26158 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26159 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26160 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26161 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26162 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26163
cfb6382a
JM
261642013-03-04 Joseph Myers <joseph@codesourcery.com>
26165
26166 [BZ #13550]
26167 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26168 comment about bounded pointers.
26169 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26170 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26171
539d8e01
AJ
261722013-03-04 Andreas Jaeger <aj@suse.de>
26173
26174 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26175 common definitions.
26176
26177 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26178 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26180 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26181 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26182 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26183
2e167a70 261842013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26185
26186 [BZ #15055]
26187 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26188 __ieee754_sqrl instead of __sqrl.
26189
68508633
JM
261902013-03-01 Joseph Myers <joseph@codesourcery.com>
26191
26192 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26193 * sysdeps/powerpc/fpu_control.h: ... here.
26194 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26195 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26196 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26197 * sysdeps/powerpc/bits/mathinline.h: ... here.
26198
7775448e
RM
261992013-03-01 Roland McGrath <roland@hack.frob.com>
26200
26201 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26202 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26203 to just [NEED_DL_SYSINFO_DSO].
26204 * elf/dl-support.c: Likewise.
26205 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26206 * elf/rtld.c (dl_main): Likewise.
26207 * elf/setup-vdso.h (setup_vdso): Likewise.
26208 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26209 * sysdeps/unix/sysv/linux/dl-sysdep.c
26210 (_dl_discover_osversion): Likewise.
26211
4e9b5995
CD
262122013-03-01 Carlos O'Donell <carlos@redhat.com>
26213
26214 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26215 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26216
e23872c8
SP
262172013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26218
e5c74c63
SP
26219 * NEWS: Mention libm performance improvements and non-x86 PI
26220 futex support.
26221
e23872c8
SP
26222 * csu/libc-start.c (__pthread_initialize_minimal): Change
26223 function arguments.
26224 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26225
b5510883
JM
262262013-02-28 Joseph Myers <joseph@codesourcery.com>
26227
26228 [BZ #13550]
26229 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26230 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26231 <bp-sym.h> and <bp-asm.h>.
26232 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26233 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26234 and <bp-asm.h>.
26235 (memcpy): Don't use BP_SYM.
26236 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26237 <bp-asm.h>.
26238 (__mpn_add_n): Don't use BP_SYM.
26239 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26240 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26241 and <bp-asm.h>.
26242 (__mpn_addmul_1): Don't use BP_SYM.
26243 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26244 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26245 <bp-sym.h>.
26246 (_setjmp): Don't use BP_SYM.
26247 (__novmx_setjmp): Likewise.
26248 (__GI__setjmp): Likewise.
26249 (__vmx_setjmp): Likewise.
26250 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26251 <bp-sym.h>.
26252 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26253 (__bzero): Don't use BP_SYM.
26254 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26255 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26256 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26257 <bp-sym.h> and <bp-asm.h>.
26258 (memcpy): Don't use BP_SYM.
26259 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26260 <bp-sym.h> and <bp-asm.h>.
26261 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26262 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26263 <bp-sym.h> and <bp-asm.h>.
26264 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26265 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26266 <bp-asm.h>.
26267 (__mpn_lshift): Don't use BP_SYM.
26268 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26269 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26270 <bp-asm.h>.
26271 (memset): Don't use BP_SYM.
26272 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26273 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26274 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26275 <bp-asm.h>.
26276 (__mpn_mul_1): Don't use BP_SYM.
26277 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26279 <bp-sym.h> and <bp-asm.h>.
26280 (memcmp): Don't use BP_SYM.
26281 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26282 <bp-sym.h> and <bp-asm.h>.
26283 (memcpy): Don't use BP_SYM.
26284 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26285 <bp-sym.h> and <bp-asm.h>.
26286 (memset): Don't use BP_SYM.
26287 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26288 <bp-sym.h> and <bp-asm.h>.
26289 (strncmp): Don't use BP_SYM.
26290 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26291 <bp-sym.h> and <bp-asm.h>.
26292 (memcpy): Don't use BP_SYM.
26293 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26294 <bp-sym.h> and <bp-asm.h>.
26295 (memset): Don't use BP_SYM.
26296 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26297 <bp-sym.h> and <bp-asm.h>.
26298 (__memchr): Don't use BP_SYM.
26299 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26300 <bp-sym.h> and <bp-asm.h>.
26301 (memcmp): Don't use BP_SYM.
26302 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26303 <bp-sym.h> and <bp-asm.h>.
26304 (memcpy): Don't use BP_SYM.
26305 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26306 <bp-sym.h> and <bp-asm.h>.
26307 (__mempcpy): Don't use BP_SYM.
26308 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26309 <bp-sym.h> and <bp-asm.h>.
26310 (__memrchr): Don't use BP_SYM.
26311 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26312 <bp-sym.h> and <bp-asm.h>.
26313 (memset): Don't use BP_SYM.
26314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26315 <bp-sym.h> and <bp-asm.h>.
26316 (__rawmemchr): Don't use BP_SYM.
26317 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26318 <bp-sym.h> and <bp-asm.h>.
26319 (__STRCMP): Don't use BP_SYM.
26320 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26321 <bp-sym.h> and <bp-asm.h>.
26322 (strchr): Don't use BP_SYM.
26323 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26324 <bp-sym.h> and <bp-asm.h>.
26325 (__strchrnul): Don't use BP_SYM.
26326 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26327 <bp-sym.h> and <bp-asm.h>.
26328 (strlen): Don't use BP_SYM.
26329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26330 <bp-sym.h> and <bp-asm.h>.
26331 (strncmp): Don't use BP_SYM.
26332 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26333 <bp-sym.h> and <bp-asm.h>.
26334 (__strnlen): Don't use BP_SYM.
26335 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26336 <bp-asm.h>.
26337 (__mpn_rshift): Don't use BP_SYM.
26338 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26339 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26340 <bp-sym.h> and <bp-asm.h>.
26341 (__sigsetjmp): Don't use BP_SYM.
26342 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26343 (L(start_addresses)): Don't use BP_SYM.
26344 (_start): Likewise.
26345 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26346 <bp-asm.h>.
26347 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26348 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26349 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26350 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26351 <bp-asm.h>.
26352 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26353 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26354 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26355 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26356 <bp-asm.h>.
26357 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26358 comments.
26359 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26360 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26361 <bp-asm.h>.
26362 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26363 FIXME comments.
26364 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26365 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26366 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26367 <bp-asm.h>.
26368 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26369 comment.
26370 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26371 and <bp-asm.h>.
26372 (strncmp): Don't use BP_SYM,
26373 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26374 <bp-asm.h>.
26375 (__mpn_sub_n): Don't use BP_SYM.
26376 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26377 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26378 and <bp-asm.h>.
26379 (__mpn_submul_1): Don't use BP_SYM.
26380 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26382 <bp-sym.h> and <bp-asm.h>.
26383 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26385 <bp-sym.h> and <bp-asm.h>.
26386 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26387 comment.
26388
8d19fe64
SP
263892013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26390
26391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26392 Use ZK to minimize writes to Z.
26393 (sub_magnitudes): Simplify code a bit.
26394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26395 Use ZK to minimize writes to Z.
26396 (sub_magnitudes): Simplify code a bit.
26397
85bd816a
RM
263982013-02-27 Roland McGrath <roland@hack.frob.com>
26399
26400 * csu/gmon-start.c: Add special exception to license text.
26401
b5977bf2
RH
264022013-02-27 Richard Henderson <rth@redhat.com>
26403
26404 * scripts/config.guess: Update from config.git.
26405 * scripts/config.sub: Likewise.
26406
11d6e2f2
SP
264072013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26408
09c14ed2
SP
26409 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26410
a688864e
SP
26411 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26412
6295157a
SP
26413 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26414
b8de2202
SP
26415 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26416
11d6e2f2
SP
26417 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26418
7e80ddb8
RM
264192013-02-26 Roland McGrath <roland@hack.frob.com>
26420
26421 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26422 [$(build-shared = yes].
7e80ddb8 26423
7da6d9ed
SP
264242013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26425
45f05884
SP
26426 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26427 (__mul): Reduce iterations for calculating mantissa.
26428
2236d359
SP
26429 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26430 MPTWO.
26431 (__mpranred): Likewise.
26432
7da6d9ed
SP
26433 [BZ #15160]
26434 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26435 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26436
b7688c42
PE
264372013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26438
26439 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26440 Define __attribute__.
26441
53a5c423
SP
264422013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26443
26444 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26445 unused.
26446 * posix/regex_internal.h (__attribute): Remove.
26447 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26448 (re_string_context_at): Likewise.
26449 (bitset_not): Use __attribute__ and mark function as possibly
26450 unused.
26451 (bitset_merge): Likewise.
26452 (bitset_mask): Likewise.
26453 (re_string_char_size_at): Likewise.
26454 (re_string_wchar_at): Likewise.
26455 (re_string_elem_size_at): Likewise.
26456
60f5a8b5
SP
264572013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26458
2a983a2e
SP
26459 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26460 code.
26461 (cc32): Likewise.
26462
e69804d1
SP
26463 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26464 (__acr): Likewise.
26465 (__cpy): Likewise.
26466 (norm): Likewise.
26467 (denorm): Likewise.
26468 (__dbl_mp): Likewise.
26469 (add_magnitudes): Likewise.
26470 (sub_magnitudes): Likewise.
26471 (__mul): Likewise.
26472 (__inv): Likewise.
26473
2f22a1e8
SP
26474 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26475 style.
26476
8930ddc7
SP
26477 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26478 style.
26479
dc60cb11
SP
26480 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26481 code.
26482
60f5a8b5
SP
26483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26484 up changes with default code.
26485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26486 Likewise.
26487
b4d1fd33
AM
264882013-02-24 Allan McRae <allan@archlinux.org>
26489
faf6f8bc
AM
26490 * manual/socket.texi (The Internet Namespace): Order menu items
26491 to match that in the file.
26492
b4d1fd33
AM
26493 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26494 node listing of the info page menu.
26495
2366713d
JM
264962013-02-21 Joseph Myers <joseph@codesourcery.com>
26497
26498 [BZ #13550]
26499 * sysdeps/i386/bp-asm.h: Remove file.
26500 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26501 (PARMS): Do not use macros from bp-asm.h.
26502 (S1): Likewise.
26503 (S2): Likewise.
26504 (SIZE): Likewise.
26505 (__mpn_add_n): Do not use BP_SYM
26506 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26507 "bp-asm.h".
26508 (PARMS): Do not use macros from bp-asm.h.
26509 (S1): Likewise.
26510 (SIZE): Likewise.
26511 (__mpn_addmul_1): Do not use BP_SYM
26512 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26513 "bp-asm.h".
26514 (PARMS): Do not use macros from bp-asm.h.
26515 (SIGMSK): Likewise.
26516 (_setjmp): Likewise. Do not use BP_SYM.
26517 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26518 "bp-asm.h".
26519 (PARMS): Do not use macros from bp-asm.h.
26520 (SIGMSK): Likewise.
26521 (setjmp): Likewise. Do not use BP_SYM.
26522 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26523 "bp-asm.h".
26524 (PARMS): Do not use macros from bp-asm.h.
26525 (__frexp): Do not use BP_SYM.
26526 (frexp): Likewise.
26527 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26528 "bp-asm.h".
26529 (PARMS): Do not use macros from bp-asm.h.
26530 (__frexpf): Do not use BP_SYM.
26531 (frexpf): Likewise.
26532 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26533 "bp-asm.h".
26534 (PARMS): Do not use macros from bp-asm.h.
26535 (__frexpl): Do not use BP_SYM.
26536 (frexpl): Likewise.
26537 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26538 "bp-asm.h".
26539 (PARMS): Do not use macros from bp-asm.h.
26540 (__remquo): Do not use BP_SYM.
26541 (remquo): Likewise.
26542 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26543 "bp-asm.h".
26544 (PARMS): Do not use macros from bp-asm.h.
26545 (__remquof): Do not use BP_SYM.
26546 (remquof): Likewise.
26547 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26548 "bp-asm.h".
26549 (PARMS): Do not use macros from bp-asm.h.
26550 (__remquol): Do not use BP_SYM.
26551 (remquol): Likewise.
26552 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26553 "bp-asm.h".
26554 (PARMS): Do not use macros from bp-asm.h.
26555 (DEST): Likewise.
26556 (SRC): Likewise.
26557 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26558 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26559 "bp-asm.h".
26560 (PARMS): Do not use macros from bp-asm.h.
26561 (strlen): Do not use BP_SYM.
26562 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26563 "bp-asm.h".
26564 (PARMS): Do not use macros from bp-asm.h.
26565 (S1): Likewise.
26566 (S2): Likewise.
26567 (SIZE): Likewise.
26568 (__mpn_add_n): Do not use BP_SYM.
26569 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26570 "bp-asm.h".
26571 (PARMS): Do not use macros from bp-asm.h.
26572 (S1): Likewise.
26573 (SIZE): Likewise.
26574 (__mpn_addmul_1): Do not use BP_SYM.
26575 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26576 weak_alias.
26577 (bzero): Likewise.
26578 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26579 "bp-asm.h".
26580 (PARMS): Do not use macros from bp-asm.h.
26581 (S): Likewise.
26582 (SIZE): Likewise.
26583 (__mpn_lshift): Do not use BP_SYM.
26584 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26585 "bp-asm.h".
26586 (PARMS): Do not use macros from bp-asm.h.
26587 (DEST): Likewise.
26588 (SRC): Likewise.
26589 (LEN): Likewise.
26590 (memcpy): Likewise. Do not use BP_SYM.
26591 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26592 libc_hidden_def and weak_alias.
26593 (mempcpy): Do not use BP_SYM in weak_alias.
26594 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26595 "bp-asm.h".
26596 (PARMS): Do not use macros from bp-asm.h.
26597 (DEST): Likewise.
26598 (LEN): Likewise.
26599 [!BZERO_P] (CHR): Likewise.
26600 (memset): Likewise. Do not use BP_SYM.
26601 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26602 "bp-asm.h".
26603 (PARMS): Do not use macros from bp-asm.h.
26604 (S1): Likewise.
26605 (SIZE): Likewise.
26606 (__mpn_mul_1): Do not use BP_SYM.
26607 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26608 "bp-asm.h".
26609 (PARMS): Do not use macros from bp-asm.h.
26610 (S): Likewise.
26611 (SIZE): Likewise.
26612 (__mpn_rshift): Do not use BP_SYM.
26613 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26614 "bp-asm.h".
26615 (PARMS): Do not use macros from bp-asm.h.
26616 (STR): Likewise.
26617 (CHR): Likewise.
26618 (strchr): Likewise. Do not use BP_SYM.
26619 (index): Do not use BP_SYM in weak_alias.
26620 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26621 "bp-asm.h".
26622 (PARMS): Do not use macros from bp-asm.h.
26623 (DEST): Likewise.
26624 (SRC): Likewise.
26625 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26626 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26627 "bp-asm.h".
26628 (PARMS): Do not use macros from bp-asm.h.
26629 (strlen): Do not use BP_SYM.
26630 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26631 "bp-asm.h".
26632 (PARMS): Do not use macros from bp-asm.h.
26633 (S1): Likewise.
26634 (S2): Likewise.
26635 (SIZE): Likewise.
26636 (__mpn_sub_n): Do not use BP_SYM.
26637 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26638 "bp-asm.h".
26639 (PARMS): Do not use macros from bp-asm.h.
26640 (S1): Likewise.
26641 (SIZE): Likewise.
26642 (__mpn_submul_1): Do not use BP_SYM.
26643 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26644 "bp-asm.h".
26645 (PARMS): Do not use macros from bp-asm.h.
26646 (S1): Likewise.
26647 (S2): Likewise.
26648 (SIZE): Likewise.
26649 (__mpn_add_n): Do not use BP_SYM.
26650 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26651 weak_alias.
26652 (bzero): Likewise.
26653 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26654 "bp-asm.h".
26655 (PARMS): Do not use macros from bp-asm.h.
26656 (BLK2): Likewise.
26657 (LEN): Likewise.
26658 (memcmp): Do not use BP_SYM.
26659 (bcmp): Do not use BP_SYM in weak_alias.
26660 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26661 "bp-asm.h".
26662 (PARMS): Do not use macros from bp-asm.h.
26663 (DEST): Likewise.
26664 (SRC): Likewise.
26665 (LEN): Likewise.
26666 (memcpy): Likewise. Do not use BP_SYM.
26667 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26668 "bp-asm.h".
26669 (PARMS): Do not use macros from bp-asm.h.
26670 (DEST): Likewise.
26671 (SRC): Likewise.
26672 (LEN): Likewise.
26673 (memmove): Likewise. Do not use BP_SYM.
26674 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26675 "bp-asm.h".
26676 (PARMS): Do not use macros from bp-asm.h.
26677 (DEST): Likewise.
26678 (SRC): Likewise.
26679 (LEN): Likewise.
26680 (__mempcpy): Likewise. Do not use BP_SYM.
26681 (mempcpy): Do not use BP_SYM in weak_alias.
26682 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26683 "bp-asm.h".
26684 (PARMS): Do not use macros from bp-asm.h.
26685 (DEST): Likewise.
26686 (LEN): Likewise.
26687 [!BZERO_P] (CHR): Likewise.
26688 (memset): Likewise. Do not use BP_SYM.
26689 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26690 "bp-asm.h".
26691 (PARMS): Do not use macros from bp-asm.h.
26692 (STR2): Likewise.
26693 (strcmp): Do not use BP_SYM.
26694 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26695 "bp-asm.h".
26696 (PARMS): Do not use macros from bp-asm.h.
26697 (STR): Likewise.
26698 (DELIM): Likewise.
26699 [USE_AS_STRTOK_R] (SAVE): Likewise.
26700 (FUNCTION): Likewise. Do not use BP_SYM.
26701 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26702 aliases.
26703 (strtok_r): Likewise.
26704 (__GI___strtok_r): Likewise.
26705 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26706 (PARMS): Do not use macros from bp-asm.h.
26707 (S): Likewise.
26708 (SIZE): Likewise.
26709 (__mpn_lshift): Do not use BP_SYM.
26710 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26711 (PARMS): Do not use macros from bp-asm.h.
26712 (STR): Likewise.
26713 (CHR): Likewise.
26714 (__memchr): Do not use BP_SYM.
26715 (memchr): Do not use BP_SYM in weak_alias.
26716 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26717 (PARMS): Do not use macros from bp-asm.h.
26718 (BLK2): Likewise.
26719 (LEN): Likewise.
26720 (memcmp): Do not use BP_SYM.
26721 (bcmp): Do not use BP_SYM in weak_alias.
26722 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26723 (PARMS): Do not use macros from bp-asm.h.
26724 (S1): Likewise.
26725 (SIZE): Likewise.
26726 (__mpn_mul_1): Do not use BP_SYM.
26727 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26728 "bp-asm.h".
26729 (PARMS): Do not use macros from bp-asm.h.
26730 (STR): Likewise.
26731 (CHR): Likewise.
26732 (__rawmemchr): Do not use BP_SYM.
26733 (rawmemchr): Do not use BP_SYM in weak_alias.
26734 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26735 (PARMS): Do not use macros from bp-asm.h.
26736 (S): Likewise.
26737 (SIZE): Likewise.
26738 (__mpn_rshift): Do not use BP_SYM.
26739 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26740 (PARMS): Do not use macros from bp-asm.h.
26741 (SIGMSK): Likewise.
26742 (__sigsetjmp): Likewise. Do not use BP_SYM.
26743 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26744 (_start): Do not use BP_SYM.
26745 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26746 (PARMS): Do not use macros from bp-asm.h.
26747 (DEST): Likewise.
26748 (SRC): Likewise.
26749 (__stpcpy): Likewise. Do not use BP_SYM.
26750 (stpcpy): Do not use BP_SYM in weak_alias.
26751 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26752 "bp-asm.h".
26753 (PARMS): Do not use macros from bp-asm.h.
26754 (DEST): Likewise.
26755 (SRC): Likewise.
26756 (LEN): Likewise.
26757 (__stpncpy): Likewise. Do not use BP_SYM.
26758 (stpncpy): Do not use BP_SYM in weak_alias.
26759 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26760 (PARMS): Do not use macros from bp-asm.h.
26761 (STR): Likewise.
26762 (CHR): Likewise.
26763 (strchr): Likewise. Do not use BP_SYM.
26764 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26765 "bp-asm.h".
26766 (PARMS): Do not use macros from bp-asm.h.
26767 (STR): Likewise.
26768 (CHR): Likewise.
26769 (__strchrnul): Likewise. Do not use BP_SYM.
26770 (strchrnul): Do not use BP_SYM in weak_alias.
26771 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26772 "bp-asm.h".
26773 (PARMS): Do not use macros from bp-asm.h.
26774 (STOP): Likewise.
26775 (strcspn): Do not use BP_SYM.
26776 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26777 "bp-asm.h".
26778 (PARMS): Do not use macros from bp-asm.h.
26779 (STR): Likewise.
26780 (STOP): Likewise.
26781 (strpbrk): Likewise. Do not use BP_SYM.
26782 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26783 "bp-asm.h".
26784 (PARMS): Do not use macros from bp-asm.h.
26785 (STR): Likewise.
26786 (CHR): Likewise.
26787 (strrchr): Likewise. Do not use BP_SYM.
26788 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26789 (PARMS): Do not use macros from bp-asm.h.
26790 (SKIP): Likewise.
26791 (strspn): Do not use BP_SYM.
26792 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26793 (PARMS): Do not use macros from bp-asm.h.
26794 (STR): Likewise.
26795 (DELIM): Likewise.
26796 (SAVE): Likewise.
26797 (FUNCTION): Likewise. Do not use BP_SYM.
26798 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26799 aliases.
26800 (strtok_r): Likewise.
26801 (__GI___strtok_r): Likewise.
26802 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26803 (PARMS): Do not use macros from bp-asm.h.
26804 (S1): Likewise.
26805 (S2): Likewise.
26806 (SIZE): Likewise.
26807 (__mpn_sub_n): Do not use BP_SYM.
26808 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26809 "bp-asm.h".
26810 (PARMS): Do not use macros from bp-asm.h.
26811 (S1): Likewise.
26812 (SIZE): Likewise.
26813 (__mpn_submul_1): Do not use BP_SYM.
26814 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26815 <bp-sym.h>.
26816 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26817 and <bp-asm.h>.
26818 (PARMS): Do not use macros from bp-asm.h.
26819 (FLAGS): Likewise.
26820 (PTID): Likewise.
26821 (TLS): Likewise.
26822 (CTID): Likewise.
26823 (__clone): Do not use BP_SYM.
26824 (clone): Do not use BP_SYM in weak_alias.
26825 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26826 and <bp-asm.h>.
26827 (PARMS): Do not use macros from bp-asm.h.
26828 (LEN): Likewise.
26829 (__mmap64): Do not use BP_SYM.
26830 (mmap64): Do not use BP_SYM in weak_alias.
26831 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26832 <bp-sym.h> and <bp-asm.h>.
26833 (PARMS): Do not use macros from bp-asm.h.
26834 (__posix_fadvise64_l64): Do not use BP_SYM.
26835 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26836 (PARMS): Do not use macros from bp-asm.h.
26837 (NSOPS): Likewise.
26838 (semtimedop): Do not use BP_SYM.
26839 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26840 and <bp-asm.h>.
26841
582a3cff
AM
268422013-02-21 Allan McRae <allan@archlinux.org>
26843
26844 * manual/message.texi (Charset conversion in gettext):
26845 Move @end statement to beginning of line.
26846
bab8a695
SP
268472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26848
80945231
SP
26849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26850 static.
26851 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26852 Likewise.
26853
bab8a695
SP
26854 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26855 (denorm): Likewise.
26856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26858
e21d7aa7
AK
268592013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26860
26861 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26862 tail-call to the resolved function if pltexit isn't needed.
26863
4c7a4263
SP
268642013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26865
26866 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26867 or Y being zero as being unlikely.
26868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26869 Likewise.
26870
41f49342
CD
268712013-02-20 Carlos O'Donell <carlos@redhat.com>
26872
26873 * manual/nss.texi (System Databases and Name Service Switch):
26874 Remove frobnicate @pxref.
26875
50022a93
TS
268762013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26877
26878 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26879 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26880
08cbd996
PM
268812013-02-20 Petr Machata <pmachata@redhat.com>
26882
26883 * elf/elf.h (R_ARM_TARGET1): New macro.
26884 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26885 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26886 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26887 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26888 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26889 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26890 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26891 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26892 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26893 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26894 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26895 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26896 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26897 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26898 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26899 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26900 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26901 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26902 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26903 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26904 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26905 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26906 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26907 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26908 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26909 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26910 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26911 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26912 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26913 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26914 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26915 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26916 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26917 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26918 (R_ARM_THM_GOT_BREL12): Likewise.
26919 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26920 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26921 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26922 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26923 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26924 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26925 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26926 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26927 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26928
c7b275d6
TS
269292013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26930
26931 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26932 __attribute_used__ to __attribute__ ((unused)).
26933
20cd7fb3
SP
269342013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26935
26936 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26937 powerpc mpa.c.
26938 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26939 comment formatting.
26940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26941
92945b52
JM
269422013-02-19 Joseph Myers <joseph@codesourcery.com>
26943
26944 [BZ #13550]
26945 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26946 Remove macro.
26947 (ENTER): Remove both macro definitions.
26948 (LEAVE): Likewise.
26949 (CHECK_BOUNDS_LOW): Likewise.
26950 (CHECK_BOUNDS_HIGH): Likewise.
26951 (CHECK_BOUNDS_BOTH): Likewise.
26952 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26953 (RETURN_BOUNDED_POINTER): Likewise.
26954 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26955 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26956 (POP_ERRNO_LOCATION_RETURN): Likewise.
26957 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26958 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26959 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26960 macros.
26961 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26962 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26963 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26964 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26965 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26966 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26967 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26968 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26969 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26970 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26971 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26972 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26973 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26974 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26975 removed macros.
26976 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26977 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26978 macros.
26979 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26980 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26981 * sysdeps/i386/i586/memset.S (memset): Likewise.
26982 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26983 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26984 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26985 macros.
26986 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26987 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26988 Change uses of L(2) to L(out).
26989 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26990 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26991 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26992 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26993 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26994 removed macros.
26995 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26996 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26997 macros.
26998 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26999 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27000 (RETURN): Do not use macro LEAVE.
27001 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27002 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27003 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27004 * sysdeps/i386/i686/memset.S (memset): Likewise.
27005 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27006 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27007 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27008 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27009 Likewise.
27010 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27011 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27012 L(1_2) and L(1_3) into L(1).
27013 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27014 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27015 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27016 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27017 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27018 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27019 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27020 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27021 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27022 macros.
27023 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27024 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27025 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27026 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27027 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27028 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27029 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27030 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27031 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27032 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27033 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27034 * sysdeps/i386/strspn.S (strspn): Likewise.
27035 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27036 conditional code.
27037 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27038 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27039 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27040 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27041 L(1_3) into L(1_1).
27042 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27043 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27044 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27045 macros.
27046 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27047
2389741a
JJ
270482013-02-19 Jakub Jelinek <jakub@redhat.com>
27049
27050 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27051 macro.
27052
2016b3cd
SP
270532013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27054
e4f22324
SP
27055 * math/atest-exp.c (exp_mpn): Remove ROUND.
27056 * math/atest-exp2.c (exp_mpn): Likewise.
27057 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27058
2016b3cd
SP
27059 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27060 * stdlib/tst-tls-atexit-lib.c: Likewise.
27061 * stdlib/tst-tls-atexit.c: Likewise.
27062
4be9b544
MF
270632013-02-18 Mike Frysinger <vapier@gentoo.org>
27064
27065 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27066 and __attribute_alloc_size__.
27067
2f62b9ee
MF
270682013-02-18 Mike Frysinger <vapier@gentoo.org>
27069
27070 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27071 __attribute_alloc_size__.
27072 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27073 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27074
6ff444c4
MF
270752013-02-18 Mike Frysinger <vapier@gentoo.org>
27076
27077 * include/programs/xmalloc.h: New file.
27078 * catgets/gencat.c: Include it.
27079 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27080 * elf/pldd.c: Likewise.
27081 * iconv/iconv_charmap.c: Likewise.
27082 * iconv/iconvconfig.c: Likewise.
27083 * iconv/strtab.c: Likewise.
27084 * locale/programs/locale.c: Likewise.
27085 * locale/programs/localedef.h: Likewise.
27086 * locale/programs/simple-hash.c: Likewise.
27087 * nscd/nscd.h: Likewise.
27088 * nss/makedb.c: Likewise.
27089 * sysdeps/generic/ldconfig.h: Likewise.
27090
be179c8a
SP
270912013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27092
ba384f6e
SP
27093 * Versions.def: Add GLIBC_2.18.
27094 * include/link.h (struct link_map): New member l_tls_dtor_count.
27095 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27096 (__call_tls_dtors): Likewise.
27097 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27098 __cxa_thread_atexit_impl.
27099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27100 Likewise.
27101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27102 Likewise.
27103 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27104 Likewise.
27105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27106 Likewise.
27107 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27109 Likewise.
27110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27111 Likewise.
27112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27113 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27114 Likewise.
27115 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27116 (tests): Add test case tst-tls-atexit.
27117 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27118 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27119 (GLIBC_PRIVATE): Add __call_tls_dtors.
27120 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27121 for libstdc++.
27122 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27123 * stdlib/tst-tls-atexit.c: New test case.
27124 * stdlib/tst-tls-atexit-lib.c: New test case.
27125
ffaa74cf 27126 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27127
be179c8a
SP
27128 * elf/Versions (ld): Add _dl_find_dso_for_object.
27129 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27130 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27131 (dl_open_worker): Use _dl_find_dso_for_object.
27132 * elf/dl-sym.c (do_sym): Likewise.
27133 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27134
f78b5caa
AK
271352013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27136
27137 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27138 Syntactic changes only.
27139 (_dl_runtime_profile): Do a tail-call to the resolved function.
27140
29691210
JM
271412013-02-17 Joseph Myers <joseph@codesourcery.com>
27142
27143 [BZ #13550]
27144 * sysdeps/x86_64/bp-asm.h: Remove file.
27145 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27146 <bp-sym.h> and <bp-asm.h>.
27147 (__clone): Do not use BP_SYM.
27148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27149 <bp-sym.h> and <bp-asm.h>.
27150 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27151 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27152 "bp-asm.h".
27153 (_setjmp): Do not use BP_SYM.
27154 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27155 "bp-asm.h".
27156 (setjmp): Do not use BP_SYM.
27157 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27158 libc_hidden_def.
27159 (mempcpy): Do not use BP_SYM in weak_alias.
27160 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27161 "bp-asm.h".
27162 (strchr): Do not use BP_SYM.
27163 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27164 "bp-asm.h".
27165 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27166 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27167 (_start): Do not use BP_SYM.
27168 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27169 "bp-asm.h".
27170 (strcat): Do not use BP_SYM.
27171 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27172 "bp-asm.h".
27173 (STRCMP): Do not use BP_SYM.
27174 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27175 "bp-asm.h".
27176 (STRCPY): Do not use BP_SYM.
27177 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27178 "bp-asm.h".
27179 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27180 "bp-asm.h".
27181 (FUNCTION): Do not use BP_SYM.
27182 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27183 weak_alias.
27184 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27185
f238fd19
AJ
271862013-02-17 Andreas Jaeger <aj@suse.de>
27187
27188 * time/Versions: Sort entries.
27189 * string/Versions: Likewise.
27190 * resolv/Versions: Likewise.
27191 * posix/Versions: Likewise.
27192 * iconv/Versions: Likewise.
27193 * elf/Versions: Likewise.
27194 * wcsmbs/Versions: Likewise.
27195
bd07f23c 271962013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27197
22af19f9
SP
27198 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27199 loop termination condition.
27200
4709fe76
SP
27201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27202 variable to calculate EZ.
27203 (__sqr): Likewise.
2d0e0f29
SP
27204
27205 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27206 the lower precision input.
27207
daaa7713
JM
272082013-02-15 Joseph Myers <joseph@codesourcery.com>
27209
27210 [BZ #13550]
27211 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27212 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27213 (run-via-rtld-prefix): Do not handle %-bp tests.
27214 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27215 (all-object-suffixes): Remove .ob.
27216 (bppfx): Remove variable.
27217 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27218 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27219 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27220 [$(build-bounded) = yes] (libtype.ob): Likewise.
27221 * Makerules (elide-routines.ob): Remove variable.
27222 (do-tests-clean): Do not handle *-bp.out.
27223 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27224 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27225 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27226 (tests): Do not include $(tests-bp.out).
27227 (xtests): Do not include $(xtests-bp.out).
27228 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27229 [$(build-bounded) = yes] ($(addprefix
27230 $(objpfx),$(binaries-bounded))): Remove rule.
27231 ($(objpfx)%-bp.out): Remove rule.
27232 * config.make.in (build-bounded): Remove variable.
27233 * crypt/Makefile [$(build-bounded) = yes]
27234 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27235 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27236 append to variable.
27237 [$(build-bounded) = yes] (install-lib): Likewise.
27238 [$(build-bounded) = yes] (generated): Likewise.
27239 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27240 Remove rule.
27241 * intl/Makefile [$(build-bounded) = yes]
27242 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27243 * math/Makefile [$(build-bounded) = yes]
27244 ($(tests:%=$(objpfx)%-bp): Likewise.
27245 * misc/Makefile [$(build-bounded) = yes]
27246 ($(objpfx)tst-tsearch-bp): Likewise.
27247 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27248 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27249 Remove dependency.
27250 * string/Makefile (o-objects.ob): Remove variable.
27251 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27252 (CFLAGS-.ob): Remove variable.
27253 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27254 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27255 both definitions of variable.
27256 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27257 (ASFLAGS-.ob): Remove variable.
27258
e97ed6dd
JM
272592013-02-14 Joseph Myers <joseph@codesourcery.com>
27260
2bdd4ca6
JM
27261 [BZ #13550]
27262 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27263 Remove __BOUNDED_POINTERS__ from condition.
27264 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27265 * string/bits/string2.h [!__NO_STRING_INLINES &&
27266 !__BOUNDED_POINTERS__]: Likewise.
27267 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27268 Likewise.
27269 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27270 Remove conditional code.
27271 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27272 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27273 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27274 condition.
27275
e97ed6dd
JM
27276 [BZ #13550]
27277 * csu/libc-start.c: Do not include <bp-sym.h>.
27278 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27279 * elf/dl-open.c: Do not include <bp-sym.h>.
27280 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27281 * math/fegetenv.c: Do not include <bp-sym.h>.
27282 (fegetenv): Do not use BP_SYM in versioned symbols.
27283 * nptl/sysdeps/pthread/bits/libc-lockP.h
27284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27285 <bp-sym.h>.
27286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27287 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27289 (__pthread_mutex_destroy): Likewise.
27290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27291 (__pthread_mutex_lock): Likewise.
27292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27293 (__pthread_mutex_trylock): Likewise.
27294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27295 (__pthread_mutex_unlock): Likewise.
27296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27297 (__pthread_mutexattr_init): Likewise.
27298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27299 (__pthread_mutexattr_destroy): Likewise.
27300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27301 (__pthread_mutexattr_settype): Likewise.
27302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27303 (__pthread_rwlock_init): Likewise.
27304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27305 (__pthread_rwlock_destroy): Likewise.
27306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27307 (__pthread_rwlock_rdlock): Likewise.
27308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27309 (__pthread_rwlock_tryrdlock): Likewise.
27310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27311 (__pthread_rwlock_wrlock): Likewise.
27312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27313 (__pthread_rwlock_trywrlock): Likewise.
27314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27315 (__pthread_rwlock_unlock): Likewise.
27316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27317 (__pthread_key_create): Likewise.
27318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27319 (__pthread_setspecific): Likewise.
27320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27321 (__pthread_getspecific): Likewise.
27322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27323 Likewise.
27324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27325 (_pthread_cleanup_push_defer): Likewise.
27326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27327 (_pthread_cleanup_pop_restore): Likewise.
27328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27329 (pthread_setcancelstate): Likewise.
27330 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27331 <bp-sym.h>.
27332 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27333 (memchr): Do not use BP_SYM in weak_alias.
27334 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27335 (fegetenv): Do not use BP_SYM in versioned symbols.
27336 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27337 (fesetenv): Do not use BP_SYM in versioned symbols.
27338 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27339 (feupdateenv): Do not use BP_SYM in versioned symbols.
27340 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27341 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27342 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27343 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27344 (open64): Do not use BP_SYM in weak_alias.
27345 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27346 (fegetenv): Do not use BP_SYM in versioned symbols.
27347 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27348 (fesetenv): Do not use BP_SYM in versioned symbols.
27349 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27350 (feupdateenv): Do not use BP_SYM in versioned symbols.
27351 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27352 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27353 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27354 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27355 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27356 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27357 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27358 <bp-sym.h>.
27359 (__libc_start_main): Do not use BP_SYM.
27360
d6752ccd
SP
273612013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27362
cb57ce60
SP
27363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27364 redundant return line.
27365 (norm): Likewise.
27366 (denorm): Likewise.
27367 (dbl_mp): Likewise.
27368 (sub_magnitudes): Likewise.
27369 (__add): Likewise.
27370 (__sub): Likewise.
27371 (__mul): Likewise.
27372 (__inv): Likewise.
27373 (__dvd): Likewise.
27374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27375 (norm): Likewise.
27376 (denorm): Likewise.
27377 (dbl_mp): Likewise.
27378 (sub_magnitudes): Likewise.
27379 (__add): Likewise.
27380 (__sub): Likewise.
27381 (__mul): Likewise.
27382 (__inv): Likewise.
27383 (__dvd): Likewise.
27384
f414520d
SP
27385 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27386 instead of __mul.
27387 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27388 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27389 (cc32): Likewise.
27390
d6752ccd
SP
27391 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27392 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27394 of __mul for squares.
27395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27396 function
27397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27398 Likewise.
27399 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27400 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27401
70d9946a
JM
274022013-02-13 Joseph Myers <joseph@codesourcery.com>
27403
27404 [BZ #13550]
27405 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27406 code.
27407 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27408 prototype or function definition. Rename ubp_* variables and
27409 parameters. Remove argv definitions conditional on
27410 [__BOUNDED_POINTERS__].
27411 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27412 * elf/dl-runtime.c (_dl_fixup): Likewise.
27413 * include/set-hooks.h (RUN_HOOK): Likewise.
27414 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27415 definition.
27416 * string/strcpy.c (strcpy): Do not use __unbounded.
27417 * sysdeps/generic/frame.h (struct layout): Likewise.
27418 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27419 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27420 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27421 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27422 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27423 (__backtrace): Likewise.
27424 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27425 use __ptrvalue.
27426 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27427 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27428 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27429 Likewise.
27430 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27431 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27432 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27433 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27434 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27435 Do not use __unbounded.
27436 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27437 Rename __unboundedrlimits parameter to rlimits in prototype.
27438 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27439 Do not use __unbounded.
27440 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27441 not use __ptrvalue.
27442 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27443 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27444 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27445 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27446 __ptrvalue or __unbounded.
27447 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27448 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27449 use __unbounded.
27450 (__new_msgctl): Do not use __ptrvalue.
27451 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27452 __unbounded.
27453 (__libc_msgrcv): Do not use __ptrvalue.
27454 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27455 startup_info): Do not use __unbounded.
27456 (__libc_start_main): Likewise. Rename ubp_* variables and
27457 parameters. Remove argv definitions conditional on
27458 [__BOUNDED_POINTERS__].
27459 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27460 __ptrvalue.
27461 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27462 use __unbounded.
27463 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27464 or __ptrvalue.
27465 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27466 use __unbounded.
27467 (__new_shmctl): Do not use __ptrvalue.
27468 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27469 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27470 Likewise.
27471 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27472 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27473 (__libc_sigaction): Likewise.
27474 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27475 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27476 Likewise.
27477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27478
cc7834d6
OB
274792013-02-13 Ondřej Bílka <neleai@seznam.cz>
27480
ffb1ec7b 27481 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27482
27483 * string/mempcpy.c: Implement by calling memcpy.
27484
bdf02814
SP
274852013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27486
c2af38aa
SP
27487 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27488
4e92d59e
SP
27489 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27490 evaluation.
27491
909279a5
SP
27492 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27493 values in the mantissa.
27494
bdf02814
SP
27495 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27496 minimize writes to Z.
27497 (sub_magnitudes): Simplify code a bit.
27498
cd525923
RM
274992013-02-12 Roland McGrath <roland@hack.frob.com>
27500
27501 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27502 from the message. The linker prefixes all warnings with that already.
27503
7e2f0d2d
AS
275042013-02-12 Andreas Schwab <schwab@suse.de>
27505
a445af0b
AS
27506 [BZ #15078]
27507 * posix/regexec.c (extend_buffers): Add parameter min_len.
27508 (check_matching): Pass minimum needed length.
27509 (clean_state_log_if_needed): Likewise.
27510 (get_subexp): Likewise.
27511 * posix/Makefile (tests): Add bug-regex34.
27512 (bug-regex34-ENV): Define.
27513 * posix/bug-regex34.c: New file.
27514
7e2f0d2d
AS
27515 [BZ #11561]
27516 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27517 elements compare against the byte sequence of it, not its name.
27518 * posix/Makefile (tests): Add bug-regex35.
27519 (bug-regex35-ENV): Define.
27520 * posix/bug-regex35.c: New file.
27521
a175b684
TV
275222013-02-11 Tom de Vries <tom@codesourcery.com>
27523
27524 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27525 comment.
27526 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27527 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27528 (CHECK_EOL): Add undef.
27529
310998fe 275302013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27531
27532 * bits/stdlib-bsearch.h: New file.
27533 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27534 * stdlib/stdlib.h: Likewise.
41eda41d 27535
8ded91fb
RM
275362013-02-11 Roland McGrath <roland@hack.frob.com>
27537
27538 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27539 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27540 declaration.
27541 * manual/search.texi (Array Search Function): Add missing const in
27542 lfind prototype.
27543 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27544 declaration to use rlim_t.
27545 (Basic Scheduling Functions): Remove erroneous const from
27546 sched_getparam prototype. Remove erroneous * from
27547 sched_get_priority_max and sched_get_priority_min prototypes.
27548 (Resource Usage): Fix summary @comment on vtimes to refer to
27549 sys/vtimes.h rather than vtimes.h.
27550 Add missing *s in vtimes prototype.
27551 (Limits on Resources): Fix ulimit prototype to return long int.
27552 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27553 prototypes to use long int rather than double.
27554 (BSD Random): Fix initstate and setstate to use char *, not void *.
27555 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27556 prototype to make second argument 'struct aiocb64 *const[]'.
27557 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27558 (Status of AIO Operations): Remove erroneous const in aio_return and
27559 aio_return64 prototypes.
27560 (Synchronizing I/O): Fix sync prototype to return void.
27561 * manual/startup.texi (Suboptions): Remove an erroneous const in
27562 getsubopt prototype.
27563 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27564 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27565 use size_t rather than int.
27566 (Scanning All Users): Likewise for getpwent_r.
27567 (Setting Groups): Add missing const to setgroups prototype.
27568 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27569 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27570 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27571 'const void *' rather than 'const char *'.
27572 (Host Address Functions): Likewise for inet_ntop.
27573 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27574 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27575 ssize_t for return value.
27576 (Sending Data): Likewise for send, sendto, sendmsg.
27577 (Socket Option Functions): Add a missing const in setsockopt prototype.
27578 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27579 use wchar_t for the argument.
27580 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27581 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27582 take no arguments.
27583 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27584 double/float/long double for second argument.
27585 Fix return types of significand, significandf, significandl.
27586 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27587 argument in fchmod prototype.
27588 (File Owner): Use uid_t and gid_t in fchown prototype.
27589 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27590 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27591 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27592 use 'const struct dirent **' as argument types to CMP function pointer
27593 argument.
27594 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27595 (File Times): Fix summary magic @comment for struct utimbuf and utime
27596 to refer to utime.h, not time.h.
27597 * manual/string.texi (Argz Functions): Add missing const in
27598 argz_extract and argz_next prototypes.
27599 (Finding Tokens in a String): Likewise for basename.
27600 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27601 (Copying and Concatenation): Fix typo in wmemmove prototype.
27602 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27603 (Signal Stack): Remove erroneous const in sigstack prototype.
27604 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27605 prototype.
27606 (Simple Calendar Time): Likewise for stime.
27607 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27608 prototype.
27609 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27610 say sys/sysctl.h instead.
27611 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27612 and vsyslog prototypes.
27613
fe77fe6d
TV
276142013-02-11 Tom de Vries <tom@codesourcery.com>
27615
27616 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27617 Remove.
27618
3a09b620
RM
276192013-02-11 Roland McGrath <roland@hack.frob.com>
27620
27621 * misc/sys/mman.h: Fix typo in mremap comment.
27622
550a0b89
RM
276232013-02-08 Roland McGrath <roland@hack.frob.com>
27624
27625 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27626 the '\0' terminator.
27627
a2da1673
JM
276282013-02-08 Joseph Myers <joseph@codesourcery.com>
27629
27630 [BZ #13550]
27631 * debug/segfault.c: Don't include <bp-checks.h>.
27632 * sysdeps/generic/bp-checks.h: Remove file.
27633 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27634 (__GETDENTS): Don't use CHECK_N.
27635 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27636 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27637 (__getgroups): Don't use CHECK_N.
27638 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27639 (setgroups): Don't use CHECK_N.
27640 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27641 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27642 (__libc_msgrcv): Don't use CHECK_N.
27643 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27644 (__libc_msgsnd): Don't use CHECK_N.
27645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27646 <bp-checks.h>.
27647 (__libc_pread): Don't use CHECK_N.
27648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27649 include <bp-checks.h>.
27650 (__libc_pread64): Don't use CHECK_N.
27651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27652 include <bp-checks.h>.
27653 (__libc_pwrite): Don't use CHECK_N.
27654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27655 include <bp-checks.h>.
27656 (__libc_pwrite64): Don't use CHECK_N.
27657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27658 <bp-checks.h>.
27659 (__libc_pread): Don't use CHECK_N.
27660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27661 include <bp-checks.h>.
27662 (__libc_pread64): Don't use CHECK_N.
27663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27664 include <bp-checks.h>.
27665 (__libc_pwrite): Don't use CHECK_N.
27666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27667 include <bp-checks.h>.
27668 (__libc_pwrite64): Don't use CHECK_N.
27669 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27670 (do_pread): Don't use CHECK_N.
27671 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27672 (do_pread64): Don't use CHECK_N.
27673 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27674 (do_pwrite): Don't use CHECK_N.
27675 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27676 (do_pwrite64): Don't use CHECK_N.
27677 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27678 (__libc_readv): Don't use CHECK_N.
27679 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27680 (semop): Don't use CHECK_N.
27681 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27682 <bp-checks.h>.
27683 (semtimedop): Don't use CHECK_N.
27684 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27685 (__libc_pread): Don't use CHECK_N.
27686 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27687 <bp-checks.h>.
27688 (__libc_pread64): Don't use CHECK_N.
27689 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27690 <bp-checks.h>.
27691 (__libc_pwrite): Don't use CHECK_N.
27692 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27693 <bp-checks.h>.
27694 (__libc_pwrite64): Don't use CHECK_N.
27695 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27696 <bp-checks.h>.
27697 (__libc_msgrcv): Don't use CHECK_N.
27698 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27699 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27700 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27701 (__libc_writev): Don't use CHECK_N.
27702
b84660a8
RM
277032013-02-08 Roland McGrath <roland@hack.frob.com>
27704
7f3e75f8
RM
27705 * string/strcpy.c: Removed unused variable.
27706
b84660a8
RM
27707 * Makeconfig (+sysdep-includes): Define with := rather than =.
27708 Use an existing include/ subdir of each sysdeps dir before it.
27709
471514d3
CD
277102013-02-08 Carlos O'Donell <carlos@redhat.com>
27711
27712 * nscd/connection.c (register_traced_file): Comment function.
27713 [HAVE_INOTIFY] (union __inev): Define.
27714 [HAVE_INOTIFY] (inotify_check_files): New function.
27715 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27716 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27717 clear_db_cache.
27718 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27719
b2d3c3be
CD
277202013-02-08 Carlos O'Donell <carlos@redhat.com>
27721
27722 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27723 loaded if not already and that a failure is permanent.
27724
b39949d2
CD
277252013-02-08 Carlos O'Donell <carlos@redhat.com>
27726
ddacd1db 27727 [BZ #15006]
b39949d2
CD
27728 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27729 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27730
b2c9eff4
JM
277312013-02-08 Joseph Myers <joseph@codesourcery.com>
27732
f3aae3f3
JM
27733 [BZ #13550]
27734 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27735 (CHECK_1_NULL_OK): Likewise.
27736 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27737 (__fxstat): Do not use CHECK_1.
27738 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27739 <bp-checks.h>.
27740 (___fxstat64): Do not use CHECK_1.
27741 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27742 <bp-checks.h>.
27743 (__fxstatat): Do not use CHECK_1.
27744 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27745 <bp-checks.h>.
27746 (__fxstatat64): Do not use CHECK_1.
27747 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27748 <bp-checks.h>.
27749 (__fxstat): Do not use CHECK_1.
27750 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27751 <bp-checks.h>.
27752 (__fxstatat): Do not use CHECK_1.
27753 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27754 <bp-checks.h>.
27755 (__getresgid): Do not use CHECK_1.
27756 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27757 <bp-checks.h>.
27758 (__getresuid): Do not use CHECK_1.
27759 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27760 <bp-checks.h>.
27761 (__lxstat): Do not use CHECK_1.
27762 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27763 <bp-checks.h>.
27764 (__old_msgctl): Do not use CHECK_1.
27765 (__new_msgctl): Likewise.
27766 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27767 <bp-checks.h>.
27768 (__new_setrlimit): Do not use CHECK_1.
27769 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27770 <bp-checks.h>.
27771 (__old_shmctl): Do not use CHECK_1.
27772 (__new_shmctl): Likewise.
27773 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27774 <bp-checks.h>.
27775 (__xstat): Do not use CHECK_1.
27776 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27777 (__lxstat): Do not use CHECK_1.
27778 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27779 <bp-checks.h>.
27780 (___lxstat64): Do not use CHECK_1.
27781 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27782 (__old_msgctl): Do not use CHECK_1.
27783 (__new_msgctl): Likewise.
27784 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27785 <bp-checks.h>.
27786 (__gettimeofday): Do not use CHECK_1.
27787 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27788 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27789 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27790 <bp-checks.h>.
27791 (__gettimeofday): Do not use CHECK_1.
27792 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27793 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27794 (__new_shmctl): Do not use CHECK_1.
27795 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27796 <bp-checks.h>.
27797 (do_sigtimedwait): Do not use CHECK_1.
27798 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27799 <bp-checks.h>.
27800 (do_sigwaitinfo): Do not use CHECK_1.
27801 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27802 <bp-checks.h>.
27803 (msgctl): Do not use CHECK_1.
27804 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27805 <bp-checks.h>.
27806 (shmctl): Do not use CHECK_1.
27807 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27808 (ustat): Do not use CHECK_1.
27809 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27810 <bp-checks.h>.
27811 (__fxstat): Do not use CHECK_1.
27812 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27813 <bp-checks.h>.
27814 (__fxstatat): Do not use CHECK_1.
27815 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27816 <bp-checks.h>.
27817 (__lxstat): Do not use CHECK_1.
27818 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27819 <bp-checks.h>.
27820 (__xstat): Do not use CHECK_1.
27821 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27822 (__xstat): Do not use CHECK_1.
27823 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27824 (___xstat64): Do not use CHECK_1.
27825
b2c9eff4
JM
27826 [BZ #13550]
27827 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27828 definitions.
27829 (CHECK_BOUNDS_HIGH): Likewise.
27830 * string/strcpy.c: Do not include <bp-checks.h>.
27831 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27832
f1d70dad
RM
278332013-02-07 Roland McGrath <roland@hack.frob.com>
27834
27835 * nscd/nscd-client.h (__nscd_drop_map_ref):
27836 Add __attribute__ ((unused)).
27837 * nis/nss-nisplus.h (niserr2nss): Likewise.
27838
27839 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27840 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27841
27842 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27843 Remove inline keyword.
27844 * include/rounding-mode.h (round_away): Likewise.
27845 * libio/wfileops.c (adjust_wide_data): Likewise.
27846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27847 (__m128i_strloadu_tolower): Likewise.
27848 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27849 (__m128i_strloadu_tolower): Likewise.
27850 * time/mktime.c (ydhms_diff): Likewise.
27851 * locale/elem-hash.h (elem_hash): Likewise.
27852 * locale/setlocale.c (setdata): Likewise.
27853 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27854 (re_string_wchar_at): Likewise.
27855 (bitset_not, bitset_merge, bitset_mask): Likewise.
27856 [!(__GNUC__ > 3)] (inline): Remove macro.
27857 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27858 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27859 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27860 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27861 * string/memcmp.c (memcmp_bytes): Likewise.
27862 * locale/programs/locarchive.c (compute_hashval): Likewise.
27863 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27864 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27865 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27866 * nss/getent.c (print_rpc, print_protocols): Likewise.
27867 (print_passwd, print_group, print_aliases): Likewise.
27868 * nis/nss-nisplus.h (niserr2nss): Likewise.
27869 * nscd/connections.c (restart_p): Likewise.
27870 Change return type to bool.
27871
eab55bfb
RM
278722013-02-05 Roland McGrath <roland@hack.frob.com>
27873
7bd642f5
RM
27874 * Makeconfig (all-Depend-files): Add existing
27875 $(sorted-subdirs:=/Depend) files.
27876 (all-subdirs): Remove nss.
27877 * sysdeps/unix/inet/Subdirs: Add it here instead.
27878 * hesiod/Depend: New file.
27879
573c29b2
RM
27880 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27881 instead of calling alloca.
27882
b2e25af0
RM
27883 * io/lseek.c (__lseek): Rename to __libc_lseek.
27884 Define __lseek as an alias.
27885
eab55bfb
RM
27886 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27887
9a0d1941
CD
278882013-02-04 Carlos O'Donell <carlos@redhat.com>
27889
27890 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27891 else clause and remove check for non-standard endianness.
27892
b83bbec4
DM
278932013-02-04 David S. Miller <davem@davemloft.net>
27894
27895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27896
6277fdab
JM
278972013-02-04 Joseph Myers <joseph@codesourcery.com>
27898
27899 [BZ #13550]
27900 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27901 (__ubp_memchr): Remove prototype.
27902 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27903 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27904 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27905 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27906 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27907 Remove alias.
27908 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27909 (__ubp_memchr): Likewise.
27910 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27911 (__ubp_memchr): Likewise.
27912 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27913 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27914 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27915 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27916 CHECK_STRING.
27917 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27918 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27919 (__getcwd): Do not use CHECK_STRING.
27920 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27921 <bp-checks.h>.
27922 (__real_chown): Do not use CHECK_STRING.
27923 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27924 <bp-checks.h>.
27925 (fchownat): Do not use CHECK_STRING.
27926 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27927 CHECK_STRING.
27928 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27929 <bp-checks.h>.
27930 (__lchown): Do not use CHECK_STRING.
27931 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27932 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27933 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27934 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27936 include <bp-checks.h>.
27937 (truncate64): Do not use CHECK_STRING.
27938 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27939 <bp-checks.h>.
27940 (__real_chown): Do not use CHECK_STRING.
27941 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27942 <bp-checks.h>.
27943 (__lchown): Do not use CHECK_STRING.
27944 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27945 <bp-checks.h>.
27946 (__chown): Do not use CHECK_STRING.
27947 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27948 <bp-checks.h>.
27949 (truncate64): Do not use CHECK_STRING.
27950 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27951 Likewise.
27952 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27953 (__xmknod): Do not use CHECK_STRING.
27954 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27955 <bp-checks.h>.
27956 (__xmknodat): Do not use CHECK_STRING.
27957 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27958 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27959
903ae060
AS
279602013-02-04 Andreas Schwab <schwab@suse.de>
27961
27962 [BZ #14142]
27963 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27964 * include/netdb.h: Likewise for h_errno.
27965 * elf/tst-stackguard1.c: Include <tls.h>.
27966
542f9466
JK
279672013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27968
27969 * elf/link.h (struct link_map): Extend the l_addr comment.
27970 * include/link.h (struct link_map): Likewise.
27971
e782a927
JM
279722013-02-01 Joseph Myers <joseph@codesourcery.com>
27973
27974 [BZ #13550]
27975 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27976 (BOUNDED_1): Remove macro.
27977 * debug/backtrace.c: Don't include <bp-checks.h>.
27978 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27979 (__backtrace): Likewise.
27980 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27981 <bp-checks.h>.
27982 (__backtrace): Don't use BOUNDED_1.
27983 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27984 <bp-checks.h>.
27985 (__backtrace): Don't use BOUNDED_1.
27986 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27987 (__backtrace): Don't use BOUNDED_1.
27988 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27989 (shmat): Don't use BOUNDED_N.
27990
8cf28c5e
JM
279912013-01-31 Joseph Myers <joseph@codesourcery.com>
27992
3a7ac8a0
JM
27993 [BZ #13550]
27994 * sysdeps/generic/bp-start.h: Remove file.
27995 * csu/libc-start.c: Don't include <bp-start.h>.
27996 (LIBC_START_MAIN): Set up __environ directly instead of using
27997 INIT_ARGV_and_ENVIRON.
27998 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27999 <bp-start.h>.
28000
f3499f95
JM
28001 [BZ #13550]
28002 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28003 definitions.
28004 (CHECK_FCNTL): Likewise.
28005 (CHECK_N_PAGES): Likewise.
28006
32a45bea
JM
28007 [BZ #13550]
28008 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28009 definitions.
28010 (CHECK_SIGSET_NULL_OK): Likewise.
28011 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28012 <bp-checks.h>.
28013 (sigpending): Don't use CHECK_SIGSET.
28014 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28015 <bp-checks.h>.
28016 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28017 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28018 <bp-checks.h>.
28019 (do_sigsuspend): Don't use CHECK_SIGSET.
28020 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28021 use CHECK_SIGSET.
28022 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28023 (do_sigwait): Don't use CHECK_SIGSET.
28024 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28025 use CHECK_SIGSET.
28026 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28027 include <bp-checks.h>.
28028 (sigpending): Don't use CHECK_SIGSET.
28029 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28030 include <bp-checks.h>.
28031 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28032 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28033 <bp-checks.h>.
28034 (sigpending): Don't use CHECK_SIGSET.
28035 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28036 <bp-checks.h>.
28037 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28038
2e8a5c8c
JM
28039 [BZ #13550]
28040 * sysdeps/generic/bp-semctl.h: Remove file.
28041 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28042 <bp-checks.h> and <bp-semctl.h>.
28043 (__old_semctl): Don't use CHECK_SEMCTL.
28044 (__new_semctl): Likewise.
28045 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28046 and <bp-semctl.h>.
28047 (__old_semctl): Don't use CHECK_SEMCTL.
28048 (__new_semctl): Likewise.
28049 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28050 <bp-checks.h> and <bp-semctl.h>.
28051 (__old_semctl): Don't use CHECK_SEMCTL.
28052 (__new_semctl): Likewise.
28053 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28054 <bp-checks.h> and <bp-semctl.h>.
28055 (semctl): Don't use CHECK_SEMCTL.
28056
c2d54929
JM
28057 [BZ #13550]
28058 * Makerules (elide-bp-thunks): Remove variable.
28059 (elide-routines.oS): Don't use $(elide-bp-thunks).
28060 (elide-routines.os): Likewise.
28061 (elide-routines.o): Likewise.
28062 (elide-routines.op): Likewise.
28063 (elide-routines.og): Likewise.
28064 (objects): Don't use $(bp-thunks).
28065 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28066 include.
28067 (common-generated): Do not add s-proto-bp.d.
28068 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28069 (int): Likewise.
28070 (typ): Likewise.
28071 Do not generate makefile rules for bounded-pointer thunks.
28072 * sysdeps/generic/bp-thunks.h: Remove file.
28073 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28074 * sysdeps/unix/s-proto-bp.S: Likewise.
28075
8cf28c5e
JM
28076 [BZ #15062]
28077 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28078 parts of result separately when argument is not close to line from
28079 -i to i and one part of argument is small.
28080 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28081 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28082 * math/libm-test.inc (cacos_test): Add more tests.
28083 (casin_test): Likewise.
28084 (casinh_test): Likewise.
28085 * sysdeps/i386/fpu/libm-test-ulps: Update.
28086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28087
c4e33b8d
DM
280882013-01-31 David S. Miller <davem@davemloft.net>
28089
28090 * po/de.po: Update from translation team.
28091
3b60b421
MK
280922013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28093
28094 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28095
bb931195
TS
280962013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28097
b5a5da23
TS
28098 * configure.in (_AC_PROG_CC_C89): New definition.
28099 * configure: Regenerate.
28100
bb931195
TS
28101 * configure.in (AC_PROG_CPP): New definition.
28102 * configure: Regenerate.
28103
8c53a12c
JM
281042013-01-23 Joseph Myers <joseph@codesourcery.com>
28105
28106 * debug/tst-backtrace.h: New file.
28107 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28108 (ret): Remove variable.
28109 (x): Likewise.
28110 (FAIL): Remove macro.
28111 (NO_INLINE): Likewise.
28112 (fn1): Use match function instead of strstr.
28113 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28114 (ret): Remove variable.
28115 (x): Likewise.
28116 (FAIL): Remove macro.
28117 (NO_INLINE): Likewise.
28118 (fn): Use match function instead of strstr.
28119 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28120 (ret): Remove variable.
28121 (x): Likewise.
28122 (FAIL): Remove macro.
28123 (NO_INLINE): Likewise.
28124 (handle_signal): Use match function instead of strstr.
28125 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28126 (ret): Remove variable.
28127 (x): Likewise.
28128 (FAIL): Remove macro.
28129 (NO_INLINE): Likewise.
28130 (handle_signal): Use match function instead of strstr.
28131
4858fa2a
RM
281322013-01-23 Roland McGrath <roland@hack.frob.com>
28133
28134 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28135
bae8e7f5
DM
281362013-01-23 David S. Miller <davem@davemloft.net>
28137
28138 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28139 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28140 argument of CAS if possible.
28141 * sysdeps/sparc/sparc64/bits/atomic.h
28142 (__arch_compare_and_exchange_val_32_acq): Likewise.
28143 (__arch_compare_and_exchange_val_64_acq): Likewise.
28144
9cbbc4ae
PT
281452013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28146
28147 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28148 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28149 Include <limits.h>.
67b3f58c 28150 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28151
5655a0b5
AC
281522013-01-23 Adam Conrad <adconrad@0c3.net>
28153
28154 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28155 (LDFLAGS-tst-array5): Likewise.
28156
052aff95
JM
281572013-01-23 Joseph Myers <joseph@codesourcery.com>
28158
28159 [BZ #15036]
28160 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28161 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28162 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28163 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28164
7c1e01aa
DM
281652013-01-21 David S. Miller <davem@davemloft.net>
28166
28167 * sysdeps/sparc/backtrace.c: New file.
28168 * sysdeps/sparc/sparc32/backtrace.h: New file.
28169 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28170 * sysdeps/sparc/sparc64/backtrace.h: New file.
28171 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28172 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28173 -funwind-tables.
28174
ab087e0a
AS
281752013-01-21 Andreas Schwab <schwab@suse.de>
28176
28177 [BZ #15020]
28178 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28179 closed its stdout.
28180
ed689c2f
AS
281812013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28182
28183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28184 "mpa2.h".
28185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28186
31d470ac
JM
281872013-01-18 Joseph Myers <joseph@codesourcery.com>
28188 Mark Mitchell <mark@codesourcery.com>
28189 Tom de Vries <tom@codesourcery.com>
28190 Paul Pluzhnikov <ppluzhnikov@google.com>
28191
28192 * debug/tst-backtrace2.c: New file.
28193 * debug/tst-backtrace3.c: Likewise.
28194 * debug/tst-backtrace4.c: Likewise.
28195 * debug/tst-backtrace5.c: Likewise.
28196 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28197 (CFLAGS-tst-backtrace3.c): Likewise.
28198 (CFLAGS-tst-backtrace4.c): Likewise.
28199 (CFLAGS-tst-backtrace5.c): Likewise.
28200 (LDFLAGS-tst-backtrace2): Likewise.
28201 (LDFLAGS-tst-backtrace3): Likewise.
28202 (LDFLAGS-tst-backtrace4): Likewise.
28203 (LDFLAGS-tst-backtrace5): Likewise.
28204 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28205 tst-backtrace4 and tst-backtrace5.
28206
90567f30 282072013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28208 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28209
28210 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28211 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28212 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28213 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28215 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28216 "+r" and remove output regs list as redundant. Add explicit inline
28217 asm to specify register of return val to work around compiler codegen
28218 bug. Remove (int) cast on return value. Add return type parameter to
28219 use in macro so that this macro does not truncate return value for
28220 64-bit values.
28221 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28222 pass to INTERNAL_VSYSCALL_NCS.
28223 (INLINE_VSYSCALL): Add 'long int' as return type to
28224 INTERNAL_VSYSCALL_NCS macro invocation.
28225 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28226 INTERNAL_VSYSCALL_NCS macro invocation.
28227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28228
d3b9ea61
SP
282292013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28230
0b57daeb
SP
28231 [BZ #14496]
28232 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28233 Fix application of SIMD FP exception mask.
28234
caa99d06
SP
28235 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28236 mp_no from a power of two.
28237 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28238 __mpexp_twomm1. Use __pow_mp.
28239
d3b9ea61
SP
28240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28241 multiplication.
28242
1dbaee3c
DM
282432013-01-17 David S. Miller <davem@davemloft.net>
28244
28245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28246
728d7b43
JM
282472013-01-17 Joseph Myers <joseph@codesourcery.com>
28248
28249 [BZ #15023]
28250 * include/complex.h: Condition contents on [!_COMPLEX_H].
28251 (__kernel_casinhf): New prototype.
28252 (__kernel_casinh): Likewise.
28253 (__kernel_casinhl): Likewise.
28254 * math/Makefile (libm_calls): Add k_casinh.
28255 * math/k_casinh.c: New file.
28256 * math/k_casinhf.c: Likewise.
28257 * math/k_casinhl.c: Likewise.
28258 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28259 finite nonzero arguments.
28260 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28261 finite nonzero arguments.
28262 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28263 finite nonzero arguments.
28264 * math/s_casinh.c: Do not include <float.h>.
28265 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28266 * math/s_casinhf.c: Do not include <float.h>.
28267 (__casinhf): Move code for finite nonzero arguments to
28268 k_casinhf.c.
28269 * math/s_casinhl.c: Do not include <float.h>.
28270 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28271 redefine.
28272 (__casinhl): Move code for finite nonzero arguments to
28273 k_casinhl.c.
28274 * math/libm-test.inc (cacos_test): Add more tests.
28275 * sysdeps/i386/fpu/libm-test-ulps: Update.
28276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28277
2a26ef3a
PT
282782013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28279
28280 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28281 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28282 [!HAVE_MREMAP]: Remove [defined linux] case.
28283 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28284
a897655d
SP
282852013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28286
28287 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28288
881ebe89 282892013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28290
28291 * elf/elf.h (R_386_SIZE32): New relocation.
28292 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28293 R_386_SIZE32.
28294 (elf_machine_rela): Likewise.
28295 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28296 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28297
59981e9b
JM
282982013-01-17 Joseph Myers <joseph@codesourcery.com>
28299
28300 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28301 (FP_FAST_FMA): Do not define.
28302 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28303 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28304 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28305 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28306 !_SOFT_FLOAT]: Likewise.
28307 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28308 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28309 value.
28310 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28311 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28312 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28313 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28314 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28315 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28316 file.
28317
cfa8054f
AS
283182013-01-16 Andreas Schwab <schwab@suse.de>
28319
28320 [BZ #14327]
28321 * include/stdlib.h (__mktemp): Add declaration.
28322 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28323 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28324
dd930cc5
SP
283252013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28326
881ebe89
SP
28327 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28328 definitions.
28329 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28330 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28331 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28332 definitions here.
28333 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28334 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28335 definitions.
28336 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28337 and ONE.
28338 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28339 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28340 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28341 definitions.
28342 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28343 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28344 definitions.
28345 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28346
dd930cc5
SP
28347 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28348
c19a9f89
DM
283492013-01-15 David S. Miller <davem@davemloft.net>
28350
1aa61767
DM
28351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28352 trunc{,f} to libm-sysdep_routes.
28353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28355 file.
28356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28358 file.
28359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28360 file.
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28363 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28364 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28365 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28366 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28367 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28368 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28369
c42d5e98
DM
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28371 nearbyint{,f} to libm-sysdep_routes.
28372 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28374 New file.
28375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28376 file.
28377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28378 New file.
28379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28380 file.
28381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28383 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28384 file.
28385 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28386 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28387 file.
28388 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28389 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28390 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28391
c19a9f89
DM
28392 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28393 libc_feholdexcept and libc_fesetenv.
28394
357679d2
MF
283952013-01-15 Mike Frysinger <vapier@gentoo.org>
28396
28397 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28398
65a82e3d
DM
283992013-01-14 David S. Miller <davem@davemloft.net>
28400
8b954ab9
DM
28401 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28402 (SPARC_ASM_VIS2_IFUNC): Likewise.
28403 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28405 use of 'siam' instruction.
28406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28407 Likewise.
28408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28409 Likewise.
28410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28411 Likewise.
28412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28414 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28415 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28417 file.
28418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28419 file.
28420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28421 file.
28422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28423 file.
28424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28429 new VIS2 routines.
28430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28433 Likewise.
28434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28437 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28439 routines to libm-sysdep_routines.
28440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28441
65a82e3d
DM
28442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28443 fdim/fdimf to libm-sysdep_routines.
28444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28445 file.
28446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28448 file.
28449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28452 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28453 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28454 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28455 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28456
e34ab705
SP
284572013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28458
2a91b573
SP
28459 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28460 to optimize copies.
28461
1066a534
SP
28462 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28465
e34ab705
SP
28466 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28467 local variable MPTWO.
28468 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28469 Likewise.
28470
aba5e596
MF
284712013-01-13 Mike Frysinger <vapier@gentoo.org>
28472
28473 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28474 GLOB_NOESCAPE.
28475
e557e9e5
MF
284762013-01-13 Mike Frysinger <vapier@gentoo.org>
28477
28478 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28479
0428cec9
MF
284802013-01-13 Mike Frysinger <vapier@gentoo.org>
28481
28482 * manual/pattern.texi (glob_t): Document gl_flags.
28483 (glob64_t): Likewise.
28484
8794a964
DM
284852013-01-11 David S. Miller <davem@davemloft.net>
28486
66438c3f
RM
28487 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28488 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28489 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28490 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28491 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28492 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28493 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28494 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28495 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28496 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28497 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28498 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28499 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28500
4ae4244d
DM
28501 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28502 sparc V9 rather than using V8 code.
28503 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28504 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28505
8794a964
DM
28506 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28507 Move to...
28508 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28509 Here.
28510
6270516e
RM
285112013-01-11 Roland McGrath <roland@hack.frob.com>
28512
28513 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28514 not in the main loop.
28515 * configure: Regenerated.
28516
6a57d931
JM
285172013-01-11 Joseph Myers <joseph@codesourcery.com>
28518
28519 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28520 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28521 to just #else.
28522 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28523 [!__GLIBC_HAVE_LONG_LONG] case.
28524 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28525 condition to just #else.
28526 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28527 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28528 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28529 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28530 unconditional.
28531 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28532 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28533 #elif condition to just #else.
28534 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28535 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28536 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28537 #elif condition to just #else.
28538
0e8529e9
SE
285392013-01-11 Steve Ellcey <sellcey@mips.com>
28540
28541 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28542 (EF_MIPS_ARCH_64): Fix value.
28543 (EF_MIPS_ARCH_32R2): New.
28544 (EF_MIPS_ARCH_64R2): New.
28545
740b3dbe
L
285462013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28547
28548 * Makeconfig (+link-pie-before-libc): New.
28549 (+link-pie-after-libc): Likewise.
28550 (+link-pie-tests): Likewise.
28551 (+link-pie): Rewritten.
28552 (link-before-libc): Remove $(config-LDFLAGS).
28553 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28554 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28555 (config-LDFLAGS): Renamed to ...
28556 (rtld-LDFLAGS): This.
28557 (rtld-tests-LDFLAGS): New macro.
28558 (link-libc-rpath-link): Likewise.
28559 (link-libc-tests-rpath-link): Likewise.
28560 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28561 (link-libc): Prepand $(link-libc-rpath-link).
28562 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28563 (test-program-prefix): New macro.
28564 (test-via-rtld-prefix): Likewise.
28565 (test-program-cmd): Likewise.
28566 (host-test-program-cmd): Likewise.
28567 * Makefile ($(common-objpfx)testrun.sh): Replace
28568 $(run-program-prefix) with $(test-program-prefix).
28569 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28570 $(rtld-LDFLAGS).
28571 ($(common-objpfx)shlib.lds): Likewise.
28572 (build-module-helper): Likewise.
28573 ($(common-objpfx)format.lds): Likewise.
28574 * Rules (binaries-pie-tests): New.
28575 (binaries-pie-notests): Likewise.
28576 (binaries-pie): Rewritten.
28577 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28578 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28579 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28580 (make-test-out): Replace $(host-built-program-cmd) with
28581 $(host-test-program-cmd).
28582 * config.make.in (build-hardcoded-path-in-tests): New variable.
28583 * configure.in (--enable-hardcoded-path-in-tests): New configure
28584 option.
28585 (hardcoded_path_in_tests): New AC_SUBST.
28586 * configure: Regenerated.
28587 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28588 $(built-program-cmd) with $(test-program-cmd).
28589 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28590 (test_program_cmd): This.
28591 * elf/Makefile ($(objpfx)order.out): Run test with
28592 $(test-program-prefix).
28593 ($(objpfx)order2.out): Likewise.
28594 ($(objpfx)tst-initorder.out): Likewise.
28595 ($(objpfx)tst-initorder2.out): Likewise.
28596 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28597 $(test-program-cmd).
28598 ($(objpfx)tst-array1-static.out): Likewise.
28599 ($(objpfx)tst-array2.out): Likewise.
28600 ($(objpfx)tst-array3.out): Likewise.
28601 ($(objpfx)tst-array4.out): Likewise.
28602 ($(objpfx)tst-array5.out): Likewise.
28603 ($(objpfx)tst-array5-static.out): Likewise.
28604 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28605 $(test-program-cmd).
28606 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28607 $(run-program-prefix) with $(test-program-prefix).
28608 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28609 (test_program_prefix): This.
28610 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28611 $(run-program-prefix) with $(test-program-prefix).
28612 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28613 (test_program_prefix): This.
28614 * iconvdata/tst-tables.sh: Likewise.
28615 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28616 $(run-program-prefix) with $(test-program-prefix).
28617 ($(objpfx)tst-translit.out): Likewise.
28618 ($(objpfx)tst-gettext2.out): Likewise.
28619 ($(objpfx)tst-gettext4.out): Likewise.
28620 ($(objpfx)tst-gettext6.out): Likewise.
28621 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28622 (test_program_prefix): This.
28623 * intl/tst-gettext2.sh: Likewise.
28624 * intl/tst-gettext4.sh Likewise.
28625 * intl/tst-gettext6.sh: Likewise.
28626 * intl/tst-translit.sh: Likewise.
28627 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28628 with $(test-program-cmd).
28629 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28630 $(run-program-prefix) with $(test-program-prefix).
28631 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28632 (test_program_prefix): This.
28633 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28634 $(run-program-prefix) with $(test-program-prefix).
28635 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28636 (test_program_prefix): This.
28637 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28638 * posix/Makefile ($(objpfx)globtest.out): Replace
28639 $(run-via-rtld-prefix) and $(test-wrapper) with
28640 $(test-program-prefix) and $(test-via-rtld-prefix).
28641 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28642 $(test-program-prefix).
28643 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28644 $(host-test-program-cmd).
28645 (tst-spawn-ARGS): Likewise.
28646 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28647 $(test-program-prefix).
28648 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28649 (test_via_rtld_prefix): This.
28650 (test_wrapper): Renamed to ...
28651 (test_program_prefix): This.
28652 (run_program_prefix): Replaced by test_program_prefix.
28653 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28654 (test_program_prefix): This.
28655 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28656 with $(host-test-program-cmd).
28657 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28658 $(run-program-prefix) with $(test-program-prefix).
28659 ($(objpfx)tst-printf.out): Likewise.
28660 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28661 $(test-program-cmd).
28662 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28663 (test_program_prefix): This.
28664 * stdio-common/tst-unbputc.sh: Likewise.
28665 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28666 $(run-program-prefix) with $(test-program-prefix).
28667 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28668 (test_program_prefix): This.
28669 * string/Makefile ($(objpfx)tst-svc.out): Replace
28670 $(built-program-cmd) with $(test-program-cmd).
28671
c6fe55cf
AJ
286722013-01-11 Andreas Jaeger <aj@suse.de>
28673
28674 [BZ #15003]
28675 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28676 value. Sync with Linux 3.7.
28677
9e6919c8
DM
286782013-01-10 David S. Miller <davem@davemloft.net>
28679
28680 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28681 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28682 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28683
1c9f1a02
RM
286842013-01-10 Roland McGrath <roland@hack.frob.com>
28685
28686 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28687 never set.
28688 * configure: Regenerated.
28689
b9de2dde
DM
286902013-01-10 David S. Miller <davem@davemloft.net>
28691
28692 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28693 sparc V9 rather than using V8 code.
28694 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28695 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28696
e7f68ef4
RM
286972013-01-10 Roland McGrath <roland@hack.frob.com>
28698
28699 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28700 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28701 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28702 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28703 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28704 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28705 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28706 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28707 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28708 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28709 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28710 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28711 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28712 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28713 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28714 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28715 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28716 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28717 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28718 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28719 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28720 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28721 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28722 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28723 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28724 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28725 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28726
5a47cc9c
DM
287272013-01-10 David S. Miller <davem@davemloft.net>
28728
28729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28730
4cf8f209
L
287312013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28732
28733 * posix/Makefile (tests-static): New variable.
28734 (tests): Add $(tests-static).
28735 (tst-exec-static-ARGS): New variable.
28736 (tst-spawn-static-ARGS): Likewise.
28737 * posix/tst-exec-static.c: New file.
28738 * posix/tst-spawn-static.c: Likewise.
28739 * posix/tst-exec.c: Support run directly.
28740 * posix/tst-spawn.c: Likewise.
28741
fed0faa1
JM
287422013-01-10 Joseph Myers <joseph@codesourcery.com>
28743
828beb13
JM
28744 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28745 long.
28746 * math/bits/mathcalls.h (llrint): Likewise.
28747 (llround): Likewise.
28748 * stdlib/stdlib.h (struct drand48_data): Likewise.
28749 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28750 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28751 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28752 Likewise.
28753 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28754 Likewise.
28755 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28756 (elf_greg_t): Likewise.
28757 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28758 (__jmp_buf): Likewise.
28759 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28760 definitions.
28761 (llrint): Likewise, for all definitions.
28762 (llrintl): Likewise.
28763
fed0faa1
JM
28764 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28765 Remove [__GNUC__] condition.
28766 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28767 condition to just [__USE_ISOC99].
28768 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28769
1a20cb20
L
287702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28771
28772 [BZ #14200]
28773 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28774 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28775 defined.
28776 (_POSIX_V6_ILP32_OFF32): Likewise.
28777 (_XBS5_ILP32_OFF32): Likewise.
28778 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28779 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28780
751b85f7
SP
287812013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28782
7490eb81
SP
28783 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28784
751b85f7
SP
28785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28786 doubles __mpexp_twomm1. Adjust usage.
28787 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28788 Remove.
28789
988197f0
AS
287902013-01-10 Andreas Schwab <schwab@suse.de>
28791
28792 [BZ #14964]
28793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28794 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28795
e83d7298
DM
287962013-01-09 David S. Miller <davem@davemloft.net>
28797
034ed64b 28798 [BZ #15003]
57f41c40
AS
28799 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28800 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28801 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28802 (TCP_FASTOPEN): Define.
e83d7298
DM
28803 (tcp_repair_opt): New structure.
28804 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28805 enum values.
57f41c40
AS
28806 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28807 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28808 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28809 (tcp_cookie_transactions): New structure.
28810
d5e0b9bd
AB
288112013-01-09 Anton Blanchard <anton@samba.org>
28812
28813 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28814 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28815 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28816 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28817
0c07e3ea
JM
288182013-01-09 Joseph Myers <joseph@codesourcery.com>
28819
28820 * include/features.h (__USE_ANSI): Remove.
28821
232f7002
RM
288222013-01-09 Roland McGrath <roland@hack.frob.com>
28823
ad98e30c
RM
28824 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28825
232f7002
RM
28826 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28827
950c99ca
SP
288282013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28829
b5792741
SP
28830 * sysdeps/s390/fpu/libm-test-ulps: Update.
28831
47cf2278
SP
28832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28833
950c99ca
SP
28834 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28835 (__acr): Likewise.
28836 (__cpy): Likewise.
28837 (norm): Likewise.
28838 (denorm): Likewise.
28839 (__mp_dbl): Likewise.
28840 (__dbl_mp): Likewise.
28841 (add_magnitudes): Likewise.
28842 (sub_magnitudes): Likewise.
28843 (__add): Likewise.
28844 (__sub): Likewise.
28845 (__mul): Likewise.
28846 (__inv): Likewise.
28847 (__dvd): Likewise.
28848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28849 (__acr): Likewise.
28850 (__cpy): Likewise.
28851 (norm): Likewise.
28852 (denorm): Likewise.
28853 (__mp_dbl): Likewise.
28854 (__dbl_mp): Likewise.
28855 (add_magnitudes): Likewise.
28856 (sub_magnitudes): Likewise.
28857 (__add): Likewise.
28858 (__sub): Likewise.
28859 (__mul): Likewise.
28860 (__inv): Likewise.
28861 (__dvd): Likewise.
28862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28863 (__acr): Likewise.
28864 (__cpy): Likewise.
28865 (norm): Likewise.
28866 (denorm): Likewise.
28867 (__mp_dbl): Likewise.
28868 (__dbl_mp): Likewise.
28869 (add_magnitudes): Likewise.
28870 (sub_magnitudes): Likewise.
28871 (__add): Likewise.
28872 (__sub): Likewise.
28873 (__mul): Likewise.
28874 (__inv): Likewise.
28875 (__dvd): Likewise.
28876
eede9df9
JM
288772013-01-08 Joseph Myers <joseph@codesourcery.com>
28878
28879 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28880 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28881 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28882 2 && __USE_EXTERN_INLINES]: Likewise.
28883
c40ea3d9
AJ
288842013-01-08 Andreas Jaeger <aj@suse.de>
28885
28886 [BZ# 14985]
28887 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28888 Remove.
28889 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28890 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28891
2ccdea26
AB
288922013-01-07 Anton Blanchard <anton@samba.org>
28893
28894 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28895 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28896 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28897 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28898 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28899 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28900 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28901 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28903 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28905 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28906 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28908 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28909 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28910 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28911 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28912 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28913 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28914 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28915 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28916 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28917 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28918 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28919 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28920 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28921 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28922 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28923 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28924 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28926 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28927 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28928 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28929 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28930 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28931 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28932 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28933 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28934 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28935 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28936 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28937
a9708fed
JM
289382013-01-07 Joseph Myers <joseph@codesourcery.com>
28939
375607b9
JM
28940 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28941 (__MALLOC_PMT): Likewise.
28942 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28943 [__GNUC__], only on [_LIBC].
28944 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28945 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28946 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28947 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28948 forward declaration.
28949 (realloc_hook_ini): Likewise.
28950 (memalign_hook_ini): Likewise.
28951 (__libc_memalign): Do not use __MALLOC_PMT in variable
28952 declaration.
28953 (__libc_valloc): Likewise.
28954 (__libc_pvalloc): Likewise.
28955 (__libc_calloc): Likewise.
28956 (__posix_memalign): Likewise.
28957
a9708fed
JM
28958 [BZ #14996]
28959 * math/s_casinh.c: Include <float.h>.
28960 (__casinh): Do not do computation with squaring and square root
28961 for large arguments.
28962 * math/s_casinhf.c: Include <float.h>.
28963 (__casinhf): Do not do computation with squaring and square root
28964 for large arguments.
28965 * math/s_casinhl.c: Include <float.h>.
28966 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28967 (__casinhl): Do not do computation with squaring and square root
28968 for large arguments.
28969 * math/libm-test.inc (casin_test): Add more tests.
28970 (casinh_test): Likewise.
28971 * sysdeps/i386/fpu/libm-test-ulps: Update.
28972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28973
afec409a
L
289742013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28975
28976 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28977 (__x86_64_raw_data_cache_size): Likewise.
28978 (__x86_64_data_cache_size_half): Likewise.
28979 (__x86_64_raw_data_cache_size_half): Likewise.
28980 (__x86_64_shared_cache_size): Likewise.
28981 (__x86_64_raw_shared_cache_size): Likewise.
28982 (__x86_64_shared_cache_size_half): Likewise.
28983 (__x86_64_raw_shared_cache_size_half): Likewise.
28984 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28985 to ...
28986 (__x86_data_cache_size): This.
28987 (__x86_64_raw_data_cache_size): Renamed to ...
28988 (__x86_raw_data_cache_size): This.
28989 (__x86_64_data_cache_size_half): Renamed to ...
28990 (__x86_data_cache_size_half): This.
28991 (__x86_64_raw_data_cache_size_half): Renamed to ...
28992 (__x86_raw_data_cache_size_half): This.
28993 (__x86_64_shared_cache_size): Renamed to ...
28994 (__x86_shared_cache_size): This.
28995 (__x86_64_raw_shared_cache_size): Renamed to ...
28996 (__x86_raw_shared_cache_size): This.
28997 (__x86_64_shared_cache_size_half): Renamed to ...
28998 (__x86_shared_cache_size_half): This.
28999 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29000 (__x86_raw_shared_cache_size_half): This.
29001 * sysdeps/x86_64/memcpy.S: Updated.
29002 * sysdeps/x86_64/memset.S: Likewise.
29003 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29004 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29005 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29006
0b3986d0
DM
290072013-01-04 David S. Miller <davem@davemloft.net>
29008
29009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29010
e47686e9
AS
290112013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29012
d643bac1
AS
29013 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29014 1 to avoid redefinition warning.
29015 (__USE_GNU): Don't define.
29016 (init_signaling_nan): Protoize.
29017
e47686e9
AS
29018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29019
b18decba
SP
290202013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29021
fffb407f
SP
29022 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29023 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29024 (__cpymn): Likewise.
29025 (norm): Remove commented code.
29026 (denorm): Likewise.
29027 (__mp_dbl): Likewise.
29028 (__inv): Likewise.
29029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29030 (__cpymn): Likewise.
29031 (norm): Remove commented code.
29032 (denorm): Likewise.
29033 (__mp_dbl): Likewise.
29034 (__inv): Likewise.
29035
b18decba
SP
29036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29037 mp_no value for 1.0 and 2.0.
29038 (norm): Use RADIXI instead of radixi.d.
29039 (denorm): Likewise.
29040 (__mul): Use 0.0 instead of zero.d.
29041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29042 mp_no value for 1.0 and 2.0.
29043 (norm): Use RADIXI instead of radixi.d.
29044 (denorm): Likewise.
29045 (__mul): Use 0.0 instead of zero.d.
29046
cdc1c96f
JM
290472013-01-04 Joseph Myers <joseph@codesourcery.com>
29048
29049 [BZ #14994]
29050 * math/s_casinh.c (__casinh): Reduce finite argument to first
29051 quadrant then set signs of results at the end.
29052 * math/s_casinhf.c (__casinhf): Likewise.
29053 * math/s_casinhl.c (__casinhl): Likewise.
29054 * math/libm-test.inc (casin_test): Add more tests.
29055 (casinh_test): Likewise.
29056 * sysdeps/i386/fpu/libm-test-ulps: Update.
29057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29058
302913e1
SP
290592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29060
6420d207
SP
29061 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29062
a9e48ab4
SP
29063 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29064
b7837264
SP
29065 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29066 declarations.
29067 (denorm): Likewise.
29068 (__mp_dbl): Likewise.
29069 (__inv): Likewise.
29070
f8af25d2
SP
29071 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29072 and adjust the header comment.
29073
302913e1
SP
29074 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29075 variable name from declaration.
29076
5d7dd1ca
L
290772013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29078
29079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29080 Initialize COMMON_CPUID_INDEX_7 element.
29081 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29082 (CPUID_RTM): Likewise.
29083 (HAS_RTM): Likewise.
29084 (COMMON_CPUID_INDEX_7): New enum.
29085
2f5f40f4
AS
290862013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29087
29088 [BZ #14981]
29089 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29090 size is zero, record memory as freed.
29091
4056f4a0
AJ
290922013-01-03 Andreas Jaeger <aj@suse.de>
29093
29094 * po/ia.po: Add new Interlingua translation.
29095
ab15736f 290962012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
29097
29098 * locale/programs/localedef.c: Fix description of '--posix' flag.
29099
568035b7
JM
291002013-01-02 Joseph Myers <joseph@codesourcery.com>
29101
e6898b8d
JM
29102 * NEWS: Update dates in second copyright notice.
29103 * README: Update copyright dates in example.
29104 * manual/libc.texinfo: Update copyright dates.
29105 * scripts/test-installation.pl: Update copyright date in --version
29106 output.
29107
0e2f9562
JM
29108 * hurd/ctty-input.c: Fix copyright notice formatting.
29109 * hurd/ctty-output.c: Likewise.
29110 * hurd/dtable.c: Likewise.
29111 * hurd/hurd-raise.c: Likewise.
29112 * hurd/hurdprio.c: Likewise.
29113 * hurd/msgportdemux.c: Likewise.
29114 * misc/sys/file.h: Likewise.
29115 * misc/sys/ioctl.h: Likewise.
29116 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29117 * sysdeps/mach/hurd/chdir.c: Likewise.
29118 * sysdeps/mach/hurd/fchdir.c: Likewise.
29119 * sysdeps/mach/hurd/rename.c: Likewise.
29120 * sysdeps/mach/hurd/rmdir.c: Likewise.
29121 * sysdeps/mach/hurd/seekdir.c: Likewise.
29122 * sysdeps/mach/hurd/setsid.c: Likewise.
29123 * sysdeps/posix/wait3.c: Likewise.
29124
568035b7
JM
29125 * All files with FSF copyright notices: Update copyright dates
29126 using scripts/update-copyrights.
29127 * intl/plural.c: Regenerated.
29128 * locale/programs/charmap-kw.h: Likewise.
29129 * locale/programs/locfile-kw.h: Likewise.
29130
da08f647
SP
291312013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29132
0f5477af
SP
29133 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29134 four values.
29135
44e0d4c2
SP
29136 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29137 calculation loop and add branch prediction.
29138
4d55b4e5
SP
29139 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29140 check access beyond bounds of m1np.
29141
da08f647
SP
29142 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29143 MPTWO.
29144 (__inv): Remove local variable MPTWO to use the global
29145 constant.
29146 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29148 variable MPTWO.
29149 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29150 MP3HALFS static const.
29151
8e051029
DM
291522013-01-01 David S. Miller <davem@davemloft.net>
29153
29154 * po/ca.po: Update from translation team.
29155
f4cf5f2d
JM
291562013-01-01 Joseph Myers <joseph@codesourcery.com>
29157
29158 * scripts/update-copyrights: New file.
29159 * Makeconfig: Reformat copyright notice.
29160 * ctype/ctype.h: Likewise.
29161 * debug/swprintf_chk.c: Likewise.
29162 * elf/dl-cache.c: Likewise.
29163 * elf/dl-debug.c: Likewise.
29164 * elf/dl-object.c: Likewise.
29165 * grp/initgroups.c: Likewise.
29166 * hurd/Makefile: Likewise.
29167 * hurd/hurd/signal.h: Likewise.
29168 * hurd/hurdfault.c: Likewise.
29169 * hurd/hurdioctl.c: Likewise.
29170 * hurd/hurdlookup.c: Likewise.
29171 * hurd/intr-msg.c: Likewise.
29172 * iconv/gconv_open.c: Likewise.
29173 * libio/swprintf.c: Likewise.
29174 * locale/lc-ctype.c: Likewise.
29175 * locale/nl_langinfo.c: Likewise.
29176 * mach/Machrules: Likewise.
29177 * mach/Makefile: Likewise.
29178 * malloc/obstack.h: Likewise.
29179 * manual/Makefile: Likewise.
29180 * manual/tsort.awk: Likewise.
29181 * misc/bits/stab.def: Likewise.
29182 * nis/nis_print_group_entry.c: Likewise.
29183 * nis/nis_table.c: Likewise.
29184 * nis/nss_compat/compat-pwd.c: Likewise.
29185 * nis/nss_compat/compat-spwd.c: Likewise.
29186 * po/Makefile: Likewise.
29187 * posix/fnmatch.c: Likewise.
29188 * posix/regex.h: Likewise.
29189 * resolv/Makefile: Likewise.
29190 * resolv/nss_dns/dns-network.c: Likewise.
29191 * resolv/res_hconf.c: Likewise.
29192 * scripts/gen-sorted.awk: Likewise.
29193 * soft-fp/soft-fp.h: Likewise.
29194 * stdio-common/printf.h: Likewise.
29195 * stdlib/monetary.h: Likewise.
29196 * stdlib/random.c: Likewise.
29197 * stdlib/random_r.c: Likewise.
29198 * sysdeps/generic/Makefile: Likewise.
29199 * sysdeps/gnu/Makefile: Likewise.
29200 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29201 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29202 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29203 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29207 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29210 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29211 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29212 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29213 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29214 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29215 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29216 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29217 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29218 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29220 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29221 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29222 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29228 * sysdeps/mach/hurd/errnos.awk: Likewise.
29229 * sysdeps/mach/hurd/fork.c: Likewise.
29230 * sysdeps/mach/hurd/getcwd.c: Likewise.
29231 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29232 * sysdeps/mach/hurd/mmap.c: Likewise.
29233 * sysdeps/mach/hurd/utimes.c: Likewise.
29234 * sysdeps/mach/hurd/xmknod.c: Likewise.
29235 * sysdeps/posix/profil.c: Likewise.
29236 * sysdeps/posix/readdir_r.c: Likewise.
29237 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29238 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29239 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29240 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29242 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29243 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29244 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29246 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29248 * sysdeps/pthread/lio_listio.c: Likewise.
29249 * sysdeps/sparc/dl-procinfo.h: Likewise.
29250 * sysdeps/unix/i386/sysdep.S: Likewise.
29251 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29252 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29253 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29254 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29256 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29257 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29258 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29259 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29260 * sysdeps/wordsize-32/divdi3.c: Likewise.
29261 * time/sys/time.h: Likewise.
29262 * wcsmbs/Makefile: Likewise.
29263
0549fbba
DM
292642013-01-01 David S. Miller <davem@davemloft.net>
29265
a141f1a7
DM
29266 * po/fr.po: Update from translation team.
29267
0549fbba
DM
29268 * catgets/gencat.c: Update copyright year.
29269 * csu/version.c: Likewise.
29270 * debug/catchsegv.sh: Likewise.
29271 * debug/pcprofiledump.c: Likewise.
29272 * debug/xtrace.sh: Likewise.
29273 * elf/ldconfig.c: Likewise.
29274 * elf/ldd.bash.in: Likewise.
29275 * elf/pldd.c: Likewise.
29276 * elf/sotruss.ksh: Likewise.
29277 * elf/sprof.c: Likewise.
29278 * iconv/iconv_prog.c: Likewise.
29279 * iconv/iconvconfig.c: Likewise.
29280 * locale/programs/locale.c: Likewise.
29281 * locale/programs/localedef.c: Likewise.
29282 * login/programs/pt_chown.c: Likewise.
29283 * malloc/memusage.sh: Likewise.
29284 * malloc/memusagestat.c: Likewise.
29285 * malloc/mtrace.pl: Likewise.
29286 * nscd/nscd.c: Likewise.
29287 * nss/getent.c: Likewise.
29288 * nss/makedb.c: Likewise.
29289 * posix/getconf.c: Likewise.
29290
18ea052c
SP
292912012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29292
29293 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29294 numbers.
29295
9c89fca6
MF
292962012-12-30 Mike Frysinger <vapier@gentoo.org>
29297
29298 * math/bits/mathcalls.h (modf): Use __nonnull.
29299
085ec079
SP
293002012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29301
29302 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29303 (split): Use macro CN instead of the bare value.
29304 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29305 could be used.
29306 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29307 instead of the bare value.
29308 (power1): Likewise.
29309
6d9f97e1
SP
293102012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29311
d63f73be
SP
29312 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29313 __ATAN_TWOM.
29314 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29315
6d9f97e1
SP
29316 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29317 their values.
29318 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29319 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29320 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29321 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29322
4c4febf5
AJ
293232012-12-28 Andreas Jaeger <aj@suse.de>
29324
af5843ef
AJ
29325 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29326 values are from Linux 3.7.
29327
4c4febf5
AJ
29328 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29329 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29330
99136f82
SP
293312012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29332
2f216c3c 29333 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29334 TRUE case.
29335
99136f82
SP
29336 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29337 (norm): Likewise.
29338 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29339 variables with preprocessor constants.
29340 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29341 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29342 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29343
7fffbdff
BH
293442012-12-27 Bruno Haible <bruno@clisp.org>
29345
29346 [BZ #14317]
29347 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29348 only if needed.
29349
b76eb5f0
SP
293502012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29351
31a7fe5c
SP
29352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29353 and use variable directly.
29354 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29355
b76eb5f0
SP
29356 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29357 MPONE.
29358 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29359 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29360 variable MPONE.
29361 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29362 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29363 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29364 include directive. Remove local variable MPONE.
29365 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29366 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29367 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29368
2c8bfe7d
DM
293692012-12-25 David S. Miller <davem@davemloft.net>
29370
29371 * version.h (RELEASE): Set to "development".
29372 (VERSION): Set to "2.17.90".
29373 * NEWS: Add 2.18 section.
29374
147d03b0
DM
293752012-12-21 David S. Miller <davem@davemloft.net>
29376
29377 * po/hr.po: Update from translation team.
29378
a8ebb2b9
AK
293792012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29380
29381 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29382
95b4f1b6
SE
293832012-12-19 Steve Ellcey <sellcey@mips.com>
29384
b2d94007 29385 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29386
cedb2a90
MS
293872012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29388
29389 * manual/contrib.texi (Contributors): Spelling correction.
29390
bbf527d6
DM
293912012-12-15 David S. Miller <davem@davemloft.net>
29392
29393 * po/ru.po: Update from translation team.
29394
bc38c906
DM
293952012-12-13 David S. Miller <davem@davemloft.net>
29396
85429b1a
DM
29397 * NEWS: Mention IFUNC testsuite enhancements.
29398
d283e353
DM
29399 * po/pl.po: Update from translation team.
29400 * po/bg.po: Likewise.
29401
bc38c906
DM
29402 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29403 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29404
a181b0d7
DM
294052012-12-11 David S. Miller <davem@davemloft.net>
29406
4641d57e
DM
29407 * po/sv.po: Update from translation team.
29408
f7bc6495
DM
29409 * po/vi.po: Update from translation team.
29410
6fc9048f
DM
29411 * po/cs.po: Update from translation team.
29412
a181b0d7
DM
29413 * po/de.po: Update from translation team.
29414 * po/eo.po: Likewise.
29415 * po/nl.po: Likewise.
29416
f70bfe80
SP
294172012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29418
3c8b4190
SP
29419 [BZ #14246]
29420 * manual/argp.texi (Argp Helper Functions): Move node to follow
29421 Argp Parsing State.
29422
f70bfe80
SP
29423 [BZ #14872]
29424 * manual/conf.texi (Limits on File System Capacity): Mention if
29425 terminating null is included in the max size.
29426
188f0adf
AJ
294272012-12-10 Andreas Jaeger <aj@suse.de>
29428
29429 * po/cs.po: Update from translation team.
29430
56e7d3ad
SP
294312012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29432
29433 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29434 void pointer and cast to uintptr_t.
29435 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29436 path.
29437 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29438 * sysdeps/s390/s390-64/memset.S: Likewise.
29439
76f2d2ea 294402012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29441
29442 [BZ #14833]
29443 * menual/message.texi (Message Translation): Fix typos.
29444 (Helper programs for gettext): Likewise.
29445
67cbf9a2
AS
294462012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29447
29448 [BZ #14898]
29449 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29450 Change to -1.
29451
682d0e9a
DM
294522012-12-07 David S. Miller <davem@davemloft.net>
29453
29454 * po/libc.pot: Update.
29455
573cd484
RH
294562012-12-07 Richard Henderson <rth@redhat.com>
29457
7e9da188 29458 [BZ #10114]
573cd484
RH
29459 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29460 normal/normal case to before the switch.
29461 (_FP_DIV): Likewise.
29462
e933a943
MF
294632012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29464 Mike Frysinger <vapier@gentoo.org>
29465
29466 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29467 check for __NR_fadvise64_64.
29468
82123268
CM
294692012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29470
29471 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29472 0, not just to plain "0" as a statement.
29473 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29474 with cw.
29475
d9814526
JM
294762012-12-06 Joseph Myers <joseph@codesourcery.com>
29477
29478 * NEWS: Use sourceware.org in Bugzilla URL.
29479
7728c574
SP
294802012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29481
f16946dd
SP
29482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29483 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29484
5704bbcb
SP
29485 * stdio-common/tst-put-error.c (do_test): Add newline to the
29486 padded test to ensure flush.
29487
17aa0516
JL
294882012-12-05 Jeff Law <law@redhat.com>
29489
29490 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29491
363313b5
JM
294922012-12-05 Joseph Myers <joseph@codesourcery.com>
29493
effbd42a
JM
29494 * README: Don't refer to ports add-on as distributed separately.
29495 Mention AArch64 in list of systems supported in the ports add-on.
29496
87600365
JM
29497 * LICENSES: Add more non-FSF copyright and license notices.
29498
a0d7066a
JM
29499 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29500 ((unused)).
29501
66ca5a5b
JM
29502 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29503
363313b5
JM
29504 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29505 10000 as width of padded output.
29506
b37984ad
JM
295072012-12-04 Joseph Myers <joseph@codesourcery.com>
29508
9003570a
JM
29509 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29510
b37984ad
JM
29511 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29512 variable LX with __attribute__ ((unused)).
29513 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29514 Likewise.
29515 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29516 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29517 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29518 with __attribute__ ((unused)).
29519
c8df52ec
DM
295202012-12-04 David S. Miller <davem@abraco.davemloft.net>
29521
29522 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29523
b3b099af
JM
295242012-12-04 Joseph Myers <joseph@codesourcery.com>
29525
c33aa6e3
JM
29526 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29527 (CFLAGS-nldbl-acos.c): New variable.
29528 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29529 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29530 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29531 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29532 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29533 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29534 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29535 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29536 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29537 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29538 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29539 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29540 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29541 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29542 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29543 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29544 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29545 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29546 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29547 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29548 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29549 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29550 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29551 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29552 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29553 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29554 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29555 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29556 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29557 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29558 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29559 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29560 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29561 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29562 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29563 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29564 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29565 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29566 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29567 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29568 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29569 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29570 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29571 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29572 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29573 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29574 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29575 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29576 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29577 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29578 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29579 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29580 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29581 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29582 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29583 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29584 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29585 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29586 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29587 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29588 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29589 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29590 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29591 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29592 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29593 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29594 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29595 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29596 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29597 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29598 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29599 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29600 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29601 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29602 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29603 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29604 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29605 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29606 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29607 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29608 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29609 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29610 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29611 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29612 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29613 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29614 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29615 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29616 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29617 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29618 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29619 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29620 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29621 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29622 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29623 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29624 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29625
20f0018d
JM
29626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29627 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29628
b3b099af
JM
29629 [BZ #14914]
29630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29631 whole low double instead of just low 47 bits when splitting values
29632 into two parts.
29633
029264d1
AM
296342012-12-03 Allan McRae <allan@archlinux.org>
29635
29636 * manual/stdio.texi (Predefined Printf Handlers): Remove
29637 @hsep and @vsep usage.
29638
c9d6789e
MF
296392012-12-03 Mike Frysinger <vapier@gentoo.org>
29640
29641 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29642 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29643
4b7634a5
JL
296442012-12-03 Jeff Law <law@redhat.com>
29645
29646 * time/sys/time.h (settimeofday): Do not mark TV argument
29647 as __nonnull.
29648
eb6cbd24
MF
296492012-12-01 Mike Frysinger <vapier@gentoo.org>
29650
29651 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29652 when currently writing and seek to current position when not.
29653 * libio/Makefile (tests): Remove bug-fclose1.
29654 * libio/bug-fclose1.c: Delete.
29655
f638872a
JM
296562012-12-01 Joseph Myers <joseph@codesourcery.com>
29657
29658 * manual/arith.texi (feenableexcept): Fix typo.
29659 (fedisableexcept): Likewise.
29660
48085d14
RM
296612012-11-30 Roland McGrath <roland@hack.frob.com>
29662
29663 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29664 second, differently-typed declaration, rather than a cast.
29665
1a538b9f
SP
296662012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29667
29668 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29669 * include/rpc/svc.h: ... here.
29670
d07f2ff1 296712012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29672
29673 [BZ #13013]
29674 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29675 depending n and resplen2 to catch cases where answer
29676 equals answerp2.
29677
c93ec1f0
CD
296782012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29679
29680 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29681 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29682
37db69de
MF
296832012-11-29 Mike Frysinger <vapier@gentoo.org>
29684
29685 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29686
e10c4e4f
RM
296872012-11-29 Roland McGrath <roland@hack.frob.com>
29688
29689 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29690
2af1b328
JL
296912012-11-28 Jeff Law <law@redhat.com>
29692
29693 [BZ #13761]
29694 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29695 dataset_temporary. Track alloca usage into alloca_used.
29696 If dataset is large allocate and release it via malloc/free.
29697
111db5b1
FW
296982012-06-04 Florian Weimer <fweimer@redhat.com>
29699
f06cc227 29700 [BZ #14197]
111db5b1
FW
29701 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29702
dd694abd
DM
297032012-11-28 David S. Miller <davem@davemloft.net>
29704
29705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29706
9984dd01
JM
297072012-11-28 Joseph Myers <joseph@codesourcery.com>
29708
29709 [BZ #14803]
29710 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29711 of pi/2 rounded to nearest to 64 bits.
29712 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29713 nearest to 64 bits.
29714 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29715 bits.
29716
14bc93a9
JL
297172012-11-28 Jeff Law <law@redhat.com>
29718 Martin Osvald <mosvald@redhat.com>
29719
29720 [BZ #14889]
29721 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29722 * sunrpc/svc.c: Include time.h.
29723 (__svc_accept_failed): New function.
29724 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29725 any reason other than EINTR, call __svc_accept_failed.
29726 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29727 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29728
e3c6aa3a
AS
297292012-11-28 Andreas Schwab <schwab@suse.de>
29730
29731 * scripts/abilist.awk: Also handle indirect functions in .opd
29732 section.
29733
1bead169
JM
297342012-11-28 Joseph Myers <joseph@codesourcery.com>
29735
29736 [BZ #13881]
29737 * sysdeps/x86/fpu/powl_helper.c: New file.
29738 * sysdeps/x86/fpu/Makefile: Likewise.
29739 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29740 (p3): New object.
29741 (__ieee754_powl): Use __powl_helper for finite arguments except
29742 integer exponents below 8.
29743 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29744 (p3): New object.
29745 (__ieee754_powl): Use __powl_helper for finite arguments except
29746 integer exponents below 8.
29747 * math/libm-test.inc (pow_test): Add more tests and enable some
29748 previously disabled tests.
29749 * sysdeps/i386/fpu/libm-test-ulps: Update.
29750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29751
0817d63d
SP
297522012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29753 Carlos O'Donell <carlos_odonell@mentor.com>
29754
29755 * nss/makedb.c (is_prime): Assert that input is odd and greater
29756 than 4. Note that fact in a comment too.
29757 (next_prime): Add 4 to input.
29758
de2fd463
SP
297592012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29760
29761 [BZ #11741]
29762 * libio/Makefile (tests): Add test case tst-fwrite-error.
29763 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29764 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29765 * libio/tst-fwrite-error.c: New test case.
29766
c515fb51
L
297672012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29768
29769 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29770 before casting to void *.
29771 * include/libc-internal.h (__pointer_type): New macro.
29772 (__integer_if_pointer_type_sub): Likewise.
29773 (__integer_if_pointer_type): Likewise.
29774 (cast_to_integer): Likewise.
29775 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29776 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29777 before casting to atomic64_t.
29778 (atomic_exchange_acq): Likewise.
29779 (__arch_exchange_and_add_body): Likewise.
29780 (__arch_add_body): Likewise.
29781 (atomic_add_negative): Likewise.
29782 (atomic_add_zero): Likewise.
29783
4cf77aa9
JM
297842012-11-26 Joseph Myers <joseph@codesourcery.com>
29785
29786 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29787 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29788 (add_fdes): Likewise.
29789 (linear_search_fdes): Likewise.
29790 (binary_search_unencoded_fdes): Likewise.
29791
d260b3b4
AS
297922012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29793
29794 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29795
67060746
AC
297962012-11-24 Adam Conrad <adconrad@0c3.net>
29797
29798 * configure.in: Autodetect C++ header directories.
29799 * configure: Regenerated.
29800
800938a1
MF
298012012-11-23 Mike Frysinger <vapier@gentoo.org>
29802
29803 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29804
4e6e34e6
AS
298052012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29806
29807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29808
7c7feb47
JM
298092012-11-22 Joseph Myers <joseph@codesourcery.com>
29810
7184dcdf
JM
29811 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29812 LDBL_MANT_DIG == 106]: Disable some tests.
29813 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29814 Likewise.
29815 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29816 Likewise.
29817
0a42601f
JM
29818 [BZ #14871]
29819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29820 input for small inputs. Return +/- pi/2 for large inputs.
29821 * math/libm-test.inc (atan_test): Add more tests.
29822
79c9b9fe
JM
29823 * sysdeps/generic/unwind-dw2-fde-glibc.c
29824 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29825 __attribute__ ((unused)).
29826
c60d3bf2
JM
29827 [BZ #14645]
29828 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29829 x * y if x and y are nonzero and z is zero.
29830
ef1e0867
JM
29831 [BZ #14811]
29832 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29833 nonzero exponents with absolute value below 0x1p-117 to +/-
29834 0x1p-117.
29835
1468ded3
JM
29836 [BZ #14869]
29837 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29838 up arguments below 2**-450, not just those below 2**-500.
29839 * math/libm-test.inc (hypot_test): Add another test.
29840
8e27e3cc
JM
29841 [BZ #14868]
29842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29843 Return a+b for ratio over 2**120, not 2**60.
29844 * math/libm-test.inc (hypot_test): Add another test.
29845
c9c0279b
JM
29846 * math/libm-test.inc (clog_test): Use
29847 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29848 (clog10_test): Likewise.
29849
7c7feb47
JM
29850 [BZ #6778]
29851 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29852
fff1530e
AS
298532012-11-22 Andreas Schwab <schwab@suse.de>
29854
29855 * sysdeps/i386/fpu/libm-test-ulps: Update.
29856
94558d30
PT
298572012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29858
29859 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29860 printf output with newline.
29861
7e1be741
L
298622012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29863
6bfea974
L
29864 [BZ #14865]
29865 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29866 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29867 -z nodlopen, -z initfirst and -z execstack support.
29868 * configure: Regenerated.
29869
7e1be741
L
29870 * elf/elf.h (DF_1_NODIRECT): New macro.
29871 (DF_1_IGNMULDEF): Likewise.
29872 (DF_1_NOKSYMS): Likewise.
29873 (DF_1_NOHDR): Likewise.
29874 (DF_1_EDITED): Likewise.
29875 (DF_1_NORELOC): Likewise.
29876 (DF_1_SYMINTPOSE): Likewise.
29877 (DF_1_GLOBAUDIT): Likewise.
29878 (DF_1_SINGLETON): Likewise.
29879 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29880 DT_1_SUPPORTED_MASK bits.
29881 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29882
105ce2ce
CD
298832012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29884
29885 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29886
123be9de
TS
298872012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29888
d072f3f7
TS
29889 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29890 macro.
29891
123be9de
TS
29892 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29893 (sendmmsg): Move declarations...
29894 * socket/sys/socket.h: ... here.
29895 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29896 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29897 include it from...
29898 * socket/recvmmsg.c: ... this new file.
29899 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29900 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29901 definition of __sendmmsg hidden.
29902 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29903 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29904 Move ENOSYS stub into and include it from...
29905 * socket/sendmmsg.c: ... this new file.
29906 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29907 (sysdep_routines): Move recvmmsg and sendmmsg...
29908 * socket/Makefile (routines): ... here.
29909 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29910 (GLIBC_PRIVATE): Add __sendmmsg.
29911 * include/sys/socket.h (__sendmmsg): Add declarations.
29912 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29913 sendmmsg.
29914
cf9a5d18
JM
299152012-11-20 Joseph Myers <joseph@codesourcery.com>
29916
29917 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29918 variable I1 with __attribute__ ((unused)).
29919 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29920
ecd4caf9
JM
299212012-11-19 Joseph Myers <joseph@codesourcery.com>
29922
be14d48f
JM
29923 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29924 DUMMY variables with __attribute__ ((unused)).
29925
ecd4caf9
JM
29926 * bits/byteswap.h: Include <bits/types.h>.
29927 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29928
986cab95
PT
299292012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29930
29931 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29932 string_t. Do not manually set errno.
29933 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29934 length with __strnlen. Make sure to both set errno and return it on
29935 failure.
29936
6d33cc9d
DM
299372012-11-19 David S. Miller <davem@davemloft.net>
29938
29939 With help from Joseph Myers.
29940 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29941 very large arguments properly.
29942 * math/libm-test.inc (atan_test): New tests.
29943 (atan2_test): New tests.
29944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29946
ee663277
JM
299472012-11-19 Joseph Myers <joseph@codesourcery.com>
29948
877f2d8e
JM
29949 [BZ #14856]
29950 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29951 Define to 3.
29952
116fc08a
JM
29953 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29954 [POSIX] (EADDRNOTAVAIL): Likewise.
29955 [POSIX] (EAFNOSUPPORT): Likewise.
29956 [POSIX] (EALREADY): Likewise.
29957 [POSIX] (ECONNABORTED): Likewise.
29958 [POSIX] (ECONNREFUSED): Likewise.
29959 [POSIX] (ECONNRESET): Likewise.
29960 [POSIX] (EDESTADDRREQ): Likewise.
29961 [POSIX] (EDQUOT): Likewise.
29962 [POSIX] (EHOSTUNREACH): Likewise.
29963 [POSIX] (EIDRM): Likewise.
29964 [POSIX] (EISCONN): Likewise.
29965 [POSIX] (ELOOP): Likewise.
29966 [POSIX] (EMULTIHOP): Likewise.
29967 [POSIX] (ENETDOWN): Likewise.
29968 [POSIX] (ENETUNREACH): Likewise.
29969 [POSIX] (ENOBUFS): Likewise.
29970 [POSIX] (ENODATA): Likewise.
29971 [POSIX] (ENOLINK): Likewise.
29972 [POSIX] (ENOMSG): Likewise.
29973 [POSIX] (ENOPROTOOPT): Likewise.
29974 [POSIX] (ENOSR): Likewise.
29975 [POSIX] (ENOSTR): Likewise.
29976 [POSIX] (ENOTCONN): Likewise.
29977 [POSIX] (ENOTSOCK): Likewise.
29978 [POSIX] (EOPNOTSUPP): Likewise.
29979 [POSIX] (EOVERFLOW): Likewise.
29980 [POSIX] (EPROTO): Likewise.
29981 [POSIX] (EPROTONOSUPPORT): Likewise.
29982 [POSIX] (EPROTOTYPE): Likewise.
29983 [POSIX] (ESTALE): Likewise.
29984 [POSIX] (ETIME): Likewise.
29985 [POSIX] (ETXTBSY): Likewise.
29986 [POSIX] (EWOULDBLOCK): Likewise.
29987 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29988 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29989 [POSIX] (SEEK_CUR): Likewise.
29990 [POSIX] (SEEK_END): Likewise.
29991 [POSIX || UNIX98] (mode_t): Do not require.
29992 [POSIX] (off_t): Likewise.
29993 [POSIX] (pid_t): Likewise.
29994 [POSIX] (sys/stat.h): Do not allow header.
29995 [POSIX] (unistd.h): Likewise.
29996 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29997 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29998 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29999 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30000 require.
30001 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30002 sigevent): Specify elements.
30003 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30004 entry.
30005 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30006 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30007
a483863f
JM
30008 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30009 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30010 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30011 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30012 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30013 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30014 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30015 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30016 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30017 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30018 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30019 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30020 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30021 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30022 Likewise.
30023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30024 Likewise.
30025 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30026 Likewise.
30027 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30028 Likewise.
30029 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30030 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30031 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30032 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30033 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30034 Specify lower bound on value.
30035 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30036 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30037 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30038 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30039 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30040 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30041 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30042 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30043 value.
30044 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30045 as optional.
30046 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30047 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30048 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30049 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30050 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30051 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30052 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30053 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30054 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30055 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30056 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30057 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30058 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30059 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30060 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30061 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30062 entry.
30063 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30064 optional.
30065 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30066 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30067 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30068 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30069 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30070 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30071 Likewise.
30072 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30073 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30074 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30075 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30076 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30077 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30078 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30079 as optional.
30080 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30081 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30082 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30083 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30084 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30085 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30086 specify as optional.
30087 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30088 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30089 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30090 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30091 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30092 [XPG3] (NL_LANGMAX): Likewise.
30093 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30094 [POSIX || XPG3] (NL_NMAX): Likewise.
30095 [POSIX || XPG3] (NL_SETMAX): Likewise.
30096 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30097 [XPG3] (NZERO): Likewise.
30098 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30099 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30100 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30101 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30102 (REG_ERANGE): Expect.
30103 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30104 optional-constant.
30105 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30106 Use (void) in prototype.
30107 [POSIX] (*_t): Allow.
30108 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30109 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30110 (WRDE_BADVAL): Expect.
30111
5ba924e3
JM
30112 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30113 expect.
30114 [XPG3 || XPG4] (O_RSYNC): Likewise.
30115 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30116 Likewise.
30117 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30118 [XPG3 || XPG4] (sigqueue): Likewise.
30119 [XPG3 || XPG4] (sigtimedwait): Likewise.
30120 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30121 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30122 [XPG3 || XPG4] (vsnprintf): Likewise.
30123 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30124 Likewise.
30125 [XPG3 || XPG4] (blksize_t): Likewise.
30126 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30127 Likewise.
30128 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30129 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30130 [XPG3 || XPG4] (struct itimerspec): Likewise.
30131 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30132 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30133 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30134 [XPG3 || XPG4] (clockid_t): Likewise.
30135 [XPG3 || XPG4] (timer_t): Likewise.
30136 [XPG3 || XPG4] (clock_getres): Likewise.
30137 [XPG3 || XPG4] (clock_gettime): Likewise.
30138 [XPG3 || XPG4] (clock_settime): Likewise.
30139 [XPG3 || XPG4] (nanosleep): Likewise.
30140 [XPG3 || XPG4] (timer_create): Likewise.
30141 [XPG3 || XPG4] (timer_delete): Likewise.
30142 [XPG3 || XPG4] (timer_gettime): Likewise.
30143 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30144 [XPG3 || XPG4] (timer_settime): Likewise.
30145 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30146 [XPG3 || XPG4] (getlogin_r): Likewise.
30147 [XPG3 || XPG4] (pread): Likewise.
30148 [XPG3 || XPG4] (pthread_atfork): Likewise.
30149 [XPG3 || XPG4] (pwrite): Likewise.
30150
ee663277
JM
30151 [BZ #14835]
30152 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30153 <bits/siginfo.h>.
30154
942caa16
PT
301552012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30156
e19af380
PT
30157 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30158 finalizing MALLSTREAM.
30159
942caa16
PT
30160 * sysdeps/mach/hurd/syncfs.c: New file.
30161
cfde9b46
SP
301622012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30163
30164 [BZ #14719]
30165 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30166 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30167 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30168 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30169 (_nss_dns_gethostbyname4_r): Likewise.
30170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30171 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30172
f6da27e5
PH
301732012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30174
30175 [BZ #13763]
30176 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30177
6665d4a2
SM
301782012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30179
1f51ee92
SM
30180 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30181 * elf/cache.c (print_entry): Print ",AArch64" for
30182 FLAG_AARCH64_LIB64
30183
6665d4a2
SM
30184 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30185 * elf/cache.c (print_entry): Print ",hard-float" for
30186 FLAG_ARM_LIBHF.
30187
05b227bd
DM
301882012-11-18 David S. Miller <davem@davemloft.net>
30189
30190 With help from Joseph Myers.
30191 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30192 cutoff to 2**-13.
30193 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30194 cutoff to 2**-25.
30195 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30196 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30197 small.
30198 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30199 * math/libm-test.inc (y0_test): New tests.
30200 (y1_test): New tests.
30201 * sysdeps/i386/fpu/libm-test-ulps: Update.
30202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30204
786b0b67
AS
302052012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30206
30207 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30208 64-bit targets.
30209 * configure: Regenerated.
30210
8e18b86d
DM
302112012-11-17 David S. Miller <davem@davemloft.net>
30212
30213 [BZ #14811]
30214 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30215 nonzero exponents with absolute value below 0x1p-128 to +/-
30216 0x1p-128.
30217
531f1ae0
JM
302182012-11-17 Joseph Myers <joseph@codesourcery.com>
30219
12df29e2
JM
30220 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30221
150dc1a0
JM
30222 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30223
531f1ae0
JM
30224 * posix/getconf-speclist.c: New file.
30225 * posix/posix-envs.def: Likewise.
30226 * posix/confstr.c (START_ENV_GROUP): New macro.
30227 (END_ENV_GROUP): Likewise.
30228 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30229 (KNOWN_PRESENT_ENV_STRING): Likewise.
30230 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30231 (UNKNOWN_ENVIRONMENT): Likewise.
30232 (confstr): Include posix-envs.def instead of handling
30233 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30234 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30235 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30236 (END_ENV_GROUP): Likewise.
30237 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30238 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30239 (UNKNOWN_ENVIRONMENT): Likewise.
30240 (__sysconf): Include posix-envs.def instead of handling associated
30241 cases directly here.
30242 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30243 preprocessing getconf-speclist.c rather than running getconf or
30244 generating empty file.
30245
a93f9cbc
PT
302462012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30247
30248 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30249
d64d9f87
AL
302502012-11-16 Andrej Lajovic <natrij@gmail.com>
30251
30252 [BZ #14672]
30253 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30254
447885eb
DM
302552012-11-16 David S. Miller <davem@davemloft.net>
30256
30257 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30258 smaller than LDBL_EPSILON/2.0L, just return xm1.
30259
bcbf9830
L
302602012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30261
30262 * elf/tst-array1.c (init): Set constructor priority to 1000.
30263 (fini): Set destructor priority to 1000.
30264 * elf/tst-array2dep.c: Likewise.
30265
2b766585
SP
302662012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30267
30268 [BZ #11741]
30269 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30270 (_IO_new_file_xsputn): Also return EOF if none of the input
30271 data was written when overflow failed.
30272 * libio/iopadn.c (_IO_padn): Likewise.
30273 * libio/iowpadn.c (_IO_wpadn): Likewise.
30274 * stdio-common/tst-put-error.c: Add copyright notice.
30275 (do_test): Add case for printing padded string.
30276 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30277 _IO_padn returned error.
30278 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30279 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30280 return EOF.
30281
b1848fde
SP
302822012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30283
30284 * libio/libioP.h: Add comment note that the references to C++
30285 bits are now obsolete.
30286
2fd89785
MS
302872012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30288
30289 * math/libm-test.inc (check_complex): Use asprintf.
30290
e3ea5409
JM
302912012-11-14 Joseph Myers <joseph@codesourcery.com>
30292
30293 * debug/pcprofiledump.c (print_version): Update copyright year.
30294 * malloc/memusagestat.c (print_version): Likewise.
30295
2e64d265
L
302962012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30297
30298 [BZ #14831]
30299 * elf/Makefile (tests): Add tst-audit8.
30300 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30301 ($(objpfx)tst-audit8.out): New target.
30302 (tst-audit8-ENV): New variable.
30303 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30304 audit if l_reloc_result is NULL.
30305 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30306 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30307 * elf/tst-audit8.c: New file.
30308
c485e4d2
MS
303092012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30310
30311 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30312 * misc/Makefile (CFLAGS-select.c): Define.
30313 * posix/Makefile (CFLAGS-pause.c): Define.
30314
3a0d900a
DM
303152012-11-13 David S. Miller <davem@davemloft.net>
30316
30317 * crypt/Makefile: Move test targets after toplevel Rules
30318 inclusion. Grab any necessary sysdep routines when linking.
30319 * crypt/md5.c (md5_process_block): Remove define, we will always
30320 name it __md5_process_block.
30321 (md5_finish_ctx): Update md5_process_block call.
30322 (md5_stream): Likewise.
30323 (md5_process_bytes): Likewise.
30324 (md5_process_block): Rename to __md5_process_block and move to ...
30325 * crypt/md5-block.c: ... here.
30326 * crypt/sha256.c (sha256_process_block): Move to ...
30327 * crypt/sha256-block.c: ... here.
30328 * crypt/sha512.c (sha512_process_block): Move to ...
30329 * crypt/sha512-block.c: ... here.
30330 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30331 path.
30332 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30333 * sysdeps/sparc/sparc64/multiarch/Makefile
30334 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30335 crypt subdir.
30336 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30337 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30338 multiarch changes.
30339 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30340 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30341 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30342 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30343 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30344 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30345 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30346 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30347 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30348 file.
30349 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30350 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30351 file.
30352 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30353
8ca89318
JM
303542012-11-13 Joseph Myers <joseph@codesourcery.com>
30355
e27d476a
JM
30356 * timezone/tzselect.ksh: Update from tzcode git revision
30357 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30358 * timezone/zdump.c: Likewise.
30359 * timezone/zic.c: Likewise.
30360 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30361 in TZVERSION setting, not $(PKGVERSION).
30362 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30363 REPORT_BUGS_TO settings.
30364
8ca89318
JM
30365 [BZ #14838]
30366 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30367 macro.
30368
47594329
MS
303692012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30370
30371 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30372 detection to immediately after _FP_ROUND().
30373 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30374 bits are 0.
30375
640ac3f1
DM
303762012-11-11 David S. Miller <davem@davemloft.net>
30377
30378 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30379 inttypes.h
30380 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30381 __close rather than their public counterparts.
30382
3d2577bb
JM
303832012-11-10 Joseph Myers <joseph@codesourcery.com>
30384
30385 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30386 file.
30387 [UNIX98] (sem_timedwait): Do not expect.
30388 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30389 [XPG4 || UNIX98] (sockatmark): Do not expect.
30390 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30391 (clock_getcpuclockid): Do not expect.
30392 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30393 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30394 Do not expect.
30395 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30396 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30397 [UNIX98] (vwscanf): Likewise.
30398 [UNIX98] (vswscanf): Likewise.
30399
fb1ae1ee
JM
304002012-11-09 Joseph Myers <joseph@codesourcery.com>
30401
9ec6f8bd
JM
30402 * timezone/version.h: Remove file.
30403 * timezone/README: Do not refer to version.h.
30404 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30405 $(objpfx)version.h.
30406 ($(objpfx)zdump.o): Likewise.
c3f81911 30407 ($(objpfx)version.h): New target.
9ec6f8bd 30408
0aa8f8a1
JM
30409 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30410 2012i.
30411 * timezone/README: Don't mention modification to tzselect.ksh.
30412 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30413 work on unmodified tzselect.ksh. Substitute version numbers in
30414 tzselect.ksh.
30415
4e87147f
JM
30416 * Makefile (format-me): Remove.
30417 (INSTALL): Adjust indentation. Use commands directly instead of
30418 using $(format-me).
30419
8b748aed
JM
30420 * aclocal.m4 (ACX_PKGVERSION): New macro.
30421 (ACX_BUGURL): Likewise.
30422 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30423 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30424 (REPORT_BUGS_TO): Likewise.
30425 * configure: Regenerated.
30426 * config.h.in (PKGVERSION): New macro.
30427 (REPORT_BUGS_TO): Likewise.
30428 * config.make.in (PKGVERSION): New variable.
30429 (PKGVERSION_TEXI): Likewise.
30430 (REPORT_BUGS_TO): Likewise.
30431 (REPORT_BUGS_TEXI): Likewise.
30432 * Makefile (format-me): Use -I$(common-objpfx)manual.
30433 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30434 ($(common-objpfx)manual/%): New target.
30435 (manual/%): Remove target.
30436 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30437 (print_version): Use PKGVERSION.
30438 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30439 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30440 and REPORT_BUGS_TO.
30441 ($(objpfx)xtrace): Likewise.
30442 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30443 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30444 (print_version): Use PKGVERSION.
30445 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30446 (do_version): Use PKGVERSION.
30447 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30448 REPORT_BUGS_TO.
30449 (common-ldd-rewrite): Likewise.
30450 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30451 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30452 (print_version): Use PKGVERSION.
30453 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30454 * elf/pldd.c (argp_program_bug_address): Remove variable.
30455 (more_help): New function.
30456 (argp): Use more_help.
30457 (print_version): Use PKGVERSION.
30458 * elf/sln.c (main): Use PKGVERSION.
30459 (usage): Use REPORT_BUGS_TO.
30460 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30461 (top level): Use PKGVERSION.
30462 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30463 (print_version): Use PKGVERSION.
30464 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30465 (print_version): Use PKGVERSION.
30466 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30467 (print_version): Use PKGVERSION.
30468 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30469 (print_version): Use PKGVERSION.
30470 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30471 (print_version): Use PKGVERSION.
30472 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30473 (print_version): Use PKGVERSION.
30474 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30475 and BUGURL.
30476 ($(objpfx)memusage): Likewise.
30477 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30478 (do_version): Use PKGVERSION.
30479 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30480 (print_version): Use PKGVERSION.
30481 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30482 ($PKGVERSION): New variable.
30483 ($REPORT_BUGS_TO): Likewise.
30484 (usage): Use $REPORT_BUGS_TO.
30485 (top level): Use $PKGVERSION.
30486 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30487 ($(objpfx)pkgvers.texi): New rule.
30488 ($(objpfx)stamp-pkgvers): Likewise.
30489 * manual/install.texi: Include pkgvers.texi.
30490 (--with-pkgversion): Document new configure option.
30491 (--with-bugurl): Likewise.
30492 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30493 than necessarily for this particular distribution. Use
30494 REPORT_BUGS_TO for where to report bugs.
30495 * INSTALL: Regenerated.
30496 * manual/libc.texinfo: Include pkgvers.texi.
30497 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30498 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30499 (print_version): Use PKGVERSION.
30500 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30501 (print_version): Use PKGVERSION.
30502 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30503 (print_version): Use PKGVERSION.
30504 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30505 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30506 macro.
30507 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30508 (print_version): Use PKGVERSION.
30509 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30510 (print_version): Use PKGVERSION.
30511 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30512 and PKGVERSION.
30513
92e4b6a9
JM
30514 * timezone/checktab.awk: Update from tzcode 2012i.
30515 * timezone/ialloc.c: Likewise.
30516 * timezone/private.h: Likewise.
30517 * timezone/scheck.c: Likewise.
30518 * timezone/tzfile.h: Likewise.
30519 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30520 (TZVERSION): Hardcode tzcode version number.
30521 * timezone/zdump.c: Update from tzcode 2012i.
30522 * timezone/zic.c: Likewise.
30523 * timezone/version.h: New file.
30524 * timezone/README: Describe version.h. Update upstream location.
30525
9bde902c
JM
30526 [BZ #14824]
30527 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30528 (mktemp): Enable declaration.
30529 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30531 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30533 Likewise.
30534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30535 Likewise.
30536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30537 Likewise.
30538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30539 Likewise.
30540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30541 Likewise.
30542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30543 Likewise.
30544
fb1ae1ee
JM
30545 [BZ #14821]
30546 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30547 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30548 for copies of such integer values.
30549 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30550 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30551
2c1adbcb
AJ
305522012-11-09 Andreas Jaeger <aj@suse.de>
30553
30554 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30555 definitions and declarations that are provided by
30556 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30557
d0f8457e
AK
305582012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30559
3a235abb 30560 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30561 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30562 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30563 definition.
30564
57241e26
MS
305652012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30566
30567 * elf/elf.h: Update comment before AArch64 relocations.
30568
60e8270d
DM
305692012-11-07 David S. Miller <davem@davemloft.net>
30570
30571 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30572 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30573 (__start_context): Declare.
30574 (__makecontext_ret): Delete.
30575 (__makecontext): Hook up __start_context instead of
30576 __makecontext_ret.
30577 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30578 (sysdep_routines): Add __start_context when in stdlib.
30579
0fbb0fbc
JM
305802012-11-07 Joseph Myers <joseph@codesourcery.com>
30581
30582 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30583 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30584 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30585 hardcoded "nm".
30586 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30587 (READELF): New variable. Use it instead of hardcoded "readelf".
30588
eb48db7e
L
305892012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30590
30591 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30592 * sysdeps/x86/Makefile: Here.
30593 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30594 * sysdeps/x86/tst-xmmymm.sh: This.
30595
05bcf62a
JM
305962012-11-07 Joseph Myers <joseph@codesourcery.com>
30597
c4b6cf53
JM
30598 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30599 expectations.
30600 [UNIX98] (pthread_barrier_t): Do not expect.
30601 [UNIX98] (pthread_barrierattr_t): Likewise.
30602 [UNIX98] (pthread_spinlock_t): Likewise.
30603 [UNIX98] (pthread_barrier_destroy): Likewise.
30604 [UNIX98] (pthread_barrier_init): Likewise.
30605 [UNIX98] (pthread_barrier_wait): Likewise.
30606 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30607 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30608 [UNIX98] (pthread_barrierattr_init): Likewise.
30609 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30610 [UNIX98] (pthread_getcpuclockid): Likewise.
30611 [UNIX98] (pthread_mutex_timedlock): Likewise.
30612 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30613 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30614 [UNIX98] (pthread_sigmask): Likewise.
30615 [UNIX98] (pthread_spin_destroy): Likewise.
30616 [UNIX98] (pthread_spin_init): Likewise.
30617 [UNIX98] (pthread_spin_lock): Likewise.
30618 [UNIX98] (pthread_spin_trylock): Likewise.
30619 [UNIX98] (pthread_spin_unlock): Likewise.
30620 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30621 Do not expect.
30622 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30624 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30625 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30626 [XPG3 || XPG4] (pthread_key_t): Likewise.
30627 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30628 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30629 [XPG3 || XPG4] (pthread_once_t): Likewise.
30630 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30631 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30633 [XPG3 || XPG4] (pthread_t): Likewise.
30634
cbe6e120
JM
30635 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30636 not expect.
30637 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30638
1b126443
JM
30639 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30640 Change function return type to int.
30641
b961a573
JM
30642 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30643 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30644 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30645 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30646 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30647 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30648 [!POSIX] (posix_madvise): Likewise.
30649 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30650 && !UNIX98].
30651 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30652 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30653 (mode_t): Likewise.
30654 (posix_mem_offset): Likewise.
30655 (posix_typed_mem_get_info): Likewise.
30656 (posix_typed_mem_open): Likewise.
30657
9e188909
JM
30658 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30659 Change condition to [XOPEN2K8].
30660
05bcf62a
JM
30661 * conform/conformtest.pl: Preprocess allow-header data with -x c
30662 instead of from stdin.
30663 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30664 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30665 [C99-based standards] (cerfc): Likewise.
30666 [C99-based standards] (cexp2): Likewise.
30667 [C99-based standards] (cexpm1): Likewise.
30668 [C99-based standards] (clog10): Likewise.
30669 [C99-based standards] (clog1p): Likewise.
30670 [C99-based standards] (clog2): Likewise.
30671 [C99-based standards] (clgamma): Likewise.
30672 [C99-based standards] (ctgamma): Likewise.
30673 [C99-based standards] (cerff): Likewise.
30674 [C99-based standards] (cerfcf): Likewise.
30675 [C99-based standards] (cexp2f): Likewise.
30676 [C99-based standards] (cexpm1f): Likewise.
30677 [C99-based standards] (clog10f): Likewise.
30678 [C99-based standards] (clog1pf): Likewise.
30679 [C99-based standards] (clog2f): Likewise.
30680 [C99-based standards] (clgammaf): Likewise.
30681 [C99-based standards] (ctgammaf): Likewise.
30682 [C99-based standards] (cerfl): Likewise.
30683 [C99-based standards] (cerfcl): Likewise.
30684 [C99-based standards] (cexp2l): Likewise.
30685 [C99-based standards] (cexpm1l): Likewise.
30686 [C99-based standards] (clog10l): Likewise.
30687 [C99-based standards] (clog1pl): Likewise.
30688 [C99-based standards] (clog2l): Likewise.
30689 [C99-based standards] (clgammal): Likewise.
30690 [C99-based standards] (ctgammal): Likewise.
30691 * conform/data/inttypes.h-data [C99-based standards]: Include
30692 stdint.h-data. Remove all expectations for stdint.h contents.
30693 [C99-based standards] (PRI*): Do not allow.
30694 [C99-based standards] (SCN*): Likewise.
30695 [C99-based standards] (*_t): Likewise.
30696 [C99-based-standards] (PRId8): Expect macro.
30697 [C99-based-standards] (PRIi8): Likewise.
30698 [C99-based-standards] (PRIo8): Likewise.
30699 [C99-based-standards] (PRIu8): Likewise.
30700 [C99-based-standards] (PRIx8): Likewise.
30701 [C99-based-standards] (PRIX8): Likewise.
30702 [C99-based-standards] (SCNd8): Likewise.
30703 [C99-based-standards] (SCNi8): Likewise.
30704 [C99-based-standards] (SCNo8): Likewise.
30705 [C99-based-standards] (SCNu8): Likewise.
30706 [C99-based-standards] (SCNx8): Likewise.
30707 [C99-based-standards] (PRIdLEAST8): Likewise.
30708 [C99-based-standards] (PRIiLEAST8): Likewise.
30709 [C99-based-standards] (PRIoLEAST8): Likewise.
30710 [C99-based-standards] (PRIuLEAST8): Likewise.
30711 [C99-based-standards] (PRIxLEAST8): Likewise.
30712 [C99-based-standards] (PRIXLEAST8): Likewise.
30713 [C99-based-standards] (SCNdLEAST8): Likewise.
30714 [C99-based-standards] (SCNiLEAST8): Likewise.
30715 [C99-based-standards] (SCNoLEAST8): Likewise.
30716 [C99-based-standards] (SCNuLEAST8): Likewise.
30717 [C99-based-standards] (SCNxLEAST8): Likewise.
30718 [C99-based-standards] (PRIdFAST8): Likewise.
30719 [C99-based-standards] (PRIiFAST8): Likewise.
30720 [C99-based-standards] (PRIoFAST8): Likewise.
30721 [C99-based-standards] (PRIuFAST8): Likewise.
30722 [C99-based-standards] (PRIxFAST8): Likewise.
30723 [C99-based-standards] (PRIXFAST8): Likewise.
30724 [C99-based-standards] (SCNdFAST8): Likewise.
30725 [C99-based-standards] (SCNiFAST8): Likewise.
30726 [C99-based-standards] (SCNoFAST8): Likewise.
30727 [C99-based-standards] (SCNuFAST8): Likewise.
30728 [C99-based-standards] (SCNxFAST8): Likewise.
30729 [C99-based-standards] (PRId16): Likewise.
30730 [C99-based-standards] (PRIi16): Likewise.
30731 [C99-based-standards] (PRIo16): Likewise.
30732 [C99-based-standards] (PRIu16): Likewise.
30733 [C99-based-standards] (PRIx16): Likewise.
30734 [C99-based-standards] (PRIX16): Likewise.
30735 [C99-based-standards] (SCNd16): Likewise.
30736 [C99-based-standards] (SCNi16): Likewise.
30737 [C99-based-standards] (SCNo16): Likewise.
30738 [C99-based-standards] (SCNu16): Likewise.
30739 [C99-based-standards] (SCNx16): Likewise.
30740 [C99-based-standards] (PRIdLEAST16): Likewise.
30741 [C99-based-standards] (PRIiLEAST16): Likewise.
30742 [C99-based-standards] (PRIoLEAST16): Likewise.
30743 [C99-based-standards] (PRIuLEAST16): Likewise.
30744 [C99-based-standards] (PRIxLEAST16): Likewise.
30745 [C99-based-standards] (PRIXLEAST16): Likewise.
30746 [C99-based-standards] (SCNdLEAST16): Likewise.
30747 [C99-based-standards] (SCNiLEAST16): Likewise.
30748 [C99-based-standards] (SCNoLEAST16): Likewise.
30749 [C99-based-standards] (SCNuLEAST16): Likewise.
30750 [C99-based-standards] (SCNxLEAST16): Likewise.
30751 [C99-based-standards] (PRIdFAST16): Likewise.
30752 [C99-based-standards] (PRIiFAST16): Likewise.
30753 [C99-based-standards] (PRIoFAST16): Likewise.
30754 [C99-based-standards] (PRIuFAST16): Likewise.
30755 [C99-based-standards] (PRIxFAST16): Likewise.
30756 [C99-based-standards] (PRIXFAST16): Likewise.
30757 [C99-based-standards] (SCNdFAST16): Likewise.
30758 [C99-based-standards] (SCNiFAST16): Likewise.
30759 [C99-based-standards] (SCNoFAST16): Likewise.
30760 [C99-based-standards] (SCNuFAST16): Likewise.
30761 [C99-based-standards] (SCNxFAST16): Likewise.
30762 [C99-based-standards] (PRId32): Likewise.
30763 [C99-based-standards] (PRIi32): Likewise.
30764 [C99-based-standards] (PRIo32): Likewise.
30765 [C99-based-standards] (PRIu32): Likewise.
30766 [C99-based-standards] (PRIx32): Likewise.
30767 [C99-based-standards] (PRIX32): Likewise.
30768 [C99-based-standards] (SCNd32): Likewise.
30769 [C99-based-standards] (SCNi32): Likewise.
30770 [C99-based-standards] (SCNo32): Likewise.
30771 [C99-based-standards] (SCNu32): Likewise.
30772 [C99-based-standards] (SCNx32): Likewise.
30773 [C99-based-standards] (PRIdLEAST32): Likewise.
30774 [C99-based-standards] (PRIiLEAST32): Likewise.
30775 [C99-based-standards] (PRIoLEAST32): Likewise.
30776 [C99-based-standards] (PRIuLEAST32): Likewise.
30777 [C99-based-standards] (PRIxLEAST32): Likewise.
30778 [C99-based-standards] (PRIXLEAST32): Likewise.
30779 [C99-based-standards] (SCNdLEAST32): Likewise.
30780 [C99-based-standards] (SCNiLEAST32): Likewise.
30781 [C99-based-standards] (SCNoLEAST32): Likewise.
30782 [C99-based-standards] (SCNuLEAST32): Likewise.
30783 [C99-based-standards] (SCNxLEAST32): Likewise.
30784 [C99-based-standards] (PRIdFAST32): Likewise.
30785 [C99-based-standards] (PRIiFAST32): Likewise.
30786 [C99-based-standards] (PRIoFAST32): Likewise.
30787 [C99-based-standards] (PRIuFAST32): Likewise.
30788 [C99-based-standards] (PRIxFAST32): Likewise.
30789 [C99-based-standards] (PRIXFAST32): Likewise.
30790 [C99-based-standards] (SCNdFAST32): Likewise.
30791 [C99-based-standards] (SCNiFAST32): Likewise.
30792 [C99-based-standards] (SCNoFAST32): Likewise.
30793 [C99-based-standards] (SCNuFAST32): Likewise.
30794 [C99-based-standards] (SCNxFAST32): Likewise.
30795 [C99-based-standards] (PRId64): Likewise.
30796 [C99-based-standards] (PRIi64): Likewise.
30797 [C99-based-standards] (PRIo64): Likewise.
30798 [C99-based-standards] (PRIu64): Likewise.
30799 [C99-based-standards] (PRIx64): Likewise.
30800 [C99-based-standards] (PRIX64): Likewise.
30801 [C99-based-standards] (SCNd64): Likewise.
30802 [C99-based-standards] (SCNi64): Likewise.
30803 [C99-based-standards] (SCNo64): Likewise.
30804 [C99-based-standards] (SCNu64): Likewise.
30805 [C99-based-standards] (SCNx64): Likewise.
30806 [C99-based-standards] (PRIdLEAST64): Likewise.
30807 [C99-based-standards] (PRIiLEAST64): Likewise.
30808 [C99-based-standards] (PRIoLEAST64): Likewise.
30809 [C99-based-standards] (PRIuLEAST64): Likewise.
30810 [C99-based-standards] (PRIxLEAST64): Likewise.
30811 [C99-based-standards] (PRIXLEAST64): Likewise.
30812 [C99-based-standards] (SCNdLEAST64): Likewise.
30813 [C99-based-standards] (SCNiLEAST64): Likewise.
30814 [C99-based-standards] (SCNoLEAST64): Likewise.
30815 [C99-based-standards] (SCNuLEAST64): Likewise.
30816 [C99-based-standards] (SCNxLEAST64): Likewise.
30817 [C99-based-standards] (PRIdFAST64): Likewise.
30818 [C99-based-standards] (PRIiFAST64): Likewise.
30819 [C99-based-standards] (PRIoFAST64): Likewise.
30820 [C99-based-standards] (PRIuFAST64): Likewise.
30821 [C99-based-standards] (PRIxFAST64): Likewise.
30822 [C99-based-standards] (PRIXFAST64): Likewise.
30823 [C99-based-standards] (SCNdFAST64): Likewise.
30824 [C99-based-standards] (SCNiFAST64): Likewise.
30825 [C99-based-standards] (SCNoFAST64): Likewise.
30826 [C99-based-standards] (SCNuFAST64): Likewise.
30827 [C99-based-standards] (SCNxFAST64): Likewise.
30828 [C99-based-standards] (PRIdMAX): Likewise.
30829 [C99-based-standards] (PRIiMAX): Likewise.
30830 [C99-based-standards] (PRIoMAX): Likewise.
30831 [C99-based-standards] (PRIuMAX): Likewise.
30832 [C99-based-standards] (PRIxMAX): Likewise.
30833 [C99-based-standards] (PRIXMAX): Likewise.
30834 [C99-based-standards] (SCNdMAX): Likewise.
30835 [C99-based-standards] (SCNiMAX): Likewise.
30836 [C99-based-standards] (SCNoMAX): Likewise.
30837 [C99-based-standards] (SCNuMAX): Likewise.
30838 [C99-based-standards] (SCNxMAX): Likewise.
30839 [C99-based-standards] (PRIdPTR): Likewise.
30840 [C99-based-standards] (PRIiPTR): Likewise.
30841 [C99-based-standards] (PRIoPTR): Likewise.
30842 [C99-based-standards] (PRIuPTR): Likewise.
30843 [C99-based-standards] (PRIxPTR): Likewise.
30844 [C99-based-standards] (PRIXPTR): Likewise.
30845 [C99-based-standards] (SCNdPTR): Likewise.
30846 [C99-based-standards] (SCNiPTR): Likewise.
30847 [C99-based-standards] (SCNoPTR): Likewise.
30848 [C99-based-standards] (SCNuPTR): Likewise.
30849 [C99-based-standards] (SCNxPTR): Likewise.
30850 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30851 allow.
30852 * conform/data/stdint.h-data: Update comments to clarify
30853 requirements.
30854 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30855 type.
30856 [C99-based standards] (INT8_MAX): Likewise.
30857 [C99-based standards] (INT16_MIN): Likewise.
30858 [C99-based standards] (INT16_MAX): Likewise.
30859 [C99-based standards] (INT32_MIN): Likewise.
30860 [C99-based standards] (INT32_MAX): Likewise.
30861 [C99-based standards] (INT64_MIN): Likewise.
30862 [C99-based standards] (INT64_MAX): Likewise.
30863 [C99-based standards] (UINT8_MAX): Likewise.
30864 [C99-based standards] (UINT16_MAX): Likewise.
30865 [C99-based standards] (UINT32_MAX): Likewise.
30866 [C99-based standards] (UINT64_MAX): Likewise.
30867 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30868 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30869 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30870 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30871 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30872 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30873 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30874 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30875 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30876 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30877 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30878 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30879 [C99-based standards] (INT_FAST8_MIN): Likewise.
30880 [C99-based standards] (INT_FAST8_MAX): Likewise.
30881 [C99-based standards] (INT_FAST16_MIN): Likewise.
30882 [C99-based standards] (INT_FAST16_MAX): Likewise.
30883 [C99-based standards] (INT_FAST32_MIN): Likewise.
30884 [C99-based standards] (INT_FAST32_MAX): Likewise.
30885 [C99-based standards] (INT_FAST64_MIN): Likewise.
30886 [C99-based standards] (INT_FAST64_MAX): Likewise.
30887 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30888 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30889 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30890 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30891 [C99-based standards] (INTPTR_MIN): Likewise.
30892 [C99-based standards] (INTPTR_MAX): Likewise.
30893 [C99-based standards] (UINTPTR_MAX): Likewise.
30894 [C99-based standards] (INTMAX_MIN): Likewise.
30895 [C99-based standards] (INTMAX_MAX): Likewise.
30896 [C99-based standards] (UINTMAX_MAX): Likewise.
30897 [C99-based standards] (PTRDIFF_MIN): Likewise.
30898 [C99-based standards] (PTRDIFF_MAX): Likewise.
30899 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30900 [C99-based standards] (SIZE_MAX): Likewise.
30901 [C99-based standards] (WCHAR_MAX): Likewise.
30902 [C99-based standards] (WINT_MAX): Likewise.
30903 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30904 constraint on value.
30905 [C99-based standards] (WCHAR_MIN): Likewise.
30906 [C99-based standards] (WINT_MIN): Likewise.
30907 [C99-based standards] (*_t): Allow.
30908 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30909 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30910 Include math.h-data and complex.h-data. Remove all expectations
30911 of math.h and complex.h contents.
30912 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30913 at end of line.
30914 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30915 (struct tm): Expect tag.
30916 [C99-based-standards] (wcstof): Expect function.
30917 [C99-based-standards] (wcstold): Likewise.
30918 [C99-based-standards] (wcstoll): Likewise.
30919 [C99-based-standards] (wcstoull): Likewise.
30920 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30921 macro-int-constant. Specify type.
30922 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30923 constraint on value.
30924 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30925 Specify type.
30926 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30927 Specify value.
30928 [ISO C standards]: Do not allow headers.
30929 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30930 wcs[abcdefghijklmnopqrstuvwxyz]*.
30931 [ISO C standards] (*_t): Do not allow.
30932 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30933 Expect function.
30934 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30935 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30936 Specify type.
30937 [ISO C standards]: Do not allow headers.
30938 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30939 is[abcdefghijklmnopqrstuvwxyz]*.
30940 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30941 to[abcdefghijklmnopqrstuvwxyz]*.
30942 [ISO C standards] (*_t): Do not allow.
30943 * conform/data/stdalign.h-data: New file.
30944 * conform/data/stdbool.h-data: Likewise.
30945 * conform/data/stdnoreturn.h-data: Likewise.
30946
7514feb8
RM
309472012-11-07 Roland McGrath <roland@hack.frob.com>
30948
30949 [BZ #14815]
30950 * manual/filesys.texi (Directory Entries): Typo fix.
30951 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30952
19b2ecfc
MS
309532012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30954
30955 * elf/elf.h (EM_AARCH64): New macro.
30956 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30957 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30958 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30959 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30960 (R_AARCH64_TLSDESC): Likewise.
30961 (NT_ARM_TLS): Likewise.
30962 (NT_ARM_HW_BREAK): Likewise.
30963 (NT_ARM_HW_WATCH): Likewise.
30964
60e235ee
JM
309652012-11-07 Joseph Myers <joseph@codesourcery.com>
30966
30967 [BZ #14811]
30968 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30969 (__ieee754_powl): Saturate nonzero exponents with absolute value
30970 below 0x1p-79 to +/- 0x1p-79.
30971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30972 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30973 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30974 nonzero exponents with absolute value below 0x1p-32 to +/-
30975 0x1p-32.
30976 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30977 (__ieee754_powl): Saturate nonzero exponents with absolute value
30978 below 0x1p-79 to +/- 0x1p-79.
30979 * math/libm-test.inc (pow_test): Add more tests.
30980
0ab234b7
AK
309812012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30982
30983 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30984 _dl_s390_cap_flags with kernel. Increase string length.
30985 (_dl_s390_platforms): Add z196 and zEC12.
30986
45832f74
JM
309872012-11-07 Joseph Myers <joseph@codesourcery.com>
30988
30989 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30990 Change XOPEN21K to XOPEN2K.
30991
19218757
MK
309922012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30993
30994 * string/memmove.c: Use memcpy when possible.
30995
c5f45721
AJ
309962012-11-06 Andreas Jaeger <aj@suse.de>
30997
30998 * po/eo.po: Update from translation team.
30999
82477c28
JM
310002012-11-06 Joseph Myers <joseph@codesourcery.com>
31001
31002 [BZ #14793]
31003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31004 exponent and small x and y exponents, scale x or y up. Increase
31005 by 2 the exponent used in scaling up.
31006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31008 * math/libm-test.inc (fma_test): Add more tests.
31009 (fma_test_towardzero): Likewise.
31010 (fma_test_downward): Likewise.
31011 (fma_test_upward): Likewise.
31012
99252c8c
JM
310132012-11-05 Joseph Myers <joseph@codesourcery.com>
31014
acfa885f
JM
31015 [BZ #14805]
31016 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31017 fenv_t *.
31018
99252c8c
JM
31019 [BZ #14801]
31020 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31021 namespace for names of struct fields.
31022 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31023 fenv_t fields.
31024 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31025 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31026
d6d98dea
ST
310272012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31028
31029 [BZ #3665]
31030 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31031
e10bb107
TS
310322012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31033
31034 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31035 PTR_DEMANGLE.
31036
31037 [BZ #5246]
31038 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31039 PTR_DEMANGLE.
31040
a0c2940d
JM
310412012-11-04 Joseph Myers <joseph@codesourcery.com>
31042
31043 [BZ #14797]
31044 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31045 definitely overflow as x * y not x * y + z.
31046 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31048 * math/libm-test.inc (fma_test): Add more tests.
31049 (fma_test_towardzero): Likewise.
31050 (fma_test_downward): Likewise.
31051 (fma_test_upward): Likewise.
31052
b830319d
TS
310532012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31054
31055 [BZ #157]
31056
31057 * include/stub-tag.h: Remove file.
31058 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31059 '#include' of it.
31060 * manual/maint.texi (Porting): Don't reference it.
31061 * Makerules ($(objpfx)stubs): Likewise.
31062 * dirent/closedir.c: Don't include <stub-tag.h>.
31063 * dirent/dirfd.c: Likewise.
31064 * dirent/fdopendir.c: Likewise.
31065 * dirent/getdents.c: Likewise.
31066 * dirent/getdents64.c: Likewise.
31067 * dirent/opendir.c: Likewise.
31068 * dirent/readdir.c: Likewise.
31069 * dirent/readdir64.c: Likewise.
31070 * dirent/readdir64_r.c: Likewise.
31071 * dirent/readdir_r.c: Likewise.
31072 * dirent/rewinddir.c: Likewise.
31073 * dirent/seekdir.c: Likewise.
31074 * dirent/telldir.c: Likewise.
31075 * gmon/profil.c: Likewise.
31076 * grp/setgroups.c: Likewise.
31077 * inet/if_index.c: Likewise.
31078 * io/access.c: Likewise.
31079 * io/chdir.c: Likewise.
31080 * io/chmod.c: Likewise.
31081 * io/chown.c: Likewise.
31082 * io/close.c: Likewise.
31083 * io/dup.c: Likewise.
31084 * io/dup2.c: Likewise.
31085 * io/dup3.c: Likewise.
31086 * io/euidaccess.c: Likewise.
31087 * io/faccessat.c: Likewise.
31088 * io/fchdir.c: Likewise.
31089 * io/fchmod.c: Likewise.
31090 * io/fchmodat.c: Likewise.
31091 * io/fchown.c: Likewise.
31092 * io/fchownat.c: Likewise.
31093 * io/fcntl.c: Likewise.
31094 * io/flock.c: Likewise.
31095 * io/fstatfs.c: Likewise.
31096 * io/fstatfs64.c: Likewise.
31097 * io/fstatvfs.c: Likewise.
31098 * io/fstatvfs64.c: Likewise.
31099 * io/futimens.c: Likewise.
31100 * io/fxstat.c: Likewise.
31101 * io/fxstat64.c: Likewise.
31102 * io/fxstatat.c: Likewise.
31103 * io/fxstatat64.c: Likewise.
31104 * io/getcwd.c: Likewise.
31105 * io/isatty.c: Likewise.
31106 * io/lchmod.c: Likewise.
31107 * io/lchown.c: Likewise.
31108 * io/link.c: Likewise.
31109 * io/linkat.c: Likewise.
31110 * io/lseek.c: Likewise.
31111 * io/lseek64.c: Likewise.
31112 * io/lxstat64.c: Likewise.
31113 * io/mkdir.c: Likewise.
31114 * io/mkdirat.c: Likewise.
31115 * io/mkfifo.c: Likewise.
31116 * io/mkfifoat.c: Likewise.
31117 * io/open.c: Likewise.
31118 * io/open64.c: Likewise.
31119 * io/openat.c: Likewise.
31120 * io/openat64.c: Likewise.
31121 * io/pipe.c: Likewise.
31122 * io/pipe2.c: Likewise.
31123 * io/poll.c: Likewise.
31124 * io/posix_fadvise.c: Likewise.
31125 * io/posix_fadvise64.c: Likewise.
31126 * io/posix_fallocate.c: Likewise.
31127 * io/posix_fallocate64.c: Likewise.
31128 * io/read.c: Likewise.
31129 * io/readlink.c: Likewise.
31130 * io/readlinkat.c: Likewise.
31131 * io/rmdir.c: Likewise.
31132 * io/sendfile.c: Likewise.
31133 * io/sendfile64.c: Likewise.
31134 * io/statfs.c: Likewise.
31135 * io/statfs64.c: Likewise.
31136 * io/statvfs.c: Likewise.
31137 * io/statvfs64.c: Likewise.
31138 * io/symlink.c: Likewise.
31139 * io/symlinkat.c: Likewise.
31140 * io/ttyname.c: Likewise.
31141 * io/ttyname_r.c: Likewise.
31142 * io/umask.c: Likewise.
31143 * io/unlink.c: Likewise.
31144 * io/unlinkat.c: Likewise.
31145 * io/utime.c: Likewise.
31146 * io/utimensat.c: Likewise.
31147 * io/write.c: Likewise.
31148 * io/xmknod.c: Likewise.
31149 * io/xmknodat.c: Likewise.
31150 * io/xstat.c: Likewise.
31151 * io/xstat64.c: Likewise.
31152 * login/getpt.c: Likewise.
31153 * login/grantpt.c: Likewise.
31154 * login/unlockpt.c: Likewise.
31155 * math/e_acoshl.c: Likewise.
31156 * math/e_acosl.c: Likewise.
31157 * math/e_asinl.c: Likewise.
31158 * math/e_atan2l.c: Likewise.
31159 * math/e_atanhl.c: Likewise.
31160 * math/e_coshl.c: Likewise.
31161 * math/e_expl.c: Likewise.
31162 * math/e_fmodl.c: Likewise.
31163 * math/e_gammal_r.c: Likewise.
31164 * math/e_hypotl.c: Likewise.
31165 * math/e_j0l.c: Likewise.
31166 * math/e_j1l.c: Likewise.
31167 * math/e_jnl.c: Likewise.
31168 * math/e_lgammal_r.c: Likewise.
31169 * math/e_log10l.c: Likewise.
31170 * math/e_log2l.c: Likewise.
31171 * math/e_logl.c: Likewise.
31172 * math/e_powl.c: Likewise.
31173 * math/e_rem_pio2l.c: Likewise.
31174 * math/e_sinhl.c: Likewise.
31175 * math/e_sqrtl.c: Likewise.
31176 * math/fclrexcpt.c: Likewise.
31177 * math/fedisblxcpt.c: Likewise.
31178 * math/feenablxcpt.c: Likewise.
31179 * math/fegetenv.c: Likewise.
31180 * math/fegetexcept.c: Likewise.
31181 * math/fegetround.c: Likewise.
31182 * math/feholdexcpt.c: Likewise.
31183 * math/fesetenv.c: Likewise.
31184 * math/fesetround.c: Likewise.
31185 * math/feupdateenv.c: Likewise.
31186 * math/fgetexcptflg.c: Likewise.
31187 * math/fraiseexcpt.c: Likewise.
31188 * math/fsetexcptflg.c: Likewise.
31189 * math/ftestexcept.c: Likewise.
31190 * math/k_cosl.c: Likewise.
31191 * math/k_rem_pio2l.c: Likewise.
31192 * math/k_sinl.c: Likewise.
31193 * math/k_tanl.c: Likewise.
31194 * math/s_asinhl.c: Likewise.
31195 * math/s_atanl.c: Likewise.
31196 * math/s_cbrtl.c: Likewise.
31197 * math/s_erfl.c: Likewise.
31198 * math/s_expm1l.c: Likewise.
31199 * math/s_log1pl.c: Likewise.
31200 * math/s_tanhl.c: Likewise.
31201 * misc/acct.c: Likewise.
31202 * misc/brk.c: Likewise.
31203 * misc/chflags.c: Likewise.
31204 * misc/chroot.c: Likewise.
31205 * misc/fchflags.c: Likewise.
31206 * misc/fgetxattr.c: Likewise.
31207 * misc/flistxattr.c: Likewise.
31208 * misc/fremovexattr.c: Likewise.
31209 * misc/fsetxattr.c: Likewise.
31210 * misc/fsync.c: Likewise.
31211 * misc/ftruncate.c: Likewise.
31212 * misc/futimes.c: Likewise.
31213 * misc/futimesat.c: Likewise.
31214 * misc/getdomain.c: Likewise.
31215 * misc/getdtsz.c: Likewise.
31216 * misc/gethostid.c: Likewise.
31217 * misc/gethostname.c: Likewise.
31218 * misc/getloadavg.c: Likewise.
31219 * misc/getpagesize.c: Likewise.
31220 * misc/getsysstats.c: Likewise.
31221 * misc/getxattr.c: Likewise.
31222 * misc/gtty.c: Likewise.
31223 * misc/ioctl.c: Likewise.
31224 * misc/lgetxattr.c: Likewise.
31225 * misc/listxattr.c: Likewise.
31226 * misc/llistxattr.c: Likewise.
31227 * misc/lremovexattr.c: Likewise.
31228 * misc/lsetxattr.c: Likewise.
31229 * misc/lutimes.c: Likewise.
31230 * misc/madvise.c: Likewise.
31231 * misc/mincore.c: Likewise.
31232 * misc/mlock.c: Likewise.
31233 * misc/mlockall.c: Likewise.
31234 * misc/mmap.c: Likewise.
31235 * misc/mprotect.c: Likewise.
31236 * misc/msync.c: Likewise.
31237 * misc/munlock.c: Likewise.
31238 * misc/munlockall.c: Likewise.
31239 * misc/munmap.c: Likewise.
31240 * misc/preadv.c: Likewise.
31241 * misc/preadv64.c: Likewise.
31242 * misc/ptrace.c: Likewise.
31243 * misc/pwritev.c: Likewise.
31244 * misc/pwritev64.c: Likewise.
31245 * misc/readv.c: Likewise.
31246 * misc/reboot.c: Likewise.
31247 * misc/remap_file_pages.c: Likewise.
31248 * misc/removexattr.c: Likewise.
31249 * misc/revoke.c: Likewise.
31250 * misc/select.c: Likewise.
31251 * misc/setdomain.c: Likewise.
31252 * misc/setegid.c: Likewise.
31253 * misc/seteuid.c: Likewise.
31254 * misc/sethostid.c: Likewise.
31255 * misc/sethostname.c: Likewise.
31256 * misc/setregid.c: Likewise.
31257 * misc/setreuid.c: Likewise.
31258 * misc/setxattr.c: Likewise.
31259 * misc/sstk.c: Likewise.
31260 * misc/stty.c: Likewise.
31261 * misc/swapoff.c: Likewise.
31262 * misc/swapon.c: Likewise.
31263 * misc/sync.c: Likewise.
31264 * misc/syncfs.c: Likewise.
31265 * misc/syscall.c: Likewise.
31266 * misc/truncate.c: Likewise.
31267 * misc/ualarm.c: Likewise.
31268 * misc/usleep.c: Likewise.
31269 * misc/ustat.c: Likewise.
31270 * misc/utimes.c: Likewise.
31271 * misc/vhangup.c: Likewise.
31272 * misc/writev.c: Likewise.
31273 * posix/_exit.c: Likewise.
31274 * posix/alarm.c: Likewise.
31275 * posix/execve.c: Likewise.
31276 * posix/fexecve.c: Likewise.
31277 * posix/fork.c: Likewise.
31278 * posix/fpathconf.c: Likewise.
31279 * posix/getaddrinfo.c: Likewise.
31280 * posix/getegid.c: Likewise.
31281 * posix/geteuid.c: Likewise.
31282 * posix/getgid.c: Likewise.
31283 * posix/getgroups.c: Likewise.
31284 * posix/getlogin.c: Likewise.
31285 * posix/getlogin_r.c: Likewise.
31286 * posix/getpgid.c: Likewise.
31287 * posix/getpid.c: Likewise.
31288 * posix/getppid.c: Likewise.
31289 * posix/getresgid.c: Likewise.
31290 * posix/getresuid.c: Likewise.
31291 * posix/getsid.c: Likewise.
31292 * posix/getuid.c: Likewise.
31293 * posix/glob64.c: Likewise.
31294 * posix/nanosleep.c: Likewise.
31295 * posix/pathconf.c: Likewise.
31296 * posix/pause.c: Likewise.
31297 * posix/posix_madvise.c: Likewise.
31298 * posix/pread.c: Likewise.
31299 * posix/pread64.c: Likewise.
31300 * posix/pwrite.c: Likewise.
31301 * posix/pwrite64.c: Likewise.
31302 * posix/sched_getaffinity.c: Likewise.
31303 * posix/sched_getp.c: Likewise.
31304 * posix/sched_gets.c: Likewise.
31305 * posix/sched_primax.c: Likewise.
31306 * posix/sched_primin.c: Likewise.
31307 * posix/sched_rr_gi.c: Likewise.
31308 * posix/sched_setaffinity.c: Likewise.
31309 * posix/sched_setp.c: Likewise.
31310 * posix/sched_sets.c: Likewise.
31311 * posix/sched_yield.c: Likewise.
31312 * posix/setgid.c: Likewise.
31313 * posix/setlogin.c: Likewise.
31314 * posix/setpgid.c: Likewise.
31315 * posix/setresgid.c: Likewise.
31316 * posix/setresuid.c: Likewise.
31317 * posix/setsid.c: Likewise.
31318 * posix/setuid.c: Likewise.
31319 * posix/sleep.c: Likewise.
31320 * posix/spawni.c: Likewise.
31321 * posix/sysconf.c: Likewise.
31322 * posix/times.c: Likewise.
31323 * posix/wait.c: Likewise.
31324 * posix/wait3.c: Likewise.
31325 * posix/wait4.c: Likewise.
31326 * posix/waitpid.c: Likewise.
31327 * resolv/gai_sigqueue.c: Likewise.
31328 * resource/getpriority.c: Likewise.
31329 * resource/getrlimit.c: Likewise.
31330 * resource/getrusage.c: Likewise.
31331 * resource/nice.c: Likewise.
31332 * resource/setpriority.c: Likewise.
31333 * resource/setrlimit.c: Likewise.
31334 * resource/ulimit.c: Likewise.
31335 * rt/aio_cancel.c: Likewise.
31336 * rt/aio_fsync.c: Likewise.
31337 * rt/aio_read.c: Likewise.
31338 * rt/aio_sigqueue.c: Likewise.
31339 * rt/aio_suspend.c: Likewise.
31340 * rt/aio_write.c: Likewise.
31341 * rt/clock_getres.c: Likewise.
31342 * rt/clock_gettime.c: Likewise.
31343 * rt/clock_nanosleep.c: Likewise.
31344 * rt/clock_settime.c: Likewise.
31345 * rt/lio_listio.c: Likewise.
31346 * rt/mq_close.c: Likewise.
31347 * rt/mq_getattr.c: Likewise.
31348 * rt/mq_notify.c: Likewise.
31349 * rt/mq_open.c: Likewise.
31350 * rt/mq_receive.c: Likewise.
31351 * rt/mq_send.c: Likewise.
31352 * rt/mq_setattr.c: Likewise.
31353 * rt/mq_timedreceive.c: Likewise.
31354 * rt/mq_timedsend.c: Likewise.
31355 * rt/mq_unlink.c: Likewise.
31356 * rt/shm_open.c: Likewise.
31357 * rt/shm_unlink.c: Likewise.
31358 * rt/timer_create.c: Likewise.
31359 * rt/timer_delete.c: Likewise.
31360 * rt/timer_getoverr.c: Likewise.
31361 * rt/timer_gettime.c: Likewise.
31362 * rt/timer_settime.c: Likewise.
31363 * setjmp/__longjmp.c: Likewise.
31364 * setjmp/setjmp.c: Likewise.
31365 * signal/kill.c: Likewise.
31366 * signal/killpg.c: Likewise.
31367 * signal/raise.c: Likewise.
31368 * signal/sigaction.c: Likewise.
31369 * signal/sigaltstack.c: Likewise.
31370 * signal/sigblock.c: Likewise.
31371 * signal/sigignore.c: Likewise.
31372 * signal/sigintr.c: Likewise.
31373 * signal/signal.c: Likewise.
31374 * signal/sigpause.c: Likewise.
31375 * signal/sigpending.c: Likewise.
31376 * signal/sigqueue.c: Likewise.
31377 * signal/sigreturn.c: Likewise.
31378 * signal/sigset.c: Likewise.
31379 * signal/sigsetmask.c: Likewise.
31380 * signal/sigstack.c: Likewise.
31381 * signal/sigsuspend.c: Likewise.
31382 * signal/sigtimedwait.c: Likewise.
31383 * signal/sigvec.c: Likewise.
31384 * signal/sigwait.c: Likewise.
31385 * signal/sigwaitinfo.c: Likewise.
31386 * signal/sysv_signal.c: Likewise.
31387 * socket/accept.c: Likewise.
31388 * socket/accept4.c: Likewise.
31389 * socket/bind.c: Likewise.
31390 * socket/connect.c: Likewise.
31391 * socket/getpeername.c: Likewise.
31392 * socket/getsockname.c: Likewise.
31393 * socket/getsockopt.c: Likewise.
31394 * socket/isfdtype.c: Likewise.
31395 * socket/listen.c: Likewise.
31396 * socket/recv.c: Likewise.
31397 * socket/recvfrom.c: Likewise.
31398 * socket/recvmsg.c: Likewise.
31399 * socket/send.c: Likewise.
31400 * socket/sendmsg.c: Likewise.
31401 * socket/sendto.c: Likewise.
31402 * socket/setsockopt.c: Likewise.
31403 * socket/shutdown.c: Likewise.
31404 * socket/sockatmark.c: Likewise.
31405 * socket/socket.c: Likewise.
31406 * socket/socketpair.c: Likewise.
31407 * stdio-common/ctermid.c: Likewise.
31408 * stdio-common/cuserid.c: Likewise.
31409 * stdio-common/remove.c: Likewise.
31410 * stdio-common/rename.c: Likewise.
31411 * stdio-common/renameat.c: Likewise.
31412 * stdio-common/tempname.c: Likewise.
31413 * stdlib/getcontext.c: Likewise.
31414 * stdlib/makecontext.c: Likewise.
31415 * stdlib/setcontext.c: Likewise.
31416 * stdlib/swapcontext.c: Likewise.
31417 * stdlib/system.c: Likewise.
31418 * streams/fattach.c: Likewise.
31419 * streams/fdetach.c: Likewise.
31420 * streams/getmsg.c: Likewise.
31421 * streams/getpmsg.c: Likewise.
31422 * streams/putmsg.c: Likewise.
31423 * streams/putpmsg.c: Likewise.
31424 * sysdeps/unix/bsd/getpt.c: Likewise.
31425 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31426 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31427 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31429 Likewise.
31430 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31431 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31432 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31433 * sysvipc/msgctl.c: Likewise.
31434 * sysvipc/msgget.c: Likewise.
31435 * sysvipc/msgrcv.c: Likewise.
31436 * sysvipc/msgsnd.c: Likewise.
31437 * sysvipc/semctl.c: Likewise.
31438 * sysvipc/semget.c: Likewise.
31439 * sysvipc/semop.c: Likewise.
31440 * sysvipc/semtimedop.c: Likewise.
31441 * sysvipc/shmat.c: Likewise.
31442 * sysvipc/shmctl.c: Likewise.
31443 * sysvipc/shmdt.c: Likewise.
31444 * sysvipc/shmget.c: Likewise.
31445 * termios/tcdrain.c: Likewise.
31446 * termios/tcflow.c: Likewise.
31447 * termios/tcflush.c: Likewise.
31448 * termios/tcgetattr.c: Likewise.
31449 * termios/tcgetpgrp.c: Likewise.
31450 * termios/tcsendbrk.c: Likewise.
31451 * termios/tcsetattr.c: Likewise.
31452 * termios/tcsetpgrp.c: Likewise.
31453 * time/adjtime.c: Likewise.
31454 * time/clock.c: Likewise.
31455 * time/getitimer.c: Likewise.
31456 * time/gettimeofday.c: Likewise.
31457 * time/setitimer.c: Likewise.
31458 * time/settimeofday.c: Likewise.
31459 * time/stime.c: Likewise.
31460 * time/time.c: Likewise.
31461
314622012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31463
a20492cf
PT
31464 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31465 /usr/old/bin.
31466
72e182e3
PT
31467 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31468 instead of spaces.
31469 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31470
fbeafede
JM
314712012-11-03 Joseph Myers <joseph@codesourcery.com>
31472
5b5b04d6
JM
31473 [BZ #14796]
31474 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31475 FE_TONEAREST before applying Dekker multiplication and Knuth
31476 addition. Clear inexact exceptions and check for exact zero
31477 results afterwards.
31478 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31479 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31480 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31481 * math/libm-test.inc (fma_test): Add more tests.
31482 (fma_test_towardzero): Likewise.
31483 (fma_test_downward): Likewise.
31484 (fma_test_upward): Likewise.
31485 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31486 function.
31487 (libc_fesetround): New macro.
31488 (libc_fesetroundf): Likewise.
31489 (libc_fesetroundl): Likewise.
31490 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31491 function.
31492 (libc_fesetround_387): Likewise.
31493 (libc_fesetroundf): New macro.
31494 (libc_fesetround): Likewise.
31495 (libc_fesetroundl): Likewise.
31496 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31497 function.
31498 (libc_fesetroundf): New macro.
31499 (libc_fesetround): Likewise.
31500 (libc_fesetroundl): Likewise.
31501 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31502 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31503 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31504 libm_hidden_ver.
31505 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31506 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31507 libm_hidden_def.
31508 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31509 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31510 libm_hidden_ver.
31511 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31512 libm_hidden_def.
31513
fbeafede
JM
31514 [BZ #3439]
31515 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31516 integer constant usable in #if and use that to give value to enum
31517 constant.
31518 (FE_DIVBYZERO): Likewise.
31519 (FE_UNDERFLOW): Likewise.
31520 (FE_OVERFLOW): Likewise.
31521 (FE_INVALID): Likewise.
31522 (FE_INVALID_SNAN): Likewise.
31523 (FE_INVALID_ISI): Likewise.
31524 (FE_INVALID_IDI): Likewise.
31525 (FE_INVALID_ZDZ): Likewise.
31526 (FE_INVALID_IMZ): Likewise.
31527 (FE_INVALID_COMPARE): Likewise.
31528 (FE_INVALID_SOFTWARE): Likewise.
31529 (FE_INVALID_SQRT): Likewise.
31530 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31531 (FE_TONEAREST): Likewise.
31532 (FE_TOWARDZERO): Likewise.
31533 (FE_UPWARD): Likewise.
31534 (FE_DOWNWARD): Likewise.
31535 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31536 (FE_DIVBYZERO): Likewise.
31537 (FE_OVERFLOW): Likewise.
31538 (FE_UNDERFLOW): Likewise.
31539 (FE_INEXACT): Likewise.
31540 (FE_TONEAREST): Likewise.
31541 (FE_DOWNWARD): Likewise.
31542 (FE_UPWARD): Likewise.
31543 (FE_TOWARDZERO): Likewise.
31544 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31545 (FE_UNDERFLOW): Likewise.
31546 (FE_OVERFLOW): Likewise.
31547 (FE_DIVBYZERO): Likewise.
31548 (FE_INVALID): Likewise.
31549 (FE_TONEAREST): Likewise.
31550 (FE_TOWARDZERO): Likewise.
31551 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31552 (FE_OVERFLOW): Likewise.
31553 (FE_UNDERFLOW): Likewise.
31554 (FE_DIVBYZERO): Likewise.
31555 (FE_INEXACT): Likewise.
31556 (FE_TONEAREST): Likewise.
31557 (FE_TOWARDZERO): Likewise.
31558 (FE_UPWARD): Likewise.
31559 (FE_DOWNWARD): Likewise.
31560 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31561 (FE_DIVBYZERO): Likewise.
31562 (FE_OVERFLOW): Likewise.
31563 (FE_UNDERFLOW): Likewise.
31564 (FE_INEXACT): Likewise.
31565 (FE_TONEAREST): Likewise.
31566 (FE_DOWNWARD): Likewise.
31567 (FE_UPWARD): Likewise.
31568 (FE_TOWARDZERO): Likewise.
31569
105ca950
CM
315702012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31571
31572 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31573
a542b389
AS
315742012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31575
31576 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31577 commands. Quote $PWD.
31578 (blacklist_exports): Don't use remove_newlines. Replace "declare
31579 -x" by "export".
31580 (remove_newlines): Remove.
31581
f62c8abc
L
315822012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31583
31584 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31585 * stdlib/stdlib.h (atof): Moved to ...
31586 * include/bits/stdlib-float.h: Here. New file.
31587 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31588 * stdlib/bits/stdlib-float.h: New file.
31589 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31590 -mno-sse -mno-mmx.
31591 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31592 <xmmintrin.h>.
31593
0155d5b2
JM
315942012-11-02 Joseph Myers <joseph@codesourcery.com>
31595
a68d0680
JM
31596 * conform/conformtest.pl (@headers): Add fenv.h.
31597 * conform/data/fenv.h-data: New file.
31598 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31599 include of <math/fenv.h>.
31600
caf7f573
JM
31601 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31602 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31603 && !UNIX98]. Enables tests for XOPEN2K8.
31604 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31605 POSIX2008]: Likewise.
31606
6c073ad6
JM
31607 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31608 (struct rusage): Do not expect type or its members.
31609
0155d5b2
JM
31610 [BZ #3439]
31611 * math/math.h (FP_NAN): Define macro to integer constant usable in
31612 #if and use that to give value to enum constant.
31613 (FP_INFINITE): Likewise.
31614 (FP_ZERO): Likewise.
31615 (FP_SUBNORMAL): Likewise.
31616 (FP_NORMAL): Likewise.
31617
b5dcacb4
AS
316182012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31619
31620 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31621 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31622 arguments.
31623
f7934be8
RM
316242012-11-02 Roland McGrath <roland@hack.frob.com>
31625
31626 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31627 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31628 autoconf-time if not.
31629 * configure.in: Remove AC_PREREQ.
31630
d7d08bde
TMQMF
316312012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31632
31633 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31634 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31635 of the internal implementation.
31636
dcdae19a
JM
316372012-11-02 Joseph Myers <joseph@codesourcery.com>
31638
31639 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31640 except include of <misc/sys/syslog.h>.
31641
d6cffd3e
AS
316422012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31643
31644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31645 function returns with a NULL context exit with zero.
31646
b3563932
TMQMF
316472012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31648
31649 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31650
b288a93d
L
316512012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31652
31653 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31654 (run_program_cmd): This.
31655 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31656 (tst_langinfo): New variable. Use it.
31657
a2421a68
SAS
316582012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31659
31660 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31661 floating point opcodes.
31662
6f796e1b
TS
316632012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31664
7402596b
TS
31665 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31666 variable.
31667
d0d4f868
TS
31668 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31669
6f796e1b
TS
31670 * sysdeps/mach/hurd/powerpc: Remove directory.
31671 * sysdeps/mach/powerpc: Likewise.
31672
4da224a2
AS
316732012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31674
31675 * scripts/check-local-headers.sh: Ignore c++ headers.
31676
341dd673
TS
316772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31678
31679 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31680 __libc_cleanup_region_start argument.
31681
473611b2
JM
316822012-11-01 Joseph Myers <joseph@codesourcery.com>
31683
31684 [BZ #14784]
31685 [BZ #14785]
31686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31687 x * y using scaling, not as x * y + z.
31688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31690 * math/libm-test.inc (fma_test): Add more tests.
31691 (fma_test_towardzero): Likewise.
31692 (fma_test_downward): Likewise.
31693 (fma_test_upward): Likewise.
31694
4078da3d
TS
316952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31696
31697 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31698
903252aa
JM
316992012-10-31 Joseph Myers <joseph@codesourcery.com>
31700
31701 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31702 New variable.
31703
cbc818d0
TS
317042012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31705
31706 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31707
5a03cb1e
AS
317082012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31709
31710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31711 Fix sort order.
31712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31713 Likewise.
31714
90aff2ff
TMQMF
317152012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31716
31717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31718 Fix the order of the list for glibc 2.17.
31719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31720 Likewise.
31721
1818fcb7
AS
317222012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31723
31724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31725
ef82f4da
JM
317262012-10-31 Joseph Myers <joseph@codesourcery.com>
31727
16a0e2ec
JM
31728 [BZ #14610]
31729 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31730 for low part of x being zero before using __atanl (y).
31731 * math/libm-test.inc (atan2_test): Add another test.
31732
0eb69512
JM
31733 * manual/install.texi (Configuring and compiling): Document
31734 general use of test-wrapper and test-wrapper-env.
31735 * INSTALL: Regenerated.
31736
ef82f4da
JM
31737 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31738 (__fma): Do not extract and scale down low bits on after-rounding
31739 systems when result rounded to normal precision would have normal
31740 exponent.
31741 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31742 (__fmal): Do not extract and scale down low bits on after-rounding
31743 systems when result rounded to normal precision would have normal
31744 exponent.
31745 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31746 (__fmal): Do not extract and scale down low bits on after-rounding
31747 systems when result rounded to normal precision would have normal
31748 exponent.
31749 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31750 macro.
31751 (fma_test): Add more tests.
31752 (fma_test_towardzero): Likewise.
31753 (fma_test_downward): Likewise.
31754 (fma_test_upward): Likewise.
31755
954ef0d9
L
317562012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31757
31758 * sysdeps/i386/tininess.h: Renamed to ...
31759 * sysdeps/x86/tininess.h: This.
31760 * sysdeps/x86_64/tininess.h: Removed.
31761
df61ffb2
JM
317622012-10-30 Joseph Myers <joseph@codesourcery.com>
31763
31764 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31765 input. Use $(build-program-cmd).
31766 ($(objpfx)tst-array1-static.out): Likewise.
31767 ($(objpfx)tst-array2.out): Likewise.
31768 ($(objpfx)tst-array3.out): Likewise.
31769 ($(objpfx)tst-array4.out): Likewise.
31770 ($(objpfx)tst-array5.out): Likewise.
31771 ($(objpfx)tst-array5-static.out): Likewise.
31772
01767843
CM
317732012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31774
47cc1490
CM
31775 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31776 if defined.
31777
01767843
CM
31778 * nss/nsswitch.h (nss_interface_function): Provide new
31779 macro for use with NSS functions.
31780 * grp/initgroups.c: Use new macro.
31781 * nss/getXXbyYY.c: Likewise.
31782 * nss/getXXbyYY_r.c: Likewise.
31783 * nss/getXXent.c: Likewise.
31784 * nss/getXXent_r.c: Likewise.
31785 * sysdeps/posix/getaddrinfo.c: Likewise.
31786
8321aa97
AJ
317872012-10-30 Andreas Jaeger <aj@suse.de>
31788
31789 * po/ru.po: Update Russion translation from translation project.
31790
2a27fd6d
JM
317912012-10-30 Joseph Myers <joseph@codesourcery.com>
31792
8627a232
JM
31793 [BZ #14152]
31794 [BZ #14783]
31795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31796 result and shift together with sticky bit instead of replicating
31797 round-to-nearest rounding.
31798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31800 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31801 missing underflow exceptions.
31802 (fma_test_towardzero): Add more tests.
31803 (fma_test_downward): Likewise.
31804 (fma_test_upward): Likewise.
31805
2a27fd6d
JM
31806 [BZ #14047]
31807 * sysdeps/generic/tininess.h: New file.
31808 * sysdeps/i386/tininess.h: Likewise.
31809 * sysdeps/sh/tininess.h: Likewise.
31810 * sysdeps/x86_64/tininess.h: Likewise.
31811 * stdlib/tst-strtod-underflow.c: Likewise.
31812 * stdlib/tst-tininess.c: Likewise.
31813 * stdlib/strtod_l.c: Include <tininess.h>.
31814 (round_and_return): Do not set errno for exact underflow cases.
31815 Force an underflow exception when setting errno for underflow.
31816 Determine underflow based on rounding to normal precision if
31817 TININESS_AFTER_ROUNDING.
31818 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31819 ERANGE for exact underflow cases.
31820 * stdlib/Makefile (tests): Add tst-tininess and
31821 tst-strtod-underflow.
31822 ($(objpfx)tst-tininess): Use $(link-libm).
31823 ($(objpfx)tst-strtod-underflow): Likewise.
31824
e7170363
AJ
318252012-10-30 Andreas Jaeger <aj@suse.de>
31826
e5088dc6
AJ
31827 [BZ#14767]
31828 * elf/Makefile (tests): Remove conditional for have-initfini-array
31829 since this is now always required and the variable does not exist
31830 anymore.
31831 (tests-static): Likewise.
31832 (modules-names): Likewise.
31833
e7170363 31834 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31835
31836 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31837 merged with constructor/destructor.
31838 (init_array): Likewise.
31839 * elf/tst-array2dep.c (fini_array): Likewise.
31840 (init_array): Likewise.
31841
60457d8a
MF
318422012-10-29 Mike Frysinger <vapier@gentoo.org>
31843
31844 * manual/message.texi: Delete @cartouche tags.
31845
8bece752
PT
318462012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31847
94ce799f
PT
31848 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31849 EOPNOTSUPP.
31850 * sysdeps/mach/hurd/fsync.c: Likewise.
31851
8bece752
PT
31852 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31853 [_POSIX_REALTIME_SIGNALS]: Change condition to
31854 [_POSIX_REALTIME_SIGNALS > 0].
31855
86ebe6b1
AJ
318562012-10-27 Andreas Jaeger <aj@suse.de>
31857
31858 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31859 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31861 [__WORDSIZE != 64]: Likewise.
31862
54399c08
L
318632012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31864
31865 * iconvdata/tst-table.sh: Remove ${SHELL}.
31866 * iconvdata/tst-tables.sh: Likewise.
31867
e2211bed
DM
318682012-10-25 David S. Miller <davem@davemloft.net>
31869
31870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31871 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31872 of strtoull.
31873
f303f97c
DM
31874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31875 ifunc-impl-list.c
31876 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31877 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31878 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31879 file.
31880
1e9d84cd
RM
318812012-10-25 Roland McGrath <roland@hack.frob.com>
31882
31883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31884 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31885 __getdirentries.
31886
df381762
JM
318872012-10-25 Joseph Myers <joseph@codesourcery.com>
31888 Jim Blandy <jimb@codesourcery.com>
31889
31890 * scripts/cross-test-ssh.sh: New file.
31891 * manual/install.texi (Configuring and compiling): Document use of
31892 cross-test-ssh.sh.
31893 * INSTALL: Regenerated.
31894
bff64913
PT
318952012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31896
31897 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31898 EOPNOTSUPP.
31899
25fe8932
JM
319002012-10-25 Joseph Myers <joseph@codesourcery.com>
31901
31902 * Makeconfig (run-program-prefix): Fix comment.
31903
cc1290d0
JM
319042012-10-24 Joseph Myers <joseph@codesourcery.com>
31905 Jim Blandy <jimb@codesourcery.com>
31906
31907 * Makeconfig (test-wrapper): New variable,
31908 (test-wrapper-env): Likewise.
31909 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31910 (run-built-tests): Define to yes.
31911 (run-program-prefix): Use $(test-wrapper).
31912 (built-program-cmd): Likewise.
31913 * Rules (make-test-out): Use $(test-wrapper-env) and
31914 $(host-built-program-cmd).
31915 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31916 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31917 tst-pathopt.sh.
31918 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31919 $(test-wrapper-env) to tst-rtld-load-self.sh.
31920 ($(objpfx)order2.out): Use $(test-wrapper).
31921 ($(objpfx)tst-initorder.out): Likewise.
31922 ($(objpfx)tst-initorder2.out): Likewise.
31923 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31924 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31925 (test_wrapper_env): New variable. Use it to run ld.so.
31926 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31927 Use it to run ld.so.
31928 (test_wrapper_env): Likewise.
31929 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31930 $(test-wrapper) to run-iconv-test.sh.
31931 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31932 (ICONV): Use $test_wrapper.
31933 * posix/Makefile ($(objpfx)globtest.out): Pass
31934 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31935 globtest.sh, not $(run-program-prefix).
31936 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31937 (test_wrapper): Likewise.
31938 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31939 set together with run_via_rtld_prefix.
31940 (run_program_prefix): Define in terms of test_wrapper and
31941 run_via_rtld_prefix.
31942
6e6249d0
RM
319432012-10-24 Roland McGrath <roland@hack.frob.com>
31944
31945 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31946 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31947 Targets removed.
31948
31949 [BZ #14743]
31950 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31951 Declare __clock_getres, __clock_gettime, __clock_settime,
31952 __clock_nanosleep, and __clock_getcpuclockid.
31953 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31954 Remove librt_hidden_def (clock_gettime).
31955 * sysdeps/unix/clock_gettime.c: Likewise.
31956 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31957 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31958 * rt/clock_getres.c: Define __clock_getres as an alias.
31959 * sysdeps/posix/clock_getres.c: Likewise.
31960 * rt/clock_settime.c: Define __clock_settime as an alias.
31961 * sysdeps/unix/clock_settime.c: Likewise.
31962 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31963 * sysdeps/unix/clock_nanosleep.c: Likewise.
31964 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31965 * rt/clock-compat.c: New file.
31966 * rt/Makefile (librt-routines): Add clock-compat and move
31967 $(clock-routines) to ...
31968 (routines): ... here, new variable.
31969 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31970 Don't add get_clockfreq here.
31971 * rt/Versions (libc: GLIBC_2.17): New version set.
31972 Add clock_* symbols here.
31973 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31974 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31975 (GLIBC_2.17): Add clock_* symbols.
31976 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31978 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31980 Likewise.
31981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31982 Likewise.
31983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31984 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31987 * NEWS: Mention the move.
31988
31989 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31990 Use __open, __read, __close rather than their public counterparts.
31991 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31992 (__get_clockfreq_via_cpuinfo): Likewise.
31993 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31994 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31995
31996 * config.h.in (HAVE_IFUNC): New #undef.
31997 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31998 was successful.
31999 * configure: Regenerated.
32000
0cae3f4b
MF
320012012-10-24 Mike Frysinger <vapier@gentoo.org>
32002
32003 * configure.in: Move READELF check to start of file.
32004 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32005 libc_cv_asm_gnu_indirect_function in the process.
32006 * configure: Regenerated.
32007
8175a253
MF
320082012-10-24 Mike Frysinger <vapier@gentoo.org>
32009
32010 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32011 send the output to /dev/null.
32012 (libc_cv_cc_with_libunwind): Likewise.
32013 (libc_cv_as_noexecstack): Likewise.
32014 * configure: Regenerate.
32015
0708a7d1
JM
320162012-10-24 Joseph Myers <joseph@codesourcery.com>
32017
10b40d85
JM
32018 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32019
0708a7d1
JM
32020 * posix/globtest.sh (TMPDIR): Do not set.
32021 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32022 (testout): Likewise.
32023
9fddec1a
AJ
320242012-10-24 Andreas Jaeger <aj@suse.de>
32025
3a8db22f
AJ
32026 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32027 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32028 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32029 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32030 posix_fadvise64, posix_fallocate64.
32031
9fddec1a
AJ
32032 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32033 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32034 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32035 Likewise.
32036 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32037 Likewise.
32038 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32039
32040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32041 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32042 <bits/fcntl-linux.h>.
32043 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32044
32045 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32046 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32047 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32048 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32049 [__WORDSIZE != 64]: Likewise.
32050
ebfd1bbd
JM
320512012-10-23 Joseph Myers <joseph@codesourcery.com>
32052
03ac099f
JM
32053 * Makeconfig (run-built-tests): New variable.
32054 * Rules [$(cross-compiling) = yes]: Change condition to
32055 [$(run-built-tests) = no].
32056 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32057 to [$(run-built-tests) = yes].
32058 * elf/Makefile [$(cross-compiling) = no]: Likewise
32059 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32060 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32061 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32062 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32063 * io/Makefile [$(cross-compiling) = no]: Likewise.
32064 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32065 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32066 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32067 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32068 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32069 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32070 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32071 * string/Makefile [$(cross-compiling) = no]: Likewise.
32072
ebfd1bbd
JM
32073 * posix/Makefile ($(objpfx)globtest.out): Pass
32074 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32075 $(rtld-installed-name).
32076 * posix/globtest.sh (elf_objpfx): Remove variable.
32077 (rtld_installed_name): Likewise.
32078 (library_path): Likewise.
32079 (run_program_prefix): New variable. Use for running globtest
32080 binary.
32081
166bca24
JB
320822012-10-23 Jim Blandy <jimb@codesourcery.com>
32083 Joseph Myers <joseph@codesourcery.com>
32084
32085 * Makeconfig (host-built-program-cmd): New variable.
32086 * elf/Makefile (tst-stackguard1-ARGS): Use
32087 $(host-built-program-cmd).
32088 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32089 (tst-spawn-ARGS): Likewise.
32090 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32091
88866099
JM
320922012-10-23 Joseph Myers <joseph@codesourcery.com>
32093 Jim Blandy <jimb@codesourcery.com>
32094
32095 * Makeconfig (run-via-rtld-prefix): New variable.
32096 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32097 (built-program-cmd): Likewise.
32098
b4b4c296
AJ
320992012-10-22 Andreas Jaeger <aj@suse.de>
32100
32101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32102 __O_RSYNC if it exists, otherwise to O_SYNC.
32103
6fb54a22
JB
321042012-10-22 Jim Blandy <jimb@codesourcery.com>
32105 Joseph Myers <joseph@codesourcery.com>
32106
32107 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32108 /dev/null.
32109 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32110 from /dev/null
32111 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32112 /dev/null.
32113
481b90b9
AJ
321142012-10-22 Andreas Jaeger <aj@suse.de>
32115
2a0e2669
AJ
32116 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32117 Define always.
32118 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32119
76e38f9a
AJ
32120 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32121 bits/fcntl-linux.h.
32122
7cd37b43
AJ
32123 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32124 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32125
481b90b9
AJ
32126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32127 to __O_LARGEFILE.
32128 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32129 to __O_LARGEFILE.
32130
aba75984
JB
321312012-10-21 Jim Blandy <jimb@codesourcery.com>
32132 Joseph Myers <joseph@codesourcery.com>
32133
32134 * config.make.in (NM): New variable.
32135
88d4247f
AJ
321362012-10-21 Andreas Jaeger <aj@suse.de>
32137
32138 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32139 definitions and declarations that are provided by
32140 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32141
f2eed205
L
321422012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32143
32144 [BZ #14683]
32145 * elf/Makefile (tests-static): Add tst-leaks1-static.
32146 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32147 ($(objpfx)tst-leaks1-static): New rule.
32148 ($(objpfx)tst-leaks1-static-mem): Likewise.
32149 (tst-leaks1-static-ENV): New macro.
32150 * elf/dl-open.c (dl_open_worker): Check the main application
32151 only if SHARED is defined.
32152 * elf/tst-leaks1-static.c: New file.
32153
335e6931
AJ
321542012-10-20 Andreas Jaeger <aj@suse.de>
32155
32156 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32157 generic values for Linux.
32158 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32159 and declarations that are provided by <bits/fcntl-linux.h> and
32160 include <bits/fcntl-linux.h>.
32161 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32162 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32163
ac5c94d3
RM
321642012-10-20 Roland McGrath <roland@hack.frob.com>
32165
32166 * io/fcntl.h: Move include of <bits/types.h> to the top and
32167 include it unconditionally.
32168
de54b33a
L
321692012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32170
228cfb01
L
32171 * wcsmbs/Makefile (tests-ifunc): New variable.
32172 (tests): Add $(tests-ifunc).
32173 * wcsmbs/test-wcschr-ifunc.c: New file.
32174 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32175 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32176 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32177 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32178 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32179
69f07e5f
L
32180 * string/Makefile (tests-ifunc): New variable.
32181 (tests): Add $(tests-ifunc).
32182 * string/test-memccpy.c (TEST_NAME): New macro.
32183 * string/test-memchr.c (TEST_NAME): Likewise.
32184 * string/test-memcmp.c (TEST_NAME): Likewise.
32185 * string/test-memcpy.c (TEST_NAME): Likewise.
32186 * string/test-memmem.c (TEST_NAME): Likewise.
32187 * string/test-memmove.c (TEST_NAME): Likewise.
32188 * string/test-memset.c (TEST_NAME): Likewise.
32189 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32190 * string/test-stpcpy.c (TEST_NAME): Likewise.
32191 * string/test-stpncpy.c (TEST_NAME): Likewise.
32192 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32193 * string/test-strcasestr.c (TEST_NAME): Likewise.
32194 * string/test-strcat.c (TEST_NAME): Likewise.
32195 * string/test-strchr.c (TEST_NAME): Likewise.
32196 * string/test-strcmp.c(TEST_NAME): Likewise.
32197 * string/test-strcpy.c (TEST_NAME): Likewise.
32198 * string/test-strcspn.c (TEST_NAME): Likewise.
32199 * string/test-strlen.c (TEST_NAME): Likewise.
32200 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32201 * string/test-strncmp.c (TEST_NAME): Likewise.
32202 * string/test-strncpy.c (TEST_NAME): Likewise.
32203 * string/test-strnlen.c (TEST_NAME): Likewise.
32204 * string/test-strpbrk.c (TEST_NAME): Likewise.
32205 * string/test-strrchr.c (TEST_NAME): Likewise.
32206 * string/test-strspn.c (TEST_NAME): Likewise.
32207 * string/test-strstr.c (TEST_NAME): Likewise.
32208 * string/test-bcopy-ifunc.c: New file.
32209 * string/test-bzero-ifunc.c: Likewise.
32210 * string/test-memccpy-ifunc.c: Likewise.
32211 * string/test-memchr-ifunc.c: Likewise.
32212 * string/test-memcmp-ifunc.c: Likewise.
32213 * string/test-memcpy-ifunc.c: Likewise.
32214 * string/test-memmem-ifunc.c: Likewise.
32215 * string/test-memmove-ifunc.c: Likewise.
32216 * string/test-mempcpy-ifunc.c: Likewise.
32217 * string/test-memset-ifunc.c: Likewise.
32218 * string/test-rawmemchr-ifunc.c: Likewise.
32219 * string/test-stpcpy-ifunc.c: Likewise.
32220 * string/test-stpncpy-ifunc.c: Likewise.
32221 * string/test-strcasecmp-ifunc.c: Likewise.
32222 * string/test-strcasestr-ifunc.c: Likewise.
32223 * string/test-strcat-ifunc.c: Likewise.
32224 * string/test-strchr-ifunc.c: Likewise.
32225 * string/test-strchrnul-ifunc.c: Likewise.
32226 * string/test-strcmp-ifunc.c: Likewise.
32227 * string/test-strcpy-ifunc.c: Likewise.
32228 * string/test-strcspn-ifunc.c: Likewise.
32229 * string/test-strlen-ifunc.c: Likewise.
32230 * string/test-strncasecmp-ifunc.c: Likewise.
32231 * string/test-strncat-ifunc.c: Likewise.
32232 * string/test-strncmp-ifunc.c: Likewise.
32233 * string/test-strncpy-ifunc.c: Likewise.
32234 * string/test-strnlen-ifunc.c: Likewise.
32235 * string/test-strpbrk-ifunc.c: Likewise.
32236 * string/test-strrchr-ifunc.c: Likewise.
32237 * string/test-strspn-ifunc.c: Likewise.
32238 * string/test-strstr-ifunc.c: Likewise.
32239
de54b33a
L
32240 * debug/Makefile (tests-ifunc): New variable.
32241 (tests): Add $(tests-ifunc).
32242 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32243 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32244 * debug/test-stpcpy_chk-ifunc.c: New file.
32245 * debug/test-strcpy_chk-ifunc.c: Likewise.
32246
88481c16
SP
322472012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32248
32249 [BZ #13601]
32250 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32251 header is not read in.
32252
135948bd
JM
322532012-10-19 Joseph Myers <joseph@codesourcery.com>
32254
89f1c388
JM
32255 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32256 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32257 directly. Pass built executable to script as
32258 $(built-program-cmd).
32259 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32260 $testprogram without using LD_LIBRARY_PATH and $ldso.
32261
e40a0d21
JM
32262 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32263 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32264 $(rtld-installed-name).
32265 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32266 (rtld_installed_name): Likewise.
32267 (library_path): Likewise.
32268 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32269 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32270 $(run-program-prefix) to tst-tables.sh.
32271 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32272 it to run tst-table-from and tst-table-to.
32273 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32274 Pass it to tst-table.sh.
32275 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32276 $(run-program-prefix) to tst-gettext.sh.
32277 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32278 tst-translit.sh.
32279 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32280 tst-gettext2.sh.
32281 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32282 to run tst-gettext.
32283 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32284 to run tst-gettext2.
32285 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32286 to run tst-translit.
32287 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32288 $(run-program-prefix) to tst-mtrace.sh.
32289 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32290 to run tst-mtrace.
32291 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32292 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32293 $(rtld-installed-name).
32294 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32295 (rtld_installed_name): Likewise.
32296 (run_program_prefix): New variable. Use it to run wordexp-test.
32297
728e272a
JM
32298 * Makeconfig (ARCH): Remove all definitions.
32299 (machine): Likewise.
32300 [ARCH]: Remove conditional code.
32301 [!objdir]: Give error.
32302 [!objdir] (objpfx): Remove.
32303 [!objdir] (common-objpfx): Likewise.
32304 [!objdir] (common-objdir): Likewise.
32305 * configure.in (config_makefile): Remove. Hardcode Makefile in
32306 AC_CONFIG_FILES call.
32307 * configure: Regenerated.
32308
d528cdcf
JM
32309 [BZ #13888]
32310 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32311 or TMPDIR.
32312 (testout): Likewise.
32313
135948bd
JM
32314 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32315 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32316 $(rtld-installed-name).
32317 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32318 (rtld_installed_name): Likwise.
32319 (runit): Remove function.
32320 (run_getconf): New variable, Use it for running getconf binary.
32321
38c78296
L
323222012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32323
32324 [BZ #14716]
32325 * string/test-memmem.c (check_result): New function.
32326 (do_one_test): Use it.
32327 (check1): New function.
32328 (test_main): Use it.
32329
d077f65f
MT
323302012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32331
32332 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32333
ced52c71
JM
323342012-10-18 Joseph Myers <joseph@codesourcery.com>
32335
32336 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32337 (_G_LSEEK64): Likewise.
32338 (_G_MMAP64): Likewise.
32339 (_G_FSTAT64): Likewise.
32340 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32341 (_G_LSEEK64): Likewise.
32342 (_G_MMAP64): Likewise.
32343 (_G_FSTAT64): Likewise.
32344 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32345 unconditional. Call __mmap64 directly.
32346 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32347 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32348 __lseek64 directly.
32349 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32350 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32351 __mmap64 directly.
32352 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32353 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32354 __lseek64 directly.
32355 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32356 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32357 __lseek64 directly.
32358 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32359 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32360 __lseek64 directly.
32361 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32362 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32363 __fxstat64 directly.
32364 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32365 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32366 unconditional.
32367 (freopen64) [!_G_OPEN64]: Remove conditional code.
32368 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32369 unconditional.
32370 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32371 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32372 unconditional.
32373 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32374 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32375 unconditional.
32376 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32377 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32378 unconditional.
32379 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32380 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32381 unconditional.
32382 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32383 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32384 unconditional.
32385 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32386 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32387 unconditional.
32388 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32389
b741de23
SP
323902012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32391
32392 [BZ #12140]
32393 * manual/memory.texi (Malloc Tunable Parameters): Add note
32394 about free list pointers overwriting some perturb bytes.
32395 Wording suggested by Roland McGrath.
32396
f9b9d9c9
JM
323972012-10-17 Joseph Myers <joseph@codesourcery.com>
32398
32399 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32400 (lgamma_test): Likewise.
32401 (tgamma_test): Likewise.
32402
172a631a
FW
324032012-10-16 Florian Weimer <fweimer@redhat.com>
32404
32405 [BZ #14700]
32406 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32407 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32408
e9f37252
MK
324092012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32410
32411 * NEWS: Mention BZ #14716.
32412 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32413 when removing AVAILABLE1_USES_J macro.
32414
d394eb74
L
324152012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32416
32417 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32418 (__bswap_64): __uint64_t for unsigned 64-bit int.
32419
ca38dc17
AS
324202012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32421
32422 * include/string.h (memmem): Declare libc hidden alias.
32423 * string/memmem.c (memmem): Define libc hidden alias.
32424 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32425 __read, __close instead of open, read, close.
32426
9a387d1f
L
324272012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32428
ac49ecaf
L
32429 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32430 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32431 global and hidden.
32432 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32433 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32434 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32435 Likewise.
32436 (__rawmemchr_sse2): Likewise.
32437 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32438 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32439 (__strchr_sse2): Likewise.
32440 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32441 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32442 (__strcasecmp_sse2): Likewise.
32443 (__strncasecmp_sse2): Likewise.
32444 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32445 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32446 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32447 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32448 (__strrchr_sse2): Likewise.
32449 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32450 ifunc-impl-list.c.
32451 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32452 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32453 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32454 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32455 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32456 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32457 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32458 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32459 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32460 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32461 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32463 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32464 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32465 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32466 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32467 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32468 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32469 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32470 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32471 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32472 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32473 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32474 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32475 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32476 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32477 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32478 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32479 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32480 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32481
b090e8ea
L
32482 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32483 global and hidden.
32484 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32485 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32486 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32487 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32488 Likewise.
32489 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32490 Likewise.
32491 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32492 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32493 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32494 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32495 ifunc-impl-list.c.
32496 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32497 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32498 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32499 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32500 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32501 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32502 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32503 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32504 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32505 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32506 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32507 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32508 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32509 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32510 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32511 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32512 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32513 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32514 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32515 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32516 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32517 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32518 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32519 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32520 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32521 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32522 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32523 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32524 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32525 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32526 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32527 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32528 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32529 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32530 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32533 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32534 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32535 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32536 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32537
11dd4af6
L
32538 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32539 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32540 * include/ifunc-impl-list.h: New file.
32541 * misc/ifunc-impl-list.c: Likewise.
32542 * misc/Makefile (routines): Add ifunc-impl-list.
32543 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32544 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32545 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32546 TEST_NAME]: New variables.
11dd4af6
L
32547 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32548 are defined.
32549 (test_init): Call __libc_ifunc_impl_list to initialize
32550 func_list if TEST_IFUNC and TEST_NAME are defined.
32551
9a387d1f
L
32552 * string/Makefile (strop-tests): Add bcopy and bzero.
32553 * string/test-bcopy.c: New file.
32554 * string/test-bzero.c: Likewise.
32555 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32556 defined.
32557 * string/test-memset.c: Support bzero test if TEST_BZERO is
32558 defined.
32559 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32560 __libc_memmove.
32561 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32562 __libc_memset.
32563 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32564 of memset.
32565
472371b9
JM
325662012-10-10 Joseph Myers <joseph@codesourcery.com>
32567
1e4a9536
JM
32568 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32569 * configure: Regenerated.
32570
d173d12e
JM
32571 * Makeconfig (+link-static-before-libc): Don't include
32572 $(link-static-libc).
32573
472371b9
JM
32574 * libio/libio.h (_IO_pos_t): Remove.
32575
89a3ad0b
AO
325762012-10-10 Alexandre Oliva <aoliva@redhat.com>
32577
32578 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32579 McGrath.
32580
e7451425
AO
325812012-10-10 Alexandre Oliva <aoliva@redhat.com>
32582
32583 * crypt/crypt-entry.c: Include fips-private.h.
32584 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32585 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32586 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32587 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32588
4ba74a35
AO
325892012-10-10 Alexandre Oliva <aoliva@redhat.com>
32590
32591 * crypt/crypt-private.h: Include stdbool.h.
32592 (_ufc_setup_salt_r): Return bool.
32593 * crypt/crypt-entry.c: Include errno.h.
32594 (__crypt_r): Return NULL with EINVAL for bad salt.
32595 * crypt/crypt_util.c (bad_for_salt): New.
32596 (_ufc_setup_salt_r): Check that salt is long enough and within
32597 the specified alphabet.
32598 * crypt/badsalttest.c: New file.
32599 * crypt/Makefile (tests): Add it.
32600 ($(objpfx)badsalttest): New.
32601
f96f1242
MK
326022012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32603
32604 * NEWS: Add entry for BZ #14602.
32605
0e8e0c1c
JM
326062012-10-09 Joseph Myers <joseph@codesourcery.com>
32607
32608 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32609 type-generic.
32610 * math/libm-test.inc: Update comment listing what functions and
32611 macros are tested.
32612 (isgreater_test): New function.
32613 (isgreaterequal_test): Likewise.
32614 (isless_test): Likewise.
32615 (islessequal_test): Likewise.
32616 (islessgreater_test): Likewise.
32617 (isunordered_test): Likewise.
32618 (main): Call the new functions.
32619
273edc5e
RM
326202012-10-09 Roland McGrath <roland@hack.frob.com>
32621
b8493de0
RM
32622 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32623 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32624 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32625 * sysdeps/i386/configure: Regenerated.
32626 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32627 * sysdeps/mach/configure: Regenerated.
32628 * sysdeps/mach/hurd/configure: Regenerated.
32629 * sysdeps/powerpc/configure: Regenerated.
32630 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32631 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32632 * sysdeps/s390/s390-32/configure: Regenerated.
32633 * sysdeps/s390/s390-64/configure: Regenerated.
32634 * sysdeps/sh/configure: Regenerated.
32635 * sysdeps/sparc/configure: Regenerated.
32636 * sysdeps/unix/sysv/linux/configure: Regenerated.
32637 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32638 * sysdeps/x86_64/configure: Regenerated.
32639
273edc5e
RM
32640 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32641 defined. Don't check if MAP is NULL.
32642
c8450f70
JM
326432012-10-09 Joseph Myers <joseph@codesourcery.com>
32644
32645 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32646 (_G_stat64): Likewise.
32647 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32648 (_G_stat64): Likewise.
32649 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32650 instead of struct _G_stat64.
32651 * libio/fileops.c (mmap_remap_check): Likewise.
32652 (decide_maybe_mmap): Likewise.
32653 (_IO_new_file_seekoff): Likewise.
32654 (_IO_file_stat): Likewise.
32655 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32656 _G_off64_t.
32657 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32658 instead of struct _G_stat64.
32659 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32660
57e605ba
MK
326612012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32662
32663 [BZ #14602]
32664 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32665 Replace with ...
32666 (CHECK_EOL): New macro.
32667 (two_way_short_needle): Check beginning of haystack for EOL. Use
32668 CHECK_EOL.
32669 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32670 Replace with CHECK_EOL.
32671 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32672 Replace with CHECK_EOL.
32673
ef1bb361
JM
326742012-10-08 Joseph Myers <joseph@codesourcery.com>
32675
32676 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32677 type-generic.
32678 * math/libm-test.inc: Update comment listing what functions and
32679 macros are tested.
32680 (finite_test): New function.
32681 (isinf_test): Likewise.
32682 (isnan_test): Likewise.
32683 (fpclassify_test): Test subnormal input.
32684 (isfinite_test): Likewise.
32685 (isnormal_test): Likewise.
32686 (main): Call the new functions.
32687
55f11534
JN
326882012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32689
32690 [BZ #14660]
32691 * Makerules (%.dynsym): Force C locale when running
32692 $(OBJDUMP) --dynamic-syms.
32693
1ab29350
AS
326942012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32695
32696 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32697 <stdint.h>.
32698
f1ecb7ef
DM
326992012-10-06 David S. Miller <davem@davemloft.net>
32700
32701 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32702 upper 32-bits of the length value in %o2 since we use branch-on-register
32703 tests which consider the entire 64-bit register.
32704
5d41d91a
L
327052012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32706
32707 * string/test-strstr.c (check2): Add a test for page boundary.
32708
3baddb72
DM
327092012-10-05 David S. Miller <davem@davemloft.net>
32710
32711 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32712 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32713 file.
32714 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32715 sysdep_routines.
32716 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32717 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32718 and bzero when HWCAP_SPARC_CRYPTO is present.
32719
9cee5585
L
327202012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32721
d7e0dab9
L
32722 [BZ #14602]
32723 * string/test-strstr.c (check2): New function.
32724 (test_main): Call check2.
32725
03759f47
L
32726 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32727 and bug-strchr1.
32728 * string/bug-strcasestr1.c (do_test): Moved to ...
32729 * string/test-strcasestr.c (check1): Here. New function.
32730 (do_one_test): Break out result checking code into ...
32731 (check_result): This. New function.
32732 (do_one_test): Call check_result.
32733 (test_main): Call check1.
32734 * string/bug-strchr1.c (do_test): Moved to ...
32735 * string/test-strchr.c (check1): Here. New function.
32736 (do_one_test): Break out result checking code into ...
32737 (check_result): This. New function.
32738 (do_one_test): Call check_result.
32739 (test_main): Call check1.
32740 * string/bug-strstr1.c (main): Moved to ...
046f153e 32741 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32742 (do_one_test): Break out result checking code into ...
32743 (check_result): This. New function.
32744 (do_one_test): Call check_result.
32745 (test_main): Call check1.
32746 * string/bug-strcasestr1.c: Removed.
32747 * string/bug-strchr1.c: Likewise.
32748 * string/bug-strstr1.c: Likewise.
32749
53cea63e
L
32750 * elf/Makefile (dl-routines): Add hwcaps.
32751 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32752 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32753 (_dl_important_hwcaps): Moved to ...
32754 * elf/dl-hwcaps.c: Here. New file.
32755 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32756
9cee5585 32757 [BZ #14557]
bb859b06
L
32758 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32759 if IS_IN_rtld isn't defined.
32760
9cee5585
L
32761 * elf/dl-support.c (_dl_sysinfo_map): New.
32762 Include "get-dynamic-info.h" and "setup-vdso.h".
32763 (_dl_non_dynamic_init): Call setup_vdso.
32764 * elf/dynamic-link.h: Don't include <assert.h>.
32765 (elf_get_dynamic_info): Moved to ...
32766 * elf/get-dynamic-info.h: Here. New file.
32767 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32768 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32769 * elf/setup-vdso.h: Here. New file.
32770 * elf/rtld.c: Include "setup-vdso.h".
32771 (dl_main): Call setup_vdso.
32772
23c31b76
JM
327732012-10-05 Joseph Myers <joseph@codesourcery.com>
32774
28234b07
JM
32775 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32776 creal in comment listing functions tested. List finite, isinf,
32777 isnan, isless, islessequal, isgreater, isgreaterequal,
32778 islessgreater, isunordered, lgamma_r and pow10 as functions and
32779 macros not tested. Mention which functions not tested are aliases
32780 for other functions. Fix typo. Note that signs of NaNs are not
32781 tested.
32782
23c31b76
JM
32783 * scripts/config.guess: Update from config.git.
32784 * scripts/config.sub: Likewise.
32785
9043e228
RM
327862012-10-04 Roland McGrath <roland@hack.frob.com>
32787
32788 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32789 * misc/madvise.c (madvise): Renamed to __madvise.
32790 Make madvise a weak alias.
32791 * include/sys/mman.h: Declare __madvise.
32792 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32793 * sysdeps/unix/syscalls.list
32794 (madvise): Make __madvise the strong name, and madvise a weak alias.
32795 * sysdeps/unix/sysv/linux/syscalls.list
32796 (madvise, mmap): Remove redundant entries.
32797 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32798 * malloc/malloc.c (mtrim): Likewise.
32799 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32800
f57f8055
RM
328012012-10-03 Roland McGrath <roland@hack.frob.com>
32802
32803 * sysdeps/mach/hurd/dl-cache.c: File removed.
32804 * config.h.in (USE_LDCONFIG): New #undef.
32805 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32806 * configure: Regenerated.
32807 * elf/Makefile (dl-routines): Add dl-cache only under
32808 [$(use-ldconfig) = yes].
32809 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32810 cache on [USE_LDCONFIG].
32811 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32812 [USE_LDCONFIG].
32813 * elf/rtld.c (dl_main): Likewise.
32814
5bb0c10a
PT
328152012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32816
32817 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32818 _SC_LEVEL4_CACHE_LINESIZE.
32819
010188c6
RM
328202012-10-03 Roland McGrath <roland@hack.frob.com>
32821
32822 * sysdeps/unix/bsd/confstr.h: File removed.
32823
b6c5ec07
AO
328242012-10-02 Alexandre Oliva <aoliva@redhat.com>
32825
32826 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32827 sys/sdt-config.h.
32828
408223d4
RM
328292012-10-02 Roland McGrath <roland@hack.frob.com>
32830
32831 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32832 Make 'mapoff' field ElfW(Off) rather than off_t.
32833
bb9510dc
DL
328342012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32835
fc997c6e
DL
32836 * nscd/Makefile: Remove nscd-cflags and all its users.
32837 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32838 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32839
bb9510dc
DL
32840 [BZ #10631]
32841 * malloc.c (malloc_printerr): Clarify error message.
32842
05699367
L
328432012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32844
32845 [BZ #14648]
32846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32847 Set bit_FMA_Usable if FMA is supported.
32848 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32849 macro.
32850 (bit_FMA4_Usable): Updated.
32851 (index_FMA_Usable): New macro.
32852 (CPUID_FMA): Likewise
32853 (HAS_FMA): Defined with bit_FMA_Usable.
32854
51367701
RM
328552012-10-01 Roland McGrath <roland@hack.frob.com>
32856
32857 * bits/types.h (__swblk_t): Type removed.
32858 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32859 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32861 (__SWBLK_T_TYPE): Likewise.
32862 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32863 (__SWBLK_T_TYPE): Likewise.
32864 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32865 (__SWBLK_T_TYPE): Likewise.
32866 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32867 (__SWBLK_T_TYPE): Likewise.
32868
4d57bf63 328692012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32870 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32871
32872 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32873 (xdr_mapname): Use YPMAXMAP as maxsize.
32874 (xdr_peername): Use YPMAXPEER as maxsize.
32875 (xdr_keydat): Use YPAXRECORD as maxsize.
32876 (xdr_valdat): Use YPMAXRECORD as maxsize.
32877
93c65d43
RM
328782012-10-01 Roland McGrath <roland@hack.frob.com>
32879
497a03d6
RM
32880 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32881
93c65d43
RM
32882 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32883 * csu/init-first.c: ... here.
32884 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32885 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32886 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32887 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32888 * sysdeps/i386/init-first.c: File removed.
32889 * sysdeps/sh/init-first.c: File removed.
32890
bec749fd
JM
328912012-10-01 Joseph Myers <joseph@codesourcery.com>
32892
32893 [BZ #14645]
32894 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32895 if x * y might underflow to zero and z is zero.
32896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32897 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32898 * math/libm-test.inc (min_subnorm_value): New variable.
32899 (fma_test): Add more tests.
32900 (fma_test_towardzero): Likewise.
32901 (fma_test_downward): Likewise
32902 (fma_test_upward): Likewise.
32903 (initialize): Set min_subnorm_value.
32904
8ec5b013
JM
329052012-09-29 Joseph Myers <joseph@codesourcery.com>
32906
32907 [BZ #14638]
32908 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32909 0 + 0.
32910 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32911 mode for addition resulting in exact zero.
32912 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32913 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32914 exact 0 + 0.
32915 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32916 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32917 * math/libm-test.inc (fma_test): Add more tests.
32918 (fma_test_towardzero): New function.
32919 (fma_test_downward): Likewise.
32920 (fma_test_upward): Likewise.
32921 (main): Call the new functions.
32922
b1fa802e
DM
329232012-09-28 David S. Miller <davem@davemloft.net>
32924
32925 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32926
d3b9fd9e
RM
329272012-09-28 Roland McGrath <roland@hack.frob.com>
32928
ea4d37b3
RM
32929 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32930 instead of SIGALRM.
32931
ac51c949
RM
32932 * sysdeps/gnu/_G_config.h: Moved to ...
32933 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32934 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32935 * sysdeps/generic/_G_config.h: ... here.
32936
28c195f7
RM
32937 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32938
848917f9
RM
32939 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32940
6bacf05b
RM
32941 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32942 Conditionalize target on [libnss_test1.so-version].
32943
91363dbb
RM
32944 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32945
cc87f7d8
RM
32946 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32947 (elfobjdir): Move out of conditionals.
32948
b1c608fe
RM
32949 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32950 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32951 (__nss_lookup_function): Conditionalize label remove_from_tree on
32952 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32953
1d9a6d96
DM
329542012-09-28 David S. Miller <davem@davemloft.net>
32955
32956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32957 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32958 file.
32959 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32960 sysdep_routines.
32961 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32962 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32963 when HWCAP_SPARC_CRYPTO is present.
32964
72581615
PT
329652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32966
32967 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32968
715a900c
JL
329692012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32970
32971 [BZ #6530]
32972 * stdio-common/vfprintf.c (process_string_arg): Revert
32973 2000-07-22 change.
32974
329752011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32976
32977 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32978 for testcase.
32979 * stdio-common/tst-sprintf.c: Include <locale.h>
32980 (main): Test sprintf's handling of incomplete multibyte
32981 characters.
32982
9bac1d86
L
329832012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32984
32985 * elf/dl-runtime.c (VERSYMIDX): Removed.
32986 * elf/dl-version.c (VERSYMIDX): Likewise.
32987 * elf/do-rel.h (VERSYMIDX): Likewise.
32988 (VALIDX): Likewise.
32989 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32990 * elf/rtld.c (VALIDX): Likewise.
32991 (ADDRIDX): Likewise.
9bac1d86
L
32992 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32993 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32994 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32995 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32996 (VALIDX): Likewise.
32997 (ADDRIDX): Likewise.
9bac1d86 32998
b31606c0
PT
329992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33000
33001 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33002
11541177
JL
330032012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33004
33005 [BZ #11438]
33006 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33007 to global scope.
33008 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33009 addresses are in the same scope as 192.0.2/24.
33010 * posix/gai.conf: Document new scope table defaults.
33011
adb26fae
SP
330122012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33013
33014 [BZ #5298]
33015 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33016 for ftell. Compute offsets from write pointers instead.
33017 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33018
4573c6b0
SP
330192012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33020
33021 [BZ #14543]
33022 * libio/Makefile (tests): New test case tst-fseek.
33023 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33024 combination works in wide mode.
33025 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33026 state when the external buffer state changes.
33027
aa9bbfe6
DM
330282012-09-27 David S. Miller <davem@davemloft.net>
33029
33030 [BZ #14376]
33031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33032 pass reloc->r_addend in as the 'high' argument to
33033 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33034
784421e7
DM
33035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33036
c39bc8b8
PT
330372012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33038
33039 * rt/tst-aio2.c: Include <pthread.h>.
33040 * rt/tst-aio3.c: Likewise.
33041
1ccc2399
SE
330422012-09-27 Steve Ellcey <sellcey@mips.com>
33043
33044 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33045
31ed4153
L
330462012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33047
25f5f885
L
33048 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33049 contents on [SHARED].
31ed4153 33050
b7bfe116
MP
330512012-09-26 Marek Polacek <polacek@redhat.com>
33052
33053 [BZ #14530]
33054 [BZ #13741]
33055 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33056 for C++ and GCC <4.3 as well as for non GCC compilers.
33057
43c4edba
MT
330582012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33059
33060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33061
6a1bf82f
RM
330622012-09-25 Roland McGrath <roland@hack.frob.com>
33063
33064 * Makefile.in (all, install): Declare with .PHONY.
33065 Reported by Michael Hope <michael.hope@linaro.org>.
33066
8ad11b9a
TMQMF
330672012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33068
33069 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33070 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33071 system header.
33072 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33073 Likewise.
33074 (sydep_routines): Add the new and the internal functions.
33075 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33076 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33078 (GLIBC_2.17): Add the new function.
33079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33080 (GLIBC_2.17): Likewise.
33081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33082 (GLIBC_2.17): Likewise.
33083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33084 (GLIBC_2.17): Likewise.
33085 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33086
7e2fca8d
AM
330872012-09-25 Alan Modra <amodra@gmail.com>
33088
33089 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33090 Add release barrier before setting once_control to say
33091 initialisation is done. Add hints on lwarx. Use macro in
33092 place of isync.
33093 (clear_once_control): Add release barrier.
33094
b87c4b24
JM
330952012-09-25 Joseph Myers <joseph@codesourcery.com>
33096
d032e0d2
JM
33097 [BZ #13629]
33098 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33099 specially.
33100 * math/s_clog10.c (__clog10): Likewise.
33101 * math/s_clog10f.c (__clog10f): Likewise.
33102 * math/s_clog10l.c (__clog10l): Likewise.
33103 * math/s_clogf.c (__clogf): Likewise.
33104 * math/s_clogl.c (__clogl): Likewise.
33105 * math/Makefile (libm-calls): Add x2y2m1.
33106 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33107 (__x2y2m1): Likewise.
33108 (__x2y2m1l): Likewise.
33109 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33110 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33111 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33112 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33113 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33114 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33115 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33116 * sysdeps/i386/fpu/libm-test-ulps: Update.
33117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33118
b87c4b24
JM
33119 [BZ #14621]
33120 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33121 int as type of variable DEPTH.
33122 (glob): Use size_t instead of int as type of variables NEWCOUNT
33123 and OLD_PATHC.
33124
6d3bf199
LD
331252012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33126
22bf5c17
LD
33127 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33128 Add s_sincosf-sse2.
33129 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33130 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33131 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33132 macros for using routine as __sincosf_ia32.
33133 Use macro for function declaration and weak_alias.
33134 * sysdeps/i386/fpu/libm-test-ulps: Update.
33135
33136 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33138
33139 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33140 subnormal argument.
33141 * math/s_cexpf.c (__cexpf): Likewise.
33142 * math/s_csinf.c (__csinf): Likewise.
33143 * math/s_csinhf.c (__csinhf): Likewise.
33144 * math/s_ctanf.c (__ctanf): Likewise.
33145 * math/s_ctanhf.c (__ctanhf): Likewise.
33146 * math/s_ccosh.c (__ccoshf): Likewise.
33147 * math/s_cexp.c (__cexpl): Likewise.
33148 * math/s_csin.c (__csin): Likewise.
33149 * math/s_csinh.c (__csinh): Likewise.
33150 * math/s_ctan.c (__ctan): Likewise.
33151 * math/s_ctanh.c (ctanh): Likewise.
33152 * math/s_ccoshl.c (__ccoshl): Likewise.
33153 * math/s_cexpl.c (__cexpl): Likewise.
33154 * math/s_csinl.c (__csinl): Likewise.
33155 * math/s_csinhl.c (__csinhl): Likewise.
33156 * math/s_ctanl.c (__ctanl): Likewise.
33157 * math/s_ctanhl.c (__ctanhl): Likewise.
33158
203e5603
JM
331592012-09-25 Joseph Myers <joseph@codesourcery.com>
33160
33161 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33162 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33163 (_IO_off_t): Define to __off_t, not _G_off_t.
33164 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33165 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33166 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33167 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33168 type of __dummy and __dummy2 fields.
33169 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33170 (_G_ssize_t): Likewise.
33171 (_G_off_t): Likewise.
33172 (_G_pid_t): Likewise.
33173 (_G_uid_t): Likewise.
33174 (_G_wchar_t): Likewise.
33175 (_G_wint_t): Likewise.
33176 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33177 (_G_ssize_t): Likewise.
33178 (_G_off_t): Likewise.
33179 (_G_pid_t): Likewise.
33180 (_G_uid_t): Likewise.
33181 (_G_wchar_t): Likewise.
33182 (_G_wint_t): Likewise.
33183 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33184 (_G_ssize_t): Likewise.
33185 (_G_off_t): Likewise.
33186 (_G_pid_t): Likewise.
33187 (_G_uid_t): Likewise.
33188 (_G_wchar_t): Likewise.
33189 (_G_wint_t): Likewise.
33190
9fab36eb
SP
331912012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33192
33193 * malloc/arena.c: Include malloc-sysdep.h.
33194 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33195 is sufficient to shrink the heap or an unmap is needed.
33196 * sysdeps/generic/malloc-sysdep.h: New file. Define
33197 new function check_may_shrink_heap.
33198 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33199 new function check_may_shrink_heap.
33200
2b4f00d1
SP
332012012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33202
33203 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33204 comments.
33205
9a9028b1
DL
332062012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33207
57c69bef
DL
33208 * catgets/test-gencat.sh: Add "set -e".
33209 * elf/tst-pathopt.sh: Likewise.
33210 * grp/tst_fgetgrent.sh: Likewise.
33211 * iconvdata/run-iconv-test.sh: Likewise.
33212 * intl/tst-gettext.sh: Likewise.
33213 * intl/tst-gettext2.sh: Likewise.
33214 * intl/tst-gettext4.sh: Likewise.
33215 * intl/tst-gettext6.sh: Likewise.
33216 * intl/tst-translit.sh: Likewise.
33217 * io/ftwtest-sh: Likewise.
33218 * libio/test-freopen.sh: Likewise.
33219 * malloc/tst-mtrace.sh: Likewise.
33220 * posix/globtest.sh: Likewise.
33221 * posix/tst-getconf.sh: Likewise.
33222 * posix/wordexp-tst.sh: Likewise.
33223 * stdio-common/tst-printf.sh: Likewise.
33224 * stdio-common/tst-unbputc.sh: Likewise.
33225 * stdlib/tst-fmtmsg.sh: Likewise.
33226 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33227 * catgets/Makefile: Do not specify -e option when running
33228 testsuite shell scripts.
33229 * elf/Makefile: Likewise.
33230 * grp/Makefile: Likewise.
33231 * iconvdata/Makefile: Likewise.
33232 * intl/Makefile: Likewise.
33233 * io/Makefile: Likewise.
33234 * libio/Makefile: Likewise.
33235 * malloc/Makefile: Likewise.
33236 * posix/Makefile: Likewise.
33237 * stdio-common/Makefile: Likewise.
33238 * stdlib/Makefile: Likewise.
33239 * sysdeps/x86_64/Makefile: Likewise.
33240
9a9028b1
DL
33241 * io/ftwtest-sh: Add copyright header.
33242 * posix/globtest.sh: Likewise.
33243 * posix/tst-getconf.sh: Likewise.
33244 * posix/wordexp-tst.sh: Likewise.
33245 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33246
ced6f16e
L
332472012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33248
94b32c39
L
33249 [BZ #13679]
33250 * Makeconfig (+link): Defined as $(+link-static) if
33251 $(build-shared) isn't yes.
33252 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33253 isn't yes.
33254 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33255
189e935b
L
33256 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33257
ced6f16e
L
33258 [BZ #14562]
33259 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33260 new chunk size with MALLOC_ALIGN_MASK.
33261
a9f8e53a
JM
332622012-09-24 Joseph Myers <joseph@codesourcery.com>
33263
33264 [BZ #5044]
33265 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33266 <rounding-mode.h>.
33267 (__printf_fphex): Determine rounding using get_rounding_mode and
33268 round_away.
33269 * stdio-common/tst-printf-round.c (struct hex_test): New
33270 structure.
33271 (hex_tests): New variable.
33272 (test_hex_in_one_mode): New function.
33273 (do_test): Also run tests for hex float output.
33274
43153109
JM
332752012-09-21 Joseph Myers <joseph@codesourcery.com>
33276
33277 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33278 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33279 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33280 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33281 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33282 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33283 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33284 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33285
8a26625d
JM
332862012-09-20 Joseph Myers <joseph@codesourcery.com>
33287
33288 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33289 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33290 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33291 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33292
f3fd569c
DL
332932012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33294
33295 [BZ #14579]
33296 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33297 mode only.
33298 * elf/tst-rtld-load-self.sh: New test.
33299 * elf/Makefile: Run it.
33300
63bbedd4
JM
333012012-09-18 Joseph Myers <joseph@codesourcery.com>
33302
33303 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33304 (tst-writev-ENV): Remove.
33305 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33306
626f8b6a
CM
333072012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33308
33309 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33310
b7aaa4d6
JM
333112012-09-17 Joseph Myers <joseph@codesourcery.com>
33312
33313 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33314 unconditional.
33315 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33316 Likewise.
33317 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33318 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33319 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33320 Likewise.
33321
65513990
L
333222012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33323
33324 [BZ #14587]
33325 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33326 * config.make.in (have-cpp-asm-debuginfo): Removed.
33327 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33328 * configure: Regenerated.
33329
784761be
JM
333302012-09-14 Joseph Myers <joseph@codesourcery.com>
33331
33332 [BZ #5044]
33333 * stdio-common/printf_fp.c: Include <stdbool.h> and
33334 <rounding-mode.h>.
33335 (___printf_fp): Determine rounding using get_rounding_mode and
33336 round_away.
33337 * stdio-common/tst-printf-round.c: New file.
33338 * stdio-common/Makefile (tests): Add tst-printf-round.
33339 (link-libm): New variable.
33340 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33341
9503345f
L
333422012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33343
33344 [BZ #14576]
33345 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33346 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33347 Likewise.
33348 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33349 Likewise.
33350
ad35fc00
JM
333512012-09-13 Joseph Myers <joseph@codesourcery.com>
33352
33353 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33354 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33355 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33356 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33357
6c9b0f68
JM
333582012-09-12 Joseph Myers <joseph@codesourcery.com>
33359
33360 [BZ #14518]
33361 * include/rounding-mode.h: New file.
33362 * sysdeps/generic/get-rounding-mode.h: Likewise.
33363 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33364 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33365 (MAX_VALUE): New macro.
33366 (MIN_VALUE): Likewise.
33367 (overflow_value): New function.
33368 (underflow_value): Likewise.
33369 (round_and_return): Use overflow_value and underflow_value to
33370 determine return values in overflow and underflow cases. Use
33371 round_away to determine rounding depending on rounding mode.
33372 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33373 determine return values in overflow and underflow cases.
33374 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33375 (struct test_results): New structure.
33376 (struct test): Use struct test_results to store expected results
33377 for all rounding modes.
33378 (TEST): Include expected results for all rounding modes.
33379 (test_in_one_mode): New function.
33380 (do_test): Use test_in_one_mode to compute and check results.
33381 Check results for all rounding modes.
33382 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33383 $(link-libm).
33384
19fcedd5
AM
333852012-12-09 Allan McRae <allan@archlinux.org>
33386
1e9d84cd 33387 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33388
8bbfd2f1
JM
333892012-09-11 Joseph Myers <joseph@codesourcery.com>
33390
33391 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33392 (_G_int32_t): Likewise.
33393 (_G_uint16_t): Likewise.
33394 (_G_uint32_t): Likewise.
33395 (_G_HAVE_BOOL): Likewise.
33396 (_G_HAVE_ATEXIT): Likewise.
33397 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33398 (_G_HAVE_IO_FILE_OPEN): Likewise.
33399 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33400 (_G_int32_t): Likewise.
33401 (_G_uint16_t): Likewise.
33402 (_G_uint32_t): Likewise.
33403 (_G_HAVE_BOOL): Likewise.
33404 (_G_HAVE_ATEXIT): Likewise.
33405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33406 (_G_HAVE_IO_FILE_OPEN): Likewise.
33407 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33408 (_G_int32_t): Likewise.
33409 (_G_uint16_t): Likewise.
33410 (_G_uint32_t): Likewise.
33411 (_G_HAVE_BOOL): Likewise.
33412 (_G_HAVE_ATEXIT): Likewise.
33413 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33414 (_G_HAVE_IO_FILE_OPEN): Likewise.
33415
b1dc5912
L
334162012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33417
33418 * csu/libc-tls.c: Update copyright years.
33419
0e886ef9
JM
334202012-09-10 Joseph Myers <joseph@codesourcery.com>
33421
28361c5e
JM
33422 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33423 [!_G_USING_THUNKS]: Remove conditional code.
33424 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33425 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33426
0e886ef9
JM
33427 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33428 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33429 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33430 (_G_VTABLE_LABEL_PREFIX): Likewise.
33431 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33432 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33434 (_G_VTABLE_LABEL_PREFIX): Likewise.
33435 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33436 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33437 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33438 (_G_VTABLE_LABEL_PREFIX): Likewise.
33439 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33440
bcba7aa2
L
334412012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33442
33443 * libio/Makefile: Include ../Makeconfig before tests.
33444 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33445 only if $(build-shared) is yes.
33446
06585ee8
L
33447 * iconv/gconv_db.c: Update copyright years.
33448
80ccd52c
LD
334492012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33450
33451 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33452 unwind info if defined PIC. Fix special cases description.
33453 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33454
33455 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33456 DP_HI_MASK entry.
33457 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33458
691bc9c1
L
334592012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33460
3d9b46b3
L
33461 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33462
de2139a9
L
33463 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33464 is NULL.
33465
5ca78dd0
L
33466 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33467 (LDLIBS-tst-chk4): This.
33468 (LDFLAGS-tst-chk5): Renamed to ...
33469 (LDLIBS-tst-chk5): This.
33470 (LDFLAGS-tst-chk6): Renamed to ...
33471 (LDLIBS-tst-chk6): This.
33472 (LDFLAGS-tst-lfschk4): Renamed to ...
33473 (LDLIBS-tst-lfschk4): This.
33474 (LDFLAGS-tst-lfschk5): Renamed to ...
33475 (LDLIBS-tst-lfschk5): This.
33476 (LDFLAGS-tst-lfschk6): Renamed to ...
33477 (LDLIBS-tst-lfschk6): This.
33478
691bc9c1
L
33479 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33480 on $(common-objpfx)soversions.mk.
33481
65cafb1c
JM
334822012-09-07 Joseph Myers <joseph@codesourcery.com>
33483
33484 [BZ #10014]
33485 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33486 example host name.
33487
c78ab094
SP
334882012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33489
33490 * malloc/arena.c (arena_get_retry): New function that gets
33491 another arena for the caller to try its request on.
33492 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33493 current arena cannot fulfill the request.
33494 (__libc_memalign): Likewise.
33495 (__libc_memalign): Likewise.
33496 (__libc_pvalloc): Likewise.
33497 (__libc_calloc): Likewise.
33498
01f49f59
JT
334992012-09-05 John Tobey <john.tobey@gmail.com>
33500
33501 [BZ #13542]
33502 * manual/arith.texi (Operations on Complex): Fix description
33503 of carg branch cut.
33504
4c23fed5
JM
335052012-09-06 Joseph Myers <joseph@codesourcery.com>
33506
1d3c8572
JM
33507 [BZ #10014]
33508 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33509 host name.
33510
4c23fed5
JM
33511 [BZ #10038]
33512 * manual/memory.texi (Memory): Make order of menu items match
33513 order of sections.
33514
04570aaa
L
335152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33516
33517 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33518 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33519 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33520
b80af2f4
L
335212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33522
33523 * csu/libc-tls.c (static_dtv): Renamed to ...
33524 (_dl_static_dtv): This. Make it global.
33525 (_dl_initial_dtv): Removed.
33526 (__libc_setup_tls): Updated.
33527 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33528 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33529 DL_INITIAL_DTV.
33530
2abe9f15
PM
335312012-09-06 Petr Machata <pmachata@redhat.com>
33532
33533 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33534 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33535 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33536 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33537
0948c3af
L
335382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33539
33540 [BZ #14545]
33541 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33542 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33543 freeing dtv[-1].
33544
a5055ad1
L
335452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33546
33547 [BZ #14544]
33548 * Makeconfig (link-static-before-libc): Replace $(+prector)
33549 with $(+prectorT).
33550 (link-static-after-libc): Replace $(+postctor) with
33551 $(+postctorT).
33552 (link-bounded): Replace $(+prector)/$(+postctor) with
33553 $(+prectorT)/$(+postctorT).
33554 (+prectorT): New macro.
33555 (+postctorT): Likewise.
33556
ed8c2ecd
JM
335572012-09-06 Joseph Myers <joseph@codesourcery.com>
33558
33559 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33560 (round_str): Handle values above the maximum for IBM long double
33561 as inexact.
33562 * stdlib/tst-strtod-round.c (tests): Regenerated.
33563
14c996c8
AK
335642012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33565
33566 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33567 assembler flag.
33568 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33569 zarch_nohighgprs around the zarch optimized routines.
33570 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33571 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33572 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33573 for zarch.
33574
430d6ce6
DM
335752012-09-05 David S. Miller <davem@davemloft.net>
33576
33577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33578
57f41c40
AS
33579 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33580 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33581 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33582 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33583 entries.
33584
24d4e01b
AO
335852012-09-05 Alexandre Oliva <aoliva@redhat.com>
33586
33587 * malloc/arena.c: Fold copyright years.
33588 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33589
61d58174
AO
335902012-09-05 Alexandre Oliva <aoliva@redhat.com>
33591
33592 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33593
20196a5e
AO
335942012-09-05 Alexandre Oliva <aoliva@redhat.com>
33595
33596 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33597
5c447383
AO
335982012-09-05 Alexandre Oliva <aoliva@redhat.com>
33599
33600 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33601 change internal state upon failure.
33602
fad64255
AO
336032012-09-05 Alexandre Oliva <aoliva@redhat.com>
33604
33605 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33606 * malloc/memusage.c (mmap): Likewise.
33607 (mmap64, mremap): Likewise. Adjust name in comment.
33608
1ffb8c90
SP
336092012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33610
33611 * libio/fileops.c: Fix typos in comments.
33612 * libio/oldfileops.c: Likewise.
33613 * libio/wfileops.c: Likewise.
33614
6ef9cc37
SP
336152012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33616
33617 [BZ #1349]
33618 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33619 (tst-malloc-usable-ENV): Set environment for test case.
33620 * malloc/hooks.c (malloc_check_get_size): New function to get
33621 requested size.
33622 * malloc/malloc.c (musable): Use malloc_check_get_size.
33623 * malloc/tst-malloc-usable.c: New test case.
33624
4d038ae3
AS
336252012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33626
33627 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33628
c4e85184
AM
336292012-09-05 Allan McRae <allan@archlinux.org>
33630
b9dafc56 33631 [BZ #13966]
c4e85184
AM
33632 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33633 determine header location.
33634 * configure: Regenerated.
33635
e1343020
AS
336362012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33637
33638 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33639 float format.
33640 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33641 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33642 format.
e1343020
AS
33643 (test): Regenerate.
33644
0a9f1987
DM
336452012-09-04 David S. Miller <davem@davemloft.net>
33646
33647 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33648 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33649 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33650
29237804
FW
336512012-09-04 Florian Weimer <fweimer@redhat.com>
33652
33653 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33654 failures.
33655
edb3cb88
FW
33656 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33657
60160d83
JM
336582012-09-04 Joseph Myers <joseph@codesourcery.com>
33659
33660 [BZ #9914]
33661 * libio/iogetdelim.c: Include <limits.h>.
33662 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33663 + len + 1 would overflow.
33664
bcd6c8dc
AJ
336652012-09-03 Andreas Jaeger <aj@suse.de>
33666
33667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33668 * sysdeps/i386/fpu/libm-test-ulps: Update.
33669
4ffffbd2
LD
336702012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33671
33672 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33673 Add s_sinf-sse2, s_conf-sse2.
33674
33675 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33676 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33677 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33678 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33679
33680 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33681 for using routine as __sinf_ia32.
33682 Use macro for function declaration and weak_alias.
33683 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33684 for using routine as __cosf_ia32.
33685 Use macro for function declaration and weak_alias.
33686
33687 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33688 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33689
33690 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33691 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33693
33694 * math/libm-test.inc (cos_test): Add more test cases.
33695 (sin_test): Likewise.
33696 (sincos_test): Likewise.
33697
511fa286
AK
336982012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33699
33700 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33701 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33702 hidden.
33703 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33704
5f30cfec
L
337052012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33706
33707 [BZ #14538]
33708 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33709 first element of the GOT.
33710 (elf_machine_load_address): Return the difference between
33711 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33712
0786794f
AM
337132012-09-01 Allan McRae <allan@archlinux.org>
33714
5f30cfec
L
33715 [BZ #13412]
33716 * configure.in (AWK): Require gawk version 3.0 or later.
33717 * configure: Regenerated.
0786794f 33718
26889eac
JM
337192012-09-01 Joseph Myers <joseph@codesourcery.com>
33720
33721 * sysdeps/unix/sysv/linux/kernel-features.h
33722 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33723 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33724 [__NR_clock_getres]: Make code unconditional.
33725 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33726 (clock_getcpuclockid): Remove code left unreachable by removal of
33727 conditionals.
33728 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33729 code unconditional.
33730 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33731 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33732 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33733 Make code unconditional.
33734 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33735 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33736 * sysdeps/unix/sysv/linux/clock_settime.c
33737 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33738 conditional code.
33739 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33740 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33741
d22e28b0
L
337422012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33743
33744 [BZ #14476]
33745 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33746 scripts/test-installation.pl.
33747
33748 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33749 and $ld_so_version if it is set.
33750
050af9c4
SP
337512012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33752
33753 [BZ #14516]
33754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33755 failure if reading from procfs failed.
33756 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33757
ad845c0b
JM
337582012-08-27 Joseph Myers <joseph@codesourcery.com>
33759
33760 * sysdeps/unix/sysv/linux/kernel-features.h
33761 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33762 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33763 Remove conditional code.
33764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33765 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33766 Remove conditional code.
33767 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33768 * sysdeps/unix/sysv/linux/i386/fxstat.c
33769 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33770 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33771 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33772 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33773 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33774 * sysdeps/unix/sysv/linux/i386/lxstat.c
33775 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33776 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33777 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33778 Remove conditional code.
33779 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33780 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33781 Remove conditional code.
33782 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33783 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33784 <kernel-features.h>.
33785 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33786 Remove.
33787 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33788 Remove conditional code.
33789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33790 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33791 Remove conditional.
33792
5dbf56af
MF
337932012-08-27 Mike Frysinger <vapier@gentoo.org>
33794
33795 [BZ #5400]
33796 * NEWS: Add fixed bug number.
33797
d6e70f43
JM
337982012-08-27 Joseph Myers <joseph@codesourcery.com>
33799
7efb4737
JM
33800 [BZ #14519]
33801 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33802 underflowing exponent in case of negative sign.
33803 * stdlib/tst-strtod-round-data: Add more tests.
33804 * stdlib/tst-strtod-round.c (tests): Regenerated.
33805
af92131a
JM
33806 [BZ #3479]
33807 * stdlib/strtod_l.c (NDIG): Remove.
33808 (HEXNDIG): Likewise.
33809 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33810 smallest representable value.
33811 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33812 lie within an exact representation of 1/2 ulp of the result.
33813 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33814 unconditionally.
33815 (TENS_P9_IDX): Define unconditionally.
33816 (TENS_P9_SIZE): Likewise.
33817 (TENS_P10_IDX): Likewise.
33818 (TENS_P10_SIZE): Likewise.
33819 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33820 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33821 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33822 entries for 10^2^13 and 10^2^14.
33823 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33824 (TENS_P13_IDX): Define.
33825 (TENS_P13_SIZE): Likewise.
33826 (TENS_P14_IDX): Likewise.
33827 (TENS_P14_SIZE): Likewise.
33828 (_fpioconst_pow10): Change array size to
33829 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33830 unconditional.
33831 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33832 1024]: Add entries for 10^2^13 and 10^2^14.
33833 [LAST_POW10 > _LAST_POW10]: Remove #error.
33834 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33835 (_fpioconst_pow10): Change array size to
33836 FPIOCONST_POW10_ARRAY_SIZE.
33837 * stdlib/gen-fpioconst.c: New file.
33838 * stdlib/gen-tst-strtod-round.c: Likewise.
33839 * stdlib/tst-strtod-round-data: Likewise.
33840 * stdlib/tst-strtod-round.c: Likewise.
33841 * stdlib/Makefile (tests): Add tst-strtod-round.
33842
d6e70f43
JM
33843 [BZ #14459]
33844 * stdlib/strtod_l.c: Include <stdint.h>.
33845 (NDEBUG): Do not define.
33846 (round_and_return): Change EXPONENT parameter to type intmax_t.
33847 Rearrange calculations to avoid internal overflow possibilities.
33848 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33849 Rearrange calculations to avoid internal overflow possibilities.
33850 Assert that number fits inside MPNSIZE limbs.
33851 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33852 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33853 calculations and add assertions to avoid internal overflow
33854 possibilities. Add casts to avoid signed/unsigned operations.
33855 * stdlib/tst-strtod-overflow.c: New file.
33856 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33857
1f529f7d
MP
338582012-08-25 Marek Polacek <polacek@redhat.com>
33859
33860 * time/time.h: Fix some typos in comments.
33861
59a629f1
RM
338622012-08-23 Roland McGrath <roland@hack.frob.com>
33863
33864 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33865 * posix/tst-rfc3484-2.c: Likewise.
33866 * posix/tst-rfc3484-3.c: Likewise.
33867
d3bafbc9
SM
338682012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33869
33870 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33871 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33872
4efcc022
JM
338732012-08-23 Joseph Myers <joseph@codesourcery.com>
33874
33875 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33876 #include of fxstatat64.c.
33877
3cc3ef96
RM
338782012-08-22 Roland McGrath <roland@hack.frob.com>
33879
f04e2132
RM
33880 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33881 * shadow/getspent_r.c: Likewise.
33882 * shadow/getspnam.c: Likewise.
33883 * shadow/getspnam_r.c: Likewise.
33884 * gshadow/getsgent.c: Likewise.
33885 * gshadow/getsgent_r.c: Likewise.
33886 * gshadow/getsgnam.c: Likewise.
33887 * gshadow/getsgnam_r.c: Likewise.
33888 * inet/getnetbyad.c: Likewise.
33889 * inet/getnetbyad_r.c: Likewise.
33890 * inet/getnetbynm.c: Likewise.
33891 * inet/getnetbynm_r.c: Likewise.
33892 * inet/getnetent.c: Likewise.
33893 * inet/getnetent_r.c: Likewise.
33894 * inet/getproto.c: Likewise.
33895 * inet/getproto_r.c: Likewise.
33896 * inet/getprtent.c: Likewise.
33897 * inet/getprtent_r.c: Likewise.
33898 * inet/getprtname.c: Likewise.
33899 * inet/getprtname_r.c: Likewise.
33900 * inet/getrpcbyname.c: Likewise.
33901 * inet/getrpcbyname_r.c: Likewise.
33902 * inet/getrpcbynumber.c: Likewise.
33903 * inet/getrpcbynumber_r.c: Likewise.
33904 * inet/getrpcent.c: Likewise.
33905 * inet/getrpcent_r.c: Likewise.
33906 * inet/getaliasent.c: Likewise.
33907 * inet/getaliasent_r.c: Likewise.
33908 * inet/getaliasname.c: Likewise.
33909 * inet/getaliasname_r.c: Likewise.
33910 * nscd/getgrgid_r.c: Likewise.
33911 * nscd/getgrnam_r.c: Likewise.
33912 * nscd/gethstbyad_r.c: Likewise.
33913 * nscd/gethstbynm3_r.c: Likewise.
33914 * nscd/getpwnam_r.c: Likewise.
33915 * nscd/getpwuid_r.c: Likewise.
33916 * nscd/getsrvbynm_r.c: Likewise.
33917 * nscd/getsrvbypt_r.c: Likewise.
33918 * nscd/gai.c: Likewise.
33919
c53d909c
RM
33920 * configure.in (build_nscd): New substituted variable, set
33921 by --disable-build-nscd and defaults to $use_nscd.
33922 * configure: Regenerated.
33923 * config.make.in (build-nscd): New substituted variable.
33924 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33925 Change conditional to require [$(build-nscd) = yes] as well.
33926 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33927
3cc3ef96
RM
33928 [BZ# 13696]
33929 * configure.in (use_nscd): New substituted variable, set by
33930 --disable-nscd. If enabled, define USE_NSCD.
33931 * configure: Regenerated.
33932 * config.h.in: Add USE_NSCD.
33933 * config.make.in (use-nscd): New substituted variable.
33934 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33935 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33936 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33937 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33938 (CFLAGS-getgrnam_r.c): Likewise.
33939 (CFLAGS-initgroups.c): Likewise.
33940 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33941 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33942 Variables removed.
33943 * inet/getnetgrent_r.c
33944 (nscd_setnetgrent): New function, broken out of ...
33945 (setnetgrent): ... here. Call it.
33946 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33947 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33948 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33949 * nscd/Makefile (routines, aux): Move definitions after include of
33950 Makeconfig. Conditionalize on [$(use-nscd) != no].
33951 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33952 Conditionalize on [USE_NSCD].
33953 (is_nscd, nscd_init_cb): Likewise.
33954 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33955 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33956 * nss/nss_db/db-init.c: Likewise.
33957 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33958 [USE_NSCD].
33959 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33960 (make_request): Use it.
33961 (cache_valid_p): New function.
33962 (__check_pf): Use it.
33963 * NEWS: Add item for --disable-nscd.
33964
07e51550
DL
339652012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33966
33967 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33968 to support sed >= 4.2.1-20-ga9bf076.
33969 * configure: Regenerated.
33970
35a5b08b
RM
339712012-08-22 Roland McGrath <roland@hack.frob.com>
33972
33973 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33974 Conditionalize whole body on [IREL].
33975
8479f23a
JL
339762012-08-22 Jeff Law <law@redhat.com>
33977
33978 [BZ #14505]
33979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33980 if the family is PF_UNSPEC.
33981
48da0b21
MF
339822012-08-22 Mike Frysinger <vapier@gentoo.org>
33983
33984 * Makerules (lib-version): Rename from V.
33985 (install-lib-nosubdir): Change V to lib-version.
33986
15d0da8c
WS
339872012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33988
33989 [BZ #14252]
33990 * powerpc32/power6/wcschr.c: New file.
33991 * powerpc32/power6/wcscpy.c: New file.
33992 * powerpc32/power6/wcsrchr.c: New file.
33993 * powerpc64/power6/wcschr.c: New file.
33994 * powerpc64/power6/wcscpy.c: New file.
33995 * powerpc64/power6/wcsrchr.c: New file.
33996
bcca0895
MK
339972012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33998
33999 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34000 (two_way_short_needle): Use it.
5a4aaa33
RM
34001 * string/strstr.c (AVAILABLE1_USES_J): Define.
34002 * string/strcasestr.c: Likewise.
99677e57
MK
34003
34004 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34005 array references.
34006 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34007
400726de
MK
34008 [BZ #11607]
34009 * NEWS: Add an entry.
34010 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34011 define their defaults.
34012 (two_way_short_needle): Detect end-of-string on-the-fly.
34013 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34014 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34015 * string/bug-strcasestr1.c: New test.
34016 * string/Makefile: Run it.
34017
20a71f2c
MK
340182012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34019
34020 [BZ #11607]
34021 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34022 the first character.
34023
21ad0558
RM
340242012-08-21 Roland McGrath <roland@hack.frob.com>
34025
34026 * csu/elf-init.c (__libc_csu_irel): Function removed.
34027 * csu/libc-start.c (apply_irel): New function.
34028 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34029
0e1d9911
JM
340302012-08-21 Joseph Myers <joseph@codesourcery.com>
34031
34032 * sysdeps/unix/sysv/linux/kernel-features.h
34033 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34034 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34035 <kernel-features.h>.
34036 [__NR_fadvise64_64]: Make code unconditional.
34037 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34038 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34039 !__NR_fadvise64_64)]: Likewise.
34040 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34041 !__NR_fadvise64_64))]: Likewise.
34042 [__NR_fadvise64]: Make code unconditional.
34043 [!__NR_fadvise64]: Remove conditional code.
34044 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34045 <kernel-features.h>.
34046 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34047 unconditional.
34048 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34049 conditional code.
34050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34051 not include <kernel-features.h>.
34052 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34053 unconditional.
34054 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34055 conditional code.
34056 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34057 include <kernel-features.h>.
34058 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34059 unconditional.
34060 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34061 conditional code.
34062
14a50c9d
WS
340632012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34064
34065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34066 slight instruction rearrangements per scrollpipe analysis.
34067 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34068
c0f4faf0
RM
340692012-08-20 Roland McGrath <roland@hack.frob.com>
34070
696da859
RM
34071 * manual/syslog.texi (syslog; vsyslog, closelog):
34072 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34073 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34074
c0f4faf0
RM
34075 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34076 DSOCAPS to match condition on defining it.
34077
348363b2
JM
340782012-08-20 Joseph Myers <joseph@codesourcery.com>
34079
a35cbf28
JM
34080 * sysdeps/unix/sysv/linux/kernel-features.h
34081 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34083 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34084 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34086 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34087 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34089 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34090 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34091
445f7ecd
JM
34092 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34093 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34094
348363b2
JM
34095 * sysdeps/unix/sysv/linux/kernel-features.h
34096 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34097 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34098 unconditional.
34099 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34100 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34101 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34102 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34103 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34104 Make code unconditional.
34105 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34106 (__mmap64) [!__NR_mmap2]: Likewise.
34107 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34108 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34109 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34110 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34111 [__NR_mmap2]: Make code unconditional.
34112 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34113 (__mmap64) [!__NR_mmap2]: Likewise.
34114
bc5bc0e5
AK
341152012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34116
34117 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34118
88d506de
AJ
341192012-08-18 Andreas Jaeger <aj@suse.de>
34120
34121 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34122
493387d2
MF
341232012-08-18 Mike Frysinger <vapier@gentoo.org>
34124
34125 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34126 * include/unistd.h (__have_sock_cloexec): Likewise.
34127 (__have_pipe2): Likewise.
34128 (__have_dup3): Likewise.
34129
a277af22
MF
341302012-08-18 Mike Frysinger <vapier@gentoo.org>
34131
34132 [BZ #9685]
34133 * include/unistd.h (__have_pipe2): Change define into an extern int.
34134 (__have_dup3): Likewise.
34135 * socket/have_sock_cloexec.c: Include fcntl.h.
34136 (__have_pipe2): New variable.
34137 (__have_dup3): Likewise.
34138
fdab8fd3
MF
341392012-08-17 Mike Frysinger <vapier@gentoo.org>
34140
34141 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34142
31035e80
MP
341432012-08-17 Marek Polacek <polacek@redhat.com>
34144
34145 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34146 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34147
3bd9e993
RM
341482012-08-17 Roland McGrath <roland@hack.frob.com>
34149
c91c505f
RM
34150 * configure.in: Add AC_SUBST for sysheaders.
34151 * configure: Regenerated.
34152 * config.make.in (sysheaders): New substituted variable.
34153
7c6f9d53
RM
34154 * sysdeps/unix/mkfifo.c: Moved ...
34155 * sysdeps/posix/mkfifo.c: ... here.
34156 * sysdeps/unix/mkfifoat.c: Moved ...
34157 * sysdeps/posix/mkfifoat.c: ... here.
34158
34159 * sysdeps/unix/utime.c: Moved ...
34160 * sysdeps/posix/utime.c: ... here.
34161
34162 * sysdeps/unix/time.c: Moved ...
34163 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34164 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34165 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34166
34167 * sysdeps/unix/nice.c: Moved ...
34168 * sysdeps/posix/nice.c: ... here.
34169
34170 * sysdeps/unix/alarm.c: Moved ...
34171 * sysdeps/posix/alarm.c: ... here.
34172
3bd9e993
RM
34173 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34174
d1f09384
JL
341752012-08-17 Jeff Law <law@redhat.com>
34176
34177 * intl/Makefile (codeset_mo): New variable.
34178 ($(codeset_mo)): New target.
34179 (tst-codeset.out): Depend on that. Remove explicit rule.
34180 (tst-gettext3.out, tst-gettext5.out): Likewise.
34181 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34182 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34183 * intl/tst-codeset.sh: Remove.
34184 * intl/tst-gettext3.sh: Likewise.
34185 * intl/tst-gettext5.sh: Likewise.
34186
2ae1ae5c
RM
341872012-08-17 Roland McGrath <roland@hack.frob.com>
34188
c31fdb83
RM
34189 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34190 * sysdeps/unix/syscalls.list: ... here.
34191
a0844057
RM
34192 * sysdeps/posix/getaddrinfo.c
34193 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34194 (gaiconf_init, gaiconf_reload): Use them.
34195 [!_STATBUF_ST_NSEC]
34196 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34197 Define using time_t rather than struct timespec.
34198
750c1f2a
RM
34199 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34200 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34201 Macros removed.
34202 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34203 [!NO_THREADS].
34204 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34205 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34206 Likewise.
34207
2ae1ae5c
RM
34208 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34209 __libc_cleanup_push argument.
34210
e66a42f5
RM
34211 * bits/param.h: New file.
34212 * misc/sys/param.h: New file.
34213 * include/sys/param.h: New file.
34214 * misc/Makefile (headers): Add bits/param.h.
34215 * sysdeps/generic/sys/param.h: File removed.
34216 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34217 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34218 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34219 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34220
b7c08a66
RM
34221 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34222 last change.
34223
b2e1c562
RM
34224 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34225 [_IO_MTSAFE_IO].
34226 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34227 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34228 New macros.
34229
c75ccd4c
RM
34230 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34231 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34232 rather than -D_IO_MTSAFE_IO conditionally.
34233 * stdio-common/Makefile (CPPFLAGS): Likewise.
34234 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34235 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34236 Use $(libio-mtsafe).
34237 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34238 of -D_IO_MTSAFE_IO.
34239 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34240 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34241 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34242 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34243 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34244 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34245 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34246 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34247 (CFLAGS-fread_u_chk.c): Likewise.
34248 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34249 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34250 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34251 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34252 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34253 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34254 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34255 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34256 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34257
34258 * libio/Makefile: Test [$(libc-reentrant) = yes]
34259 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34260
34261 * Makeconfig
34262 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34263 * sysdeps/pthread/configure: File removed.
34264 * sysdeps/pthread/Makeconfig: New file.
34265 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34266 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34267
d9195db8
GB
342682012-08-16 Gary Benson <gbenson@redhat.com>
34269
34270 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34271 unmapping the first object in a namespace.
34272
86466cd9
RM
342732012-08-16 Roland McGrath <roland@hack.frob.com>
34274
34275 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34276 (__internal_setnetgrent): ... this. Add internal_function to
34277 definition. Add libc_hidden_def.
34278 (setnetgrent): Update caller.
34279 (internal_endnetgrent): Renamed to ...
34280 (__internal_endnetgrent): ... this. Add internal_function to
34281 definition. Add libc_hidden_def.
34282 (endnetgrent): Update caller.
34283 (internal_getnetgrent_r): Renamed to ...
34284 (__internal_getnetgrent_r): ... this. Add internal_function to
34285 definition. Add libc_hidden_def.
34286 (__getnetgrent_r): Update caller.
34287 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34288
c3c8283c
JM
342892012-08-16 Joseph Myers <joseph@codesourcery.com>
34290
34291 * stdlib/longlong.h: Update from GCC.
34292
db1ee0a8
RM
342932012-08-16 Roland McGrath <roland@hack.frob.com>
34294
34295 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34296 on _QL, which is set by umul_ppmm but never used.
34297 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34298 variables, which are set by GMP macros but never used.
34299 * stdio-common/_itowa.c (_itowa): Likewise.
34300 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34301 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34302
30f69637
CD
343032012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34304
34305 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34306 struct La_sh_regs is not constant.
34307 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34308 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34309 and struct La_sparc64_regs are not constant.
34310
93a78ac4
JM
343112012-08-16 Joseph Myers <joseph@codesourcery.com>
34312
34313 * sysdeps/unix/sysv/linux/kernel-features.h
34314 (__ASSUME_POSIX_TIMERS): Remove.
34315 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34316 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34317 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34318 Make code unconditional.
34319 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34320 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34321 Make code unconditional.
34322 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34323 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34324 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34325 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34326 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34327 Make code unconditional.
34328 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34329 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34330 (__libc_missing_posix_timers): Remove.
34331
dd924cd7
RM
343322012-08-15 Roland McGrath <roland@hack.frob.com>
34333
4b4f2771
RM
34334 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34335 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34336
601c888b
RM
34337 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34338
176790a7
RM
34339 * elf/dl-sym.c: Include <stdlib.h>.
34340
329bc018
RM
34341 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34342 constants, which avoids warnings in 32-bit builds.
34343
e04e272d
RM
34344 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34345 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34346
952bf94a
RM
34347 * misc/lseek.c: File moved to ...
34348 * io/lseek.c: ... here.
34349
7c99b50a
RM
34350 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34351
dd924cd7
RM
34352 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34353 shifting LEN more than 31 bits at once.
34354
b3f479a8
LD
343552012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34356
34357 [BZ #14195]
8c4ae0d4
RM
34358 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34359 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34360 * string/test-strncasecmp.c (check1): Renamed to...
34361 (bz12205): ...this.
34362 (bz14195): Add new testcase for two empty input strings and N > 0.
34363 (test_main): Call new testcase, adapt for renamed function.
34364
9c55864e
AJ
343652012-08-15 Andreas Jaeger <aj@suse.de>
34366
34367 [BZ #14090]
34368 * crypt/md5test2.c: New test, based on test supplied by Serge
34369 Belyshev <belyshev@depni.sinp.msu.ru>.
34370 * crypt/Makefile (xtests): Add md5test-giant..
34371 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34372
02dcb6c5
PE
343732012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34374
34375 [BZ #14090]
34376 * crypt/md5.c (md5_process_block): Don't assume the buffer
34377 length is less than 2**32.
34378 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34379 length is less than 2**64.
34380
a3f95dcc
RM
343812012-08-15 Roland McGrath <roland@hack.frob.com>
34382
be75d758
RM
34383 * string/str-two-way.h: Include <sys/param.h>.
34384 (MAX): Macro removed.
34385
7312ca90
RM
34386 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34387 Move #define and #undef of memmove to just before and after
34388 including <string.h>.
34389
9a0a5486
RM
34390 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34391 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34392 and after including <string.h>. Move declarations of
34393 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34394 to before #include "string/memmove.c".
34395
67cc348d
RM
34396 * include/dirent.h: Declare __getdirentries.
34397
a3f95dcc
RM
34398 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34399 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34400
ca98e171
MF
344012012-08-14 Mike Frysinger <vapier@gentoo.org>
34402
34403 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34404 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34405 * sysdeps/i386/configure: Regenerated.
34406 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34407 STABS_CURRENT_FILE, and STABS_FUN.
34408 (END): Remove call to STABS_FUN_END.
34409 (STABS_CURRENT_FILE1): Delete.
34410 (STABS_CURRENT_FILE): Likewise.
34411 (STABS_FUN): Likewise.
34412 (STABS_FUN_END): Likewise.
34413 (STABS_FUN2): Likewise.
34414 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34415 * sysdeps/x86_64/configure: Regenerated.
34416
5908bf46
RM
344172012-08-14 Roland McGrath <roland@hack.frob.com>
34418
34419 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34420 * elf/dl-lookup.c: Likewise.
5908bf46 34421
f2c05b9e
JM
344222012-08-14 Joseph Myers <joseph@codesourcery.com>
34423
34424 * sysdeps/unix/sysv/linux/kernel-features.h
34425 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34426 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34427 unconditionally.
34428 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34429 unconditionally.
34430 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34431 condition on __ASSUME_CLONE_THREAD_FLAGS.
34432
e11f5155
AJ
344332012-08-14 Andreas Jaeger <aj@suse.de>
34434
34435 * sysdeps/i386/fpu/libm-test-ulps: Update.
34436
51a9ba86
MK
344372012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34438
2fdd4f78
AJ
34439 * include/atomic.h (atomic_exchange_and_add): Split into ...
34440 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34441 New atomic macros.
51a9ba86 34442
ba6cba9e
MT
344432012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34444
34445 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34446
42443a47
JL
344472012-08-13 Jeff Law <law@redhat.com>
34448
34449 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34450 null byte in the output string.
34451
121dce05
JM
344522012-08-10 Joseph Myers <joseph@codesourcery.com>
34453
34454 * sysdeps/unix/sysv/linux/kernel-features.h
34455 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34456 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34457 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34458 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34459 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34460 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34461 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34462
bf51f568
JL
344632012-08-09 Jeff Law <law@redhat.com>
34464
34465 [BZ #13939]
34466 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34467 When avoid_arena is set, don't retry in the that arena. Pick the
34468 next one, whatever it might be.
34469 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34470 (arena_lock): Pass in new parameter to arena_get2.
34471 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34472 arena_get2.
34473 (__libc_malloc): Unify retrying after main arena failure with
34474 __libc_memalign version.
34475 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34476
f85fa270
L
344772012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34478
34479 [BZ #14166]
34480 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34481 to __redirect_strstr.
34482 (__strstr_sse42): Use typeof __redirect_strstr.
34483 (__strstr_ia32): Likewise.
34484 (__libc_strstr): New prototype.
34485 (strstr): Renamed to ...
34486 (__libc_strstr): This.
34487 (strstr): New strong alias of __libc_strstr.
34488 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34489 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34490 __redirect_time.
34491 Include <time.h>.
34492 (__libc_time): New prototype.
34493 (time_ifunc): Replace time with __libc_time.
34494 (time): New strong alias and hidden definition of __libc_time.
34495 (__GI_time): Remove strong alias.
34496 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34497 Include <stddef.h>.
34498 (memmove): Redefined to __redirect_memmove.
34499 (__memmove_sse2): Use typeof __redirect_memmove.
34500 (__memmove_ssse3): Likewise.
34501 (__memmove_ssse3_back): Likewise.
34502 (__libc_memmove): New prototype.
34503 (memmove): Renamed to ...
34504 (__libc_memmove): This.
34505 (memmove): New strong alias of __libc_memmove.
34506
33b4a91e
MS
345072012-08-08 Mark Salter <msalter@redhat.com>
34508
34509 * elf/elf.h
34510 (R_MN10300_TLS_GD): Define.
34511 (R_MN10300_TLS_LD): Likewise.
34512 (R_MN10300_TLS_LDO): Likewise.
34513 (R_MN10300_TLS_GOTIE): Likewise.
34514 (R_MN10300_TLS_IE): Likewise.
34515 (R_MN10300_TLS_LE): Likewise.
34516 (R_MN10300_TLS_DTPMOD): Likewise.
34517 (R_MN10300_TLS_DTPOFF): Likewise.
34518 (R_MN10300_TLS_TPOFF): Likewise.
34519 (R_MN10300_SYM_DIFF): Likewise.
34520 (R_MN10300_ALIGN): Likewise.
34521 (R_MN10300_NUM): Update.
34522
b36137f1
JM
345232012-08-08 Joseph Myers <joseph@codesourcery.com>
34524
34525 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34526 Remove.
34527
cdd915fd
RM
345282012-08-08 Roland McGrath <roland@hack.frob.com>
34529
a2433aac
RM
34530 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34531
cdd915fd
RM
34532 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34533 sysdeps/unix -> sysdeps/posix move.
34534 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34535
bf9b740a
AM
345362012-08-07 Allan McRae <allan@archlinux.org>
34537
34538 [BZ #14303]
34539 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34540 (SUNOS_CPP): Likewise.
34541 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34542 not found.
34543 (open_input): Call CPP using execvp.
34544
93df14ee
JM
345452012-08-07 Joseph Myers <joseph@codesourcery.com>
34546
34547 * sysdeps/unix/sysv/linux/kernel-features.h
34548 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34549 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34550 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34551 (__ASSUME_WAITID_SYSCALL): Likewise.
34552 * sysdeps/unix/sysv/linux/dl-execstack.c
34553 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34554 code unconditional.
34555 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34556 conditional code.
34557 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34558 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34559 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34560 code.
34561 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34562 unconditional.
34563 [__ASSUME_WAITID_SYSCALL]: Likewise.
34564 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34565
d34689de
RM
345662012-08-07 Roland McGrath <roland@hack.frob.com>
34567
a281decc
RM
34568 * sysdeps/unix/closedir.c: Renamed to ...
34569 * sysdeps/posix/closedir.c: ... here.
34570 * sysdeps/unix/dirfd.c: Renamed to ...
34571 * sysdeps/posix/dirfd.c: ... here.
34572 * sysdeps/unix/dirstream.h: Renamed to ...
34573 * sysdeps/posix/dirstream.h: ... here.
34574 * sysdeps/unix/fdopendir.c: Renamed to ...
34575 * sysdeps/posix/fdopendir.c: ... here.
34576 * sysdeps/unix/opendir.c: Renamed to ...
34577 * sysdeps/posix/opendir.c: ... here.
34578 * sysdeps/unix/readdir.c: Renamed to ...
34579 * sysdeps/posix/readdir.c: ... here.
34580 * sysdeps/unix/readdir_r.c: Renamed to ...
34581 * sysdeps/posix/readdir_r.c: ... here.
34582 * sysdeps/unix/rewinddir.c: Renamed to ...
34583 * sysdeps/posix/rewinddir.c: ... here.
34584 * sysdeps/unix/seekdir.c: Renamed to ...
34585 * sysdeps/posix/seekdir.c: ... here.
34586 * sysdeps/unix/telldir.c: Renamed to ...
34587 * sysdeps/posix/telldir.c: ... here.
34588 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34589 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34590 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34591 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34592
22895b47
RM
34593 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34594 * bits/fcntl.h: ... here.
34595
707a53b6
RM
34596 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34597 not 0.
34598 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34599 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34600 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34601 (struct flock): Move l_start, l_len to the beginning.
34602 Use __pid_t for l_pid.
34603 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34604 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34605 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34606 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34607 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34608 [__USE_LARGEFILE64] (struct flock64): New type.
34609 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34610
f0bd3e25
RM
34611 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34612 * bits/dirent.h: ... here.
34613
d34689de
RM
34614 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34615 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34616
6dad2c06
JM
346172012-08-07 Joseph Myers <joseph@codesourcery.com>
34618
34619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34620 Change from 2.6.0 to 2.6.16.
34621 * sysdeps/unix/sysv/linux/configure: Regenerated.
34622 * sysdeps/unix/sysv/linux/kernel-features.h
34623 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34624 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34625 version.
34626 (__ASSUME_UTIMES): Likewise.
34627 (__ASSUME_CLONE_STOPPED): Remove.
34628 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34629 architectures, not kernel version.
34630 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34631 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34632 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34633 (__ASSUME_WAITID_SYSCALL): Likewise.
34634 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34635 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34636 * README: State 2.6.16 as minimum Linux kernel version. Do not
34637 refer to older versions.
34638
03af9520
RM
346392012-08-06 Roland McGrath <roland@hack.frob.com>
34640
8e49df1d
RM
34641 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34642 Define alphasort64 as an alias.
34643 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34644 Define versionsort64 as an alias.
34645 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34646 Define scandir64 as an alias.
34647 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34648 Define scandirat64 as an alias.
34649 * dirent/alphasort64.c (alphasort64):
34650 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34651 * dirent/versionsort64.c: Likewise.
34652 * dirent/scandir64.c: Likewise.
34653 * dirent/scandirat64.c: Likewise.
34654 * sysdeps/wordsize-64/alphasort.c: File removed.
34655 * sysdeps/wordsize-64/alphasort64.c: File removed.
34656 * sysdeps/wordsize-64/scandir.c: File removed.
34657 * sysdeps/wordsize-64/scandir64.c: File removed.
34658 * sysdeps/wordsize-64/scandirat.c: File removed.
34659 * sysdeps/wordsize-64/scandirat64.c: File removed.
34660 * sysdeps/wordsize-64/versionsort.c: File removed.
34661 * sysdeps/wordsize-64/versionsort64.c: File removed.
34662 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34663 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34664 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34665 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34666 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34667 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34668 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34669 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34670
34671 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34672 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34673 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34674 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34675 [defined __arch64__ || defined __sparcv9]
34676 (__INO_T_MATCHES_INO64_T): New macro.
34677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34678 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34679 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34680 * sysdeps/unix/sysv/linux/bits/dirent.h
34681 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34682 (_DIRENT_MATCHES_DIRENT64): New macro.
34683
03af9520
RM
34684 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34685 Define lockf64 as an alias.
34686 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34687 Define fseeko64 as an alias.
34688 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34689 Define ftello64 as an alias.
34690 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34691 Define _IO_fgetpos64 and fgetpos64 as aliases.
34692 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34693 Define _IO_fsetpos64 and fsetpos64 as aliases.
34694 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34695 Conditionalize body on this.
34696 * libio/fseeko64.c: Likewise.
34697 * libio/ftello64.c: Likewise.
34698 * libio/iofgetpos64.c: Likewise.
34699 * libio/iofsetpos64.c: Likewise.
34700 * sysdeps/wordsize-64/lockf.c: File removed.
34701 * sysdeps/wordsize-64/lockf64.c: File removed.
34702 * sysdeps/wordsize-64/fseeko.c: File removed.
34703 * sysdeps/wordsize-64/fseeko64.c: File removed.
34704 * sysdeps/wordsize-64/ftello.c: File removed.
34705 * sysdeps/wordsize-64/ftello64.c: File removed.
34706 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34707 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34708 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34709 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34710 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34711 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34712 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34713 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34714 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34715 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34717 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34718 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34720
34721 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34722 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34723 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34724 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34725 [defined __arch64__ || defined __sparcv9]
34726 (__OFF_T_MATCHES_OFF64_T): New macro.
34727 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34728 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34729 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34730 (__OFF_T_MATCHES_OFF64_T): New macro.
34731
c5757acd
L
347322012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34733
34734 * stdlib/secure-getenv.c (__secure_getenv): Replace
34735 GLIBC_2_16 with GLIBC_2_17.
34736
3a31811e
L
347372012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34738
34739 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34740 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34741
faa2bccb
DM
347422012-08-03 David S. Miller <davem@davemloft.net>
34743
34744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34745
85fe1997
JM
347462012-08-03 Joseph Myers <joseph@codesourcery.com>
34747
34748 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34749 Remove.
34750 (__ASSUME_CORRECT_SI_PID): Likewise.
34751 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34752 (__ASSUME_TMPFS_NAME): Likewise.
34753 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34754 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34755 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34756 (HAVE_AUX_SECURE): Make definition unconditional.
34757 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34758 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34759
4f75b7a0
RM
347602012-08-03 Roland McGrath <roland@hack.frob.com>
34761
34762 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34763 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34764 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34765 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34766 __eloop_threshold instead of SYMLOOP_MAX.
34767
34768 * sysdeps/generic/eloop-threshold.h: New file.
34769 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34770 of MAXSYMLINKS.
34771 * elf/chroot_canon.c (chroot_canon): Likewise.
34772
7aab07e4
JM
347732012-08-03 Joseph Myers <joseph@codesourcery.com>
34774
34775 [BZ #13717]
34776 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34777 Change to 2.6.0 everywhere.
34778 * sysdeps/unix/sysv/linux/configure: Regenerated.
34779 * sysdeps/unix/sysv/linux/kernel-features.h
34780 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34781 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34782 kernel versions.
34783 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34784 (__ASSUME_FUTEX_REQUEUE): Remove.
34785 (__ASSUME_STATFS64): Define unconditionally.
34786 (__ASSUME_AT_SECURE): Likewise.
34787 (__ASSUME_CORRECT_SI_PID): Likewise.
34788 (__ASSUME_TGKILL): Define without depending on kernel version for
34789 i386.
34790 (__ASSUME_UTIMES): Likewise.
34791 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34792 kernel version.
34793 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34794 (__ASSUME_TMPFS_NAME): Likewise.
34795 * README: Update reference to Linux kernel versions.
34796
b67e9372
MP
347972012-08-02 Marek Polacek <polacek@redhat.com>
34798
1f529f7d 34799 [BZ# 14150]
b67e9372
MP
34800 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34801 libc_cv_asm_type_prefix with %.
34802 * configure: Regenerated.
d2441631
RM
34803 * include/libc-symbols.h: Remove comment about
34804 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34805 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34806 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34807 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34808 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34809 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34810 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34811 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34812 * elf/tst-unique2mod1.c: Likewise.
34813 * elf/tst-unique1mod2.c: Likewise.
34814 * elf/tst-unique1mod1.c: Likewise.
34815 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34816 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34817 Replace ASM_TYPE_DIRECTIVE with .type.
34818 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34819 * sysdeps/i386/sysdep.h: Likewise.
34820 * sysdeps/x86_64/sysdep.h: Likewise.
34821 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34823 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34824 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34825 * sysdeps/powerpc/powerpc32/sysdep.h:
34826 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34827 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34828 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34829 * sysdeps/i386/fpu/e_powf.S: Likewise.
34830 * sysdeps/i386/fpu/e_expl.S: Likewise.
34831 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34832 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34833 * sysdeps/i386/fpu/e_pow.S: Likewise.
34834 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34835 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34836 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34837 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34838 * sysdeps/i386/fpu/e_log2.S: Likewise.
34839 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34840 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34841 * sysdeps/i386/fpu/e_powl.S: Likewise.
34842 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34843 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34844 * sysdeps/i386/fpu/e_logl.S: Likewise.
34845 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34846 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34847 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34848 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34849 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34850 * sysdeps/i386/fpu/e_log.S: Likewise.
34851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34852 * sysdeps/i386/fpu/e_logf.S: Likewise.
34853 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34854 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34855 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34856 * sysdeps/i386/fpu/e_log10.S: Likewise.
34857 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34858 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34859 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34860 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34861 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34862 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34863 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34864 * sysdeps/i386/i686/strtok.S: Likewise.
34865 * sysdeps/i386/i386-mcount.S: Likewise.
34866 * sysdeps/i386/strtok.S: Likewise.
34867 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34868 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34869 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34870 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34871 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34873 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34874 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34876 * sysdeps/x86_64/_mcount.S: Likewise.
34877 * sysdeps/x86_64/strtok.S: Likewise.
34878 * sysdeps/sh/_mcount.S: Likewise.
34879
2747bf9a
RM
348802012-08-01 Roland McGrath <roland@hack.frob.com>
34881
34882 * libio/iofopen.c: Include <fcntl.h>.
34883 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34884 (_IO_fopen64, fopen64): Define as aliases.
34885 * libio/iofopen64.c: Include <fcntl.h>.
34886 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34887 Conditionalize body on this.
34888 * sysdeps/wordsize-64/iofopen.c: File removed.
34889 * sysdeps/wordsize-64/iofopen64.c: File removed.
34890
3fb791b8
MP
348912012-08-01 Marek Polacek <polacek@redhat.com>
34892
34893 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34894 Use dlfcn directly instead of a variable.
34895 (binfmt-subdir): Do not define.
34896 (dlfcn): Likewise.
34897
a9f1039f
JM
348982012-08-01 Joseph Myers <joseph@codesourcery.com>
34899
23bddc06
JM
34900 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34901 Remove all definitions.
34902 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34903 <kernel-features.h>.
34904 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34905 (miss_F_GETOWN_EX): Remove all definitions.
34906 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34907 macro definition.
34908 [!__ASSUME_FCNTL64]: Remove conditional code.
34909 [__ASSUME_FCNTL64]: Make code unconditional.
34910 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34911 <kernel-features.h>.
34912 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34913 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34914 (lockf64) [__NR_fcntl64]: Make code unconditional.
34915 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34916
a9f1039f
JM
34917 * sysdeps/unix/sysv/linux/kernel-features.h
34918 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34919 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34920 Make code unconditional.
34921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34924 [__NR_vfork]: Make code unconditional.
34925 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34926 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34928 [__NR_vfork]: Make code unconditional.
34929 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34930 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34931
09c0ee5f
RM
349322012-08-01 Roland McGrath <roland@hack.frob.com>
34933
48aec5b9
RM
34934 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34935 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34936
cd97c966
RM
34937 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34938 Define mkstemp64 as an alias.
3f55550c
RM
34939 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34940 Define mkstemps64 as an alias.
cd97c966
RM
34941 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34942 Define mkostemp64 as an alias.
b8625cfc
RM
34943 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34944 Define mkostemps64 as an alias.
cd97c966
RM
34945 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34946 Conditionalize body on this.
34947 * misc/mkostemp64.c: Likewise.
b8625cfc 34948 * misc/mkostemps64.c: Likewise.
3f55550c 34949 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34950 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34951 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34952 * sysdeps/wordsize-64/mkostemp.c: File removed.
34953 * sysdeps/wordsize-64/mkstemp.c: File removed.
34954 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34955 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34956 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34957 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34958
09c0ee5f
RM
34959 [BZ #14138]
34960 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34961 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34962 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34963 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34964
34965 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34966 compat_symbol macros from <shlib-compat.h> rather than the underlying
34967 default_symbol_version and symbol_version macros, so that DEFAULT
34968 lines in shlib-versions are respected.
34969 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34970
7e66ee51
FW
349712012-08-01 Florian Weimer <fweimer@redhat.com>
34972
34973 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34974 Declare with warn_unused_result.
34975 (setgid, setregid, setegid, setresgid): Likewise.
34976 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34977 Likewise.
34978 * WUR-REPORT: Remove set*id functions.
34979
d2a54255
PT
349802012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34981
34982 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34983
7ecdb005
RM
349842012-07-31 Roland McGrath <roland@hack.frob.com>
34985
b4180a5e 34986 [BZ #10191]
789bd351
RM
34987 * include/sys/socket.h (__libc_accept, __libc_accept4):
34988 Add attribute_hidden.
34989 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34990
40ce302d
RM
34991 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34992 use of PTR_MANGLE.
34993 * inet/getnetgrent_r.c (setup): Likewise.
34994
7ecdb005
RM
34995 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34996
e2eabb2c
DM
349972012-07-31 David S. Miller <davem@davemloft.net>
34998
34999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35000
d0419dbf
JM
350012012-07-31 Joseph Myers <joseph@codesourcery.com>
35002
35003 [BZ #13629]
35004 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35005 value between 1.0 and 2.0 and smaller part has absolute value less
35006 than 1.0.
35007 * math/s_clog10.c (__clog10): Likewise.
35008 * math/s_clog10f.c (__clog10f): Likewise.
35009 * math/s_clog10l.c (__clog10l): Likewise.
35010 * math/s_clogf.c (__clogf): Likewise.
35011 * math/s_clogl.c (__clogl): Likewise.
35012 * math/libm-test.inc (clog_test): Add more tests.
35013 (clog10_test): Likewise.
35014 * sysdeps/i386/fpu/libm-test-ulps: Update.
35015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35016
2bc13872
FW
350172012-07-31 Florian Weimer <fweimer@redhat.com>
35018
35019 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35020 Exit with zero in case no suitable GID is found, and write a
35021 message to standard error.
35022
bea9b193
RM
350232012-07-30 Roland McGrath <roland@hack.frob.com>
35024
35025 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35026 rather than to 1.
35027 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35028 (MAXPATHLEN): Removed.
35029 (NOGROUP, NODEV): New macros.
35030 (setbit, clrbit, isset, isclr): New macros.
35031 (howmany, roundup, powerof2): New macros.
35032 (DEV_BSIZE): New macro.
35033
35034 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35035 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35036
35037 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35038 definition on [!__NO_LONG_DOUBLE_MATH].
35039
35040 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35041 PTR_MANGLE and PTR_DEMANGLE.
35042
35043 * socket/accept4.c (accept4): Rename to __libc_accept4.
35044 Define accept4 as a weak alias.
35045
35046 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35047 on [_DIRENT_HAVE_D_TYPE].
35048 * io/ftw.c (ftw_dir): Likewise.
35049
35050 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35051
35052 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35053
35054 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35055 Use the BSD numbers rather than the arbitrary ones we had.
35056 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35057 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35058 (SIGXCPU, SIGXFSZ): New macros.
35059 (_NSIG): Now 32.
35060
35061 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35062 initializer on [_LIBC_REENTRANT].
35063
35064 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35065 definitions inside [_POSIX_MAPPED_FILES].
35066
35067 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35068
35069 * dirent/opendir.c: Include <fcntl.h>.
35070
35071 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35072 (__libc_getspecific): Likewise.
35073 (__libc_key_create): Likewise.
35074
35075 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35076 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35077 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35078 (tmpfile64): Define as alias.
35079 * sysdeps/wordsize-64/tmpfile.c: File removed.
35080 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35081 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35082 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35083
35084 * stdio-common/vfscanf.c: Include <stdbool.h>.
35085 * nss/makedb.c: Likewise.
35086 * stdio-common/_i18n_number.h: Likewise.
35087 * argp/argp-help.c: Likewise.
35088 * posix/wordexp.c: Likewise.
35089 * sysdeps/posix/spawni.c: Likewise.
35090 * nss/nss_files/files-initgroups.c: Likewise.
35091 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35092 * nss/nss_files/files-initgroups.c: Likewise.
35093 * nss/nss_db/db-netgrp.c: Likewise.
35094 * nss/nss_db/db-initgroups.c: Likewise.
35095 * io/fchmodat.c: Include <sys/stat.h>.
35096
35097 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35098 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35099
35100 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35101 [HAVE_MMAP].
35102
35103 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35104 Add multiple inclusion protection.
35105
e5abc686
DM
351062012-07-27 David S. Miller <davem@davemloft.net>
35107
35108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35109
815e6fa3
GB
351102012-07-27 Gary Benson <gbenson@redhat.com>
35111
35112 [BZ #14298]
35113 * elf/rtld.c: Include <stap-probe.h>.
35114 (dl_main): Added static probes "init_start" and "init_complete".
35115 * elf/dl-load.c: Include <stap-probe.h>.
35116 (lose): Take new parameter "nsid".
35117 Added static probe "map_failed".
35118 (_dl_map_object_from_fd): Pass namespace id to lose.
35119 Added static probe "map_start".
35120 (open_verify): Pass namespace id to lose.
35121 * elf/dl-open.c: Include <stap-probe.h>.
35122 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35123 and "reloc_complete".
35124 * elf/dl-close.c: Include <stap-probe.h>.
35125 (_dl_close_worker): Added static probes "unmap_start" and
35126 "unmap_complete".
35127 * elf/rtld-debugger-interface.txt: New file documenting the above.
35128
9f98c16c
RM
351292012-07-26 Roland McGrath <roland@hack.frob.com>
35130
35131 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35132 rather than a string variable.
35133 * sunrpc/rpc_main.c (h_output): Likewise.
35134 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35135
f3c22df3
PT
351362012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35137
35138 * inet/check_native.c: New file.
35139
3129cfc6
JM
351402012-07-26 Joseph Myers <joseph@codesourcery.com>
35141
da865e95
JM
35142 [BZ #13629]
35143 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35144 if larger part has absolute value 1.0.
35145 * math/s_clog10.c (__clog10): Likewise.
35146 * math/s_clog10f.c (__clog10f): Likewise.
35147 * math/s_clog10l.c (__clog10l): Likewise.
35148 * math/s_clogf.c (__clogf): Likewise.
35149 * math/s_clogl.c (__clogl): Likewise.
35150 * math/libm-test.inc (clog_test): Add more tests.
35151 (clog10_test): Likewise.
35152 * sysdeps/i386/fpu/libm-test-ulps: Update.
35153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35154
3129cfc6
JM
35155 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35156 (pltexit): Likewise.
35157 (La_regs): Likewise.
35158 (La_retval): Likewise.
35159 (int_retval): Likewise.
35160 Update #error for removed macros to refer only to definitions in
35161 tst-audit.h.
35162 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35163 macro.
35164 (pltexit): Likewise.
35165 (La_regs): Likewise.
35166 (La_retval): Likewise.
35167 (int_retval): Likewise.
35168 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35169 macro.
35170 (pltexit): Likewise.
35171 (La_regs): Likewise.
35172 (La_retval): Likewise.
35173 (int_retval): Likewise.
35174 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35175 macro.
35176 (pltexit): Likewise.
35177 (La_regs): Likewise.
35178 (La_retval): Likewise.
35179 (int_retval): Likewise.
35180 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35181 macro.
35182 (pltexit): Likewise.
35183 (La_regs): Likewise.
35184 (La_retval): Likewise.
35185 (int_retval): Likewise.
35186 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35187 macro.
35188 (pltexit): Likewise.
35189 (La_regs): Likewise.
35190 (La_retval): Likewise.
35191 (int_retval): Likewise.
35192 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35193 macro.
35194 (pltexit): Likewise.
35195 (La_regs): Likewise.
35196 (La_retval): Likewise.
35197 (int_retval): Likewise.
35198 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35199 macro definitions in tst-audit.h.
35200 * sysdeps/i386/tst-audit.h: New file.
35201 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35202 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35203 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35204 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35205 * sysdeps/sh/tst-audit.h: Likewise.
35206 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35207 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35208 * sysdeps/x86_64/tst-audit.h: Likewise.
35209
bfc07087
AJ
352102012-07-26 Andreas Jaeger <aj@suse.de>
35211
b1b2aaf8
AJ
35212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35213 ptrace.
35214
35215 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35216 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35217 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35218 PTRACE_O_MASK.
35219 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35220 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35221 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35222
bfc07087
AJ
35223 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35224 value.
35225
35226 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35227 _sigsys.
35228 (si_call_addr, si_syscall, si_arch): Define new macro.
35229 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35230 _sigsys.
35231 (si_call_addr, si_syscall, si_arch): Define new marcro.
35232 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35233 _sigsys.
35234 (si_call_addr, si_syscall, si_arch): Define new macro.
35235 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35236 _sigsys.
35237 (si_call_addr, si_syscall, si_arch): Define new macro.
35238
89b4b02f
JM
352392012-07-25 Joseph Myers <joseph@codesourcery.com>
35240
35241 [BZ #13717]
35242 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35243 Change to 2.4.21 where previously 2.4.1.
35244 * sysdeps/unix/sysv/linux/configure: Regenerated.
35245 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35246 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35247 Linux kernel version.
35248 (__ASSUME_STD_AUXV): Remove.
35249 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35250 kernel version.
35251 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35252 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35253 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35254 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35255 (__ASSUME_NETLINK_SUPPORT): Likewise.
35256 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35257 (__no_netlink_support): Remove conditional definition.
35258 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35259 Remove.
35260 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35261 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35262 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35263 (if_nameindex_ioctl): Remove.
35264 (if_nameindex_netlink): Do not handle __no_netlink_support.
35265 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35266 code.
35267 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35268 Remove conditional code.
35269 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35270 code.
35271 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35272 unconditional.
35273 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35274 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35275 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35276 Remove.
35277 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35278 [!__ASSUME_STD_AUXV]: Remove conditional code.
35279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35280 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35281 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35283 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35284 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35285 code.
35286 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35288 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35289 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35290 conditional code.
35291 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35293 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35294 code.
35295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35296 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35297 conditional code.
35298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35299 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35300 code unconditional.
35301 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35302 conditional code.
35303 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35304 unconditional.
35305 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35306 conditional code.
35307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35308 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35309 unconditional.
35310 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35311 conditional code.
35312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35313 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35314 code unconditional.
35315 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35316 conditional code.
35317 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35318 unconditional.
35319 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35320 conditional code.
35321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35322 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35323 code unconditional.
35324 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35325 conditional code.
35326 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35327 unconditional.
35328 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35329 conditional code.
35330
842a39cd
AS
353312012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35332
35333 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35334 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35335 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35336 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35337 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35338 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35339 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35340 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35341 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35342 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35343 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35344 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35345 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35346 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35347 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35348 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35349 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35350 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35351 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35352 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35353 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35354 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35356
84b3fd84
FW
353572012-07-25 Florian Weimer <fweimer@redhat.com>
35358
35359 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35360 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35361 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35362 Introduce __libc_secure_getenv.
0c7936d5
FW
35363 * stdlib/Versions (2.17): Add secure_getenv
35364 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35365 * stdlib/secure-getenv.c: Rename __secure_getenv to
35366 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35367 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35368 * stdlib/tst-secure-getenv.c: New.
35369 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35370 * manual/startup.texi (Environment Access): Document
35371 secure_getenv.
84b3fd84
FW
35372 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35373 __libc_secure_getenv.
35374 * inet/ruserpass.c (ruserpass): Likewise.
35375 * malloc/mtrace.c (mtrace): Likewise.
35376 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35377 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35378 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35379 * sysdeps/posix/tempname.c: Likewise. Evaluate
35380 HAVE_SECURE_GETENV.
35381 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35382 __secure_getenv to __libc_secure_getenv.
84b3fd84 35383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35385 Likewise.
35386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35387 Likewise.
35388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35389 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35390 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35392 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35395
56e49b71
JM
353962012-07-25 Joseph Myers <joseph@codesourcery.com>
35397
35398 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35399 (struct La_i86_retval): Likewise.
35400 (struct La_x86_64_regs): Likewise.
35401 (struct La_x86_64_retval): Likewise.
35402 (struct La_x32_regs): Likewise.
35403 (struct La_x32_retval): Likewise.
35404 (struct La_ppc32_regs): Likewise.
35405 (struct La_ppc32_retval): Likewise.
35406 (struct La_ppc64_regs): Likewise.
35407 (struct La_ppc64_retval): Likewise.
35408 (struct La_sh_regs): Likewise.
35409 (struct La_sh_retval): Likewise.
35410 (struct La_s390_32_regs): Likewise.
35411 (struct La_s390_32_retval): Likewise.
35412 (struct La_s390_64_regs): Likewise.
35413 (struct La_s390_64_retval): Likewise.
35414 (struct La_sparc32_regs): Likewise.
35415 (struct La_sparc32_retval): Likewise.
35416 (struct La_sparc64_regs): Likewise.
35417 (struct La_sparc64_retval): Likewise.
35418 (struct audit_ifaces): Remove architecture-specific pltenter and
35419 pltexit members.
35420 * sysdeps/i386/ldsodefs.h: New file.
35421 * sysdeps/powerpc/ldsodefs.h: Likewise.
35422 * sysdeps/s390/ldsodefs.h: Likewise.
35423 * sysdeps/sh/ldsodefs.h: Likewise.
35424 * sysdeps/sparc/ldsodefs.h: Likewise.
35425 * sysdeps/x86_64/ldsodefs.h: Likewise.
35426
354691b7
MP
354272012-07-25 Marek Polacek <polacek@redhat.com>
35428
35429 [BZ #6808]
35430 * math/libm-test.inc (yn_test): Add another test.
35431 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35432 to ERANGE when the result is +-Inf.
35433 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35434 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35435 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35436 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35437
bf9e2071
JM
354382012-07-24 Joseph Myers <joseph@codesourcery.com>
35439
35440 * conform/data/time.h-data (NULL): Use macro-constant. Require
35441 equal to 0.
35442 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35443 clock_t.
35444 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35445
57633811
TS
354462012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35447
35448 * configure.in <sysdeps resolving>: Correct printing
35449 Implies_before.
35450 * configure: Regenerate.
35451
c23c33b0
TS
354522012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35453
35454 * math/w_ilogb.c: Include <limits.h>.
35455 * math/w_ilogbl.c: Likewise.
35456
b5982523
JM
354572012-07-20 Joseph Myers <joseph@codesourcery.com>
35458
35459 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35460 va_copy. Document allowing for unavailable va_copy only as
35461 pre-C99 compatibility.
35462 * manual/string.texi (Copying and Concatenation): Use va_copy
35463 instead of __va_copy in concat example.
35464
ac4ea442
PT
354652012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35466
35467 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35468 (__sendto): Use create_address_port. Initialize APORT and deallocate
35469 it if not null.
35470
f98eafbd
PT
35471 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35472 with O_NOLINK passed to __file_name_lookup.
35473
898c7aab
PT
35474 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35475 with O_NOLINK passed to __file_name_lookup.
35476
0ced335a
PT
35477 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35478 negative N or less than NGIDS.
35479
b3404dbd
PT
35480 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35481 type to string_t. Set ERANGE as errno and return it if NAME is not big
35482 enough. Use memcpy instead of strncpy.
35483
0f48659e
JM
354842012-07-20 Joseph Myers <joseph@codesourcery.com>
35485
35486 * elf/Makefile (check-data): Remove.
35487 (localplt.data): New vpath directive.
35488 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35489 instead of $(check-data).
35490 * scripts/data/localplt-generic.data: Move to ...
35491 * sysdeps/generic/localplt.data: ... here.
35492 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35493 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35494 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35496 ... here.
35497 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35499 ... here.
35500 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35502 ... here.
35503 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35505 ... here.
35506 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35508 ... here.
35509 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35511 ... here.
35512
d37cbdaa
AZ
355132012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35514
35515 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35516 PPC32 and PPC64 files.
35517 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35518 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35519
46f85fc2
AK
355202012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35521
35522 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35523 __makecontext_ret to ...
35524 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35525 ... here and call exit if uc_link is NULL. New file.
35526 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35527 __makecontext_ret.S.
35528 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35529 __makecontext_ret to ...
35530 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35531 ... here and call exit if uc_link is NULL. New file.
35532 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35533 __makecontext_ret.S.
35534
08f43f9b
AK
355352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35536
35537 * elf/elf.h (R_390_IRELATIVE): New definition.
35538 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35539 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35540 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35541 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35542 (elf_machine_lazy_rel): Likewise.
35543 * sysdeps/s390/dl-irel.h: New file.
35544 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35545 * sysdeps/s390/s390-64/memset.S: New asm code.
35546 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35547 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35548 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35549 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35550 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35551 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35552 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35553 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35554 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35555 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35556 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35557 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35558 * sysdeps/s390/s390-32/memset.S: New asm code.
35559 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35560
3b05db33
MP
355612012-07-17 Marek Polacek <polacek@redhat.com>
35562
35563 [BZ #14349]
35564 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35565 * sysdeps/s390/s390-64/configure.in: Likewise.
35566 * sysdeps/sparc/configure.in: Likewise.
35567 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35568 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35569 * sysdeps/i386/configure.in: Likewise.
35570 * sysdeps/x86_64/configure.in: Likewise.
35571 * sysdeps/sh/configure.in: Likewise.
35572 * sysdeps/s390/s390-32/configure: Regenerated.
35573 * sysdeps/s390/s390-64/configure: Likewise.
35574 * sysdeps/x86_64/configure: Likewise.
35575 * sysdeps/sh/configure: Likewise.
35576 * sysdeps/powerpc/powerpc64/configure: Likewise.
35577 * sysdeps/powerpc/powerpc32/configure: Likewise.
35578 * sysdeps/sparc/configure: Likwise.
35579 * sysdeps/i386/configure: Likewise.
35580
a66877c6
MP
35581 * elf/dl-open.c: Comment fixes.
35582
cfc82fd8
JM
355832012-07-17 Joseph Myers <joseph@codesourcery.com>
35584
bd29910a
JM
35585 * Makefile [CXX] (check-data): Remove.
35586 [CXX] (c++-types.data): New vpath directive.
35587 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35588 vpath. Do not allow for C++ type data being missing.
35589 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35590 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35591 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35592 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35593 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35594 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35595 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35597 ... here.
35598 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35600 ... here.
35601 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35603 ... here.
35604 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35606 ... here.
35607 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35609 ... here.
35610 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35612 ... here.
35613 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35614 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35615 ... here.
35616 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35618
cfc82fd8
JM
35619 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35620 definitions to architecture-specific files.
35621 (TLS_IE): Likewise.
35622 (TLS_LD): Likewise.
35623 (TLS_GD): Likewise.
35624 * sysdeps/i386/tls-macros.h: New file.
35625 * sysdeps/powerpc/tls-macros.h: Likewise.
35626 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35627 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35628 * sysdeps/sh/tls-macros.h: Likewise.
35629 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35630 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35631 * sysdeps/x86_64/tls-macros.h: Likewise.
35632
f7db3170
TS
356332012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35634
07cbfc23
TS
35635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35636 zero value for regular exit case.
35637
f7db3170
TS
35638 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35639 (__start_context): Preserve zero value for regular exit case.
35640
dc97c227
TS
356412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35642 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35643
35644 * manual/setjmp.texi (setcontext): Clarify normal process
35645 termination when uc_link is the null pointer.
35646 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35647 exit call.
35648
d0cd7d02
AS
356492012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35650
35651 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35652 preprocessor. Test for each exception mask separately.
35653
dd318934
AJ
356542012-07-16 Andreas Jaeger <aj@suse.de>
35655
35656 * po/ru.po: Update from translation team.
35657
8048311a
JM
356582012-07-15 Joseph Myers <joseph@codesourcery.com>
35659
35660 * conform/data/string.h-data (NULL): Use macro-constant. Require
35661 equal to 0.
35662 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35663 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35664 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35665 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35666 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35667
b637d46e
AJ
356682012-07-13 Andreas Jaeger <aj@suse.de>
35669
35670 * po/fr.po: Update from translation team.
35671
541428fe
MP
356722012-07-12 Marek Polacek <polacek@redhat.com>
35673
35674 [BZ #14173]
35675 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35676 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35677 loop condition.
35678
ec332e94
JM
356792012-07-12 Joseph Myers <joseph@codesourcery.com>
35680
35681 [BZ #13717]
35682 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35683 Change to 2.4.1 where previously 2.4.0.
35684 * sysdeps/unix/sysv/linux/configure: Regenerated.
35685 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35686 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35687 version.
35688 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35689 (__ASSUME_AT_CLKTCK): Remove.
35690 (__ASSUME_AT_PAGESIZE): Likewise.
35691 (__ASSUME_AT_XID): Likewise.
35692 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35693 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35694 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35695 unconditionally.
35696 (HAVE_AUX_PAGESIZE): Likewise.
35697 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35698 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35699 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35700
7b6e99be
JB
357012012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35702
35703 [BZ #14307]
35704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35705 the temporary buffer used to invoke __gethostbyname2_r,
35706 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35707 host_data / struct gaih_addrtuple.
35708 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35709 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35710 header file nss/nsswitch.h.
35711 * nss/nsswitch.h (global scope): Add definition of implementation
35712 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35713 resolv/nss_dns/dns-host.c).
35714
608404eb
AJ
357152012-07-11 Andreas Jaeger <aj@suse.de>
35716
35717 * po/fr.po: Update from translation team.
35718
71220aca
AJ
35719 * po/sv.po: Update from translation team
35720 * po/fr.po: Another update from translation team.
35721
28cfe843
AZ
357222012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35723
35724 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35725 for subnormals or multiply small sinh result by itself.
35726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35728
6b90f981
DM
357292012-07-11 David S. Miller <davem@davemloft.net>
35730
35731 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35732
c6825772
AS
357332012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35734
35735 [BZ #14347]
35736 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35737 (INTERNAL_MARK): Shift it here.
35738
7b8e0d49
MP
357392012-07-10 Marek Polacek <polacek@redhat.com>
35740
35741 [BZ #14151]
35742 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35743 libc_cv_asm_global_directive with .globl.
35744 * configure: Regenerated.
35745 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35746 with .globl.
35747 * sysdeps/i386/configure: Regenerated.
35748 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35749 with .globl.
35750 * sysdeps/x86_64/configure: Regenerated.
35751 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35752 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35753 * elf/tst-unique2mod2.c: Likewise.
35754 * elf/tst-unique2mod1.c: Likewise.
35755 * elf/tst-unique1mod2.c: Likewise.
35756 * elf/tst-unique1mod1.c: Likewise.
35757 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35758 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35759 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35760 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35761 * sysdeps/mach/sysdep.h: Likewise.
35762 * sysdeps/i386/sysdep.h: Likewise.
35763 * sysdeps/i386/i386-mcount.S: Likewise.
35764 * sysdeps/x86_64/_mcount.S: Likewise.
35765 * sysdeps/x86_64/sysdep.h: Likewise.
35766 * sysdeps/sh/_mcount.S: Likewise.
35767 * sysdeps/sh/sysdep.h: Likewise.
35768 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35769 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35770 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35771 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35772 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35773 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35774 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35775 * locale/localeinfo.h: Likewise.
35776 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35777 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35778
6c55cda3
RM
357792012-07-09 Roland McGrath <roland@hack.frob.com>
35780
35781 [BZ #14336]
35782 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35783 system".
35784 * manual/message.texi (The Uniforum approach): Likewise.
35785 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35786 (glibc iconv Implementation): Likewise.
35787
638a572e
JM
357882012-07-09 Joseph Myers <joseph@codesourcery.com>
35789
35790 [BZ #14337]
35791 * math/s_clog.c (__clog): Avoid scaling a value down where that
35792 could result in underflow.
35793 * math/s_clog10.c (__clog10): Likewise.
35794 * math/s_clog10f.c (__clog10f): Likewise.
35795 * math/s_clog10l.c (__clog10l): Likewise.
35796 * math/s_clogf.c (__clogf): Likewise.
35797 * math/s_clogl.c (__clogl): Likewise.
35798 * math/libm-test.inc (clog_test): Add more tests.
35799 (clog10_test): Likewise.
35800 * sysdeps/i386/fpu/libm-test-ulps: Update.
35801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35802
261f4859
AS
358032012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35804
0abaf3e4
AS
35805 [BZ #14283]
35806 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35807 by 7 not 8 to examine high bit of fractional part.
35808
261f4859
AS
35809 [BZ #14042]
35810 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35811 for call to __mcount_internal.
35812 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35813 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35814 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35815
f17ac40d
JM
358162012-07-06 Joseph Myers <joseph@codesourcery.com>
35817
9ad63c23
JM
35818 [BZ #14154]
35819 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35820 approximation for values within 0x1p-13f of an odd multiple of
35821 pi/4.
35822 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35823 exception. Add more tests.
35824 * sysdeps/i386/fpu/libm-test-ulps: Update.
35825
f17ac40d
JM
35826 [BZ #6778]
35827 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35828 inputs and return -1 for them. Do not check for +Inf in case not
35829 reachable for +Inf.
35830 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35831 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35832 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35833 and return -1 for them. Do not check for +Inf in case not
35834 reachable for +Inf.
35835 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35836 define.
35837 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35838 and return -1 for them. Do not check for +Inf in case not
35839 reachable for +Inf.
35840 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35841 spurious underflow.
35842 * sysdeps/i386/fpu/libm-test-ulps: Update.
35843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35844
fb21f89b
MF
358452012-07-06 Mike Frysinger <vapier@gentoo.org>
35846
35847 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35848
cdfe2c5e
JM
358492012-07-05 Joseph Myers <joseph@codesourcery.com>
35850
35851 [BZ #14157]
35852 [BZ #14331]
35853 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35854 could result in spurious underflow. Scale down values above
35855 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35856 * math/s_csqrtf.c (__csqrtf): Likewise.
35857 * math/s_csqrtl.c (__csqrtl): Likewise.
35858 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35859 spurious underflow.
35860 * sysdeps/i386/fpu/libm-test-ulps: Update.
35861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35862
70d35b67
AS
358632012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35864
704bc459
AS
35865 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35866 xopen-msg.sed.
35867 * catgets/xopen-msg.awk: New file.
35868 * catgets/xopen-msg.sed: Removed.
35869
70d35b67
AS
35870 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35871 po2text.sed.
35872 * intl/po2test.awk: New file.
35873 * intl/po2test.sed: Removed.
35874
ca61cf32
JM
358752012-07-04 Joseph Myers <joseph@codesourcery.com>
35876
35877 [BZ #14328]
35878 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35879 or multiply small sinh result by itself.
35880 * math/s_ctanf.c (__ctanf): Likewise.
35881 * math/s_ctanh.c (__ctanh): Likewise.
35882 * math/s_ctanhf.c (__ctanhf): Likewise.
35883 * math/s_ctanhl.c (__ctanhl): Likewise.
35884 * math/s_ctanl.c (__ctanl): Likewise.
35885 * math/libm-test.inc (ctan_test_tonearest): New function.
35886 (ctan_test_towardzero): Likewise.
35887 (ctan_test_downward): Likewise.
35888 (ctan_test_upward): Likewise.
35889 (ctanh_test_tonearest): Likewise.
35890 (ctanh_test_towardzero): Likewise.
35891 (ctanh_test_downward): Likewise.
35892 (ctanh_test_upward): Likewise.
35893 (main): Call these new functions.
35894 * sysdeps/i386/fpu/libm-test-ulps: Update.
35895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35896
ca48a46a
MF
358972012-07-03 Mike Frysinger <vapier@gentoo.org>
35898
35899 * .gitignore: Delete /ports entry.
35900
9d63d37d
AJ
359012012-07-03 Andreas Jaeger <aj@suse.de>
35902
35903 * po/bg.po: Update from translation team.
35904 * po/cs.po: Likewise.
35905 * po/de.po: Likewise.
35906 * po/hr.po: Likewise.
35907 * po/nl.pl: Likewise.
35908 * po/pl.po: Likewise.
35909 * po/vi.po: Likewise.
35910
370ca3d2
JM
359112012-07-03 Joseph Myers <joseph@codesourcery.com>
35912
95f5a9a8
JM
35913 * Makeconfig [!+link] (+link-before-libc): New variable.
35914 [!+link] (+link-after-libc): Likewise.
35915 [!+link] (+link-tests): Likewise.
35916 [!+link] (+link): Define in terms of $(+link-before-libc) and
35917 $(+link-after-libc).
35918 [!+link-static] (+link-static-before-libc): New variable.
35919 [!+link-static] (+link-static-after-libc): Likewise.
35920 [!+link-static] (+link-static-tests): Likewise.
35921 [!+link-static] (+link-static): Define in terms of
35922 $(+link-static-before-libc) and $(+link-static-after-libc).
35923 [build-shared] (link-libc-before-gnulib): New variable.
35924 [build-shared] (link-libc-tests): Likewise.
35925 [build-shared] (link-libc): Define in terms of
35926 $(link-libc-before-gnulib).
35927 [!build-shared] (link-libc-tests): New variable.
35928 (link-libc-static-tests): New variable.
35929 [!gnulib] (gnulib-arch): New variable.
35930 [!gnulib] (gnulib-tests): Likewise.
35931 [!gnulib] (static-gnulib-arch): Likewise.
35932 [!gnulib] (static-gnulib-tests): Likewise.
35933 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35934 Define with "=" instead of ":=".
35935 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35936 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35937 * Rules (binaries-all-notests): New variable.
35938 (binaries-all-tests): Likewise.
35939 (binaries-static-notests): Likewise.
35940 (binaries-static-tests): Likewise.
35941 (binaries-all): Define using $(binaries-all-notests) and
35942 $(binaries-all-tests).
35943 (binaries-static): Define using $(binaries-static-notests) and
35944 $(binaries-static-tests).
35945 (binaries-shared-tests): New variable.
35946 (binaries-shared-notests): Likewise.
35947 (binaries-shared): Remove variable.
35948 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35949 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35950 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35951 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35952 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35953 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35954 * elf/Makefile (sln-modules): New variable.
35955 (extra-objs): Add $(sln-modules:=.o).
35956 (ldconfig-modules): Add static-stubs.
35957 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35958 * elf/static-stubs.c: New file.
35959
7a845b2c
JM
35960 [BZ #14283]
35961 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35962 by 7 not 8 to examine high bit of fractional part. Use volatile
35963 variables when splitting into final array of floats if
35964 __FLT_EVAL_METHOD__ != 0.
35965 * math/libm-test.inc (cos_test): Add another test.
35966 (sin_test): Likewise.
35967 * sysdeps/i386/fpu/libm-test-ulps: Update.
35968
e2283f38
JM
35969 [BZ #14273]
35970 * math/libm-test.inc (cosh_test): Add more tests.
35971
370ca3d2
JM
35972 * version.h (RELEASE): Set to "development".
35973 (VERSION): Set to "2.16.90".
35974
ee9247c3
CD
359752012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35976
35977 * NEWS: Update copyright. Remove last-updated date.
35978 Mention math library bug fixes and timezone data changes.
35979 * README: Mention GNU/Hurd, x32, and HPPA support status.
35980
4648c381
TS
359812012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35982
35983 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35984
aac78a43
AJ
359852012-06-27 Andreas Jaeger <aj@suse.de>
35986
35987 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35988
ed3dbfad
AJ
359892012-06-25 Andreas Jaeger <aj@suse.de>
35990
35991 * sysdeps/s390/fpu/libm-test-ulps: Update.
35992
4d0ee855
AS
359932012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35994 Thomas Schwinge <thomas@codesourcery.com>
35995
35996 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35997 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35999 fanotify_mark.
36000
af1bce34
TS
360012012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36002
a9fa33ba
TS
36003 * sysdeps/mach/start.c: Remove file.
36004 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36005 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36006 * sysdeps/sh/init-first.c: Likewise.
36007
58f902b8
TS
36008 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36009 registers for frame unwinding purposes, add CFI directives.
36010 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36012 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36013 Likewise.
36014
1518f58b
TS
36015 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36016 __fortify_fail returning.
36017 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36018
db9b5059
TS
36019 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36020 sysdeps/sh/____longjmp_chk.S.
36021 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36022 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36023 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36024 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36025
967705fe
TS
36026 * sysdeps/sh/abort-instr.h: New file.
36027 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36028 process in case exit returns.
36029
a9def8c4
TS
36030 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36031 initialize the GOT register before use.
36032
2a649725
TS
36033 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36034 calculation of ARGC > 4.
36035
af1bce34
TS
36036 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36037 meaningful names to some local labels.
36038
d230f50a
KK
360392012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36040 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36041
36042 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36043 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36044 (__arch_compare_and_exchange_val_16_acq): Likewise.
36045 (__arch_compare_and_exchange_val_32_acq): Likewise.
36046 (atomic_exchange_and_add): Fix gUSA sequence.
36047 (atomic_add): Likewise.
36048 (atomic_add_negative): Likewise.
36049 (atomic_add_zero): Likewise.
36050 (atomic_bit_test_set): Likewise.
36051
0479b305
AS
360522012-06-22 Andreas Schwab <schwab@redhat.com>
36053
36054 [BZ #13579]
36055 * include/link.h (struct link_map): Add l_free_initfini.
36056 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36057 l_initfini.
36058 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36059 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36060 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36061 set.
36062
0e3933b9
CD
360632012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36064
36065 * configure.in: Use AC_LANG_SOURCE.
36066 * configure: Regenerate.
36067
4248b1b1
RM
360682012-06-22 Roland McGrath <roland@hack.frob.com>
36069
36070 * configure.in (libc_cv_localstatedir): New substituted variable.
36071 * configure: Regenerated.
36072 * config.make.in (localstatedir): New variable, substituted from
36073 libc_cv_localstatedir.
36074 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36075 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36076 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36077 * sysdeps/gnu/configure: Regenerated.
36078
006dd861
JL
360792012-06-21 Jeff Law <law@redhat.com>
36080
36081 [BZ #14277]
36082 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36083 free. Simplify list management for _LIBC case.
36084
79662d42
JM
360852012-06-21 Joseph Myers <joseph@codesourcery.com>
36086
b7abb4bf
JM
36087 [BZ #14273]
36088 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36089 Clear sign bit of 64-bit integer value before comparing against
36090 overflow value.
36091
79662d42
JM
36092 * sysdeps/mach/configure: Regenerated.
36093
1f150908
L
360942012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36095
36096 [BZ #14278]
36097 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36098
28363bbf
JL
360992012-06-21 Jeff Law <law@redhat.com>
36100
36101 [BZ #13882]
36102 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36103 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36105 * elf/dl-open.c (dl_open_worker): Likewise.
36106
09615db4
CD
361072012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36108
36109 * scripts/list-sources.sh: Scan PORTS for translations.
36110 * po/libc.pot: Regenerated.
36111
2174c6dd
AJ
361122012-06-21 Andreas Jaeger <aj@suse.de>
36113
36114 [BZ #12194]
36115 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36116 warning.
36117 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36118 * bits/byteswap-16.h (__bswap_16): Likewise.
36119 * bits/byteswap.h (__bswap_constant_16): Likewise.
36120
3ee947b1
L
361212012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36122
36123 [BZ #14117]
a2f34833
L
36124 * sysdeps/i386/fpu_control.h: Removed.
36125 * sysdeps/x86_64/fpu_control.h: Moved to ...
36126 * sysdeps/x86/fpu_control.h: Here.
36127
3ee947b1
L
36128 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36129 (_FPU_SETCW): Likewise.
36130
ed1825f8
L
361312012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36132
25f1282a
L
36133 [BZ #14117]
36134 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36135 * sysdeps/x86/fpu/bits/mathinline.h: This.
36136 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36137
ed1825f8
L
36138 [BZ #14050]
36139 [BZ #14117]
36140 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36141 functions if __x86_64__ is defined.
36142
36d54b74
CLT
361432012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36144
36145 * string/endian.h: Add !__ASSEMBLER__ condition for including
36146 conversion interfaces.
36147
10285c21
JM
361482012-06-15 Joseph Myers <joseph@codesourcery.com>
36149
36150 [BZ #14241]
36151 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36152 of ABS(x) in calculating zero to negative powers other than odd
36153 integers.
36154 * math/libm-test.inc (pow_test): Add more tests.
36155
06c5abbd
AJ
361562012-06-15 Andreas Jaeger <aj@suse.de>
36157
36158 * manual/contrib.texi (Contributors): Update entry of Liubov
36159 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36160 Machado Filho.
36161
a3aeac40
CH
361622012-06-15 Cyril Hrubis <metan@ucw.cz>
36163
36164 * string/string.h: Add __wur to GNU version of strerror_r.
36165
49bdf4c1
L
361662012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36167
36168 [BZ #14229]
36169 * string/Makefile (tests): Add tst-strtok_r.
36170 * string/tst-strtok_r.c: New file.
36171 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36172 RAX_LP/RDX_LP on SAVE_PTR.
36173
834f9b8d
RM
361742012-06-14 Roland McGrath <roland@hack.frob.com>
36175
36176 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36177
75fa1921
JM
361782012-06-14 Joseph Myers <joseph@codesourcery.com>
36179
36180 * libm_test.inc (csqrt_test): Allow more spurious underflow
36181 exceptions.
36182 (j0_test): Likewise.
36183 (j1_test): Likewise.
36184 (y0_test): Likewise.
36185 (y1_test): Likewise.
36186
771766df
CD
361872012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36188
36189 * po/Makefile (libc.pot): Use UTF-8 charset.
36190
ceb9e56b
PP
361912012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36192
36193 [BZ #14210]
36194 Suppress sign-conversion warning from FD_SET.
36195 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36196 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36197 not unsigned long int.
36198 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36199
ddb28975
L
362002012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36201
36202 [BZ #14050]
36203 [BZ #14117]
36204 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36205 __extern_always_inline instead of __extern_inline.
36206 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36207 (__signbit): Likewise.
36208 (__signbitl): Support C++ namespace.
36209 (lrintf): New inline function.
36210 (lrint): Likewise.
36211 (llrintf): Likewise.
36212 (llrint): Likewise.
36213 (fmaxf): Likewise.
36214 (fmax): Likewise.
36215 (fminf): Likewise.
36216 (fmin): Likewise.
36217 (rint): Likewise.
36218 (rintf): Likewise.
36219 (ceil): Likewise.
36220 (ceilf): Likewise.
36221 (floor): Likewise.
36222 (floorf): Likewise.
36223 (nearbyint): Likewise.
36224 (nearbyintf): Likewise.
36225
d7b4fb26
TS
362262012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36227
36228 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36229 non-default versions.
36230
eb55f5c2
RM
362312012-06-11 Roland McGrath <roland@hack.frob.com>
36232
36233 [BZ #14218]
36234 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36235
366af02c
TS
362362012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36237
99ff6e5c
TS
36238 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36239 (FE_UPWARD, FE_DOWNWARD): Don't define.
36240 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36241 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36242
366af02c
TS
36243 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36244 reading it.
36245 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36246 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36247
793ea851
KK
362482012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36249
36250 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36251 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36252 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36253 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36254
a728a38f
L
362552012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36256
36257 [BZ #14117]
c08010c7
L
36258 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36259 * sysdeps/i386/fpu/Implies: New file.
36260 * sysdeps/x86_64/fpu/Implies: Likewise.
36261 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36262 * sysdeps/x86/fpu/bits/fenv.h: This.
36263
a728a38f
L
36264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36265 __SSE_MATH__.
36266
6e230d11
SP
362672012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36268
36269 [BZ #14134]
36270 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36271 character 0xffff that matches the last element of the
36272 conversion table.
36273
1b671feb
AZ
362742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36275
36276 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36277 fmodl commit.
36278
6043738b
AZ
362792012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36280
36281 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36282 values higher than 25.6283.
36283
34ae0b32
AZ
362842012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36285
36286 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36287 subnormal exponent extraction and add some __builtin_expect.
36288 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36289 Fix for subnormal mantissa calculation.
36290
1214ec8f
MF
362912012-06-04 Mike Frysinger <vapier@gentoo.org>
36292
36293 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36294 cpu2 is -1 and errno is not ENOSYS.
36295
f3d1f93c
L
362962012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36297
36298 [BZ #14117]
0e4a3cd7
L
36299 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36300 * sysdeps/x86/bits/string.h: This.
36301 * sysdeps/x86_64/bits/string.h: Removed.
36302
6704c645
L
36303 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36304 if not compiling for x86-64, but compiling for >= i486.
36305
48495318
L
36306 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36307 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36308
14adcbfc
L
36309 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36310 New macro from Linux kernel 3.4.0.
36311 (FP_XSTATE_MAGIC2): Likewise.
36312 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36313 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36314 (struct _fpx_sw_bytes): New struct.
36315 (struct _xsave_hdr): Likewise.
36316 (struct _ymmh_state): Likewise.
36317 (struct _xstate): Likewise.
36318
68e408ab
L
36319 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36320 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36321 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36322 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36323 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36324 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36325
f3d1f93c
L
36326 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36327 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36328 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36329 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36330 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36331 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36332
d9dc34cd
TMQMF
363332012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36334
36335 [BZ #13743]
36336 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36337 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36338 (sysdep_headers): Include sys/platform/ppc.h.
36339 * sysdeps/powerpc/test-gettimebase.c: Test for
36340 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36341 * manual/Makefile (appendices): Include platform.texi.
36342 * manual/contrib.texi (Contributors): Update @node pointers.
36343 * manual/maint.texi (Maintenance): Likewise.
36344 (Platform): New node.
36345 * manual/platform.texi: New file. Document the new features.
36346
4af3879c
SP
363472012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36348 Jakub Jelinek <jakub@redhat.com>
36349
36350 [BZ #14188]
36351 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36352 where __builtin_expect is unavailable.
36353
2fd6ff13
DM
363542012-06-03 David S. Miller <davem@davemloft.net>
36355
36356 * stdlib/longlong.h: Updated from GCC.
36357
173f7220
AS
363582012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36359
36360 [BZ #14042]
36361 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36362 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36363 __mcount_internal.
36364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36365 (GLIBC_2.16): Likewise.
36366
f34a1c6f
L
363672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36368
36369 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36370
88a4576f
JM
363712012-06-01 Joseph Myers <joseph@codesourcery.com>
36372
ea32bcdd
JM
36373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36374 (default-abi): New variable.
36375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36376 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36377 variable.
36378 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36379 Likewise.
36380 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36381 Likewise.
36382 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36383 Likewise.
36384
88a4576f
JM
36385 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36386 definition. Document in comment.
36387
402fe938
DM
363882012-06-01 David S. Miller <davem@davemloft.net>
36389
36390 * stdlib/longlong.h: Updated from GCC.
36391
3553723f
L
363922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36393
36394 [BZ #14117]
3bd872c4
L
36395 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36396 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36397 sys/debugreg.h sys/io.h here.
36398 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36399 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36400 sys/io.h.
36401 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36402 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36403 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36404 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36405 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36406 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36407
3553723f
L
36408 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36409 Define only if __x86_64__ is defined.
36410
4842e4fe
JM
364112012-06-01 Joseph Myers <joseph@codesourcery.com>
36412
c5bfe3d5
JM
36413 [BZ #14048]
36414 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36415 Use int64_t for variable i.
36416 * math/libm-test.inc (fmod_test): Add more tests.
36417
4842e4fe
JM
36418 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36419 z computation is not scheduled after fetestexcept.
36420 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36421 Use math_force_eval instead of asm to ensure calculation scheduled
36422 before exception test.
36423 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36424 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36425
efb73488
AJ
364262012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36427
36428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36429 computation is not scheduled after fetestexcept.
36430
29bcce7c
L
364312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36432
36433 [BZ #14117]
36434 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36435 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36436
73a68f94
AZ
364372012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36438
36439 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36440 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36441
67b6df78
L
364422012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36443
edf2933a 36444 [BZ #14117]
ebc64a18
L
36445 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36446 <bits/wordsize.h>.
36447 (__WCHAR_MIN): Support __WORDSIZE == 64.
36448 (__WCHAR_MAX): Likewise.
36449
edf2933a
L
36450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36451 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36452
57c6cf40
L
36453 [BZ #14183]
36454 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36455 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36456
67b6df78 36457 [BZ #14117]
8eb6281e
L
36458 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36459 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36460
aac639f4
L
36461 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36462 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36463
67b6df78
L
36464 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36465 Defined to 1 if __x86_64__ isn't defined.
36466 (_STAT_VER_LINUX_OLD): New.
36467 (st_atime): Remove duplicate.
36468 (st_mtime): Likewise.
36469 (st_ctime): Likewise.
36470
1c2cfe81
DM
364712012-05-31 David S. Miller <davem@davemloft.net>
36472
36473 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36474 entries.
36475
5be8418c
AS
364762012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36477
e7725326
AS
36478 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36479 gen-libm-test.pl.
36480
5be8418c
AS
36481 [BZ #14132]
36482 * elf/dl-reloc.c: Include <_itoa.h>.
36483 (_dl_reloc_bad_type): Remove use of INTUSE.
36484 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36485 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36486 * stdio-common/psiginfo.c (psiginfo): Likewise.
36487 * stdio-common/psignal.c (psignal): Likewise.
36488 * string/strsignal.c (strsignal): Likewise.
36489 * include/signal.h (_sys_siglist): Declare hidden proto.
36490 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36491 INTVARDEF with libc_hidden_data_def.
36492 * stdio-common/itoa-udigits.c: Likewise.
36493 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36494 (_itoa_lower_digits_internal): Remove declaration.
36495 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36496 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36497 (_sys_sigabbrev_internal): Remove aliases.
36498 (_sys_siglist): Define hidden alias.
36499
507352f1
MT
365002012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36501
36502 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36503 bits/sysctl.h.
36504
42bbb1c3
L
365052012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36506
36507 [BZ #14117]
6bd784b6
L
36508 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36509 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36510
8bca20f0
L
36511 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36512 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36513 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36514 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36515 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36516 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36517
f9e890a9
L
36518 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36519 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36520 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36521
471101a1
L
36522 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36523 with __addr.
36524 (insw): Likewise.
36525 (insl): Likewise.
36526 (outsb): Likewise.
36527 (outsw): Likewise.
36528 (outsl): Likewise.
36529
6451c862
L
36530 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36531 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36532 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36533
a254b8c9
L
36534 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36535 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36537 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36538 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36539 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36540
b8dfdd92
L
36541 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36542 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36543
578cd270
L
36544 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36545 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36546
de662f5f
L
36547 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36549 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36550
25653439
L
36551 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36552 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36553 to ...
36554 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36555
6bad24a0
L
36556 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36557 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36558 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36559
42bbb1c3
L
36560 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36561 for x86-64.
36562 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36563
2d10d547
JM
365642012-05-31 Joseph Myers <joseph@codesourcery.com>
36565
36566 * math/math.h (M_El): Use two more decimal places.
36567 (M_LOG2El): Likewise.
36568 (M_LOG10El): Likewise.
36569 (M_LN2l): Likewise.
36570 (M_LN10l): Likewise.
36571 (M_PIl): Likewise.
36572 (M_PI_2l): Likewise.
36573 (M_PI_4l): Likewise.
36574 (M_1_PIl): Likewise.
36575 (M_2_PIl): Likewise.
36576 (M_2_SQRTPIl): Likewise.
36577 (M_SQRT2l): Likewise.
36578 (M_SQRT1_2l): Likewise.
36579
f230c29b
DM
365802012-05-31 David S. Miller <davem@davemloft.net>
36581
36582 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36583 values between float registers.
36584 * sysdeps/sparc/sparc64/memset.S: Likewise.
36585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36586
fed806c3
MF
365872012-05-31 Mike Frysinger <vapier@gentoo.org>
36588
36589 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36590 -D_FORTIFY_SOURCE=1.
36591 (CPPFLAGS-tst-longjmp_chk.c): Define.
36592 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36593 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36594 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36595 CFLAGS-tst-wchar-h.c.
36596
30917259
MP
365972012-05-31 Marek Polacek <polacek@redhat.com>
36598
36599 [BZ #14132]
36600 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36601 __endmntent_internal): Remove declaration.
36602 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36603 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36604 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36605
1c58d5dc
DM
366062012-05-30 David S. Miller <davem@davemloft.net>
36607
36608 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36609 (___Q_simulate_exceptions): Use real FP ops rather than writing
36610 into the %fsr.
36611 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36612 Likewise.
36613
7dc00e0d
L
366142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36615
36616 [BZ #14117]
0bd53985
L
36617 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36618 * sysdeps/x86/bits/xtitypes.h: This.
36619
3a257e66
L
36620 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36621 * sysdeps/x86/bits/wordsize.h: This.
36622
62f62904
L
36623 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36624 * sysdeps/x86/bits/huge_vall.h: This.
36625
404fe9d9
L
36626 * sysdeps/i386/bits/select.h: Removed.
36627 * sysdeps/x86_64/bits/select.h: Renamed to ...
36628 * sysdeps/x86/bits/select.h: This.
36629
d48d0446
L
36630 * sysdeps/i386/bits/setjmp.h: Removed.
36631 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36632 * sysdeps/x86/bits/setjmp.h: This.
36633
7dc00e0d
L
36634 * sysdeps/i386/bits/mathdef.h: Removed.
36635 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36636 * sysdeps/x86/bits/mathdef.h: This.
36637
03277f8f
AS
366382012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36639
36640 [BZ #14132]
36641 * include/sys/socket.h (__connect_internal)
36642 (__libc_sa_len_internal): Remove declaration.
36643 (__connect, __libc_sa_len): Declare hidden_proto.
36644 (SA_LEN): Remove use of INTUSE.
36645 * socket/connect.c: Add libc_hidden_def.
36646 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36647 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36648 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36649 alias.
36650 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36651 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36652 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36653 of adding _internal alias.
36654
13764867
L
366552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36656
36657 [BZ #14117]
6bd97696
L
36658 * sysdeps/i386/bits/link.h: Removed.
36659 * sysdeps/i386/bits/linkmap.h: Likewise.
36660 * sysdeps/x86_64/bits/link.h: Renamed to ...
36661 * sysdeps/x86/bits/link.h: This.
36662 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36663 * sysdeps/x86/bits/linkmap.h: This.
36664
f726f0bb
L
36665 * sysdeps/i386/bits/endian.h: Removed.
36666 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36667 * sysdeps/x86/bits/endian.h: This.
36668
13764867
L
36669 * sysdeps/i386/bits/byteswap.h: Removed.
36670 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36671 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36672 * sysdeps/x86/bits/byteswap.h: This.
36673 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36674 * sysdeps/x86/bits/byteswap-16.h: This.
36675 * sysdeps/i386/Implies: Add x86.
36676 * sysdeps/x86_64/Implies: Likewise.
36677
ae251b0b
DM
366782012-05-30 David S. Miller <davem@davemloft.net>
36679
36680 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36681 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36682 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36683 (FP_TRAPPING_EXCEPTIONS): Define.
36684 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36685 (FP_TRAPPING_EXCEPTIONS): Define.
36686 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36687 subnormals only when inexact has been signalled or underflow
36688 exceptions are enabled.
36689 (_FP_PACK_CANONICAL): Likewise.
36690
d5c90867
L
366912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36692
36693 [BZ #14183]
36694 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36695 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36696
63f1549e
RH
366972012-05-30 Richard Henderson <rth@twiddle.net>
36698
8d8f2279
RH
36699 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36700 with #ifndef NOT_IN_libc.
36701
63f1549e
RH
36702 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36703 marked to avoid plt entry.
36704
0ab0291b
L
367052012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36706
36707 [BZ #14112]
36708 * Makeconfig (default-abi): New macro.
36709 (abi-includes): Likewise.
36710 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36711 $(abi-$(default-abi)-lib-soname) for soname if defined.
36712 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36713 abi-variants.
36714 * Makefile (installed-stubs): Likewise.
36715 * include/stubs-biarch.h: Removed.
36716 * scripts/lib-names.awk: Only handle one library at a time.
36717 * scripts/soversions.awk: Remove WORDSIZE support.
36718 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36719 entries.
36720 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36721 Removed.
36722 (syscall-list-default-condition): Likewise.
36723 (syscall-list-default-condition): Likewise.
36724 (syscall-list-includes): Likewise.
36725 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36726 syscall-list-* with abi-*. Handle undefined abi-variants.
36727 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36728 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36729 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36730 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36731 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36732 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36733 Removed.
36734 (syscall-list-32-options): Likewise.
36735 (syscall-list-32-condition): Likewise.
36736 (syscall-list-64-options): Likewise.
36737 (syscall-list-64-condition): Likewise.
36738 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36739 macro.
36740 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36741 Renamed to ...
36742 (abi-*): This.
36743 (abi-64-ld-soname): New macro.
36744 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36745 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36746 Renamed to ...
36747 (abi-*): This.
36748 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36749 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36750
4da0431d
JM
367512012-05-30 Joseph Myers <joseph@codesourcery.com>
36752
3a85279c
JM
36753 * sysdeps/unix/sysv/linux/kernel-features.h
36754 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36755 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36756 include <kernel-features.h>.
36757 [!__NR_ftruncate64]: Remove conditional code.
36758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36759 [__NR_ftruncate64]: Make code unconditional.
36760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36761 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36762 include <kernel-features.h>.
36763 [!__NR_ftruncate64]: Remove conditional code.
36764 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36765 [__NR_ftruncate64]: Make code unconditional.
36766 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36768 include <kernel-features.h>.
36769 [!__NR_ftruncate64]: Remove conditional code.
36770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36771 [__NR_ftruncate64]: Make code unconditional.
36772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36774 include <kernel-features.h>.
36775 [!__NR_ftruncate64]: Remove conditional code.
36776 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36777 [__NR_ftruncate64]: Make code unconditional.
36778 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36779
4da0431d
JM
36780 * configure.in (libc_cv_fpie): Weaken to a compile test using
36781 LIBC_TRY_CC_OPTION.
36782 * configure: Regenerated.
36783
11ef492c
AK
367842012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36785
36786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36790 Refreshed.
36791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36794 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36797 Refreshed.
36798
d66ef399
DM
367992012-05-27 David S. Miller <davem@davemloft.net>
36800
36801 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36802 (___Q_zero): New.
36803 (__Q_simulate_exceptions): Return void. Change to simulate
36804 exceptions by writing into the %fsr.
36805 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36806 (__Qp_handle_exceptions): Likewise.
36807 (numbers): Delete.
36808 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36809 __Qp_handle_exceptions.
36810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36811 __Qp_handle_exceptions.
36812 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36813 as unused and give dummy FP_RND_NEAREST initializer.
36814 (FP_INHIBIT_RESULTS): Define.
36815 (___Q_simulate_exceptions): Update declaration.
36816 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36817 formatting.
36818 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36819 as unused and give dummy FP_RND_NEAREST initializer.
36820 (__Qp_handle_exceptions): Update declaration.
36821 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36822 formatting.
36823
04fb54b5
TS
368242012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36825
36826 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36827 the temporary FPU control word.
36828 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36829 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36830 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36831 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36832 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36833 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36834 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36835 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36836 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36837 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36838 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36839
3f99608f
KK
368402012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36841
36842 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36843 fields.
36844
65a4de4e
CLT
368452012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36846
36847 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36848 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36849 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36850 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36851 Likewise.
36852 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36853 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36854 Likewise.
36855
15749d40
UD
368562012-05-27 Ulrich Drepper <drepper@gmail.com>
36857
36858 * po/h.po: Update from translation team.
36859
25dbcb27
AS
368602012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36861
3d3f8e55
AS
36862 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36863
25dbcb27
AS
36864 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36865 handling of denormals.
36866 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36867 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36868 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36869 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36870 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36871 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36873 Likewise.
36874
7ad47a80 368752012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36876
36877 [BZ #14152]
36878 * math/libm-test.inc (fma_test): Don't always expect underflow
36879 exception.
36880
9c6ea9fa
SP
368812012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36882
36883 [BZ #12416]
36884 * elf/tst-execstack.c: Include stackinfo.h.
36885 (do_test): Adjust test case to ensure that pthread_getattr_np
36886 behaviour remains the same after marking stack executable.
36887
a8239222
JM
368882012-05-25 Joseph Myers <joseph@codesourcery.com>
36889
36890 * sysdeps/unix/sysv/linux/kernel-features.h
36891 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36892 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36893 kernel-features.h.
36894 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36895 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36896 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36897 kernel-features.h.
36898 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36899 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36900
918b5606
L
369012012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36902
36903 * configure.in: Define the default includes to being none.
36904 * configure: Regenerated.
36905
3a097cc7
RM
369062012-05-25 Roland McGrath <roland@hack.frob.com>
36907
8422c9a5
RM
36908 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36909 * sysdeps/x86_64/setjmp.S: Likewise.
36910 * sysdeps/i386/bsd-setjmp.S: Likewise.
36911 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36912 * sysdeps/i386/setjmp.S: Likewise.
36913 * sysdeps/i386/__longjmp.S: Likewise.
36914 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36915 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36916
3a097cc7
RM
36917 * include/stap-probe.h: New file.
36918 * configure.in: Handle --enable-systemtap.
36919 * configure: Regenerated.
36920 * config.h.in (USE_STAP_PROBE): New #undef.
36921 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36922 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36923 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36924
21708942
JM
369252012-05-25 Joseph Myers <joseph@codesourcery.com>
36926
36927 [BZ #13717]
36928 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36929 to 2.4.0 where earlier.
36930 * sysdeps/unix/sysv/linux/configure: Regenerated.
36931 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36932 <kernel-features.h>.
36933 [__ASSUME_32BITUIDS]: Make code unconditional.
36934 [!__ASSUME_32BITUIDS]: Remove conditional code.
36935 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36936 <kernel-features.h>.
36937 [__ASSUME_32BITUIDS]: Make code unconditional.
36938 [!__ASSUME_32BITUIDS]: Remove conditional code.
36939 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36940 [__ASSUME_32BITUIDS]: Make code unconditional.
36941 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36942 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36943 <kernel-features.h>.
36944 [__ASSUME_32BITUIDS]: Make code unconditional.
36945 [!__ASSUME_32BITUIDS]: Remove conditional code.
36946 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36947 <kernel-features.h>.
36948 [__ASSUME_32BITUIDS]: Make code unconditional.
36949 [!__ASSUME_32BITUIDS]: Remove conditional code.
36950 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36951 <kernel-features.h>.
36952 [__ASSUME_32BITUIDS]: Make code unconditional.
36953 [!__ASSUME_32BITUIDS]: Remove conditional code.
36954 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36955 <kernel-features.h>.
36956 [__ASSUME_32BITUIDS]: Make code unconditional.
36957 [!__ASSUME_32BITUIDS]: Remove conditional code.
36958 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36959 <kernel-features.h>.
36960 [__ASSUME_32BITUIDS]: Make code unconditional.
36961 [!__ASSUME_32BITUIDS]: Remove conditional code.
36962 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36963 <kernel-features.h>.
36964 [__ASSUME_32BITUIDS]: Make code unconditional.
36965 [!__ASSUME_32BITUIDS]: Remove conditional code.
36966 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36967 <kernel-features.h>.
36968 [__ASSUME_32BITUIDS]: Make code unconditional.
36969 [!__ASSUME_32BITUIDS]: Remove conditional code.
36970 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36971 <kernel-features.h>.
36972 [__ASSUME_32BITUIDS]: Make code unconditional.
36973 [!__ASSUME_32BITUIDS]: Remove conditional code.
36974 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36975 <kernel-features.h>.
36976 [__ASSUME_32BITUIDS]: Make code unconditional.
36977 [!__ASSUME_32BITUIDS]: Remove conditional code.
36978 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36979 <kernel-features.h>.
36980 [__ASSUME_32BITUIDS]: Make code unconditional.
36981 [!__ASSUME_32BITUIDS]: Remove conditional code.
36982 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36983 <kernel-features.h>.
36984 [__NR_setresgid] (__setresgid): Do not declare.
36985 [__ASSUME_32BITUIDS]: Make code unconditional.
36986 [!__ASSUME_32BITUIDS]: Remove conditional code.
36987 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36988 <kernel-features.h>.
36989 [__NR_setresuid] (__setresuid): Do not declare.
36990 [__ASSUME_32BITUIDS]: Make code unconditional.
36991 [!__ASSUME_32BITUIDS]: Remove conditional code.
36992 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.c: Do not include
37017 <kernel-features.h>.
37018 [__ASSUME_32BITUIDS]: Make code unconditional.
37019 [!__ASSUME_32BITUIDS]: Remove conditional code.
37020 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37021 <kernel-features.h>.
37022 [__ASSUME_32BITUIDS]: Make code unconditional.
37023 [!__ASSUME_32BITUIDS]: Remove conditional code.
37024 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37025 <kernel-features.h>.
37026 [__ASSUME_32BITUIDS]: Make code unconditional.
37027 [!__ASSUME_32BITUIDS]: Remove conditional code.
37028 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37029 <kernel-features.h>.
37030 [__ASSUME_32BITUIDS]: Make code unconditional.
37031 [!__ASSUME_32BITUIDS]: Remove conditional code.
37032 * sysdeps/unix/sysv/linux/kernel-features.h
37033 (__ASSUME_SETRESUID_SYSCALL): Remove.
37034 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37035 (__ASSUME_32BITUIDS): Likewise.
37036 (__ASSUME_LDT_WORKS): Likewise.
37037 (__ASSUME_O_DIRECTORY): Likewise.
37038 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37039 architecture but not kernel version.
37040 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37041 (__ASSUME_MMAP2_SYSCALL): Likewise.
37042 (__ASSUME_STAT64_SYSCALL): Likewise.
37043 (__ASSUME_IPC64): Likewise.
37044 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37045 <kernel-features.h>.
37046 [__ASSUME_32BITUIDS]: Make code unconditional.
37047 [!__ASSUME_32BITUIDS]: Remove conditional code.
37048 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37049 <kernel-features.h>.
37050 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37051 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37052 132096]: Remove conditional code.
37053 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37054 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
37063 <kernel-features.h>.
37064 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37065 unconditional.
37066 (__setresgid): Do not declare.
37067 [__ASSUME_32BITUIDS]: Make code unconditional.
37068 [!__ASSUME_32BITUIDS]: Remove conditional code.
37069 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37070 <kernel-features.h>.
37071 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37072 unconditional.
37073 (__setresuid): Do not declare.
37074 [__ASSUME_32BITUIDS]: Make code unconditional.
37075 [!__ASSUME_32BITUIDS]: Remove conditional code.
37076 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37077 <kernel-features.h>.
37078 [__ASSUME_32BITUIDS]: Make code unconditional.
37079 [!__ASSUME_32BITUIDS]: Remove conditional code.
37080 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37081 <kernel-features.h>.
37082 [__ASSUME_32BITUIDS]: Make code unconditional.
37083 [!__ASSUME_32BITUIDS]: Remove conditional code.
37084
a386f1cc
RH
370852012-05-25 Richard Henderson <rth@twiddle.net>
37086
37087 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37088 dl_hwcap to ifunc resolver.
37089 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37090 elf_ifunc_invoke.
37091 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37092 dl_hwcap to ifunc resolver.
37093 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37094
b6550497
JM
370952012-05-24 Joseph Myers <joseph@codesourcery.com>
37096
37097 [BZ #14153]
37098 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37099 for |x| <= 2**-26, not 2**-57.
37100 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37101 exception.
37102
b0bc23a1
JL
371032012-05-24 Jeff Law <law@redhat.com>
37104
37105 * stdio-common/Makefile (tests): Add bug25.
37106 * stdio-common/bug25.c: New test.
37107
347c92e9
L
371082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37109
37110 [BZ #13576]
37111 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37112 multiple of MALLOC_ALIGNMENT in size.
37113 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37114
6bcc8b3f
JM
371152012-05-24 Joseph Myers <joseph@codesourcery.com>
37116
37117 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37118 Require >= 256.
37119 (FILENAME_MAX): Use macro-int-constant.
37120 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37121 (_IOFBF): Use macro-int-constant.
37122 (_IOLBF): Likewise.
37123 (_IONBF): Likewise.
37124 (SEEK_CUR): Likewise.
37125 (SEEK_END): Likewise.
37126 (SEEK_SET): Likewise.
37127 (TMP_MAX): Likewise.
37128 (EOF): Use macro-int-constant. Require < 0.
37129 (NULL): Use macro-constant. Require == 0.
37130 (stdin): Require type to be FILE *.
37131 (stdout): Likewise.
37132 (stderr): Likewise.
37133 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37134 macro-int-constant.
37135 (EXIT_SUCCESS): Likewise.
37136 (NULL): Use macro-constant. Require == 0.
37137 (RAND_MAX): Use macro-int-constant.
37138 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37139 [C99-based standards] (strtof): Require function.
37140 [C99-based standards] (strtold): Likewise.
37141 [C99-based standards] (strtoll): Likewise.
37142 [C99-based standards] (strtoull): Likewise.
37143 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37144 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37145 [ISO || ISO99 || ISO11] (math.h): Likewise.
37146 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37147 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37149
d18ea0c5
AS
371502012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37151
37152 [BZ #14132]
56d25bb8
AS
37153 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37154 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37155 * intl/dgettext.c (DCGETTEXT): Likewise.
37156 * intl/gettext.c (DCGETTEXT): Likewise.
37157 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37158 * posix/regex_internal.h (gettext): Likewise.
37159 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37160 Remove declaration.
37161 * include/argz.h (__argz_count_internal)
37162 (__argz_stringify_internal): Remove declaration.
37163 (__argz_count, __argz_stringify): Declare hidden proto.
37164 * intl/dcgettext.c: Remove use of INTDEF.
37165 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37166 * string/argz-stringify.c: Likewise.
37167 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37168 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37169 Declare hidden proto.
d18ea0c5
AS
37170 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37171 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37172 Declare hidden proto.
37173 * include/stdio.h (__asprintf_internal): Don't declare.
37174 (__asprintf): Don't define as macro. Declare hidden proto.
37175 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37176 (__fsetlocking): Declare hidden proto.
37177 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37178 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37179 hidden proto.
37180 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37181 (_IO_setlinebuf): Remove use of INTUSE.
37182 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37183 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37184 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37185 Remove declaration.
37186 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37187 (_IO_do_flush): Remove use of INTUSE.
37188 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37189 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37190 (_IO_adjust_column, _IO_least_wmarker)
37191 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37192 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37193 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37194 (_IO_default_doallocate, _IO_wdefault_doallocate)
37195 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37196 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37197 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37198 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37199 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37200 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37201 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37202 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37203 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37204 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37205 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37206 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37207 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37208 proto.
37209 (_IO_flush_all_internal, _IO_adjust_column_internal)
37210 (_IO_default_uflow_internal, _IO_default_finish_internal)
37211 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37212 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37213 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37214 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37215 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37216 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37217 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37218 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37219 (_IO_file_close_internal, _IO_file_close_it_internal)
37220 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37221 (_IO_file_init_internal, _IO_file_attach_internal)
37222 (_IO_file_fopen_internal, _IO_file_read_internal)
37223 (_IO_file_sync_internal, _IO_file_seek_internal)
37224 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37225 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37226 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37227 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37228 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37229 (_IO_list_all_internal, _IO_link_in_internal)
37230 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37231 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37232 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37233 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37234 (_IO_do_write_internal, _IO_padn_internal)
37235 (_IO_getline_info_internal, _IO_getline_internal)
37236 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37237 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37238 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37239 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37240 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37241 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37242 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37243 with libc_hidden_ver, remove use of INTUSE.
37244 * libio/genops.c: Likewise.
37245 * libio/freopen.c: Likewise.
37246 * libio/freopen64.c: Likewise.
37247 * libio/iofclose.c: Likewise.
37248 * libio/iofdopen.c: Likewise.
37249 * libio/iofflush.c: Likewise.
37250 * libio/iofflush_u.c: Likewise.
37251 * libio/iofgets.c: Likewise.
37252 * libio/iofgets_u.c: Likewise.
37253 * libio/iofopen.c: Likewise.
37254 * libio/iofopncook.c: Likewise.
37255 * libio/iofread.c: Likewise.
37256 * libio/iofread_u.c: Likewise.
37257 * libio/ioftell.c: Likewise.
37258 * libio/iofwrite.c: Likewise.
37259 * libio/iogetline.c: Likewise.
37260 * libio/iogets.c: Likewise.
37261 * libio/iogetwline.c: Likewise.
37262 * libio/iopadn.c: Likewise.
37263 * libio/iopopen.c: Likewise.
37264 * libio/ioseekoff.c: Likewise.
37265 * libio/ioseekpos.c: Likewise.
37266 * libio/iosetbuffer.c: Likewise.
37267 * libio/iosetvbuf.c: Likewise.
37268 * libio/ioungetc.c: Likewise.
37269 * libio/ioungetwc.c: Likewise.
37270 * libio/iovdprintf.c: Likewise.
37271 * libio/iovsprintf.c: Likewise.
37272 * libio/iovsscanf.c: Likewise.
37273 * libio/memstream.c: Likewise.
37274 * libio/obprintf.c: Likewise.
37275 * libio/oldfileops.c: Likewise.
37276 * libio/oldiofclose.c: Likewise.
37277 * libio/oldiofdopen.c: Likewise.
37278 * libio/oldiofopen.c: Likewise.
37279 * libio/oldiopopen.c: Likewise.
37280 * libio/oldstdfiles.c: Likewise.
37281 * libio/putc.c: Likewise.
37282 * libio/setbuf.c: Likewise.
37283 * libio/setlinebuf.c: Likewise.
37284 * libio/stdfiles.c: Likewise.
37285 * libio/strops.c: Likewise.
37286 * libio/vasprintf.c: Likewise.
37287 * libio/vscanf.c: Likewise.
37288 * libio/vsnprintf.c: Likewise.
37289 * libio/vswprintf.c: Likewise.
37290 * libio/wfiledoalloc.c: Likewise.
37291 * libio/wfileops.c: Likewise.
37292 * libio/wgenops.c: Likewise.
37293 * libio/wmemstream.c: Likewise.
37294 * libio/wstrops.c: Likewise.
37295 * libio/__fpurge.c: Likewise.
37296 * libio/__fsetlocking.c: Likewise.
37297 * assert/assert.c: Likewise.
37298 * debug/fgets_chk.c: Likewise.
37299 * debug/fgets_u_chk.c: Likewise.
37300 * debug/fread_chk.c: Likewise.
37301 * debug/fread_u_chk.c: Likewise.
37302 * debug/gets_chk.c: Likewise.
37303 * debug/obprintf_chk.c: Likewise.
37304 * debug/vasprintf_chk.c: Likewise.
37305 * debug/vdprintf_chk.c: Likewise.
37306 * debug/vsnprintf_chk.c: Likewise.
37307 * debug/vsprintf_chk.c: Likewise.
37308 * malloc/mtrace.c: Likewise.
37309 * misc/error.c: Likewise.
37310 * misc/syslog.c: Likewise.
37311 * stdio-common/asprintf.c: Likewise.
37312 * stdio-common/fxprintf.c: Likewise.
37313 * stdio-common/getw.c: Likewise.
37314 * stdio-common/isoc99_fscanf.c: Likewise.
37315 * stdio-common/isoc99_scanf.c: Likewise.
37316 * stdio-common/isoc99_vfscanf.c: Likewise.
37317 * stdio-common/isoc99_vscanf.c: Likewise.
37318 * stdio-common/isoc99_vsscanf.c: Likewise.
37319 * stdio-common/printf-prs.c: Likewise.
37320 * stdio-common/printf_fp.c: Likewise.
37321 * stdio-common/printf_fphex.c: Likewise.
37322 * stdio-common/printf_size.c: Likewise.
37323 * stdio-common/putw.c: Likewise.
37324 * stdio-common/scanf.c: Likewise.
37325 * stdio-common/sprintf.c: Likewise.
37326 * stdio-common/tmpfile.c: Likewise.
37327 * stdio-common/vfprintf.c: Likewise.
37328 * stdio-common/vfscanf.c: Likewise.
37329 * stdlib/strfmon_l.c: Likewise.
37330 * sunrpc/openchild.c: Likewise.
37331 * sunrpc/xdr_stdio.c: Likewise.
37332 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37333 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37334
d6c33fda
RM
373352012-05-24 Roland McGrath <roland@hack.frob.com>
37336
c1487492
RM
37337 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37338
37339 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37340 in the third column, to generate for the shared library an IFUNC
37341 that uses _dl_vdso_vsym.
37342 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37343 * Makeconfig (object-suffixes-noshared): New variable.
37344
37345 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37346 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37347 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37348 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37349
d6c33fda
RM
37350 [BZ #14132]
37351 * include/sys/time.h (__gettimeofday): Remove macro.
37352 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37353 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37354 Remove INTDEF.
37355 (__gettimeofday): Add libc_hidden_def.
37356 (gettimeofday): Add libc_hidden_weak.
37357 * sysdeps/mach/gettimeofday.c: Likewise.
37358 * sysdeps/posix/gettimeofday.c: Likewise.
37359 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37360 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37361 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37362 (__gettimeofday_internal): Remove strong_alias.
37363 (__gettimeofday): Add libc_hidden_def.
37364 (gettimeofday): Add libc_hidden_weak.
37365 * sysdeps/unix/syscalls.list (gettimeofday):
37366 Remove __gettimeofday_internal alias.
37367
b5a2bbe6
L
373682012-05-24 Daniel Jacobowitz <drow@false.org>
37369 H.J. Lu <hongjiu.lu@intel.com>
37370
37371 [BZ #12495]
37372 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37373 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37374 (largebin_index_32_big): New.
37375 (largebin_index): Use it for 16-byte alignment.
37376 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37377 correction with front_misalign.
37378
cfba4fda
L
373792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37380
7f907421
L
37381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37383 Likewise.
37384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37385 Likewise.
37386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37387 Likewise.
37388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37389 Likewise.
37390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37391 Likewise.
37392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37393 Likewise.
37394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37395 Likewise.
37396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37397 Likewise.
37398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37399 Likewise.
37400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37401 Likewise.
37402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37403 Likewise.
37404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37405 Likewise.
37406
cfba4fda
L
37407 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37408 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37409
80bad0cc
JM
374102012-05-24 Joseph Myers <joseph@codesourcery.com>
37411
7a25eb06
JM
37412 [BZ #10846]
37413 [BZ #14036]
37414 * math/libm-test.inc (exp_test): Add test from bug 14036.
37415 (pow_test): Add test from bug 10846.
37416
795405f9
JM
37417 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37418 and other flags.
37419 (special_function): Do not include flags in test name.
37420 (parse_args): Likewise.
37421 * sysdeps/i386/fpu/libm-test-ulps: Update.
37422 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37423 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37424 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37426
80bad0cc
JM
37427 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37428 exceptions.
37429 * math/libm-test.inc ("Philosophy"): Update comment about
37430 exception testing.
37431 (UNDERFLOW_EXCEPTION): New macro.
37432 (UNDERFLOW_EXCEPTION_OK): Likewise.
37433 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37434 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37435 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37436 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37437 (INVALID_EXCEPTION_OK): Update value.
37438 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37439 (OVERFLOW_EXCEPTION_OK): Likewise.
37440 (IGNORE_ZERO_INF_SIGN): Likewise.
37441 (test_exceptions): Handle underflow exceptions.
37442 (acos_test): Update for underflow exception expectations.
37443 (cexp_test): Likewise.
37444 (clog_test): Likewise.
37445 (clog10_test): Likewise.
37446 (csqrt_test): Likewise.
37447 (ctan_test): Likewise.
37448 (ctanh_test): Likewise.
37449 (exp_test): Likewise.
37450 (exp10_test): Likewise.
37451 (exp2_test): Likewise.
37452 (expm1_test): Likewise.
37453 (fma_test): Likewise.
37454 (j0_test): Likewise.
37455 (jn_test): Likewise.
37456 (nexttoward_test): Likewise.
37457 (pow_test): Likewise.
37458 (scalbn_test): Likewise.
37459 (scalbln_test): Likewise.
37460 (tan_test): Likewise.
37461 (y1_test): Likewise.
37462 * sysdeps/i386/fpu/libm-test-ulps: Update.
37463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37464
9e0e3d0b
DM
374652012-05-23 David S. Miller <davem@davemloft.net>
37466
37467 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37468 (__libc_sigaction): Remove unused local variables.
37469
ccd0a08f
L
374702012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37471
37472 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37473
62bdf9a6
PE
374742012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37475
f8591f80
PE
37476 mktime: avoid signed integer overflow
37477 * time/mktime.c (__mktime_internal): Do not mishandle the case
37478 where diff == INT_MIN.
37479
94c7d826
PE
37480 mktime: simplify computation of average
37481 * time/mktime.c (ranged_convert): Use new time_t_avg function
37482 instead of rolling our own (probably-slower) code.
37483
ce73d683
PE
37484 mktime: do not assume signed right shift propagates sign bit
37485 * time/mktime.c (isdst_differ): New static function.
37486 (__mktime_internal): No need to normalize tm_isdst now.
37487 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37488 tm_isdst values.
37489
72a22e59
PE
37490 mktime: merge another wrapv change from gnulib
37491 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37492 from some compilers.
37493
68605433
PE
37494 mktime: remove incorrect attempt at unusual arithmetics
37495 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37496 The code didn't really work on such machines anyway.
37497 (TYPE_MINIMUM): Assume two's complement.
37498 (twos_complement_arithmetic): Verify that long_int and time_t
37499 are two's complement (or unsigned, in the latter case).
37500
03cf7fe3
PE
37501 mktime: check signed shifts on long_int and time_t, too
37502 * time/mktime.c (SHR): Check that shifts work as desired
37503 on the types long_int and time_t too, as SHR is used on
37504 such types.
37505
f04dfbc2
PE
37506 mktime: do not assume 'long' is wide enough
37507 * time/mktime.c (verify): Move decl up.
37508 (long_int): New type.
37509 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37510 to remove assumption in the code that 'long' is wide enough to
37511 store year values. This assumption is not true on x32 and on
37512 some non-glibc platforms.
37513
62bdf9a6
PE
37514 mktime: merge wrapv change from gnulib
37515 * time/mktime.c (WRAPV): New macro.
37516 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37517 (guess_time_tm, __mktime_internal): Do not assume that signed
37518 integer overflow wraps around; modern compilers generate code
37519 where this assumption is no longer valid.
37520
5e292e4f
L
375212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37522
37523 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37524 Replace "jmp L(pseudo_end)" with "ret".
37525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37526 Likewise.
37527
8caf8c87
AJ
375282012-05-23 Andreas Jaeger <aj@suse.de>
37529
37530 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37531 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37532
1a09dc56
AJ
375332012-05-23 Andreas Jaeger <aj@suse.de>
37534 Maximilian Attems <max@stro.at>
37535
37536 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37537 New macros.
37538
1c87aba0
L
375392012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37540
37541 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37542 code so that pseudo_end is just ret and the stack pointer is
37543 correct also for static library in error case.
37544
40e45bd5
JM
375452012-05-23 Joseph Myers <joseph@codesourcery.com>
37546
c2670533
JM
37547 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37548 move to syscalls.list.
37549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37553
40e45bd5
JM
37554 * manual/install.texi (Running make install): Do not mention Linux
37555 kernel version for which pt_chown is not needed.
37556 (Linux): Do not mention problems with nscd with 2.0 kernels.
37557 * INSTALL: Regenerated.
37558
be08eda5
AJ
375592012-05-23 Andreas Jaeger <aj@suse.de>
37560
37561 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37562 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37563 macro.
37564 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37566 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37568 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37570 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37571 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37572 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37573 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37574 * sysdeps/unix/sysv/linux/bits/in.h
37575 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37576
a6a056bb
RM
375772012-05-22 Roland McGrath <roland@hack.frob.com>
37578
37579 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37580 (PREPARE_VERSION): Just use assert instead, it will be elided
37581 under [NDEBUG] anyway.
37582
c9009328
L
375832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37584
37585 * sysdeps/unix/sysv/linux/Makefile: Include
37586 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37587 (sysdep_routines): Remove sysctl.
c9009328
L
37588 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37589 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37590 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37591 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37592 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37593
73338355
AJ
375942012-05-22 Andreas Jaeger <aj@suse.de>
37595
37596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37597 that pseudo_end is just ret and the stack pointer is correct also
37598 for static library in error case.
37599
d44638b0
PP
376002012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37601
37602 [BZ #14122]
37603 * nss/nsswitch.c (defconfig_entries): New variable.
37604 (__nss_database_lookup): Don't leak defconfig entries.
37605 (nss_parse_service_list): Don't leak on error paths.
37606 (free_database_entries): New function.
37607 (free_defconfig): New function.
37608 (free_mem): Move common code to free_database_entries.
37609
31a39bd8
L
376102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37611
da0331a8
L
37612 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37613 Add arch_prctl.
37614 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37615
31a39bd8
L
37616 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37617 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37619 New macro.
37620 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37621 (INTERNAL_SYSCALL_TYPES): Likewise.
37622 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37623 (LOAD_REGS_TYPES_[1-6]): Likewise.
37624 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37625 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37626
45470df3
AZ
376272012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37628
37629 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37630 copysignl for GLIBC_2_0.
37631 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37632 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37633 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37634 logbl for GLIBC_2_0.
37635 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37636 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37637
98a61bcb
L
376382012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37639
a4f6e481
L
37640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37641 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37642
f63d5db6
L
37643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37644 Use "neg %eax".
37645
98a61bcb
L
37646 * time/mktime.c: Update copyright years.
37647
95770f14
PE
376482012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37649
6226efbd
PE
37650 mktime: merge comment-quoting-style change from gnulib
37651 * time/mktime.c: Quote 'like this' in comments.
37652 The GNU coding standards suggest that we no longer quote `like this',
37653 as "`" and "'" are typically rendered asymmetrically nowadays.
37654 The typical gnulib style is to quote 'like this' when quoting
37655 code, and "like this" when quoting English.
37656
b99e4f78
PE
37657 * time/mktime.c (compile-command): Add "-I.".
37658
643e01e6
PE
37659 mktime: merge mktime-internal.h change from gnulib
37660 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37661
2554247d
PE
37662 mktime: merge time_r change from gnulib
37663 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37664
826dd0ab
PE
37665 mktime: merge DEBUG change from gnulib
37666 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37667 case system <time.h> has a #define.
37668
bd83aabe
PE
37669 mktime: merge <sys/types.h> change from gnulib
37670 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37671 since <time.t> is now guaranteed to define time_t.
37672
95770f14
PE
37673 mktime: merge HAVE_CONFIG_H change from gnulib
37674 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37675
5e1a27a9
L
376762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37677
0e44a77e
L
37678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37679 Use "neg %eax".
37680
5e1a27a9
L
37681 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37682 __rlim_t cast.
37683 (struct rusage): Use anonymous union to pad each field to
37684 __syscall_slong_t.
37685
46259bec
DM
376862012-05-21 David S. Miller <davem@davemloft.net>
37687
37688 * Makefules (o-iterator): Remove .s cases.
37689 (compile-command.s): Delete.
37690 (COMPILE.s): Delete.
37691 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37692
59f0c22e
JM
376932012-05-21 Joseph Myers <joseph@codesourcery.com>
37694
37695 * configure.in (libc_cv_predef_stack_protector): Only consider
37696 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37697 * configure: Regenerated.
37698
20c07380
L
376992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37700
bbb3154b
L
37701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37702 New macro. Use R*LP on int and pointer.
37703 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37704 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37705 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37706 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37707
20c07380
L
37708 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37709 [__WORDSIZE_TIME64_COMPAT32] instead of
37710 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37711 (struct utmp): Likewise.
37712 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37713 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37714 Renamed to ...
37715 (__WORDSIZE_TIME64_COMPAT32): This.
37716 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37717 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37718 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37719 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37720 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37721 (__WORDSIZE_TIME64_COMPAT32): New macro.
37722
d8d1017e
AJ
377232012-05-21 Andreas Jaeger <aj@suse.de>
37724
37725 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37726 only if [SHARED]. Add prototype for __wcschr_ia32.
37727
6c7fb145
RM
377282012-05-21 Roland McGrath <roland@hack.frob.com>
37729
37730 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37731 of %rbp unmolested in the jmp_buf while mangling the low bits.
37732 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37733 unmolested high bits of %rbp while demangling the low bits.
37734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37735
66274218
AJ
377362012-05-21 Andreas Jaeger <aj@suse.de>
37737
07c58f8f
AJ
37738 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37739 * sunrpc/svc_simple.c: Use it for registerrpc.
37740 * sunrpc/xcrypt.c: Use it for passwd2des.
37741
66274218
AJ
37742 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37743
61f65140
L
377442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37745
37746 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37747 Don't define if [__SYSCALL_WORDSIZE != 32].
37748 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37749 New macro.
37750
5fefb436
AJ
377512012-05-21 Bruno Haible <bruno@clisp.org>
37752 Andreas Jaeger <aj@suse.de>
37753
37754 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37755 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37756 inptr and inend for must_buffer_ch.
37757 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37758 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37759 * stdio-common/Makefile (tests): Remove bug15.
37760 (bug15-ENV): Remove macro.
37761 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37762 anymore.
37763
d8e272ab
AJ
377642012-05-19 Andreas Jaeger <aj@suse.de>
37765 Roland McGrath <roland@hack.frob.com>
37766
37767 * manual/contrib.texi: Completely rewritten. It contains now an
37768 alphabetical list of contributors and their contributions.
37769
4a56a162
RH
377702012-05-21 Richard Henderson <rth@twiddle.net>
37771
37772 * misc/getauxval.c (__getauxval): Use unsigned long int.
37773 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37774 (getauxval): Use unsigned long int.
37775
d024d23c
L
377762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37777
37778 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37779
cbc00a03
RM
377802012-05-21 Roland McGrath <roland@hack.frob.com>
37781
37782 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37783 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37784 __alignof__ (long double).
37785
478143fa
AZ
377862012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37787
37788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37789
c7683a6d
RH
377902012-05-20 Richard Henderson <rth@twiddle.net>
37791
37792 * misc/getauxval.c: New file.
37793 * misc/sys/auxv.h: New file.
37794 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37795 (routines): Add getauxval.
37796 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37797 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37798 * elf/dl-sysdep.c (_dl_auxv): Remove.
37799 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37800 * elf/dl-support.c (_dl_auxv): New variable.
37801 (_dl_aux_init): Initialize it.
37802 * manual/startup.texi (Auxiliary Vector): New node.
37803 * sysdeps/generic/bits/hwcap.h: New file.
37804 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37805 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37806 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37807 * sysdeps/sparc/sysdep.h: ... here. Include it.
37808 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37809 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37811 Update.
c7683a6d
RH
37812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37814 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37815 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37818 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37820
a6f1845d
AZ
378212012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37822
37823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37824
cbcbe830
DM
378252012-05-19 David S. Miller <davem@davemloft.net>
37826
37827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37828
e0b16cc2
JM
378292012-05-19 Joseph Myers <joseph@codesourcery.com>
37830
37831 [BZ #14123]
37832 * math/s_ccosh.c: Include <float.h>
37833 (__ccosh): Avoid internal overflow calculating sinh and cosh
37834 values before multiplying by sin and cos values.
37835 * math/s_ccoshf.c: Likewise.
37836 * math/s_ccoshl.c: Likewise.
37837 * math/s_csin.c: Likewise.
37838 * math/s_csinf.c: Likewise.
37839 * math/s_csinl.c: Likewise.
37840 * math/s_csinh.c: Likewise.
37841 * math/s_csinhf.c: Likewise.
37842 * math/s_csinhl.c: Likewise.
37843 * math/libm-test.inc (ccos_test): Add more tests.
37844 (ccosh_test): Likewise.
37845 (csin_test): Likewise.
37846 (csinh_test): Likewise.
37847 * sysdeps/i386/fpu/libm-test-ulps: Update.
37848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37849
6ad13e08
L
378502012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37851
f66f0ce8
L
37852 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37853 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37854
6ad13e08
L
37855 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37856
b1d072a7
JM
378572012-05-19 Joseph Myers <joseph@codesourcery.com>
37858
37859 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37860 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37861 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37862 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37863 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37864 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37865 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37866 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37867 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37868 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37869 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37870 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37871 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37872 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37873 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37874 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37875 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37876 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37877 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37878 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37879 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37880 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37881 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37882 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37883 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37884 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37885 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37886 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37887 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37888 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37889 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37890
9eae47cb
AJ
378912012-05-18 Andreas Jaeger <aj@suse.de>
37892
37893 * csu/.gitignore: Delete.
37894
bb07f69f
L
378952012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37896
37897 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37898 (timex): Use __syscall_slong_t.
37899
e6bdb741
AJ
379002012-05-18 Andreas Jaeger <aj@suse.de>
37901 Carlos O'Donell <carlos_odonell@mentor.com>
37902
37903 * manual/install.texi (Configuring and compiling): Update
37904 description about files modified in the source directory.
d6c33fda 37905 * INSTALL: Regenerated.
e6bdb741 37906
1b74487e
L
379072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37908
37909 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37910 value. Use "or" to set return value to -1.
37911 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37912 negate return value.
37913
a88b64b9
TMQMF
379142012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37915
57f41c40
AS
37916 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37917 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37918 failure if the compiler has Graphite support disabled.
37919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37920 Likewise.
57f41c40
AS
37921 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37922 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37923 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37924 Likewise.
37925
3707636e
L
379262012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37927
610b8622
L
37928 * sysdeps/x86_64/x32/_itoa.h: New file.
37929
7cd195df
L
37930 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37931 getdents system call only if kernel and user dirents have the
37932 same d_ino and d_off.
37933
94b07d20
L
37934 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37935 LLONG_MAX != LONG_MAX.
37936 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37937 (_fitoa_word): Likewise.
37938
18298070
L
37939 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37940 years.
37941 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37942 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37943 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37944
553c7ea4
L
37945 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37946 include <bits/wordsize.h>. Check __x86_64__ instead of
37947 __WORDSIZE.
37948 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37949 if __x86_64__ is defined. Use anonymous union on fpstate.
37950
3707636e
L
37951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37952 anonymous union.
37953
b53ef01a
AS
379542012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37955
37fb1dc0
AS
37956 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37957 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37958 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37959 Refer to _rtld_local_ro instead of _rtld_global_ro.
37960 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37961 Likewise.
37962 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37963 Likewise.
37964 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37965 Likewise.
37966 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37967 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37968 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37969
b53ef01a
AS
37970 * sysdeps/powerpc/powerpc32/dl-machine.c
37971 (__elf_machine_runtime_setup) [PROF]: Don't reference
37972 _dl_prof_resolve.
37973
7a185db2
AJ
379742012-05-18 Andreas Jaeger <aj@suse.de>
37975
37976 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37977 function only available for GCCs before 3.4 since GCC 3.4
37978 introduced a builtin.
37979 (lrint): Likewise.
37980 (llrintf): Likewise.
37981 (llrint): Likewise.
37982 (fmaxf): Likewise.
37983 (fmax): Likewise.
37984 (fminf): Likewise.
37985 (fmin): Likewise.
37986 (rint): Likewise.
37987 (rintf): Likewise.
37988 (nearbyint): Likewise.
37989 (nearbyintf): Likewise.
37990 (ceil): Likewise.
37991 (ceilf): Likewise.
37992 (floor): Likewise.
37993 (floorf): Likewise.
37994
3e5aef87
L
379952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37996
428bd707
L
37997 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37998 on both fields and cast pointer to __syscall_ulong_t.
37999
3e5aef87
L
38000 * bits/types.h (__fsword_t): New type.
38001 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38002 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38004 (__FSWORD_T_TYPE): Likewise.
38005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38006 (__FSWORD_T_TYPE): Likewise.
38007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38008 (__FSWORD_T_TYPE): Likewise.
38009 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38010 (__FSWORD_T_TYPE): Likewise.
38011 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38012 __SWORD_TYPE with __fsword_t.
38013 (statfs64): Likewise.
38014
1ba7c3dc
DM
380152012-05-17 David S. Miller <davem@davemloft.net>
38016
38017 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38018
59910343
AJ
380192012-05-17 Andreas Jaeger <aj@suse.de>
38020
38021 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38022 warning.
38023
2e4c1e9e
L
380242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38025
38026 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38027
de7f5ce7
AJ
380282012-05-17 Andreas Jaeger <aj@suse.de>
38029
38030 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38031 when it is used.
38032
286abc3d
CM
380332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38034
38035 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38036
477cc68e
L
380372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38038
38039 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38040 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38041
1a0994f5
CD
380422012-05-17 Andreas Jaeger <aj@suse.de>
38043 Carlos O'Donell <carlos_odonell@mentor.com>
38044
38045 [BZ #14059]
38046 * sysdeps/x86_64/multiarch/init-arch.h
38047 (bit_YMM_Usable): Rename to...
38048 (bit_AVX_Usable): ... this.
38049 (bit_FMA4_Usable): New macro.
38050 (bit_XMM_state): New macro.
38051 (bit_YMM_state): New macro.
38052 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38053 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38054 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38055 (CPUID_OSXSAVE): New macro.
38056 (CPUID_AVX): New macro.
38057 (CPUID_FMA4): New macro.
38058 (index_YMM_Usable): Rename to...
38059 (index_AVX_Usable): ... this.
38060 (HAS_AVX): Use HAS_ARCH_FEATURE.
38061 (HAS_FMA4): Likewise.
38062 (HAS_YMM_USABLE): Remove.
38063 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38064 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38065 are present.
38066 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38067 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38068 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38069 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38070 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38071
0af797de
CM
380722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38073
38074 * math/libm-test.c: Support platforms without multiple rounding modes.
38075 * math/bug-nextafter.c: Support platforms without FP exceptions.
38076 * math/bug-nexttoward.c: Likewise.
38077 * math/test-fenv.c: Likewise.
38078 * math/test-misc.c: Likewise.
38079 * stdlib/bug-getcontext.c: Likewise.
38080
e39745ff
AJ
380812012-05-17 Andreas Jaeger <aj@suse.de>
38082
38083 * manual/examples/search.c (critter_cmp): Change signature to
38084 avoid warnings.
38085 * manual/string.texi (Collation Functions): Likewise.
38086
48970aba
L
380872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38088
38089 * bits/types.h: Fold copyright years.
38090 * bits/typesizes.h: Likewise.
38091 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38095 * time/time.h: Likewise.
38096
bedee953
PP
380972012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38098
38099 [BZ #208]
38100 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38101 in instead of returning them. Return void.
38102 (__libc_mallinfo): Accumulate over all arenas.
38103 (__malloc_stats): Adjust for change in int_mallinfo interface.
38104
61653dfb
RM
381052012-05-16 Roland McGrath <roland@hack.frob.com>
38106
30b99d79
RM
38107 [BZ #10375]
38108 * configure.in (NM): Add AC_CHECK_TOOL for it.
38109 (libc_extra_cflags): New substituted variable.
38110 Check for -fstack-protector being used implicitly.
38111 * configure: Regenerated.
38112 * config.make.in (config-extra-cflags): New variable,
38113 gets @libc_extra_cflags@.
38114 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38115
61653dfb
RM
38116 [BZ #10375]
38117 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38118 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38119 * configure: Regenerated.
38120 * config.make.in (CPPUNDEFS): New substituted variable.
38121 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38122 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38123 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38124
661768bb
L
381252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38126
38127 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38128 (mq_attr): Use __syscall_slong_t.
38129
d4261567
L
381302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38131
38132 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38133 Check __x86_64__ instead of __WORDSIZE.
38134 (_STAT_VER_LINUX): Likewise.
38135 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38136 __syscall_ulong_t and __syscall_slong_t.
38137 (stat64): Likewise.
38138
cf3ff365
L
381392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38140
38141 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38142
76cf3e4d
L
381432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38144
38145 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38146
a637753a
L
381472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38148
38149 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38150 __syscall_ulong_t.
38151
d5e05119
L
38152 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38153 include <bits/wordsize.h>. Check __x86_64__ instead of
38154 __WORDSIZE.
38155 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38156 defined.
38157 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38158
f62ee380
L
38159 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38160 include <bits/wordsize.h>. Check __x86_64__ instead of
38161 __WORDSIZE.
38162 (user_regs_struct): Use "__extension__ unsigned long long"
38163 instead of "unsigned long" if __x86_64__ is defined.
38164 (user): Likewise. Pad after pointer field if __ILP32__ is
38165 defined.
38166
4e124ced
JM
381672012-05-16 Joseph Myers <joseph@codesourcery.com>
38168
6a3951a0
JM
38169 * configure.in (makeinfo): Require version 4.5 or later. Allow
38170 versions 5 to 9.
38171 * configure: Regenerated.
38172 * manual/install.texi (texinfo): Increase version requirement to
38173 4.5 or later.
38174 * INSTALL: Regenerated.
38175
4e124ced
JM
38176 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38177
953ca31a
L
381782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38179
38180 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38181
617aca05
L
38182 * sysdeps/x86_64/x32/ffs.c: New file.
38183
5762f7ae
L
38184 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38185 __syscall_ulong_t.
38186 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38187 defined. Use __syscall_ulong_t.
38188 (shminfo): Use __syscall_ulong_t.
38189 (shm_info): Likewise.
38190
a26b6856
L
38191 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38192 __syscall_ulong_t.
38193
cb2b9ef7
L
38194 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38195 <bits/wordsize.h>.
38196 (msgqnum_t): Use __syscall_ulong_t.
38197 (msglen_t): Likewise.
38198 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38199 __syscall_ulong_t.
38200
34683bb0
L
38201 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38202 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38203
84a68786
L
38204 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38205
48baa5f1
L
38206 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38207 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38208
180be88b
L
38209 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38210 __syscall_slong_t.
38211
5e90c8ad
L
38212 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38213 include <bits/wordsize.h>. Check __x86_64__ instead of
38214 __WORDSIZE.
38215
23dfb58b
L
38216 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38217 "unsigned long long int" if __x86_64__ is defined.
38218 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38219
ce5d54b0
L
38220 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38221 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38222 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38223
13dc9eac
L
38224 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38225 <stdint.h>.
38226 (GET_PC): Cast to uintptr_t first.
38227 (GET_FRAME): Likewise.
38228 (GET_STACK): Likewise.
38229
a7895d15
L
38230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38231 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38236 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38237 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38238 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38239 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38240 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38241 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38242 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38243 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38244 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38245 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38246 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38247 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38248 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38249 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38250 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38251 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38252 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38253 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38254 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38255 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38256 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38257 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38258 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38259
656416c9
AS
382602012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38261
5bd66283
AS
38262 * Makerules (+depfiles): Also collect depfiles from .oS in
38263 $(extra-objs).
38264 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38265 .oS, $(libnldbl-routines)).
38266
656416c9
AS
38267 * Makerules (native-compile-mkdep-flags): Define.
38268 * sunrpc/Makefile (extra-objs): Add $(addprefix
38269 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38270 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38271 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38272 calling $(make-target-directory).
38273
a46f2169
L
382742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38275
38276 * bits/types.h (__snseconds_t): Removed.
38277 * time/time.h (struct timespec): Replace __snseconds_t with
38278 __syscall_slong_t.
38279 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38280 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38281 Likewise.
38282 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38283 (__SNSECONDS_T_TYPE): Likewise.
38284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38285 (__SNSECONDS_T_TYPE): Likewise.
38286 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38287 (__SNSECONDS_T_TYPE): Likewise.
38288
6af6528b
L
382892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38290
38291 * sysdeps/mach/hurd/bits/typesizes.h
38292 (__SYSCALL_SLONG_TYPE): New macro.
38293 (__SYSCALL_ULONG_TYPE): Likewise.
38294
de986b56
L
382952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38296
38297 * bits/types.h (__syscall_slong_t): New type.
38298 (__syscall_ulong_t): Likewise.
38299
38300 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38301 (__SYSCALL_ULONG_TYPE): Likewise.
38302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38303 (__SYSCALL_SLONG_TYPE): Likewise.
38304 (__SYSCALL_ULONG_TYPE): Likewise.
38305 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38306 (__SYSCALL_SLONG_TYPE): Likewise.
38307 (__SYSCALL_ULONG_TYPE): Likewise.
38308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38309 (__SYSCALL_SLONG_TYPE): Likewise.
38310 (__SYSCALL_ULONG_TYPE): Likewise.
38311
85736dc7
L
383122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38313
38314 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38315 Add sigaltstack-offsets.sym.
38316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38317 <sigaltstack-offsets.h>.
38318 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38319 longjmp_msg pointer.
38320 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38321 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38322 signal stack.
38323 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38324
cc03b296
JM
383252012-05-15 Joseph Myers <joseph@codesourcery.com>
38326
a9538892
JM
38327 * elf/stackguard-macros.h: Remove file.
38328 * sysdeps/generic/stackguard-macros.h: New file.
38329 * sysdeps/i386/stackguard-macros.h: Likewise.
38330 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38331 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38332 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38333 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38334 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38335 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38336 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38337 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38338 <elf/stackguard-macros.h>.
38339
cc03b296
JM
38340 [BZ #14109]
38341 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38342 __aligned__ in attribute.
38343 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38344 (gregset_t): Likewise.
38345
93171016
L
383462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38347
38348 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38349 * sysdeps/x86_64/64/Implies-after: Here. New file.
38350 * sysdeps/x86_64/x32/Implies-after: New file.
38351
d86813a0
L
383522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38353
38354 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38355 and access return value for _dl_profile_fixup. Use R10_LP to
38356 load frame size.
38357
2953ec75
L
383582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38359
38360 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38361
3b550e9e
L
383622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38363
38364 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38365 * sysdeps/x86_64/x32/sysdep.h: New file.
38366
eda41706
L
383672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38368
38369 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38370 * sysdeps/x86_64/setjmp.S: Likewise.
38371
9ea01d93
AZ
383722012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38373
38374 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38375 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38376 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38377 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38378 remove unused global constant.
38379
02a91938
CM
383802012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38381
38382 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38383 include of <not-cancel.h>.
38384
6540185f
RM
383852012-05-15 Roland McGrath <roland@hack.frob.com>
38386
38387 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38388
509072a0
AJ
383892012-05-15 Jeff Law <law@redhat.com>
38390 Andreas Jaeger <aj@suse.de>
38391
38392 [BZ #13594]
38393 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38394 out from...
38395 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38396 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38398 code changing __hst_map_handle.map.
38399
ba75122d
RM
384002012-05-15 Roland McGrath <roland@hack.frob.com>
38401
38402 * configure.in (sysnames): Look for Implies-before and Implies-after
38403 files.
38404 * configure: Regenerated.
38405
890d8bd8
L
384062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38407
38408 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38409 8-byte data alignment with LP_SIZE alignment.
38410
f6ee6623
L
384112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38412
38413 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38414 into R10_LP.
38415
ea2626f6
L
384162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38417
38418 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38419
085f715e
L
384202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38421
38422 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38423 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38424 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38425 Likewise.
38426 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38427
be8498fc
L
384282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38429
38430 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38431 (stackinfo_sub_sp): Likewise.
38432
70bc83b9
L
384332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38434
38435 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38436 RAX_LP.
38437
9bc0b730
L
384382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38439
38440 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38441 into R*_LP.
38442
6d2850e7
L
384432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38444
38445 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38446 sizes into R*_LP.
38447
3cb84561
L
384482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38449
38450 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38451
54e2ed81
L
384522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38453
38454 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38455 into R11_LP and load __x86_64_shared_cache_size_half into
38456 R8_LP.
38457
8a17f349
L
384582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38459
38460 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38461 R8_LP.
38462
777b1eea
AZ
384632012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38464
38465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38466 logb for POWER7.
38467 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38468 logbf for POWER7.
38469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38470 logbl for POWER7.
38471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38472 powerpc32/power7/fpu/s_logb.c via #include.
38473 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38474 powerpc32/power7/fpu/s_logbf.c via #include.
38475 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38476 powerpc32/power7/fpu/s_logbl.c via #include.
38477
d20d4ac2
JM
384782012-05-15 Joseph Myers <joseph@codesourcery.com>
38479
38480 * README.libm: Remove file.
38481
6cdef1ab
L
384822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38483
38484 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38485 count for x32. Use R*_LP and omit operand-size suffix.
38486
0b254d8f
L
384872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38488
38489 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38490 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38491 * sysdeps/x86_64/x32/shlib-versions: New file.
38492
ceb809dc
RM
384932012-05-14 Roland McGrath <roland@hack.frob.com>
38494
38495 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38496 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38497 Use _dl_fatal_printf instead.
38498
37f1abd4
JM
384992012-05-14 Joseph Myers <joseph@codesourcery.com>
38500
38501 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38502 set if not set by the user. Do not allow for being unset.
38503 * sysdeps/unix/sysv/linux/configure: Regenerated.
38504
11de3a33
L
385052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38506
38507 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38508 the `q' suffix from lea and replace .quad with ASM_ADDR.
38509
e02f153a
L
385102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38511
38512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38513 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38514 instead of $17.
38515 (PTR_DEMANGLE): Likewise.
38516
520ae0fd
L
385172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38518
38519 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38520 (LP_OP): Likewise.
38521 (ASM_ADDR): Likewise.
38522 (RAX_LP): Likewise.
38523 (RBP_LP): Likewise.
38524 (RBX_LP): Likewise.
38525 (RCX_LP): Likewise.
38526 (RDI_LP): Likewise.
38527 (RSI_LP): Likewise.
38528 (RSP_LP): Likewise.
38529 (R8_LP): Likewise.
38530 (R9_LP): Likewise.
38531 (R10_LP): Likewise.
38532 (R10_LP): Likewise.
38533 (R11_LP): Likewise.
38534 (R12_LP): Likewise.
38535 (R13_LP): Likewise.
38536 (R14_LP): Likewise.
38537 (R15_LP): Likewise.
38538
b985be81
L
385392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38540
38541 * sysdeps/x86_64/x32/dl-machine.h: New file.
38542
6a4888ff
AJ
385432012-05-14 Andreas Jaeger <aj@suse.de>
38544
38545 * manual/Makefile (subdir): Remove export of subdir.
38546 (all): Remove target.
38547 (.PHONY): Remove all from list.
38548 (mkinstalldirs): Remove.
38549 (.PHONY): Remove installdirs from list.
38550 ($(inst_infodir)/libc.info): Use make-target-directory.
38551 (installdirs): Remove.
38552 (subdir_%): Remove.
38553 (glibc-targets): Remove.
38554 (lib): Remove.
38555 (stubs): Remove.
38556 ($(objpfx)stubs ../po/manual.pot): Remove.
38557 ($(objpfx)stamp%): Remove.
38558 (make-target-directory): Remove.
38559 (subdir_install): Remove.
38560 (routines): Remove.
38561 (aux): Remove.
38562 (sources): Remove.
38563 (objects): Remove.
38564 (headers): Remove.
38565
38566 [BZ #13750]
38567 * manual/.gitignore: Remove, it's not needed anymore.
38568 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38569 all files in it.
38570 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38571 directory.
38572 (texis): Renamed to $(objpfx)texis.
38573 (texis-path): New, contains path to generated files.
38574 (chapters.%): Use texis-path for complete path, add extra argument
38575 libc-texinfo.sh.
38576 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38577 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38578 (summary,texi, stamp-summary): Use complete path of
38579 files. Generate files in build dir.
38580 (dir-add.texi): Build in build dir.
38581 (libm-err.texi,stamp-libm-err): Likewise.
38582 (version.texi, stamp-version): Likewise.
38583 (.%c.texi): Likewise.
38584 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38585 (mostlyclean): Remove target.
38586 (realclean): Remove target.
38587 (generated): Add new variable with contents from mostlyclean and
38588 realclean, remove entries duplicated in common-mostlyclean, add
38589 stamp-libm-err and stamp-version.
38590 (generated-dirs): Add libc directory.
38591 ($(inst_infodir)/libc.info): Install files from build dir.
38592
38593 * manual/install.texi (Configuring and compiling): Adjust since
38594 the info files are not part of the tar ball anymore.
38595
7ac77294
AJ
385962012-05-14 Andreas Jaeger <aj@suse.de>
38597
38598 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38599 variable.
38600
ffb7875d
JM
386012012-05-14 Joseph Myers <joseph@codesourcery.com>
38602
38603 [BZ #13717]
38604 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38605 to 2.2.0 where earlier.
38606 * sysdeps/unix/sysv/linux/configure: Regenerated.
38607 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38608 Remove conditional code.
38609 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38610 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38611 Remove conditional code.
38612 [!__NR_lchown]: Likewise.
38613 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38614 [__NR_lchown]: Likewise.
38615 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38616 comment referencing __ASSUME_LCHOWN_SYSCALL.
38617 * sysdeps/unix/sysv/linux/i386/sigaction.c
38618 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38619 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38620 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38621 Remove conditional code.
38622 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38623 (__protocol_available): Remove #if 0 code.
38624 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38625 conditional code.
38626 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38627 * sysdeps/unix/sysv/linux/kernel-features.h
38628 (__ASSUME_GETCWD_SYSCALL): Don't define.
38629 (__ASSUME_REALTIME_SIGNALS): Likewise.
38630 (__ASSUME_PREAD_SYSCALL): Likewise.
38631 (__ASSUME_PWRITE_SYSCALL): Likewise.
38632 (__ASSUME_POLL_SYSCALL): Likewise.
38633 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38634 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38635 non-SPARC.
38636 (__ASSUME_SIOCGIFNAME): Don't define.
38637 (__ASSUME_MSG_NOSIGNAL): Likewise.
38638 (__ASSUME_SENDFILE): Define unconditionally.
38639 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38640 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38641 conditional code.
38642 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38643 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38644 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38645 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38646 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38647 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38648 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38650 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38651 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38653 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38654 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38656 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38657 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38659 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38660 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38662 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38665 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38671 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38673 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38674 Remove conditional code.
38675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38676 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38677 Remove conditional code.
38678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38679 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38680 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38681 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38682 Remove conditional code.
38683 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38684 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38685 Remove conditional code.
38686 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38687 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38688 Remove conditional code.
38689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38690 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38691 Remove conditional code.
38692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38693 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38694 Remove conditional code.
38695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38696 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38699 * sysdeps/unix/sysv/linux/sigaction.c
38700 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38701 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38702 * sysdeps/unix/sysv/linux/sigpending.c
38703 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38704 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38705 * sysdeps/unix/sysv/linux/sigprocmask.c
38706 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38707 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38708 * sysdeps/unix/sysv/linux/sigsuspend.c
38709 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38710 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38711 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38712 (__libc_missing_rt_sigs): Remove.
38713 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38714 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38715 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38716 Remove conditional code.
38717 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38718 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38719 return 1.
38720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38721 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38722 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38723 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38724
1bfb7291
AJ
387252012-05-14 Andreas Jaeger <aj@suse.de>
38726
caae5a81
AJ
38727 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38728 it's not used in glibc.
38729 (__coshm1): Likewise.
38730 (__acosh1p): Likewise.
38731 (__sgn): Likewise.
38732
1bfb7291
AJ
38733 * manual/string.texi (Copying and Concatenation): Add missing
38734 variable in concat example.
38735 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38736
c044d724
L
387372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38738
144c5467 38739 [BZ #14103]
c044d724
L
38740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38741 __builtin_clzl with __builtin_clzll.
38742
2523c62b
L
387432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38744
38745 [BZ #14104]
38746 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38747 libc_freeres_ptr.
38748
d7bb4c42
LD
387492012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38750
38751 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38752 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38753 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38754 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38755
9dc4e1fb
MF
387562012-05-14 Mike Frysinger <vapier@gentoo.org>
38757
38758 * NEWS: Update ia64 info.
38759
c7df0112
AS
387602012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38761
38762 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38763 used as bcopy.
38764
dc70356c
TS
387652012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38766
38767 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38768 * sysdeps/unix/syscalls.list (dup3): Likewise.
38769 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38770 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38771
9fb1a21f
L
387722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38773
38774 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38775 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38776
4822a2a5
L
387772012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38778
38779 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38780 thread pointer.
38781 (TLS_IE): Use mov/add instead of movq/addq to load thread
38782 pointer.
38783 (TLS_GD_PREFIX): New.
38784 (TLS_GD): Use it.
38785
842b81d6
DM
387862012-05-11 David S. Miller <davem@davemloft.net>
38787
38788 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38789 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38790 (_FPU_SETCW): Likewise.
38791
1cf463cd
L
387922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38793
38794 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38795 is 32-byte aligned.
38796
60cc4a18
AS
387972012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38798
38799 [BZ #11837]
38800 * iconvdata/gb18030.c: Update tables.
38801 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38802 characters specially.
38803 (BODY for TO_LOOP): Add encoding of missing ranges.
38804
febb44a4
TS
388052012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38806
38807 [BZ #13673]
38808 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38809 * sysdeps/mach/hurd/dup3.c: Likewise.
38810 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38811 * sysdeps/powerpc/memmove.c:: Likewise.
38812
0a10fb9e
L
388132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38814
38815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38816 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38817
df8a552f
L
388182012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38819
38820 * elf/elf.h (R_X86_64_RELATIVE64): New.
38821 (R_X86_64_NUM): Updated.
38822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38823 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38824 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38825 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38826 tst-quad1pie tst-quad2pie
38827 (modules-names): Add tst-quadmod1 tst-quadmod2.
38828 ($(objpfx)tst-quad1): New dependency.
38829 ($(objpfx)tst-quad2): Likewise.
38830 ($(objpfx)tst-quad1pie): Likewise.
38831 ($(objpfx)tst-quad2pie): Likewise.
38832 * sysdeps/x86_64/tst-quad1.c: New file.
38833 * sysdeps/x86_64/tst-quad1pie.c: New file.
38834 * sysdeps/x86_64/tst-quad2.c: Likewise.
38835 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38836 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38837 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38838 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38839 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38840
f34d6f84
ST
388412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38842
f42d41d1
ST
38843 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38844 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38845 * streams/stropts.h (t_scalar_t): Define type.
38846
3c3571fc
ST
38847 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38848 (_PATH_PRESERVE): Set to "/var/lib".
38849 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38850
61f06bd3
ST
38851 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38852 instead of int.
38853
918d4d71
ST
38854 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38855 if __dir_mkfile succeeded.
38856
f34d6f84
ST
38857 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38858 checking for _hurd_dtablesize. Unlock it right after having
38859 finished _hurd_dtable allocation.
38860
10589b4a
TS
388612012-05-10 Thomas Schwinge <thomas@schwinge.name>
38862
674cdbc7
TS
38863 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38864 * sysdeps/mach/hurd/configure: Regenerated.
38865 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38866 special-casing to...
38867 * sysdeps/gnu/configure.in: ... this new file.
38868 * sysdeps/unix/sysv/linux/configure: Regenerated.
38869 * sysdeps/gnu/configure: New generated file.
38870
8e41b99f
TS
38871 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38872 for Linux: use nsec instead of usec, as well as:
38873 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38874 members of type struct timespec.
38875 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38876 New macros.
38877 (struct stat64): Likewise.
38878 (_STATBUF_ST_NSEC): New macro.
38879 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38880
10589b4a
TS
38881 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38882 __strtoul_internal rather than strtoul.
38883
63643c85
PT
388842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38885
38886 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38887 and reject them.
38888
3faebe6a
ST
388892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38890
38891 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38892 which preserves existing values.
38893 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38894
c6474b07
PT
388952012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38896
38897 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38898 TIMEOUT values. Return EINVAL for NFDS values either negative or
38899 greater than FD_SETSIZE.
38900
1043890b
ST
389012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38902
38903 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38904 allocated, call __vm_protect to finish enabling the existing space, and
38905 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38906 allocate the remainder.
38907
37ed8b9b
PT
389082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38909
38910 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38911 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38912
db653660
ST
389132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38914
37ed8b9b
PT
38915 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38916 sysdeps/mach/hurd/readlink.c.
b29d4053 38917
db653660
ST
38918 * posix/tst-sysconf.c (posix_options): Only use
38919 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38920 _POSIX_SYNCHRONIZED_IO when they are defined
38921 * sysdeps/mach/hurd/bits/posix_opt.h:
38922 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38923 (_XOPEN_REALTIME): Undefine macro.
38924 (_XOPEN_REALTIME_THREADS): Undefine macro.
38925 (_XOPEN_SHM): Undefine macro.
38926 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38927 macro to -1.
38928 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38929 macro to -1.
38930 (_POSIX_ASYNC_IO): Undefine macro.
38931 (_POSIX_PRIORITIZED_IO): Undefine macro.
38932 (_POSIX_SPIN_LOCKS): Define macro to -1.
38933
ee16e894
ST
38934 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38935 SA_NODEFER, SA_RESETHAND.
38936 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38937 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38938 F_DUPFD_CLOEXEC.
38939
6103ae3b
TS
389402012-05-10 Thomas Schwinge <thomas@schwinge.name>
38941
38942 * elf/Makefile (pldd-modules): Define unconditionally.
38943
80b4e5f3
TS
389442012-05-10 Thomas Schwinge <thomas@schwinge.name>
38945
38946 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38947
edadcbd6
ST
389482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38949
38950 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38951 Return ENOENT when name is empty.
38952 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38953
80694780
TS
389542012-05-10 Thomas Schwinge <thomas@schwinge.name>
38955
1792c087
TS
38956 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38957
80694780
TS
38958 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38959
6b645f0d
ST
389602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38961
80694780
TS
38962 Fix mlock in all cases except non-readable pages.
38963 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38964 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38965
6b645f0d
ST
38966 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38967 (__mkdir): When path is `/', just fail with EEXIST.
38968 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38969
e468f8a3
TS
389702012-05-10 Thomas Schwinge <thomas@schwinge.name>
38971
38972 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38973 <sys/uio.h> (for writev).
38974 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38975 and <sys/param.h> (for MIN).
38976
a4186cff
PT
389772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38978
38979 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38980 REQUESTED_TIME. Properly set the remaining time and return EINTR
38981 if interrupted.
38982
510bbf14
TS
389832012-05-10 Thomas Schwinge <thomas@schwinge.name>
38984
38985 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38986 Depend on against $(link-rpcuserlibs).
38987
5d5722e8
ST
389882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38989
a4186cff
PT
38990 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38991 (__libc_stack_end): Do not use attribute_relro.
38992 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38993 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38994 to libthread-provided value.
a4186cff
PT
38995 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38996 attribute_relro.
5d5722e8 38997
37233df9
TS
389982012-05-10 Thomas Schwinge <thomas@schwinge.name>
38999
be971a2b
TS
39000 [BZ #3748]
39001 * bits/libc-lock.h (__libc_once_get): New macro.
39002 * sysdeps/mach/bits/libc-lock.h: Likewise.
39003 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39004 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39005 instead of using implementation details.
39006
37233df9
TS
39007 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39008 * libio/freopen.c: Likewise.
39009 * libio/freopen64.c: Likewise.
39010 * misc/syslog.c: Likewise.
39011 * nscd/connections.c: Likewise.
39012 * nscd/netgroupcache.c: Likewise.
39013 * sysdeps/posix/getcwd.c: Likewise.
39014
38de94a5
RM
390152012-05-10 Roland McGrath <roland@hack.frob.com>
39016
39017 * math/w_ilogbf.c: Add #include <limits.h>.
39018
67530489
ST
390192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39020
a4186cff 39021 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
39022 path instead of returning without unlocking.
39023
67530489
ST
39024 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39025 immediate-write ioctls.
39026 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39027
5aa3a74a
TS
390282012-05-10 Thomas Schwinge <thomas@schwinge.name>
39029
18bad2ae
TS
39030 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39031 __builtin_frame_address instead of making assumptions about the
39032 location of the return address relative to DATA. Force early load of
39033 the return address.
39034 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39035 __builtin_frame_address.
39036
5aa3a74a
TS
39037 dup3 for GNU Hurd.
39038 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39039 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39040 implement dup3 and do some further code clean-ups.
39041 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39042 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39043
ecd0de9a
ST
390442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39045
cd9fa985
ST
39046 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39047
a4186cff
PT
39048 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39049 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39050 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39051 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39052 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39053 d->port.lock.
802ca5a5 39054
a4186cff
PT
39055 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39056 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39057 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 39058
bcf55240
TS
390592012-05-10 Thomas Schwinge <thomas@schwinge.name>
39060
6960eb42
TS
39061 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39062 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39063 definitions.
39064
eb43375f
TS
39065 accept4 for GNU Hurd.
39066 * include/sys/socket.h (__libc_accept4): New prototype.
39067 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39068 to implement __libc_accept4.
39069 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39070 __libc_accept4.
39071 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39072
bcf55240
TS
39073 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39074 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39075 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39076 signal-defines.sym.
39077
6178c55b
ST
390782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39079
a4186cff 39080 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 39081
6f080c2f
TS
390822012-05-10 Thomas Schwinge <thomas@schwinge.name>
39083
39084 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39085 assertion on O_CLOEXEC flag.
39086 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39087 * hurd/intern-fd.c: Likewise.
39088 * hurd/port2fd.c: Likewise.
39089
bcfe3a54
ST
390902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39091
39092 [BZ #3906]
39093 * bits/in.h (IPV6_PKTINFO): Define new macro.
39094 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39095
89c9aa49
AZ
390962012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39097
39098 [BZ #13954]
39099 [BZ #13955]
39100 [BZ #13956]
39101 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39102 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39103 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39104 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39105 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39106 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39107 * math/libm-test.inc (logb_test) : Additional logb tests.
39108
021db4be
AJ
391092012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39110 Andreas Jaeger <aj@suse.de>
39111
39112 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39113 * configure: Regenerated.
39114 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39115 * config.make.in (link-obsolete-rpc): New substituted variable.
39116 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39117 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39118 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39119 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39120 so that libc.a contains the symbols.
39121 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39122 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39123 * sunrpc/auth_none.c: Likewise.
39124 * sunrpc/auth_unix.c: Likewise.
39125 * sunrpc/authdes_prot.c: Likewise.
39126 * sunrpc/authuxprot.c: Likewise.
39127 * sunrpc/clnt_gen.c: Likewise.
39128 * sunrpc/clnt_perr.c: Likewise.
39129 * sunrpc/clnt_raw.c: Likewise.
39130 * sunrpc/clnt_simp.c: Likewise.
39131 * sunrpc/clnt_tcp.c: Likewise.
39132 * sunrpc/clnt_udp.c: Likewise.
39133 * sunrpc/clnt_unix.c: Likewise.
39134 * sunrpc/des_crypt.c: Likewise.
39135 * sunrpc/des_soft.c: Likewise.
39136 * sunrpc/get_myaddr.c: Likewise.
39137 * sunrpc/key_call.c: Likewise.
39138 * sunrpc/key_prot.c: Likewise.
39139 * sunrpc/netname.c: Likewise.
39140 * sunrpc/pm_getmaps.c: Likewise.
39141 * sunrpc/pm_getport.c: Likewise.
39142 * sunrpc/pmap_clnt.c: Likewise.
39143 * sunrpc/pmap_prot.c: Likewise.
39144 * sunrpc/pmap_prot2.c: Likewise.
39145 * sunrpc/pmap_rmt.c: Likewise.
39146 * sunrpc/publickey.c: Likewise.
39147 * sunrpc/rpc_cmsg.c: Likewise.
39148 * sunrpc/rpc_common.c: Likewise.
39149 * sunrpc/rpc_dtable.c: Likewise.
39150 * sunrpc/rpc_prot.c: Likewise.
39151 * sunrpc/rpc_thread.c: Likewise.
39152 * sunrpc/rtime.c: Likewise.
39153 * sunrpc/svc.c: Likewise.
39154 * sunrpc/svc_auth.c: Likewise.
39155 * sunrpc/svc_raw.c: Likewise.
39156 * sunrpc/svc_run.c: Likewise.
39157 * sunrpc/svc_tcp.c: Likewise.
39158 * sunrpc/svc_udp.c: Likewise.
39159 * sunrpc/svc_unix.c: Likewise.
39160 * sunrpc/svcauth_des.c: Likewise.
39161 * sunrpc/xcrypt.c: Likewise.
39162 * sunrpc/xdr.c: Likewise.
39163 * sunrpc/xdr_array.c: Likewise.
39164 * sunrpc/xdr_float.c: Likewise.
39165 * sunrpc/xdr_intXX_t.c: Likewise.
39166 * sunrpc/xdr_mem.c: Likewise.
39167 * sunrpc/xdr_rec.c: Likewise.
39168 * sunrpc/xdr_ref.c: Likewise.
39169 * sunrpc/xdr_sizeof.c: Likewise.
39170 * sunrpc/xdr_stdio.c: Likewise.
39171
b5c086a2
RM
391722012-05-10 Roland McGrath <roland@hack.frob.com>
39173
39174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39175 change. Update copyright years.
39176
6d74dd09
JM
391772012-05-10 Joseph Myers <joseph@codesourcery.com>
39178
39179 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39180
28e72501
MK
391812012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39182 Joseph Myers <joseph@codesourcery.com>
39183 Paul Pluzhnikov <ppluzhnikov@google.com>
39184
39185 [BZ #14012]
39186 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39187 requiring rpcgen.
39188 [cross-compiling] (extra-libs): Likewise.
39189 [cross-compiling] (extra-libs-others): Likewise.
39190 [cross-compiling] (librpcsvc-routines): Likewise.
39191 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39192 [cross-compiling] (omit-deps): Likewise.
39193 (sunrpc-CPPFLAGS): New variable.
39194 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39195 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39196 (cross-rpcgen-objs): New variable.
39197 (extra-objs): Append $(cross-rpcgen-objs).
39198 ($(cross-rpcgen-objs)): New rule.
39199 ($(objpfx)cross-rpcgen): Likewise.
39200 (rpcgen-cmd): Define to use $(built-program-file). Expand
39201 comment.
39202 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39203 ($(objpfx)x%.stmp): Likewise.
39204 * sunrpc/proto.h [IS_IN_build] (_): Define.
39205 [IS_IN_build] (_libc_intl_domainname): Likewise.
39206
c8c59454
L
392072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39208
39209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39210 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39211 and R_X86_64_TPOFF64.
39212
6f27cd16
JM
392132012-05-10 Joseph Myers <joseph@codesourcery.com>
39214
39215 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39216 sysdeps/unix/sysv/syscalls.list.
39217 (stime): Likewise.
39218 (utime): Likewise.
39219 * sysdeps/unix/sysv/syscalls.list: Remove file.
39220
02467e1c
PE
392212012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39222
39223 [BZ #3440]
39224 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39225 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39226 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39227 (__LC_IDENTIFICATION): Make these macros useful in #if
39228 expressions, as required by C99.
39229
da392631
AS
392302012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39231
39232 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39233 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39234 after this.
39235
8115f29b
L
392362012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39237
39238 * stdlib/longlong.h: Updated from GCC.
39239
bdd74070
AJ
392402012-05-09 Andreas Jaeger <aj@suse.de>
39241
edfe0dbe
AJ
39242 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39243 default is first entry.
39244 (run_mode): Set type.
39245 (main): Remove informal message about syslog.
39246 (options): Fix typo.
39247
bcfe3a54
ST
39248 [BZ #14053]
39249 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39250 to asm.
bcfe3a54
ST
39251 (lrint): Likewise.
39252 (llrintf): Likewise.
39253 (llrint): Likewise.
39254 (rint): Likewise.
39255 (rintf): Likewise.
39256 (nearbyint): Likewise.
39257 (nearbyintf): Likewise.
bdd74070 39258
91d8d69e
AJ
392592012-05-09 Andreas Jaeger <aj@suse.de>
39260 Pedro Alves <palves@redhat.com>
39261
39262 * nscd/nscd.c (run_mode): Use enum.
39263 (main): Cleanup coding style issue.
39264
bb90b80b
AJ
392652012-05-09 Alexandre Oliva <aoliva@redhat.com>
39266 Andreas Jaeger <aj@suse.de>
39267
bcfe3a54
ST
39268 * nscd/nscd.c (go_background): Replaced with...
39269 (run_mode): ... this.
bb90b80b 39270 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39271 (options): Add -F --foreground.
39272 (main): Implement it.
39273 (parse_opt): Parse it.
bb90b80b 39274
1a4b75a1
AJ
392752012-05-09 Andreas Jaeger <aj@suse.de>
39276
39277 [BZ #14083]
39278 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39279 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39280 -Wconversion warning.
39281 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39282 Likewise.
39283
b1cc2472
JM
392842012-05-09 Joseph Myers <joseph@codesourcery.com>
39285
39286 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39287 == 0.
39288 (LC_ALL): Use macro-int-constant.
39289 (LC_COLLATE): Likewise.
39290 (LC_CTYPE): Likewise.
39291 (LC_MESSAGES): Likewise.
39292 (LC_MONETARY): Likewise.
39293 (LC_NUMERIC): Likewise.
39294 (LC_TIME): Likewise.
39295 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39296 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39297 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39298 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39299 Specify type.
39300 [C99-based standards] (float_t): Expect type.
39301 [C99-based standards] (double_t): Expect type.
39302 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39303 type.
39304 [C99-based standards] (HUGE_VALL): Likewise.
39305 [C99-based standards] (INFINITY): Likewise.
39306 [C99-based standards] (NAN): Likewise.
39307 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39308 [C99-based standards] (FP_NAN): Likewise.
39309 [C99-based standards] (FP_NORMAL): Likewise.
39310 [C99-based standards] (FP_SUBNORMAL): Likewise.
39311 [C99-based standards] (FP_ZERO): Likewise.
39312 [C99-based standards] (FP_FAST_FMA): Use
39313 optional-macro-int-constant. Specify type. Require == 1.
39314 [C99-based standards] (FP_FAST_FMAF): Likewise.
39315 [C99-based standards] (FP_FAST_FMAL): Likewise.
39316 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39317 [C99-based standards] (FP_ILOGBNAN): Likewise.
39318 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39319 Specify type.
39320 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39321 [C99-based standards] (math_errhandling): Specify type.
39322 [ISO99 || ISO11] (signgam): Do not allow.
39323 [non-C99-based standards] (copysignf): Do not allow.
39324 [non-C99-based standards] (exp2f): Likewise.
39325 [non-C99-based standards] (log2f): Likewise.
39326 [non-C99-based standards] (modff): Allow.
39327 [non-C99-based standards] (erff): Do not allow.
39328 [non-C99-based standards] (erfcf): Likewise.
39329 [non-C99-based standards] (gammaf): Likewise.
39330 [non-C99-based standards] (hypotf): Likewise.
39331 [non-C99-based standards] (j0f): Likewise.
39332 [non-C99-based standards] (j1f): Likewise.
39333 [non-C99-based standards] (jnf): Likewise.
39334 [non-C99-based standards] (lgammaf): Likewise.
39335 [non-C99-based standards] (tgammaf): Likewise.
39336 [non-C99-based standards] (y0f): Likewise.
39337 [non-C99-based standards] (y1f): Likewise.
39338 [non-C99-based standards] (ynf): Likewise.
39339 [non-C99-based standards] (isnanf): Likewise.
39340 [non-C99-based standards] (acoshf): Likewise.
39341 [non-C99-based standards] (asinhf): Likewise.
39342 [non-C99-based standards] (atanhf): Likewise.
39343 [non-C99-based standards] (cbrtf): Likewise.
39344 [non-C99-based standards] (expm1f): Likewise.
39345 [non-C99-based standards] (ilogbf): Likewise.
39346 [non-C99-based standards] (log1pf): Likewise.
39347 [non-C99-based standards] (logbf): Likewise.
39348 [non-C99-based standards] (nextafterf): Likewise.
39349 [non-C99-based standards] (remainderf): Likewise.
39350 [non-C99-based standards] (rintf): Likewise.
39351 [non-C99-based standards] (scalbf): Likewise.
39352 [non-C99-based standards] (copysignl): Likewise.
39353 [non-C99-based standards] (exp2l): Likewise.
39354 [non-C99-based standards] (log2l): Likewise.
39355 [non-C99-based standards] (modfl): Allow.
39356 [non-C99-based standards] (erfl): Do not allow.
39357 [non-C99-based standards] (erfcl): Likewise.
39358 [non-C99-based standards] (gammal): Likewise.
39359 [non-C99-based standards] (hypotl): Likewise.
39360 [non-C99-based standards] (j0l): Likewise.
39361 [non-C99-based standards] (j1l): Likewise.
39362 [non-C99-based standards] (jnl): Likewise.
39363 [non-C99-based standards] (lgammal): Likewise.
39364 [non-C99-based standards] (tgammal): Likewise.
39365 [non-C99-based standards] (y0l): Likewise.
39366 [non-C99-based standards] (y1l): Likewise.
39367 [non-C99-based standards] (ynl): Likewise.
39368 [non-C99-based standards] (isnanl): Likewise.
39369 [non-C99-based standards] (acoshl): Likewise.
39370 [non-C99-based standards] (asinhl): Likewise.
39371 [non-C99-based standards] (atanhl): Likewise.
39372 [non-C99-based standards] (cbrtl): Likewise.
39373 [non-C99-based standards] (expm1l): Likewise.
39374 [non-C99-based standards] (ilogbl): Likewise.
39375 [non-C99-based standards] (log1pl): Likewise.
39376 [non-C99-based standards] (logbl): Likewise.
39377 [non-C99-based standards] (nextafterl): Likewise.
39378 [non-C99-based standards] (remainderl): Likewise.
39379 [non-C99-based standards] (rintl): Likewise.
39380 [non-C99-based standards] (scalbl): Likewise.
39381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39382 [non-C99-based standards] (FP_*): Do not allow.
39383 [C99-based standards] (FP_*): Change to
39384 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39385 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39386 allow.
39387 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39388 (SIG_ERR): Likewise.
39389 [X/Open-based standards] (SIG_HOLD): Likewise.
39390 (SIG_IGN): Likewise.
39391 (SIGABRT): Use macro-int-constant. Specify type. Require
39392 positive value.
39393 (SIGFPE): Likewise.
39394 (SIGILL): Likewise.
39395 (SIGINT): Likewise.
39396 (SIGSEGV): Likewise.
39397 (SIGTER): Likewise.
39398 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39399 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39400 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39401 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39402 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39403 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39404 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39405 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39406 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39407 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39408 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39409 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39410 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39411 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39412 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39413 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39414 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39415 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39416 [X/Open-based standards] (SIGTRAP): Likewise.
39417 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39418 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39419 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39420 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39421 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39422 allow.
39423
b9f1922d
IW
394242012-05-08 Ian Wienand <ianw@vmware.com>
39425
39426 [BZ #14080]
39427 * time/tzset.c (__tzset_parse_tz): Update default rules for
39428 daylight time changes in the Energy Policy Act of 2005.
39429
1db86e88
AJ
394302012-05-09 Andreas Jaeger <aj@suse.de>
39431
39432 [BZ #13983]
39433 * elf/ldconfig.c (parse_conf): Change string to make clear that
39434 ldconfig only issued a warning if ld.so.conf does not exist.
39435
dee4a4e3
DM
394362012-05-08 David S. Miller <davem@davemloft.net>
39437
ee0db190
DM
39438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39439 movxtod instead of popping the value on the stack.
39440
dee4a4e3
DM
39441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39442
6a43ec98
CD
394432012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39444
39445 * config.h.in: Add HAVE_ARM_PCS_VFP.
39446
05c2c961
RMG
394472012-05-08 Roland Mc Grath <roland@hack.frob.com>
39448
bcfe3a54
ST
39449 [BZ #13979]
39450 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39451 checking but the checks are disabled for any reason.
05c2c961 39452
4b30f61a
L
394532012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39454
39455 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39456 and ELF64_R_TYPE with ELFW(R_TYPE).
39457
eee2bc67
JM
394582012-05-08 Joseph Myers <joseph@codesourcery.com>
39459
7ea5391a
JM
39460 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39461 (ulimit): Likewise.
39462
eee2bc67
JM
39463 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39464 (settimeofday): Likewise.
39465
abb66a67
MF
394662012-05-08 Mike Frysinger <vapier@gentoo.org>
39467
39468 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39469 a struct th_u2 inside the union, and move tu_block/tu_code into
39470 a new th_u3 union of tu_block/tu_code inside of that. Move
39471 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39472 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39473 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39474 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39475 (th_stuff): Change to th_u1.tu_stuff.
39476 (th_data): Define.
39477 (th_msg): Change to th_u1.th_u2.tu_data.
39478
7f18b530
DM
394792012-05-07 David S. Miller <davem@davemloft.net>
39480
05760585
DM
39481 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39482
7f18b530
DM
39483 [BZ #14074]
39484 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39485 (SETUP_PIC_REG): Use it.
39486 (SETUP_PIC_REG_LEAF): Use it.
39487
495fd99f
JM
394882012-05-07 Joseph Myers <joseph@codesourcery.com>
39489
39490 [BZ #13885]
39491 [BZ #13923]
39492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39493 USE_AS_EXPM1L.
39494 (EXPL_FINITE): Likewise.
39495 (FLDLOG): Likewise.
39496 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39497 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39498 e_expl.S.
39499 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39500 USE_AS_EXPM1L.
39501 (EXPL_FINITE): Likewise.
39502 (FLDLOG): Likewise.
39503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39504 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39505 e_expl.S.
39506 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39507 test of -max_value argument for long double.
39508 * sysdeps/i386/fpu/libm-test-ulps: Update.
39509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39510
6693d694
DM
395112012-05-06 David S. Miller <davem@davemloft.net>
39512
39513 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39514 quad soft-float symbols whose references which are compiler
39515 generated.
39516 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39517
6c23e11c
JM
395182012-05-06 Joseph Myers <joseph@codesourcery.com>
39519
d8b82cad
JM
39520 [BZ #13884]
39521 [BZ #13914]
39522 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39523 USE_AS_EXP10L.
39524 (EXPL_FINITE): Likewise.
39525 (FLDLOG): Likewise.
39526 (c0): Likewise.
39527 (c1): Likewise.
39528 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39529 Adjust comments for base varying.
39530 (__expl_finite): Change alias to EXPL_FINITE.
39531 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39532 e_expl.S.
39533 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39534 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39535 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39536 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39537 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39538 USE_AS_EXP10L.
39539 (EXPL_FINITE): Likewise.
39540 (FLDLOG): Likewise.
39541 (c0): Likewise.
39542 (c1): Likewise.
39543 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39544 Adjust comments for base varying.
39545 (__expl_finite): Change alias to EXPL_FINITE.
39546 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39547 tests for bugs.
39548 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39549
6c23e11c
JM
39550 [BZ #14064]
39551 * math/libm-test.inc (check_float_internal): Correct ulp
39552 calculation for subnormal expected results.
39553
29ba805c
AJ
395542012-05-06 Andreas Jaeger <aj@suse.de>
39555
39556 * Makeconfig (+math-flags): New, set to -frounding-math.
39557 (+cflags): Add +math-flags so that all of glibc gets compiled with
39558 it.
39559
39560 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39561
7b17aeda
JM
395622012-05-05 Joseph Myers <joseph@codesourcery.com>
39563
5779f134
JM
39564 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39565 Disable one test.
39566
41498f4d
JM
39567 [BZ #13787]
39568 [BZ #13922]
39569 [BZ #14036]
39570 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39571 (__ieee754_expl): Allow for and saturate large arguments.
39572 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39573 (u_threshold): Likewise.
39574 (__exp): Call __ieee754_exp before checking for overflow and
39575 underflow.
39576 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39577 (u_threshold): Likewise.
39578 (__expf): Call __ieee754_expf before checking for overflow and
39579 underflow.
39580 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39581 (u_threshold): Likewise.
39582 (__expl): Call __ieee754_expl before checking for overflow and
39583 underflow.
39584 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39585 (__ieee754_expl): Allow for and saturate large arguments.
39586 * math/libm-test.inc (exp_test): Add another test. Do not allow
39587 missing overflow exception on overflow.
39588 (expm1_test): Do not allow missing overflow exception on overflow.
39589
6698b8bf
JM
39590 * sysdeps/i386/fpu/e_expl.c: Move to ...
39591 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39592 rather than using inline asm.
39593 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39594 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39595 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39596
7b17aeda
JM
39597 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39598 (nice): Likewise.
39599 (poll): Likewise.
39600 (signal): Likewise.
39601 (time): Likewise.
39602 (times): Likewise.
39603
f7c85819
JM
396042012-05-04 Joseph Myers <joseph@codesourcery.com>
39605
39606 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39607 sysdeps/unix/common/syscalls.list.
39608 (fchmod): Likewise.
39609 (fchown): Likewise.
39610 (ftruncate): Likewise.
39611 (getrusage): Likewise.
39612 (gettimeofday): Likewise.
39613 (setpgid): Likewise.
39614 (setregid): Likewise.
39615 (setreuid): Likewise.
39616 (sigaction): Likewise.
39617 (truncate): Likewise.
39618 (vhangup): Likewise.
39619 * sysdeps/unix/common/syscalls.list: Remove file.
39620 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39621 * sysdeps/unix/sysv/linux/Implies: Likewise.
39622
336270d0
L
396232012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39624
39625 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39626 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39627 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39628 Moved to ...
39629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39630 Here.
39631 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39632 to ...
39633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39634 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39635 to ...
39636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39638 to ...
39639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39640 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39641 to ...
39642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39643 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39644 to ...
39645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39646 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39647 to ...
39648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39649 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39650 to ...
39651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39652 Here.
39653 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39654 to ...
39655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39656 Here.
39657 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39658 to ...
39659 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39660 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39661 Moved to ...
39662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39663 Here.
39664 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39665 to ...
39666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39667
d128e450
JM
396682012-05-04 Joseph Myers <joseph@codesourcery.com>
39669
fa8ee516
JM
39670 * sysdeps/unix/common/bits/dirent.h: Remove file.
39671 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39672
d128e450
JM
39673 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39674 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39675 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39676 * sysdeps/unix/bsd/isatty.c: Likewise.
39677 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39678 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39679 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39680
ff8faaf0 396812012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39682
62881be4 39683 [BZ #13563]
31dc8730
AZ
39684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39685 long double comparison inaccuracies.
39686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39688
6fef930c
AS
396892012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39690
39691 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39692 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39693
8f203e6c
JM
396942012-05-04 Joseph Myers <joseph@codesourcery.com>
39695
39696 [BZ #14049]
39697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39698 nonzero digits before rounding a hex value.
39699 * stdlib/tst-strtod.c (tests): Add another test.
39700
5197d9c2
AK
397012012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39702
39703 * sysdeps/s390/fpu/libm-test-ulps: Update.
39704
f0c1dedf
AJ
397052012-05-03 Andreas Jaeger <aj@suse.de>
39706
39707 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39708 does not get optimized out.
39709 (malloc_opt_barrier): New.
39710
a65ef2ae 397112012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39712 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39713
2b942cb7 39714 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39715 intermediate file deletion.
2b942cb7 39716 (generated): Add .symlist files.
a65ef2ae 39717
54b71e02
JM
397182012-05-03 Joseph Myers <joseph@codesourcery.com>
39719
39720 [BZ #13775]
39721 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39722 Redirect under this condition.
39723 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39724 [__USE_GNU] (__dprintf_chk): Not under this condition.
39725 [__USE_GNU] (__vdprintf_chk): Likewise.
39726 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39727 under this condition.
39728 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39729 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39730 [__USE_XOPEN2K8] (vdprintf): Likewise.
39731 [__USE_GNU] (__dprintf_chk): Not under this condition.
39732 [__USE_GNU] (__vdprintf_chk): Likewise.
39733 [__USE_GNU] (dprintf): Likewise.
39734 [__USE_GNU] (vdprintf): Likewise.
39735
d3dfcc41
RM
397362012-05-03 Roland McGrath <roland@hack.frob.com>
39737
39738 * elf/Makefile (common-generated): Set this instead of generated for
39739 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39740 $(all-built-dso)-derived lists.
39741
7ac30cc5
AJ
397422012-05-03 Andreas Jaeger <aj@suse.de>
39743
0c51e550
AJ
39744 * sysdeps/i386/fpu/libm-test-ulps: Update.
39745
7ac30cc5
AJ
39746 * FAQ: Removed.
39747 * FAQ.in: Likewise.
39748 * scripts/gen-FAQ.pl: Likewise.
39749 * manual/install.texi (Installation): Point to online location of
39750 FAQ.
39751 * Makefile (files-for-dist): Remove FAQ.
39752 (FAQ): Remove.
39753
d4c2917f
AM
397542012-05-02 Allan McRae <allan@archlinux.org>
39755
39756 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39757 (LDFLAGS-reldepmod5.so): Likewise.
39758 (LDFLAGS-reldep6mod1.so): Likewise.
39759 (LDFLAGS-reldep6mod4.so): Likewise.
39760 (LDFLAGS-reldep8mod3.so): Likewise.
39761 (LDFLAGS-unload4mod1.so): Likewise.
39762 (LDFLAGS-unload4mod2.so): Likewise.
39763 (LDFLAGS-tst-initorder): Likewise.
39764 (LDFLAGS-tst-initordera2.so): Likewise.
39765 (LDFLAGS-tst-initordera3.so): Likewise.
39766 (LDFLAGS-tst-initordera4.so): Likewise.
39767 (LDFLAGS-tst-initorderb2.so): Likewise.
39768 (LDFLAGS-noload): Likewise.
39769 (LDFLAGS-next): Likewise.
39770 (LDFLAGS-order2mod1.so): Likewise.
39771 (LDFLAGS-order2mod2.so): Likewise.
39772 (LDFLAGS-tst-initorder2): Likewise.
39773 (LDFLAGS-tst-initorder2a.so): Likewise.
39774 (LDFLAGS-tst-initorder2b.so): Likewise.
39775 (LDFLAGS-tst-initorder2c.so): Likewise.
39776 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39777
d77f993f
DM
397782012-05-02 David S. Miller <davem@davemloft.net>
39779
39780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39781
171a70b4
PP
397822012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39783
39784 [BZ #14055]
39785 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39786
0be196ad
AJ
397872012-05-02 Andreas Jaeger <aj@suse.de>
39788
39789 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39790 since we manipulate rounding mode.
39791 (CPPFLAGS-test-idouble.c): Likewise.
39792 (CPPFLAGS-test-ifloat.c): Likewise.
39793 (CFLAGS-test-ldouble.c): Likewise.
39794 (CFLAGS-test-double.c): Likewise.
39795 (CFLAGS-test-float.c): Likewise.
39796 (CFLAGS-test-misc.c): Likewise.
39797 (CFLAGS-test-test-fenv.c): Likewise.
39798
4f9d04aa
AZ
397992012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39800
2b942cb7
RM
39801 [BZ #2550]
39802 [BZ #2570]
39803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39804 comparisons to determine direction to adjust input.
4f9d04aa 39805
82a79e7d
RM
398062012-05-01 Roland McGrath <roland@hack.frob.com>
39807
f5a01ca9
RM
39808 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39809 output to the target.
39810
90fe4186
RM
39811 * scripts/localplt.awk: New file.
39812 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39813 (check-localplt-CFLAGS): Variable removed.
39814 ($(all-built-dso:=.jmprel)): New static pattern rule.
39815 (generated): Add those targets.
39816 (localplt-built-dso): New variable.
39817 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39818
39819 * elf/check-localplt.c: File removed.
39820
82397ed6
RM
39821 * scripts/check-execstack.awk: New file.
39822 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39823 (check-execstack-CFLAGS): Variable removed.
39824 ($(objpfx)check-execstack.h): Target removed.
39825 ($(objpfx)execstack-default): New target.
39826 (generated): Add that instead of check-execstack.h.
39827 ($(all-built-dso:=.phdr)): New static pattern rule.
39828 (generated): Add those targets.
39829 * elf/check-execstack.c: File removed.
39830
82a79e7d
RM
39831 * scripts/check-textrel.awk: New file.
39832 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39833 (check-textrel-CFLAGS): Variable removed.
39834 (all-built-dso): Use := to define.o
39835 ($(all-built-dso:=.dyn)): New static pattern rule.
39836 (generated): Add those targets.
39837 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39838 * config.make.in (READELF): New substituted variable.
39839 * elf/check-textrel.c: File removed.
39840
62fde54f 398412012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39842
615605c9
JM
39843 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39844 allow.
39845 * conform/data/ctype.h-data [C99-based standards] (isblank):
39846 Expect function.
39847 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39848 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39849 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39850 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39851 Specify type. Require positive value.
39852 (EILSEQ): Likewise.
39853 (ERANGE): Likewise.
39854 [ISO || POSIX] (EILSEQ): Do not expect.
39855 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39856 Specify type. Require positive value.
39857 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39858 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39859 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39860 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39861 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39862 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39863 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39864 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39865 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39866 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39867 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39868 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39869 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39870 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39871 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39872 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39873 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39874 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39875 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39876 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39877 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39878 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39879 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39880 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39881 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39882 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39883 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39884 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39885 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39886 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39887 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39888 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39889 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39890 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39891 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39892 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39893 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39894 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39895 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39896 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39897 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39898 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39899 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39900 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39901 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39902 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39903 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39904 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39905 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39906 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39907 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39908 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39909 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39910 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39911 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39912 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39913 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39914 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39915 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39916 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39917 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39918 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39919 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39920 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39921 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39922 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39923 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39924 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39925 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39926 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39927 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39928 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39929 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39930 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39931 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39932 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39933 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39934 Require >= 2.
39935 (FLT_ROUNDS): Expect as macro, not constant.
39936 (FLT_MANT_DIG): Use macro-int-constant.
39937 (DBL_MANT_DIG): Likewise.
39938 (LDBL_MANT_DIG): Likewise.
39939 (FLT_DIG): Likewise.
39940 (DBL_DIG): Likewise.
39941 (LDBL_DIG): Likewise.
39942 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39943 (DBL_MIN_EXP): Likewise.
39944 (LDBL_MIN_EXP): Likewise.
39945 (FLT_MAX_EXP): Use macro-int-constant.
39946 (DBL_MAX_EXP): Likewise.
39947 (LDBL_MAX_EXP): Likewise.
39948 (FLT_MAX_10_EXP): Likewise.
39949 (DBL_MAX_10_EXP): Likewise.
39950 (LDBL_MAX_10_EXP): Likewise.
39951 (FLT_MAX): Use macro-constant.
39952 (DBL_MAX): Likewise.
39953 (LDBL_MAX): Likewise.
39954 (FLT_EPSILON): Use macro-constant. Give upper bound.
39955 (DBL_EPSILON): Likewise.
39956 (LDBL_EPSILON): Likewise.
39957 (FLT_MIN): Likewise.
39958 (DBL_MIN): Likewise.
39959 (LDBL_MIN): Likewise.
39960 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39961 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39962 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39963 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39964 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39965 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39966 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39967 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39968 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39969 [ISO11] (FLT_TRUE_MIN): Likewise.
39970 [ISO11] (LDBL_TRUE_MIN): Likewise.
39971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39972 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39973 (SCHAR_MIN): Use macro-int-constant. Specify type.
39974 (SCHAR_MAX): Likewise.
39975 (UCHAR_MAX): Likewise.
39976 (CHAR_MIN): Likewise.
39977 (CHAR_MAX): Likewise.
39978 (MB_LEN_MAX): Use macro-int-constant.
39979 (SHRT_MIN): Use macro-int-constant. Specify type.
39980 (SHRT_MAX): Likewise.
39981 (USHRT_MAX): Likewise.
39982 (INT_MAX): Likewise.
39983 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39984 bound negative.
39985 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39986 bound with "U".
39987 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39988 bound with "L".
39989 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39990 bound negative. Suffix upper bound with "L".
39991 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39992 bound with "UL".
39993 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39994 Specify type.
39995 [C99-based standards] (LLONG_MAX): Likewise.
39996 [C99-based standards] (ULLONG_MAX): Likewise.
39997 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39998 == 0.
39999 [ISO11] (max_align_t): Require type.
40000 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40001
c9140a62
JM
40002 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40003 from $CFLAGS, without defining away __attribute__ calls.
40004 (checknamespace): Use $CFLAGS_namespace.
40005
9af0bf29
JM
40006 * conform/conformtest.pl (@keywords): Only include C99 keywords
40007 for standards based on C99 or C11.
40008
343222a2
JM
40009 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40010 Disable tests.
40011 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40012 UNIX98]: Likewise.
40013
661f8cf0
JM
40014 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40015 usability of symbols in #if.
40016
ee74b9cb
JM
40017 * conform/conformtest.pl: If macro or constant types start
40018 "promoted:", expect the symbol to be of the following type
40019 promoted by the integer promotions.
62fde54f 40020
aafc49b3
JM
40021 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40022 in one place. Also handle "macro-constant".
40023
fefdf574
JM
40024 * conform/conformtest.pl: Only accept expected macro values with
40025 "==". Parse all "macro" lines in one place.
40026 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40027
f2d922fe
JM
40028 * conform/conformtest.pl: Handle braced types on "constant" lines
40029 instead of handling "typed-constant".
40030 * conform/data/signal.h-data: Use "constant" instead of
40031 "typed-constant".
40032
d22956c9
JM
40033 * conform/conformtest.pl: Handle "optional-" at start of lines in
40034 one place rather than duplicating several cases. Handle each
40035 format of "macro" line with initial "optional-".
40036
028e2e38
JM
40037 * conform/conformtest.pl: Only accept expected constant or
40038 optional-constant values with "==". Parse all "constant" lines in
40039 one place. Parse all "optional-constant" lines in one place.
40040 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40041 * conform/data/fmtmsg.h-data: Likewise.
40042 * conform/data/netinet/in.h-data: Likewise.
40043 * conform/data/tar.h-data: Likewise.
40044 * conform/data/limits.h-data: Use "==" form on "constant" and
40045 "optional-constant" lines.
40046
1b8f2850
JM
40047 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40048 Use -std=c99 for XOPEN2K.
40049 (@knownproblems): Remove.
40050 (newtoken): Don't check %isknown.
40051
a05a144b
JM
40052 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40053 Do not expect macro.
40054 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40055 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40056 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40057 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40058 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40059 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40060 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40061 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40062 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40063 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40064 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40065 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40066 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40067 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40068 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40069 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40070 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40071 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40072 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40073 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40074 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40075 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40076 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40077 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40078 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40084 [XPG3] (acosh): Likewise.
40085 [XPG3] (asinh): Likewise.
40086 [XPG3] (atanh): Likewise.
40087 [XPG3] (cbrt): Likewise.
40088 [XPG3] (expm1): Likewise.
40089 [XPG3] (ilogb): Likewise.
40090 [XPG3] (log1p): Likewise.
40091 [XPG3] (logb): Likewise.
40092 [XPG3] (nextafter): Likewise.
40093 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40094 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40095 [XPG3] (remainder): Likewise.
40096 [XPG3] (rint): Likewise.
40097 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40098 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40099 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40100 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40101 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40103 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40104 [UNIX98 || XOPEN2K] (scalb): Expect.
40105 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40106 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40108 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40109 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40110 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40111 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40112 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40113 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40114 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40115 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40119 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40120 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40125 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40126 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40127 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40128 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40129 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40130 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40131 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40132 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40133 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40134 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40135 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40136 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40137 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40138 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40139 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40140 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40141 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40142 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40143 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40144 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40145 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40146 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40147 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40148 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40149 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40150 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40151 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40152 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40153 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40154 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40155 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40156 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40157 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40158 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40159 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40160 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40161 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40162 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40163 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40164 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40165 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40166 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40167 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40168 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40169 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40170 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40171 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40172 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40173 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40174 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40175 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40176 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40177 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40178 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40179 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40180 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40181 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40182 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40183 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40184 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40185 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40186 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40187 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40188 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40189 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40190 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40191 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40192 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40193 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40194 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40195 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40196 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40197 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40198 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40199 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40200 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40201 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40202 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40203 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40204 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40205 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40206 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40207 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40208 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40209 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40210 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40211 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40212 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40213 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40214 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40215 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40216 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40217 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40218 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40219 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40220 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40221 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40222 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40223 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40224 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40225 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40226 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40227 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40228 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40229 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40230 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40231 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40232 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40233 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40234 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40235 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40236 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40237 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40238 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40239 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40240 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40241 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40242
73c5ebe3
JM
40243 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40244 _XOPEN_SOURCE_EXTENDED for XPG4.
40245
39c33b6c
JM
40246 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40247
62fde54f
JM
40248 * Makeconfig (localtime): Remove variable.
40249 (inst_localtime-file): Likewise.
40250
0741d64c
AS
402512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40252
40253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40254 Update.
40255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40256 Update.
40257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40258 Update.
40259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40260 Update.
40261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40262 Update.
40263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40264 Update.
40265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40266 Update.
40267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40268 Update.
40269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40270 Update.
40271
7cb029ee
JM
402722012-05-01 Joseph Myers <joseph@codesourcery.com>
40273
40274 [BZ #2550]
40275 [BZ #2570]
40276 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40277 comparisons to determine direction to adjust input.
40278 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40279 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40280 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40281 Likewise.
40282 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40283 Likewise.
40284 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40285 Likewise.
40286 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40287 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40288 Likewise.
40289 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40290 Likewise.
40291 * math/libm-test.inc (nexttoward_test): Add more tests.
40292
412bd966
AS
402932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40294
40295 [BZ #14040]
40296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40297 in version GLIBC_2.1, not GLIBC_2.0.
40298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40299 Likewise.
40300
9568c0c2
JM
403012012-04-30 Joseph Myers <joseph@codesourcery.com>
40302
adfbc8ac
JM
40303 [BZ #13942]
40304 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40305 (1 - x) * (1 + x).
40306 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40307 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40308 * math/libm-test.inc (acos_test): Add more tests.
40309 (asin_test): Likewise.
40310 * sysdeps/i386/fpu/libm-test-ulps: Update.
40311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40312
5ba3cc69
JM
40313 [BZ #14034]
40314 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40315 of square root.
40316 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40317 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40318 * math/libm-test.inc (acos_test_tonearest): New function.
40319 (acos_test_towardzero): Likewise.
40320 (acos_test_downward): Likewise.
40321 (acos_test_upward): Likewise.
40322 (asin_test_tonearest): Likewise.
40323 (asin_test_towardzero): Likewise.
40324 (asin_test_downward): Likewise.
40325 (asin_test_upward): Likewise.
40326 (main): Call the new functions.
40327 * sysdeps/i386/fpu/libm-test-ulps: Update.
40328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40329
9568c0c2
JM
40330 [BZ #13884]
40331 [BZ #13924]
40332 * math/e_exp10.c: Include <float.h>.
40333 (__ieee754_exp10): Handle underflow here rather than multiplying
40334 large negative argument by M_LN10.
40335 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40336 of __ieee754_expf.
40337 * math/e_exp10l.c: Include <float.h>.
40338 (__ieee754_exp10l): Handle underflow here rather than multiplying
40339 large negative argument by M_LN10l.
40340 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40341 spurious overflow exception on underflow.
40342
5ac3ea17
MP
403432012-04-29 Marek Polacek <polacek@redhat.com>
40344
40345 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40346 (__fortify_function): New macro.
40347 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40348 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40349 __extern_always_inline.
40350 * libio/bits/stdio2.h: Likewise.
40351 * libio/bits/stdio.h: Likewise.
40352 * string/string.h: Likewise.
40353 * string/bits/string3.h: Likewise.
40354 * include/stdio.h: Likewise.
40355 * stdlib/bits/stdlib.h: Likewise.
40356 * stdlib/stdlib.h: Likewise.
40357 * rt/bits/mqueue2.h: Likewise.
40358 * rt/mqueue.h: Likewise.
40359 * posix/bits/unistd.h: Likewise.
40360 * posix/unistd.h: Likewise.
40361 * io/bits/poll2.h: Likewise.
40362 * io/bits/fcntl2.h: Likewise.
40363 * io/fcntl.h: Likewise.
40364 * io/sys/poll.h: Likewise.
40365 * misc/bits/syslog.h: Likewise.
40366 * misc/bits/syslog-ldbl.h: Likewise.
40367 * misc/sys/syslog.h: Likewise.
40368 * socket/bits/socket2.h: Likewise.
40369 * socket/sys/socket.h: Likewise.
40370 * debug/tst-chk1.c: Likewise.
40371 * wcsmbs/bits/wchar2.h: Likewise.
40372 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40373 * wcsmbs/wchar.h: Likewise.
40374
ecf0ebfb
AJ
403752012-04-29 Andreas Jaeger <aj@suse.de>
40376
40377 * Makerules (tests): Remove enable-check-abi protection.
40378 (check-abi-warn): Remove.
40379 (check-abi-%): Remove check-abi-warn usage.
40380
40381 * configure.in: Remove check-abi configure option.
40382 * configure: Regenerated.
40383 * config.make.in (enable-check-abi): Remove.
40384
6d5c57fa
AS
403852012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40386
24c5d07e 40387 [BZ #14033]
ded5180a
AS
40388 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40389 double functions to double *_finite functions.
40390
7e0d315d
AS
40391 [BZ #13941]
40392 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40393 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40394 LDBL_MIN_EXP.
40395 * stdio-common/Makefile (tests): Add tst-sprintf3.
40396 * stdio-common/tst-sprintf3.c: New file.
40397
6d5c57fa
AS
40398 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40399 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40400
0749ff8b
JM
404012012-04-28 Joseph Myers <joseph@codesourcery.com>
40402
40403 * conform/conformtest.pl: Remove duplicate typed-constant
40404 handling.
40405
8dbd5d7b
DM
404062012-04-28 David S. Miller <davem@davemloft.net>
40407
40408 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40409 (check-abi-%): Remove AWK script prerequisite and explicit
40410 abilist directory.
40411 (check-abi): Rewrite to just diff the symlist with the abilist.
40412 (config-tls, config-abi-config): Delete, no longer used.
40413 (update-abi-%): Remove AWK script and explicit abilist directory.
40414 (update-abi): Rewrite to simply compare and conditionally copy the
40415 symlist and the sysdep abilist file. Remove update-abi-config
40416 checks.
40417 * abilist/ld.abilist: Remove.
40418 * abilist/libBrokenLocale.abilist: Remove.
40419 * abilist/libanl.abilist: Remove.
40420 * abilist/libcrypt.abilist: Remove.
40421 * abilist/libdl.abilist: Remove.
40422 * abilist/librt.abilist: Remove.
40423 * abilist/libthread_db.abilist: Remove.
40424 * abilist/libutil.abilist: Remove.
40425 * scripts/extract-abilist.awk: Remove.
40426 * scripts/merge-abilist.awk: Remove.
40427 * sysdeps/generic/libcidn.abilist: New file.
40428 * sysdeps/generic/libnss_compat.abilist: New file.
40429 * sysdeps/generic/libnss_db.abilist: New file.
40430 * sysdeps/generic/libnss_dns.abilist: New file.
40431 * sysdeps/generic/libnss_files.abilist: New file.
40432 * sysdeps/generic/libnss_hesiod.abilist: New file.
40433 * sysdeps/generic/libnss_nis.abilist: New file.
40434 * sysdeps/generic/libnss_nisplus.abilist: New file.
40435 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40436 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40437 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40438 file.
40439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40440 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40441 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40442 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40443 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40444 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40445 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40446 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40447 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40448 file.
40449 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40450 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40452 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40453 file.
40454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40455 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40456 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40457 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40458 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40459 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40460 file.
40461 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40462 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40463 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40464 file.
40465 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40467 New file.
40468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40469 New file.
40470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40471 New file.
40472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40473 New file.
40474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40475 New file.
40476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40477 New file.
40478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40479 New file.
40480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40481 New file.
40482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40483 New file.
40484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40485 New file.
40486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40487 New file.
40488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40489 New file.
40490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40491 New file.
40492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40493 file.
40494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40495 New file.
40496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40497 New file.
40498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40499 file.
40500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40501 New file.
40502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40503 New file.
40504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40505 file.
40506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40507 New file.
40508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40509 New file.
40510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40511 New file.
40512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40513 New file.
40514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40515 New file.
40516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40517 New file.
40518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40520 file.
40521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40522 New file.
40523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40524 file.
40525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40526 file.
40527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40528 file.
40529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40530 file.
40531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40532 file.
40533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40534 New file.
40535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40536 file.
40537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40538 file.
40539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40540 New file.
40541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40542 file.
40543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40545 file.
40546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40547 New file.
40548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40549 file.
40550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40551 file.
40552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40553 file.
40554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40555 file.
40556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40557 file.
40558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40559 New file.
40560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40561 file.
40562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40563 file.
40564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40565 New file.
40566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40567 file.
40568 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40569 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40570 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40571 file.
40572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40573 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40574 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40575 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40576 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40577 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40578 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40579 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40580 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40581 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40584 file.
40585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40586 New file.
40587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40588 file.
40589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40590 file.
40591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40592 file.
40593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40594 file.
40595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40596 file.
40597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40598 New file.
40599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40600 New file.
40601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40602 file.
40603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40604 New file.
40605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40606 file.
40607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40609 file.
40610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40611 New file.
40612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40613 file.
40614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40615 file.
40616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40617 file.
40618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40619 file.
40620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40621 file.
40622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40623 New file.
40624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40625 New file.
40626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40627 file.
40628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40629 New file.
40630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40631 file.
40632
41d73a1b
JM
406332012-04-28 Joseph Myers <joseph@codesourcery.com>
40634
40635 * conform/conformtest.pl: Fix typo in handling typed-constant from
40636 allow-header.
40637
28aeeda4
JM
406382012-04-27 Joseph Myers <joseph@codesourcery.com>
40639
adae8f5e
JM
40640 * README: Cut down references to pre-2.6 Linux kernels and
40641 Linuxthreads. Update lists of configurations in libc and ports
40642 and sort alphabetically. Say "or newer" with Linux kernel version
40643 requirements.
40644
28aeeda4
JM
40645 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40646
a462cb63
RA
406472012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40648
40649 [BZ #887]
40650 * math/libm-test.inc (logb_test_downward): New test to expose
40651 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40652 rounding mode.
40653
6ad3493e
JM
406542012-04-27 Joseph Myers <joseph@codesourcery.com>
40655
40656 [BZ #14027]
40657 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40658 to be done.
40659 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40660 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40661
2ce4f015
JM
406622012-04-26 Joseph Myers <joseph@codesourcery.com>
40663
5aeb141a
JM
40664 * sysdeps/unix/i386/brk.S: Remove file.
40665 * sysdeps/unix/i386/dl-brk.S: Likewise.
40666 * sysdeps/unix/i386/pipe.S: Likewise.
40667 * sysdeps/unix/i386/sigreturn.S: Likewise.
40668 * sysdeps/unix/i386/syscall.S: Likewise.
40669 * sysdeps/unix/i386/vfork.S: Likewise.
40670 * sysdeps/unix/i386/wait.S: Likewise.
40671
7143acae
JM
40672 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40673 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40674
2ce4f015
JM
40675 * configure.in (arm*-none*): Do not allow without
40676 --enable-hacker-mode.
40677 (netbsd*): Remove case setting base_os.
40678 (386bsd*): Likewise.
40679 (freebsd*): Likewise.
40680 (bsdi*): Likewise.
40681 (osf*): Likewise.
40682 (sunos*): Likewise.
40683 (ultrix*): Likewise.
40684 (newsos*): Likewise.
40685 (dynix*): Likewise.
40686 (*bsd*): Likewise.
40687 (sysv*): Likewise.
40688 (isc*): Likewise.
40689 (esix*): Likewise.
40690 (sco*): Likewise.
40691 (minix*): Likewise.
40692 (irix4*): Likewise.
40693 (irix6*): Likewise.
40694 (solaris[2-9]*): Likewise.
40695 (none): Likewise.
40696 * configure: Regenerated.
40697
0ac229c8
AZ
406982012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40699
40700 [BZ #11521]
40701 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40702 overflow or cancellation in calculating denominator.
40703 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40705 down expression to avoid unexpected rounding in newer GCCs.
40706 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40707
33f244f4
DM
407082012-04-26 David S. Miller <davem@davemloft.net>
40709
40710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40711 long-double compat symbols.
40712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40725
cfa1f3e8
DM
407262012-04-25 David S. Miller <davem@davemloft.net>
40727
40728 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40729 HWCAP_* values only after the memory barriers have been defined.
40730 (atomic_full_barrier): Define.
40731 (atomic_read_barrier): Define.
40732 (atomic_write_barrier): Define.
40733
6e236b92
SP
407342012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40735
40736 * shlib-versions: Add libgcc_s version information.
40737 * sysdeps/generic/libgcc_s.h: Remove.
40738 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40739 libgcc_s.h.
40740 * sysdeps/gnu/unwind-resume.c: Likewise.
40741 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40742
aab39a09
DM
407432012-04-25 David S. Miller <davem@davemloft.net>
40744
40745 * sysdeps/unix/sparc/brk.S: Delete.
40746 * sysdeps/unix/sparc/dl-brk.S: Delete.
40747 * sysdeps/unix/sparc/pipe.S: Delete.
40748 * sysdeps/unix/sparc/sysdep.S: Delete.
40749 * sysdeps/unix/sparc/sysdep.h: Delete.
40750 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40751 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40752 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40753 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40754 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40755 (JUMPTARGET): Remove.
40756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40757 sysdeps/unix/sparc/sysdep.h
40758 (ENTRY, END): Remove.
40759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40760
a3cc4f48
JM
407612012-04-25 Joseph Myers <joseph@codesourcery.com>
40762
2ed8cda2
JM
40763 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40764 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40765 -DIS_IN_build.
40766
35d76d59
JM
40767 * timezone/README: Update upstream location and email address for
40768 tzcode and tzdata.
40769 * timezone/zdump.c: Update from tzcode 2012b.
40770 * timezone/zic.c: Likewise.
40771
a3cc4f48
JM
40772 * configure.in (libc_cv_as_needed): Remove test.
40773 * configure: Regenerated.
40774 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40775 conditional definition.
40776 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40777 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40778 * config.make.in (have-as-needed): Remove variable.
40779
ceab42c3
SP
407802012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40781 Paul Pluzhnikov <ppluzhnikov@google.com>
40782
40783 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40784 strings correctly.
40785
3ce2865f
CLT
407862012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40787
40788 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40789 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40790 * sysdeps/sh/strlen.S: Likewise.
40791
f37e0d68
JM
407922012-04-24 Joseph Myers <joseph@codesourcery.com>
40793
ae186e9a
JM
40794 * sysdeps/unix/fork.S: Remove file.
40795 * sysdeps/unix/i386/fork.S: Likewise.
40796 * sysdeps/unix/sparc/fork.S: Likewise.
40797
b96914af
JM
40798 * sysdeps/unix/system.c: Remove file.
40799 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40800
f37e0d68
JM
40801 * sysdeps/unix/getegid.S: Remove file.
40802 * sysdeps/unix/geteuid.S: Likewise.
40803
87ef29ca
RM
408042012-04-24 Roland McGrath <roland@hack.frob.com>
40805
83bcd236
RM
40806 * scripts/check-localplt.awk: New file.
40807 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40808 of diff.
40809 * scripts/data/localplt-generic.data: Add a comment.
40810
87ef29ca
RM
40811 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40812 NODE when __dir_mkfile failed.
40813 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40814 Reported by Ludovic Courtès <ludo@gnu.org>.
40815
e5a6e567
AJ
408162012-04-24 Andreas Jaeger <aj@suse.de>
40817
40818 * Makerules (common-clean): Also remove gen-as-const-headers
40819 files.
40820
c1820385
JM
408212012-04-24 Joseph Myers <joseph@codesourcery.com>
40822
40823 * Makerules (native-compile): Do not change working directory for
40824 build. Use $(OUTPUT_OPTION) in command.
40825 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40826
94e02fc4
AZ
408272012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40828
40829 [BZ #13886]
40830 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40831 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40832 * math/libm-test.inc (floor_test): Add more tests.
40833 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40834
3a533ca3
JM
408352012-04-24 Joseph Myers <joseph@codesourcery.com>
40836
940ab4b3
JM
40837 * sysdeps/unix/getdents.c: Remove file.
40838 * sysdeps/unix/sysv/getdents.c: Likewise.
40839 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40840
90e037bd
JM
40841 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40842 sysdeps/unix/mman/syscalls.list.
40843 (mmap): Likewise.
40844 (mprotect): Likewise.
40845 (msync): Likewise.
40846 (munmap): Likewise.
40847 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40848 * sysdeps/unix/mman/syscalls.list: Remove.
40849 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40850
3a533ca3
JM
40851 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40852 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40853 * configure: Regenerated.
40854 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40855 $(libgcc_s_suffix).
40856 * config.make.in (libgcc_s_suffix): Remove variable.
40857
1ad743de
JM
408582012-04-23 Joseph Myers <joseph@codesourcery.com>
40859
4ad451e2
JM
40860 * sysdeps/unix/sysv/gethostname.c: Move to ...
40861 * sysdeps/posix/gethostname.c: ... here.
40862
5e37ce39
JM
40863 * sysdeps/unix/execve.S: Remove file.
40864
1ad743de
JM
40865 * sysdeps/unix/_exit.S: Remove file.
40866
4e681b5b
AJ
408672012-04-23 Andreas Jaeger <aj@suse.de>
40868
40869 [BZ #13739]
40870 * manual/Makefile: Remove make dist support, there's no
40871 need for a stand-alone documentation tar ball.
40872 (TEXI2DVI): Define always, it's not in Makeconfig.
40873 (dist): Removed.
40874 (tar-it): Removed.
40875 (edition): Removed.
40876 (glibc-doc-$(edition).tar): Removed
40877 (%.Z): Removed.
40878 (%.gz): Removed.
40879 (%.uu): Removed.
40880 (ETAGS): Remove, it's in Makeconfig.
40881 (move-if-change): Remove, it's in Makeconfig.
40882
38686a03 408832012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40884
40885 [BZ #13970]
40886 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40887 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40888 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40889 (strtod_l, strtof_l, strtold_l): Remove __wur.
40890 It is not necessarily an error to ignore strtol's return value.
40891 One can reliably look at the stored endptr to decide whether
40892 the number had valid syntax.
40893
7c0616fa
AJ
408942012-04-21 Andreas Jaeger <aj@suse.de>
40895
803cb6b7 40896 [BZ #13739]
7c0616fa
AJ
40897 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40898
b0fe253f
JM
408992012-04-21 Joseph Myers <joseph@codesourcery.com>
40900
40901 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40902 * sysdeps/unix/sysv/Versions: Remove file.
40903
8280f22d
MT
409042012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40905
40906 [BZ #13927]
40907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40908
75ce411f 409092012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40910
40911 [BZ #7064]
40912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40913 version from __vm86.
40914
097d59fa
JM
409152012-04-20 Joseph Myers <joseph@codesourcery.com>
40916
a90f3bcb
JM
40917 * sysdeps/unix/common/lxstat.c: Remove file.
40918 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40919
edc7ea78
JM
40920 * sysdeps/unix/sysv/Makefile: Remove file.
40921
cb78c221
JM
40922 * sysdeps/unix/sysv/direct.h: Remove file.
40923
efa6a45f
JM
40924 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40925 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40926 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40927 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40928 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40929 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40930 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40931
9c9f2d0c
JM
40932 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40933
4541c83b
JM
40934 * sysdeps/unix/xmknod.c: Remove file.
40935 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40936
f5d153a0
JM
40937 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40938
aa746595
JM
40939 * sysdeps/unix/sysv/i386/time.S: Remove file.
40940
cce5905e
JM
40941 * sysdeps/unix/fxstat.c: Remove file.
40942 * sysdeps/unix/xstat.c: Likewise.
40943 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40944
37fa3841
JM
40945 * sysdeps/unix/sysv/sigaction.c: Remove file.
40946
ff1962a3
JM
40947 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40948 (sysdep_headers): Remove variable.
40949 [termio.h not in sysdep_headers] (generated): Likewise.
40950 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40951 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40952 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40953 * sysdeps/unix/sysv/tcflow.c: Likewise.
40954 * sysdeps/unix/sysv/tcflush.c: Likewise.
40955 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40956 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40957 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40958 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40959 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40960
e7740d31
JM
40961 * sysdeps/unix/siglist.c: Remove file.
40962
ee06f18b
JM
40963 * sysdeps/unix/getppid.S: Remove file.
40964
097d59fa
JM
40965 * sysdeps/unix/mkdir.c: Remove file.
40966 * sysdeps/unix/rmdir.c: Likewise.
40967
ff3d51ec
AS
409682012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40969
40970 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40971 ERR_MAX value.
40972 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40973 errlist-compat value.
40974
50f81fd7
DM
409752012-04-18 David S. Miller <davem@davemloft.net>
40976
40977 * sysdeps/generic/memcopy.h (reg_char): Delete.
40978 * debug/strcat_chk.c: Use char, not reg_char.
40979 * debug/strcpy_chk.c: Likewise.
40980 * debug/strncat_chk.c: Likewise.
40981 * debug/strncpy_chk.c: Likewise.
40982 * string/memchr.c: Likewise.
40983 * string/memrchr.c: Likewise.
40984 * string/rawmemchr.c: Likewise.
40985 * string/strcat.c: Likewise.
40986 * string/strchr.c: Likewise.
40987 * string/strchrnul.c: Likewise.
40988 * string/strcmp.c: Likewise.
40989 * string/strcpy.c: Likewise.
40990 * string/strncat.c: Likewise.
40991 * string/strncmp.c: Likewise.
40992 * string/strncpy.c: Likewise.
40993
8ff41c46
WS
409942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40995
40996 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40997 __builtin_memcopy is called when src and dest ranges are known to not
40998 overlap.
40999
6b652f46
WS
410002012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41001
41002 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41003 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41004 fwd_align_merge macro call.
41005 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41006 bwd_align_merge macro call.
41007 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41008
b282631e
WS
410092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41010
41011 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41012 bwd_align_merge macros.
41013 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41014 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41015 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41016
95aa737c
DM
410172012-04-18 David S. Miller <davem@davemloft.net>
41018
41019 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41020
7a99a614
AJ
410212012-04-18 Andreas Jaeger <aj@suse.de>
41022
41023 [BZ# 6794]
41024 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41025 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41026 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41027
41028 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41029 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41030 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41031
41032 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41033 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41034 Adjust for changed ldbl-128 files.
41035
41036 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41037 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41039
e5270c23
DM
410402012-04-17 David S. Miller <davem@davemloft.net>
41041
41042 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41043
fb5e92c9
AS
410442012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41045
41046 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41047 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41048 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41049 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41050 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41051 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41052
76da7265
AZ
410532012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41054
41055 [BZ #6794]
41056 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41057 * math/libm-test.inc: Add ilogb errno and exception tests.
41058 * math/w_ilogb.c: New file: ilogb wrapper.
41059 * math/w_ilogbf.c: New file: ilogbf wrapper.
41060 * math/w_ilogbl.c: New file: ilogbl wrapper.
41061 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41062 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41063 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41064 exception being thrown with 0.0 as argument.
41065 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41066 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41067 exception being thrown with 0.0 as argument.
41068 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41069 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41070 exception being thrown with 0.0 as argument.
41071 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41072 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41073 exception being thrown with 0.0 as argument.
41074 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41075 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 41076 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
41077 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41078 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41079 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41080 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41081 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41082 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41083
0396e69d
PB
410842012-04-17 Petr Baudis <pasky@ucw.cz>
41085
41086 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41087 with altivec.
41088
750b5926
MP
410892012-04-16 Marek Polacek <polacek@redhat.com>
41090
41091 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41092
751728a1
MP
410932012-04-16 Marek Polacek <polacek@redhat.com>
41094
41095 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41096 operands of fdivp instruction.
41097
34a27407
L
410982012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41099
41100 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41101 * elf/tst-auditmod3b.c: Likewise.
41102 * elf/tst-auditmod4b.c: Likewise.
41103 * elf/tst-auditmod5b.c: Likewise.
41104 * elf/tst-auditmod6b.c: Likewise.
41105 * elf/tst-auditmod6c.c: Likewise.
41106 * elf/tst-auditmod7b.c: Likewise.
41107 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41108 * sysdeps/x86_64/preconfigure.in: Likewise.
41109 * sysdeps/x86_64/preconfigure: Regenerated.
41110
7e73e17d
L
411112012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41112
41113 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41114 __ILP32__.
41115
c7a6ab72
AB
411162012-04-13 Antoine Balestrat <merkil33@gmail.com>
41117
41118 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41119 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41120
a9e8e0e0
CL
411212012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41122
41123 [BZ #13973]
41124 * locale/iso-639.def: Fix gl language name. Spotted by
41125 Yaron Shahrabani.
41126
ec98af7d
RM
411272012-04-12 Roland McGrath <roland@hack.frob.com>
41128
41129 [BZ #2074]
41130 * libio/libio.h (__io_write_fn): Update comment.
41131
247c3ede
PB
411322012-04-12 Petr Baudis <pasky@ucw.cz>
41133
41134 [BZ #2074]
41135 * stdio.texi (Hook Functions): The user provided writer function
41136 is not allowed to return -1.
41137
55939d6d
DM
411382012-04-11 David S. Miller <davem@davemloft.net>
41139
41140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41141
90020f5a
MF
411422012-04-11 Mike Frysinger <vapier@gentoo.org>
41143
41144 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41145 Add a leading slash to rtkaio.
41146
288f9098
JM
411472012-04-11 Jim Meyering <meyering@redhat.com>
41148
90020f5a
MF
41149 [BZ #11959]
41150 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41151 It is not necessarily an error to ignore fwrite's return
41152 value. One can reliably use ferror to test for errors after
41153 the fact.
288f9098 41154
4be2b570
L
411552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41156
41157 * bits/types.h (__snseconds_t): New type.
41158 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41159
41160 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41161 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41162 (__SNSECONDS_T_TYPE): Likewise.
41163 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41164 (__SNSECONDS_T_TYPE): Likewise.
41165 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41166 (__SNSECONDS_T_TYPE): Likewise.
41167
288f9098 411682012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41169
41170 [BZ #2636]
41171 * manual/time.texi (Processor Time): Return type of times is
41172 elapsed real time since an arbitrary point in the past.
41173 (CPU Time): Move CLK_TCK from here...
41174 (Processor Time): ...to here. Correct description.
41175 * manual/conf.texi (Constants for Sysconf): Correct description of
41176 _SC_CLK_TCK.
41177
d7dd4413
DM
411782012-04-10 David S. Miller <davem@davemloft.net>
41179
41180 [BZ #13967]
41181 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41182 where the is a gap between DT_REL(A) and DT_JMPREL.
41183
b46068fc
L
411842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41185
41186 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41187 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41188 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41189
73d65cc3
SP
411902012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41191
41192 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41193 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41194 (dl_main): Handle --inhibit-cache.
41195 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41196 _dl_inhibit_cache.
41197 * elf/dl-load.c (_dl_map_object): Use it.
41198 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41199
bcc8d661
JM
412002012-04-09 Joseph Myers <joseph@codesourcery.com>
41201
8f9a2fae
JM
41202 [BZ #13872]
41203 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41204 (__ieee754_powl): Saturate large exponents rather than testing for
41205 overflow of y*log2(x).
41206 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41207 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41208 exceptions.
41209
bcc8d661
JM
41210 [BZ #11521]
41211 * math/s_ctan.c: Include <float.h>.
41212 (__ctan): Avoid internal overflow or cancellation in calculating
41213 denominator.
41214 * math/s_ctanf.c: Likewise.
41215 * math/s_ctanl.c: Likewise.
41216 * math/s_ctanh.c: Likewise.
41217 * math/s_ctanhf.c: Likewise.
41218 * math/s_ctanhl.c: Likewise.
41219 * math/libm-test.inc (ctan_test): Add more tests.
41220 (ctanh_test): Likewise.
41221 * sysdeps/i386/fpu/libm-test-ulps: Update.
41222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41223
823fbbb4
AJ
412242012-04-09 Andreas Jaeger <aj@suse.de>
41225
03879793
AJ
41226 [BZ #6894]
41227 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41228 is an optional BSD extension.
41229
823fbbb4
AJ
41230 [BZ #10254]
41231 * manual/stdio.texi (Opening Streams): Document additional fopen
41232 parameters.
41233
8de131cb
RM
412342012-04-09 Roland McGrath <roland@hack.frob.com>
41235
41236 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41237 %eax without telling the compiler.
41238
c0ed9d7d
CD
412392012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41240
41241 [BZ # 13963]
41242 * manual/install.texi: Use sourceware.org.
41243
c483f6b4
JM
412442012-04-09 Joseph Myers <joseph@codesourcery.com>
41245
d7dd9453
JM
41246 [BZ #13873]
41247 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41248 (__ieee754_pow): Generate overflow and underflow using huge*huge
41249 and tiny*tiny rather than just returning constant infinity or zero
41250 for large exponents.
41251 * math/libm-test.inc (pow_test): Require overflow exceptions for
41252 applicable cases of large exponents.
41253
c483f6b4
JM
41254 [BZ #706]
41255 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41256 (__ieee754_pow): Use iterative multiplication algorithm only for
41257 integer exponents with absolute value below 1024. Check for odd
41258 integer exponents when using algorithm for real exponents.
41259 * math/libm-test.inc (pow_test): Add more tests.
41260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41261
d2de7579
JM
412622012-04-08 Joseph Myers <joseph@codesourcery.com>
41263
41264 [BZ #13705]
41265 * math/libm-test.inc (exp_test): Do not allow overflow exception
41266 on underflow test.
41267
f77f1232
AJ
412682012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41269
41270 [BZ #13705]
41271 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41272 instead of __kernel_standard_f.
41273
3884932b
MF
412742012-04-08 Mike Frysinger <vapier@gentoo.org>
41275
41276 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41277 * sysdeps/x86_64/memset_chk.S: Likewise.
41278
54472e9c
AJ
412792012-04-08 Andreas Jaeger <aj@suse.de>
41280
6ab0fbfc
AJ
41281 [BZ #10153]
41282 * manual/startup.texi (Environment Access): Describe return value
41283 for putenv and setenv.
41284
61efba8c
AJ
41285 [BZ #6895]
41286 * manual/filesys.texi (Directory Entries): Add description for
41287 DT_LNK.
41288
95c3f29a
AJ
41289 [BZ #6890]
41290 * manual/filesys.texi (Directory Entries): Clarify that it's file
41291 system not operating system in the description of DT_UNKNOWN.
41292
54472e9c
AJ
41293 [BZ #6578]
41294 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41295
624254b1
SC
412962012-04-08 Stephen Compall <s11@member.fsf.org>
41297
41298 [BZ #6649]
41299 * manual/llio.texi (Opening and Closing Files): Add cross
41300 reference to explain mode argument.
41301
1e4920e0
MF
413022012-04-07 Mike Frysinger <vapier@gentoo.org>
41303
41304 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41305 * sysdeps/x86_64/memset_chk.S: Likewise.
41306
5ed848f3
DM
413072012-04-07 David S. Miller <davem@davemloft.net>
41308
41309 * elf/elf.h (R_SPARC_WDISP10): Define.
41310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41311 R_SPARC_SIZE32.
41312 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41313 R_SPARC_SIZE64 and R_SPARC_H34.
41314
96154cd8
CD
413152012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41316
41317 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41318 conditions and remove no longer applicable assertion.
41319
9904dc47
L
413202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41321
41322 * bits/byteswap.h: Include <features.h>.
41323 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41324 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41325
f8887d0a
L
413262012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41327
41328 * bits/byteswap.h (__bswap_16): Removed.
41329 Include <bits/byteswap-16.h> to get __bswap_16.
41330 * sysdeps/i386/bits/byteswap.h: Likewise.
41331 * sysdeps/s390/bits/byteswap.h: Likewise.
41332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41333 * bits/byteswap-16.h: New file.
41334 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41335 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41336 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41337 * string/Makefile (headers): Add bits/byteswap-16.h.
41338
62470f60
PP
413392012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41340
41341 [BZ #13895]
41342 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41343 extra indirection.
41344 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41345 * nss/tst-nss-static.c: New.
41346
4dad7bab
RM
413472012-04-06 Robert Millan <rmh@gnu.org>
41348
41349 [BZ #6486]
41350 * manual/llio.texi (File Position Primitive): lseek
41351 refers to WHENCE when it really means OFFSET.
41352
e9142a17
AJ
413532012-04-06 Andreas Jaeger <aj@suse.de>
41354
2c040eff
AJ
41355 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41356 strncmp declarations.
41357
e9142a17
AJ
41358 * abilist/libc.abilist: Add __poll and __ppoll.
41359
ff9f1c5f
DM
413602012-04-05 David S. Miller <davem@davemloft.net>
41361
dcd2ae90
DM
41362 * scripts/check-local-headers.sh: Accept a host triplet in the
41363 path matched by the exclude regexp.
41364
993eb054
DM
41365 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41366 definition.
41367 * sysdeps/powerpc/powerpc32/dl-machine.h
41368 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41369 * sysdeps/s390/s390-32/dl-machine.h
41370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41371 * sysdeps/sparc/sparc32/dl-machine.h
41372 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41373 * sysdeps/sparc/sparc64/dl-machine.h
41374 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41375
ff9f1c5f
DM
41376 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41377 lazy binding.
48e2e132 41378 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41379 undefined symbol errors.
41380
48e2e132 41381 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41382 DT_NEEDED entries.
41383
e80d6f94
MM
413842012-04-05 Michael Matz <matz@suse.de>
41385
41386 [BZ #13592]
41387 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41388
349fa79f
AJ
413892012-04-05 Andreas Jaeger <aj@suse.de>
41390
41391 [BZ #13908]
41392 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41393 comment.
41394
f402708f
KK
413952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41396
41397 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41398 which ROUND is no valid rounding mode.
41399
2ecccfc9
KK
414002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41401
41402 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41403 read again.
41404 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41405
8a53f50f
KK
414062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41407
41408 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41409 an exception using FPU order intentionally.
41410
414112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41412
41413 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41414 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41415 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41416 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41417
d653abb7
SJ
414182012-04-05 Simon Josefsson <simon@josefsson.org>
41419
41420 [BZ #12340]
41421 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41422 EINVAL when BUFLEN is too smal.
41423
c3b1bf7d
TS
414242012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41425
41426 [BZ #13553]
41427 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41428 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41429
b1aa60f3
AJ
414302012-04-03 Andreas Jaeger <aj@suse.de>
41431
c3b1bf7d 41432 [BZ #13938]
67f60a26
AJ
41433 * manual/setjmp.texi (System V contexts): Fix sentence.
41434
b1aa60f3
AJ
41435 [BZ #13926]
41436 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41437 New macro for this case.
41438 [!__GNUC__] (__bswap_64): New inline function for this case.
41439 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41440 * bits/byteswap.h: Likewise.
41441 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41442 ull, guard with __GLIBC_HAVE_LONG_LONG.
41443
41444 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41445 __GLIBC_HAVE_LONG_LONG.
41446
41447 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41448 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41449
39c59c35
TMQMF
414502012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41451
41452 [BZ #13691]
41453 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41454 inptr and inend, rather than using last_ch.
41455
135ffda8
DM
414562012-04-02 David S. Miller <davem@davemloft.net>
41457
41458 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41459 * stdio-common/printf-parse.h (read_int): Change return type to
41460 'int', return -1 on INT_MAX overflow.
41461 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41462 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41463 overflows INT_MAX. Check for overflow of in-format-string precision
41464 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41465 SIZE_MAX not INT_MAX for integer overflow test.
41466 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41467 skip the construct in the format string but do not record anything.
41468 * stdio-common/bug22.c: Adjust to test both width/prevision
41469 INT_MAX overflow as well as total length INT_MAX overflow. Check
41470 explicitly for proper errno values.
41471
228c019e
TS
414722012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41473
302cadd3
TS
41474 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41475 CHAR_MAX.
41476 * string/test-strcmp.c [! WIDE]: Likewise.
41477 * time/tst-mktime2.c: Likewise for INT_MAX.
41478 * string/test-string.h: #include <sys/param.h> for MIN.
41479
228c019e
TS
41480 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41481 * sysdeps/i386/init-first.c (init): Likewise.
41482 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41483 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41484 * sysdeps/sh/init-first.c (init): Likewise.
41485
cfa633f5
UD
414862012-04-01 Ulrich Drepper <drepper@gmail.com>
41487
41488 * po/ru.po: Update from translation team.
d1635ef8 41489 * po/vi.po: Likewise.
cfa633f5 41490
6cd0a5ea
SP
414912012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41492
41493 * resolv/nss_dns/dns-host.c: Merge copyright years.
41494
4b43400f
LD
414952012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41496
41497 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41498 Optimize memcpy with prefetch if
41499 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41500 src, dst pointers have unequal 16 byte alignments.
41501
48c41d04
SP
415022012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41503
41504 [BZ #13928]
41505 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41506 from a CNAME entry and return the minimum ttl for the query.
41507 (gaih_getanswer_slice): Likewise.
41508
b8dc394d
JL
415092012-03-30 Jeff Law <law@redhat.com>
41510
41511 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41512 due to long keys.
41513 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41514 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41515
2f5a5ed0
JL
41516 * resolv/nss_dns/dns-host.c: Update copyright year.
41517
1d39e359
UD
415182012-03-30 Ulrich Drepper <drepper@gmail.com>
41519
c030f70c 41520 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41521 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41522
1d39e359
UD
41523 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41524 comments for sendmmsg.
41525
415262012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41527
41528 [BZ #13691]
41529 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41530 with only 1 character between 0x0041 and 0x01b0.
41531 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41532 * wcsmbs/tst-mbsnrtowcs.c: New file.
41533
20fde227
DM
415342012-03-29 David S. Miller <davem@davemloft.net>
41535
41536 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41537 small copies by hand.
41538
984a4237
JL
415392012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41540
41541 [BZ #13761]
57f41c40
AS
41542 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41543 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41544 group memberships.
984a4237 41545
18c9d62b
DM
415462012-03-28 David S. Miller <davem@davemloft.net>
41547
88d85d4f
DM
41548 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41549 that branches into memcpy.
41550 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41553 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41555 bits.
41556 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41557 implementation too.
41558 * sysdeps/sparc/mempcpy.S: New file.
41559
e5aa83e1
DM
41560 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41561 the IFUNC routine in the libc case.
41562 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41563
88570753
DM
41564 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41565 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41566 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41567 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41568 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41569 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41570 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41571 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41572
249d7567
DM
41573 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41574 loop to 256 bytes instead of 64 bytes and fix test signedness.
41575
18c9d62b
DM
41576 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41577 * sysdeps/sparc/sparc32/Makefile: rather than here...
41578 * sysdeps/sparc/sparc64/Makefile: and here.
41579
05f3d1f6
UD
415802012-03-28 Ulrich Drepper <drepper@gmail.com>
41581
41582 * malloc/mallocbug.c: Avoid warnings about unused variables.
41583
86ae07a8
JL
415842012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41585
41586 [BZ #13760]
41587 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41588 in the right place. Discard and retry query if response is
41589 larger than input buffer size.
41590
41bf21a1
JM
415912012-03-28 Joseph Myers <joseph@codesourcery.com>
41592
d6270972
JM
41593 [BZ #369]
41594 [BZ #2678]
41595 [BZ #3866]
41596 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41597 x for large integer exponent.
41598 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41599 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41600 sign of result as needed afterwards.
41601 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41602 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41603 result for underflowing pow the same as for overflow.
41604 (__kernel_standard_l): Handle powl overflow and underflow here
41605 rather than calling __kernel_standard.
41606 * math/libm-test.inc (pow_test): Add more tests.
41607
414fca03 41608 [BZ #3868]
41bf21a1
JM
41609 [BZ #13879]
41610 [BZ #13910]
41611 [BZ #13911]
41612 [BZ #13912]
41613 [BZ #13913]
41614 [BZ #13915]
41615 [BZ #13916]
41616 [BZ #13917]
41617 [BZ #13918]
41618 [BZ #13919]
41619 [BZ #13920]
41620 [BZ #13921]
41621 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41622 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41623 (__kernel_standard_l): New function.
41624 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41625 __kernel_standard.
41626 * math/w_acosl.c (__acosl): Likewise.
41627 * math/w_asinl.c (__asinl): Likewise.
41628 * math/w_atan2l.c (__atan2l): Likewise.
41629 * math/w_atanhl.c (__atanhl): Likewise.
41630 * math/w_coshl.c (__coshl): Likewise.
41631 * math/w_exp10l.c (__exp10l): Likewise.
41632 * math/w_exp2l.c (__exp2l): Likewise.
41633 * math/w_fmodl.c (__fmodl): Likewise.
41634 * math/w_hypotl.c (__hypotl): Likewise.
41635 * math/w_j0l.c (__j0l, __y0l): Likewise.
41636 * math/w_j1l.c (__j1l, __y1l): Likewise.
41637 * math/w_jnl.c (__jnl, __ynl): Likewise.
41638 * math/w_lgammal.c (__lgammal): Likewise.
41639 * math/w_log10l.c (__log10l): Likewise.
41640 * math/w_log2l.c (__log2l): Likewise.
41641 * math/w_logl.c (__logl): Likewise.
41642 * math/w_powl.c (__powl): Likewise.
41643 * math/w_remainderl.c (__remainderl): Likewise.
41644 * math/w_scalbl.c (sysv_scalbl): Likewise.
41645 * math/w_sinhl.c (__sinhl): Likewise.
41646 * math/w_sqrtl.c (__sqrtl): Likewise.
41647 * math/w_tgammal.c (__tgammal): Likewise.
41648 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41649 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41650 * math/libm-test.inc (acos_test): Add more tests.
41651 (acosh_test): Likewise.
41652 (asin_test): Likewise.
41653 (atanh_test): Likewise.
41654 (exp_test): Likewise.
41655 (exp10_test): Likewise.
41656 (exp2_test): Likewise.
41657 (expm1_test): Likewise.
41658 (lgamma_test): Likewise.
41659 (log_test): Likewise.
41660 (log10_test): Likewise.
41661 (log1p_test): Likewise.
41662 (log2_test): Likewise.
41663 (pow_test): Do not allow some spurious overflow exceptions.
41664 (sqrt_test): Add more tests.
41665 (tgamma_test): Likewise.
41666 (y0_test): Likewise.
41667 (y1_test): Likewise.
41668 (yn_test): Likewise.
41669
dd62fda6
AB
416702012-03-27 Anton Blanchard <anton@samba.org>
41671
41672 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41673 MAP_HUGETLB.
41674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41675 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41677
1e3cdfda
AJ
416782012-03-27 David S. Miller <davem@davemloft.net>
41679
b855ab85
DM
41680 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41681
1e3cdfda
AJ
41682 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41683 have-as-vis3 check.
41684
416852012-03-27 Andreas Jaeger <aj@suse.de>
41686
41687 * sysdeps/x86_64/elf/configure.in: Moved to ...
41688 * sysdeps/x86_64/configure.in: ... here.
41689 * sysdeps/x86_64/elf/start.S: Moved to ...
41690 * sysdeps/x86_64/start.S: ... here.
41691 * sysdeps/x86_64/elf/configure: Delete.
41692
41693 * sysdeps/x86_64/configure.in: Merge contents from
41694 sysdeps/i386/configure.in (without i686 check).
41695
41696 * sysdeps/i386/elf/Versions: Merge into ...
41697 * sysdeps/i386/Versions: ... this.
41698 * sysdeps/i386/elf/Versions: Delete file.
41699 * sysdeps/i386/elf/start.S: Moved to ...
41700 * sysdeps/i386/start.S: ...here.
41701 * sysdeps/i386/elf/configure.in: Merge into...
41702 * sysdeps/i386/configure.in: ...here.
41703 * sysdeps/i386/elf/configure.in: Delete file.
41704 * sysdeps/i386/elf/configure: Delete file.
41705
41706 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41707 * debug/backtracesyms.c: ... here.
41708 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41709 * debug/backtracesymsfd.c: ... here.
41710 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41711 * sysdeps/generic/ifunc-sel.h: ... here.
41712
41713 * sysdeps/unix/i386/start.c: Delete file.
41714 * sysdeps/unix/sparc/start.c: Delete file.
41715 * sysdeps/unix/start.c: Delete file.
41716
41717 * sysdeps/sh/elf/configure.in: Moved to ...
41718 * sysdeps/sh/configure.in: ... here.
41719 * sysdeps/sh/elf/start.S: Moved to ...
41720 * sysdeps/sh/start.S: ... here.
41721 * sysdeps/sh/elf/configure: Delete file.
41722
41723 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41724 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41725 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41726 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41727 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41728 * sysdeps/powerpc/powerpc64/start.S: here.
41729 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41730 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41731 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41732 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41733 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41734
41735 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41736 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41737 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41738 * sysdeps/powerpc/powerpc32/start.S: ... here.
41739 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41740 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41741 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41742
41743 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41744 * sysdeps/powerpc/ifunc-sel.h: ... here.
41745 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41746 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41747
41748 * sysdeps/sparc/elf/configure.in: Moved to ...
41749 * sysdeps/sparc/configure.in: ... here.
41750 * sysdeps/sparc/elf/configure: Delete file.
41751 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41752 * sysdeps/sparc/sparc32/start.S: ... here.
41753 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41754 * sysdeps/sparc/sparc64/start.S: ... here.
41755 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41756 * sysdeps/sparc/sparc32/Makefile: ... this.
41757 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41758 * sysdeps/sparc/sparc64/Makefile: ... this.
41759
41760 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41761 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41762 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41763 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41764 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41765 * sysdeps/s390/s390-32/setjmp.S: ... here.
41766 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41767 * sysdeps/s390/s390-32/configure.in: ... here.
41768 * sysdeps/s390/s390-32/elf/configure: Delete file.
41769 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41770 * sysdeps/s390/s390-32/start.S: ... here.
41771
41772 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41773 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41774 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41775 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41776 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41777 * sysdeps/s390/s390-64/setjmp.S: ... here.
41778 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41779 * sysdeps/s390/s390-64/configure.in: ... here
41780 * sysdeps/s390/s390-64/elf/configure: Delete file.
41781 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41782 * sysdeps/s390/s390-64/start.S: ... here.
41783 * sysdeps/s390/s390-64/elf/configure: Delete.
41784
41785 * configure.in: Remove support for elf directories in sysdeps.
41786
41787 * configure: Regenerated.
41788 * sysdeps/i386/configure: Regenerated.
41789 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41790 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41791 * sysdeps/s390/s390-32/configure: Regenerated.
41792 * sysdeps/s390/s390-64/configure: Regenerated.
41793 * sysdeps/sh/configure: Regenerated.
41794 * sysdeps/sparc/configure: Regenerated.
41795 * sysdeps/x86_64/configure: Regenerated.
41796
a3f61311
AS
417972012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41798
c876e002
AS
41799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41800
a3f61311
AS
41801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41802 denormal result into account.
41803
ac4c54f0
RM
418042012-03-25 Roland McGrath <roland@hack.frob.com>
41805
41806 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41807 Reported by Allan McRae <allan@archlinux.org>.
41808
6a9b9c02
JL
418092012-03-23 Jeff Law <law@redhat.com>
41810
41811 * nss/getnssent.c (__nss_getent): Fix typo.
41812
4c42a0c1
DM
418132012-03-23 David S. Miller <davem@davemloft.net>
41814
41815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41816
1532c7ac
L
418172012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41818
41819 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41820 to pad to uint64_t for each field.
41821 (dl_tls_index): Replace unsigned long with uint64_t.
41822
3ff42526
PP
418232012-03-23 Daniel Jacobowitz <dmj@google.com>
41824 Paul Pluzhnikov <ppluzhnikov@google.com>
41825
41826 [BZ #6528]
41827 * grp/Makefile (otherlibs): Don't set it.
41828 * inet/Makefile (otherlibs): Likewise.
41829 * login/Makefile (otherlibs): Likewise.
41830 * nscd/Makefile (otherlibs): Likewise.
41831 * posix/Makefile (otherlibs): Likewise.
41832 * pwd/Makefile (otherlibs): Likewise.
41833 * rt/Makefile (otherlibs): Likewise.
41834 * sunrpc/Makefile (otherlibs): Likewise.
41835 * nss/Makefile (otherlibs): Likewise.
41836 Add libnss_files to routines and static-only-routines.
41837 ($(objpfx)getent): Remove rule.
41838 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41839 static-only-routines.
41840
7c69cd14
JM
418412012-03-22 Joseph Myers <joseph@codesourcery.com>
41842
41843 [BZ #13892]
41844 * math/s_cexp.c: Include <float.h>.
41845 (__cexp): Handle exp result overflowing not necessarily
41846 overflowing both real and imaginary parts of result.
41847 * math/s_cexpf.c: Likewise.
41848 * math/s_cexpl.c: Likewise.
41849 * math/libm-test.inc (cexp_test): Add more tests.
41850 * sysdeps/i386/fpu/libm-test-ulps: Update.
41851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41852
81b035fe
L
418532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41854
41855 * include/link.h (ELFW): New macro.
41856 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41857 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41858
1da7940c
L
418592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41860
41861 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41862 with uint64_t.
41863
b749dbb9
L
418642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41865
41866 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41867 declaration.
41868 (struct La_x32_retval): Likewise.
41869
2ff87f3f
L
418702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41871
41872 * sysdeps/x86_64/preconfigure.in: New file.
41873 * sysdeps/x86_64/preconfigure: New generated file.
41874
c0df8e69
JM
418752012-03-22 Joseph Myers <joseph@codesourcery.com>
41876
48e44791
JM
41877 [BZ #13824]
41878 * math/e_exp2l.c: Include <float.h>.
41879 (__ieee754_exp2l): Handle overflow and underflow cases
41880 separately. Only pass fractional part of argument to
41881 __ieee754_expl.
41882 * math/libm-test.inc (exp2_test): Add more tests.
41883
c0df8e69
JM
41884 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41885 negating x to take absolute value.
41886 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41887 Likewise.
41888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41889 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41890 Likewise.
41891 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41892 computing low part if x was negated.
41893 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41894
c8e43ba7
L
418952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41896
41897 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41898 la_x32_gnu_pltexit.
41899 (pltexit): Cast int_retval to ptrdiff_t.
41900 * elf/tst-auditmod3b.c: Likewise.
41901 * elf/tst-auditmod4b.c: Likewise.
41902 * elf/tst-auditmod5b.c: Likewise.
41903 * elf/tst-auditmod6b.c: Likewise.
41904 * elf/tst-auditmod6c.c: Likewise.
41905 * elf/tst-auditmod7b.c: Likewise.
41906
41907 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41908 and x32_gnu_pltexit.
41909
41910 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41911 __ELF_NATIVE_CLASS.
41912 (La_x32_regs): New macro.
41913 (La_x32_retval): Likewise.
41914 (la_x32_gnu_pltenter): New function prototype.
41915 (la_x32_gnu_pltexit): Likewise.
41916
7998fa78
AS
419172012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41918
dcb33988
AS
41919 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41920 exponent.
41921
233fc563
AS
41922 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41923
7998fa78
AS
41924 * configure.in (libc_cv_cc_nofma): Check for option to disable
41925 generation of FMA instructions.
41926 * configure: Regenerate.
41927 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41928 * sysdeps/ieee754/dbl-64/Makefile: New file.
41929 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41930 Remove brandred-fma4.
41931 (CFLAGS-brandred-fma4.c): Remove.
41932 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41933 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41934 define.
41935 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41936 define.
41937
8e95c99a
L
419382012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41939
41940 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41941 LLONG_MAX != LONG_MAX.
41942 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41943 (_fitoa_word): Likewise.
41944 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41945 LLONG_MAX != LONG_MAX.
41946 * stdio-common/_itowa.h: Include <_itoa.h>.
41947 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41948 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41949 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41950 only if not defined.
41951 (_ITOA_WORD_TYPE): Likewise.
41952 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41953 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41954
6f4db457
DM
419552012-03-21 David S. Miller <davem@davemloft.net>
41956
41957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41958
7785fe5a
L
419592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41960
41961 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41962 of x86_64 when setting libc_cv_slibdir, libdir and
41963 libc_cv_localedir.
41964 * sysdeps/unix/sysv/linux/configure: Regenerated.
41965
4535cd55
JM
419662012-03-21 Joseph Myers <joseph@codesourcery.com>
41967
41968 * manual/lang.texi (Old Varargs): Remove section.
41969 (How Variadic): Update menu.
41970 (va_start): Do not mention varargs.h.
41971
17228132
TS
419722012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41973 Joseph Myers <joseph@codesourcery.com>
41974
41975 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41976 link test.
41977 * configure: Regenerated.
41978
8149f976
TS
419792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41980
05f3d1f6
UD
41981 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41982 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41983 conformtest.pl
8149f976 41984
1a4ac776
JM
419852012-03-21 Joseph Myers <joseph@codesourcery.com>
41986
be22ce65
JM
41987 * NOTES: Remove.
41988 * Makefile (files-for-dist): Remove NOTES.
41989 (NOTES): Remove rule.
41990 * README: Don't refer to NOTES.
41991 * manual/creature.texi: Don't include macros.texi.
41992 * manual/intro.texi (creature.texi): Remove comment referring to
41993 NOTES.
41994
40b601fb
JM
41995 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41996 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41997 * configure: Regenerated.
41998 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41999 LIBC_TRY_CC_OPTION.
42000 (libc_cv_as_i686): Likewise.
42001 (libc_cv_cc_avx): Likewise.
42002 (libc_cv_cc_sse2avx): Likewise.
42003 (libc_cv_cc_fma4): Likewise.
42004 (libc_cv_cc_novzeroupper): Likewise.
42005 * sysdeps/i386/configure: Regenerated.
42006
1a4ac776
JM
42007 [BZ #13883]
42008 * sysdeps/i386/fpu/s_cexp.S: Remove.
42009 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42010 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42011 * math/libm-test.inc (cexp_test): Add more tests.
42012 * sysdeps/i386/fpu/libm-test-ulps: Update.
42013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42014
a458e7fe
AM
420152012-03-21 Allan McRae <allan@archlinux.org>
42016
42017 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42018
0cb7efc5
JM
420192012-03-21 Joseph Myers <joseph@codesourcery.com>
42020
42021 [BZ #13871]
42022 * math/w_exp2.c: Do not include <float.h>.
42023 (o_threshold, u_threshold): Remove.
42024 (__exp2): Calculate result before checking finiteness and calling
42025 __kernel_standard.
42026 * math/w_exp2f.c: Likewise.
42027 * math/w_exp2l.c: Likewise.
42028 * math/libm-test.inc (exp2_test): Require overflow exception for
42029 1e6 input.
2460d3aa
JM
42030
42031 [BZ #3866]
42032 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42033 range of signed 64-bit integers before using fistpll. Remove
42034 checks for whether integers fit in mantissa bits.
42035 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42036 the range of signed 32-bit integers before using fistpl. Remove
42037 checks for whether integers fit in mantissa bits.
42038 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42039 (__ieee754_powl): Test for y outside the range of signed 64-bit
42040 integers before using fistpll. Reduce 64-bit values to 63-bit
42041 ones as needed.
42042 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42043 divide-by-zero is raised for zero to large negative powers.
42044 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42045 (__ieee754_powl): Test for y outside the range of signed 64-bit
42046 integers before using fistpll. Reduce 64-bit values to 63-bit
42047 ones as needed.
42048 * math/libm-test.inc (pow_test): Add more tests.
42049
eb96ffb0
L
420502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42051
42052 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42053 <stdio-common/_itoa.h>.
42054 * debug/segfault.c: Likewise.
42055 * elf/dl-cache.c: Likewise.
42056 * elf/dl-minimal.c: Likewise.
42057 * elf/dl-misc.c: Likewise.
42058 * elf/dl-sysdep.c: Likewise.
42059 * elf/dl-version.c: Likewise.
42060 * elf/rtld.c: Likewise.
42061 * hurd/hurdsock.c: Likewise.
42062 * hurd/lookup-retry.c: Likewise.
42063 * malloc/malloc.c: Likewise.
42064 * malloc/mtrace.c: Likewise.
42065 * nscd/nscd_getgr_r.c: Likewise.
42066 * nscd/nscd_getpw_r.c: Likewise.
42067 * nscd/nscd_getserv_r.c: Likewise.
42068 * posix/getopt_init.c: Likewise.
42069 * posix/wordexp.c: Likewise.
42070 * stdio-common/_itoa.c: Likewise.
42071 * stdio-common/printf_fphex.c: Likewise.
42072 * stdio-common/vfprintf.c: Likewise.
42073 * string/_strerror.c: Likewise.
42074 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42075 * sysdeps/i386/i686/hp-timing.h: Likewise.
42076 * sysdeps/mach/_strerror.c: Likewise.
42077 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42078 * sysdeps/mach/hurd/sethostid.c: Likewise.
42079 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42080 * sysdeps/mach/xpg-strerror.c: Likewise.
42081 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42082 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42083 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42084 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42085 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42086 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42087 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42088 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42089 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42090 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42091 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42092 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42093 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42094 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42095 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42096 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42097 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42098 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42099 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42100 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42101 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42102
42103 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42104
42105 * stdio-common/_itoa.h: Moved to ...
42106 * sysdeps/generic/_itoa.h: Here.
42107
42108 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42109
42110 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42111 instead of "_itoa.h" and "_itowa.h".
42112 * stdio-common/vfprintf.: Likewise.
42113
d1af992d
L
421142012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42115
42116 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42117 <bits/wordsize.h>.
42118 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42119 (__signbit): Likwise.
42120 (llrintf): Likwise.
42121 (llrint): Likwise.
42122
114883e0
L
421232012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42124
42125 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42126 __WORDSIZE != 64.
42127
c135cc1b
JM
421282012-03-20 Joseph Myers <joseph@codesourcery.com>
42129
42130 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42131 OVERFLOW_EXCEPTION_OK.
42132 * math/libm-test.inc ("Philosophy"): Update comment about
42133 exception testing.
42134 (OVERFLOW_EXCEPTION): Define.
42135 (OVERFLOW_EXCEPTION_OK): Likewise.
42136 (INVALID_EXCEPTION_OK): Renumber.
42137 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42138 (IGNORE_ZERO_INF_SIGN): Likewise.
42139 (test_exceptions): Handle FE_OVERFLOW.
42140 (exp10_test): Expect overflow exceptions.
42141 (exp2_test): Likewise.
42142 (expm1_test): Likewise.
42143 (nextafter_test): Likewise.
42144 (pow_test): Likewise.
42145 (scalbn_test): Likewise.
42146 (scalbln_test): Likewise.
42147
95443d88
L
421482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42149
42150 * sysdeps/x86_64/bits/atomic.h
42151 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42152 64bit integer.
42153 (atomic_exchange_acq): Likewise.
42154 (__arch_exchange_and_add_body): Likewise.
42155 (__arch_add_body): Likewise.
42156 (atomic_add_negative): Likewise.
42157 (atomic_add_zero): Likewise.
42158
490df6c4
L
421592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42160
c2722551 42161 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42162 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42163
5e52b189
L
421642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42165
42166 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42167 Check __x86_64__ instead of __WORDSIZE.
42168
a9879d4c
L
421692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42170
42171 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42172
5df98260
DM
421732012-03-19 David S. Miller <davem@davemloft.net>
42174
e1497744
DM
42175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42176
5df98260
DM
42177 * sysdeps/sparc/fpu/fenv_private.h: New file.
42178 * sysdeps/sparc/fpu/math_private.h: Use it.
42179 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42180 Remove.
57f41c40 42181 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42182 (libc_feholdexcept_setroundl): Remove.
42183 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42184 Remove.
42185 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42186 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42187
b4c35121
L
421882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42189
42190 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42191 int64_t instead of long int.
42192 (INSERT_WORDS64): Likwise.
42193
56965fd7
L
421942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42195
42196 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42197 _Unwind_GetCFA return to _Unwind_Ptr first.
42198
83d1aec8
JM
421992012-03-19 Joseph Myers <joseph@codesourcery.com>
42200
1897ad44
JM
42201 [BZ #13629]
42202 * math/s_clog.c: Include <float.h>.
42203 (__clog): Scale large or subnormal inputs.
42204 * math/s_clogf.c: Likewise.
42205 * math/s_clogl.c: Likewise.
42206 * math/s_clog10.c: Include <float.h>.
42207 (M_LOG10_2): Define.
42208 (__clog10): Scale large or subnormal inputs.
42209 * math/s_clog10f.c: Likewise.
42210 * math/s_clog10l.c: Likewise.
42211 * math/libm-test.inc (clog_test): Add more tests.
42212 (clog10_test): Likewise.
42213 * sysdeps/i386/fpu/libm-test-ulps: Update.
42214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42215
7726d6a9
JM
42216 [BZ #11451]
42217 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42218 x and y.
42219 * math/libm-test.inc (atan2_test): Add another test.
42220
83d1aec8
JM
42221 * Makerules (common-objdir-compile): Remove.
42222 * sysdeps/unix/Makefile (config-generated): Do not add
42223 $(unix-generated) to variable.
42224 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42225 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42226 Remove rule.
42227 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42228 Likewise.
42229 [generic bits/local_lim.h] (before-compile): Do not append to
42230 variable.
42231 [generic bits/local_lim.h] (common-generated): Likewise.
42232 [generic sys/param.h] (before-compile): Do not append to variable.
42233 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42234 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42235 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42236 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42237 include.
42238 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42239 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42240 [generic sys/param.h] ($(addprefix
42241 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42242 [generic sys/param.h] (common-generated): Do not append to
42243 variable.
42244 [generic sys/param.h] (sysdep_headers): Likewise.
42245 [generic bits/errno.h] (before-compile): Do not append to
42246 variable.
42247 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42248 rule.
42249 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42250 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42251 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42252 [generic bits/errno.h] (common-generated): Do not append to
42253 variable.
42254 [generic bits/ioctls.h] (before-compile): Do not append to
42255 variable.
42256 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42257 rule.
42258 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42259 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42260 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42261 rule.
42262 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42263 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42264 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42265 [generic bits/ioctls.h] (common-generated): Do not append to
42266 variable.
42267 [generic sys/syscall.h] (syscall.h): Remove variable.
42268 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42269 rule.
42270 [generic sys/syscall.h] (before-compile): Do not append to
42271 variable.
42272 [generic sys/syscall.h] (common-generated): Likewise.
42273 * sysdeps/unix/errnos-tmpl.c: Remove file.
42274 * sysdeps/unix/errnos.awk: Likewise.
42275 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42276 * sysdeps/unix/ioctls.awk: Likewise.
42277 * sysdeps/unix/mk-local_lim.c: Likewise.
42278 * sysdeps/unix/snarf-ioctls: Likewise.
42279
4851a949
RH
422802012-03-19 Richard Henderson <rth@twiddle.net>
42281
bd37f2ee
RH
42282 * sysdeps/i386/fpu/fenv_private.h: New file.
42283 * sysdeps/i386/fpu/math_private.h: Use it.
42284 (math_opt_barrier, math_force_eval): Remove.
42285 (libc_feholdexcept_setround_53bit): Remove.
42286 (libc_feupdateenv_53bit): Remove.
42287 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42288 (math_opt_barrier, math_force_eval): Remove.
42289 (libc_feholdexcept): Remove.
42290 (libc_feholdexcept_setround): Remove.
42291 (libc_fetestexcept, libc_fesetenv): Remove.
42292 (libc_feupdateenv_test): Remove.
42293 (libc_feupdateenv, libc_feholdsetround): Remove.
42294 (libc_feresetround): Remove.
42295
d0adc922
RH
42296 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42297 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42298
0fe0f1f8
RH
42299 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42300 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42301 (libc_feupdateenv_testl): New.
42302 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42303 (libc_feupdateenv_testf): New.
42304 (libc_feupdateenv): Use libc_feupdateenv_test.
42305 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42306 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42307
eb92c487
RH
42308 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42309 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42310 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42311 (libc_feresetround_noex): New.
42312 (libc_feresetround_noexf): New.
42313 (libc_feresetround_noexl): New.
42314 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42315 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42316 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42317 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42318 SET_RESTORE_ROUND.
42319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42320 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42321 (__cos): Likewise.
42322 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42323 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42324 SET_RESTORE_ROUND_NOEX.
42325 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42326 SET_RESTORE_ROUND_NOEXF.
42327 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42328 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42329 (libc_feholdsetroundf): New.
42330 (libc_feresetround, libc_feresetroundf): New.
42331
7d2e8012
RH
42332 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42333 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42334 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42335
b4dabbb4
RH
42336 * sysdeps/generic/math_private.h: Include <fenv.h>.
42337 (default_libc_feholdexcept): New.
42338 (default_libc_feholdexcept_setround): New.
42339 (default_libc_fesetenv, default_libc_feupdateenv): New.
42340 (libc_feholdexcept): Only define if undefined.
42341 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42342 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42343 (libc_feholdexcept_setroundl): Likewise.
42344 (libc_feholdexcept_setround_53bit): Likewise.
42345 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42346 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42347 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42348 (libc_feupdateenv_53bit): Likewise.
42349 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42350 (libc_feholdexcept): Convert from macro to inline function.
42351 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42352 (libc_fesetenv, libc_feupdateenv): Likewise.
42353
4851a949
RH
42354 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42355 not previously defined.
42356 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42357 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42358 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42359 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42360 * sysdeps/ieee754/flt-32/math_private.h: New file.
42361 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42362 math_private.h below SET_FLOAT_WORD.
42363 (__isnan, __isinf_ns, __finite): Remove.
42364 (__isnanf, __isinf_nsf, __finitef): Remove.
42365
e79d442e
AS
423662012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42367
42368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42369
90b80344
DM
423702012-03-17 David S. Miller <davem@davemloft.net>
42371
42372 [BZ #6471]
42373 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42374 for 2.16.
42375
edc21804
DM
423762012-03-16 David S. Miller <davem@davemloft.net>
42377
77e927af
DM
42378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42379 warnings.
42380
374976dd
DM
42381 [BZ #6471]
42382 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42383 properly.
42384 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42385 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42386 sysdep_routines when subdir is sysvipc.
42387 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42388 __getshmlba helper.
42389
edc21804
DM
42390 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42391
473c3ef3
L
423922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42393
42394 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42395 [__LP64__].
42396
eb0f39b6
L
423972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42398
42399 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42400 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42401 (__lround): Renamed to ...
42402 (__llround): This. Replace long int with long long int.
42403 Define lround functions as aliases of llround functions.
42404 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42405
6b6cd74b
L
424062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42407
42408 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42409 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42410 adresses to uintptr_t. Replace "long int" and "unsigned long
42411 int" with "greg_t" on va_arg.
42412
f1a77b01
L
424132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42414
42415 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42416 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42417
42418 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42419 Move e_machine check before EI_CLASS check. Handle x32
42420 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42421 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42422 SKIP_EM_IA_64 and include
42423 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42424
42425 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42426 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42427 (add_system_dir): New macro.
42428
42429 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42430 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42431
11b90b9f
JM
424322012-03-16 Joseph Myers <joseph@codesourcery.com>
42433
c36e1d23
JM
42434 [BZ #2551]
42435 [BZ #2552]
42436 [BZ #2553]
42437 [BZ #2554]
42438 [BZ #2562]
42439 [BZ #2563]
42440 [BZ #2565]
42441 [BZ #2566]
42442 [BZ #2576]
42443 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42444 (y0): Likewise.
42445 * math/w_j0f.c (j0f): Likewise.
42446 (y0f): Likewise.
42447 * math/w_j0l.c (__j0l): Likewise.
42448 (__y0l): Likewise.
42449 * math/w_j1.c (j1): Likewise.
42450 (y1): Likewise.
42451 * math/w_j1f.c (j1f): Likewise.
42452 (y1f): Likewise.
42453 * math/w_j1l.c (__j1l): Likewise.
42454 (__y1l): Likewise.
42455 * math/w_jn.c (jn): Likewise.
42456 (yn): Likewise.
42457 * math/w_jnf.c (jnf): Likewise.
42458 (ynf): Likewise.
42459 * math/w_jnl.c (__jnl): Likewise.
42460 (__ynl): Likewise.
42461 * math/libm-test.inc (j0_test): Add more tests.
42462 (j1_test): Likewise.
42463 (jn_test): Likewise. Add trailing semicolon to existing test.
42464 (y0_test): Likewise.
42465 (y1_test): Likewise.
42466 * sysdeps/i386/fpu/libm-test-ulps: Update.
42467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42468
11b90b9f
JM
42469 [BZ #13851]
42470 [BZ #13854]
42471 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42472 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42473 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42474 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42475 (__tanl): Set errno for infinite argument.
42476 * sysdeps/i386/fpu/mptan.c: Remove.
42477 * sysdeps/i386/fpu/s_tan.S: Likewise.
42478 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42479 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42480 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42481 * math/libm-test.inc (tan_test): Add more tests and enable more
42482 tests for double and long double.
42483 * sysdeps/i386/fpu/libm-test-ulps: Update.
42484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42485
6a1bd2a1
JK
424862012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42487
42488 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42489 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42490
10a803e0
RM
424912012-03-16 Roland McGrath <roland@hack.frob.com>
42492
42493 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42494 * configure.in: Use it for both main tree and add-ons.
42495 * configure: Regenerated.
42496
f196c7f7
L
424972012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42498
42499 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42500
8848d99d
JM
425012012-03-16 Joseph Myers <joseph@codesourcery.com>
42502
96cbe7f4
JM
42503 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42504 in comment.
42505
8848d99d
JM
42506 [BZ #13851]
42507 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42508 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42509 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42510 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42511 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42512 infinite argument.
42513 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42515 != 0 for prec == 2.
42516 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42517 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42518 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42519 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42520 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42521 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42522 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42523 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42524 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42525 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42526 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42527 * math/libm-test.inc (cos_test): Add more tests and enable more
42528 tests for long double.
42529 (sin_test): Likewise.
42530 (sincos_test): Likewise.
42531 * sysdeps/i386/fpu/libm-test-ulps: Update.
42532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42533
dd7f4703
DM
425342012-03-16 David S. Miller <davem@davemloft.net>
42535
42536 * sysdeps/sparc/fpu/math_private.h: New file.
42537
006f1daa
DM
425382012-03-15 David S. Miller <davem@davemloft.net>
42539
c0c83bc8
DM
42540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42541 file.
e6a62e18 42542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42544 file.
e6a62e18
DM
42545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42548 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42549 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42551 sysdep routines.
42552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42553
88cb87d9
DM
42554 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42555 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42556
006f1daa 42557 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42559 sparc-ifunc.h
006f1daa 42560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42562 Likewise.
42563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42564 Likewise.
006f1daa
DM
42565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42569 Likewise.
006f1daa
DM
42570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42575 Likewise.
42576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42577 Likewise.
006f1daa
DM
42578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42583 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42598 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42599 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42600 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42602
11e0098e
AS
426032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42604
42605 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42606 scaling.
42607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42608
e85b09d0
AJ
426092012-03-15 Andreas Jaeger <aj@suse.de>
42610
42611 [BZ #13852]
42612 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42613 ieee754/flt-32 implementation for sin, cos and sincos.
42614 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42615 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42616 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42617 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42618 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42619 ieee754/flt-32 implementation for tan.
42620
42621 * math/libm-test.inc (cos_test): Enable some large input tests for
42622 float as well
42623 (sin_test): Likewise.
42624 (sincos_test): Likewise.
42625 (tan_test): Add tests for large input.
42626
42627 * sysdeps/i386/fpu/libm-test-ulps: Update.
42628
81c64153
AJ
426292012-03-15 Andreas Jaeger <aj@suse.de>
42630
42631 [BZ #13658]
42632 * math/libm-test.inc (cos_test): Add more test cases.
42633 (sin_test): Likewise.
42634 (sincos_test): Likewise.
42635
7bbfa5c6
AJ
426362012-03-15 Andreas Jaeger <aj@suse.de>
42637
42638 [BZ #13837]
42639 * math/libm-test.inc (cos_test): Add a test case for large input
42640 value.
42641 (sin_test): Likewise.
42642 (sincos_test): Likewise.
42643
57f41c40
AS
426442012-03-15 Andreas Jaeger <aj@suse.de>
42645 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42646
42647 [BZ #13658]
0671f479 42648 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42649 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42650 * sysdeps/i386/fpu/branred.c: Likewise.
42651 * sysdeps/i386/fpu/dosincos.c: Likewise.
42652 * sysdeps/i386/fpu/mpa.c: Likewise.
42653 * sysdeps/i386/fpu/s_cos.S: Likewise.
42654 * sysdeps/i386/fpu/s_sin.S: Likewise.
42655 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42656 * sysdeps/i386/fpu/sincos32.c: Likewise.
42657
42658 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42659 Define.
42660 (libc_feupdateenv_53bit): Define.
42661 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42662 Define.
42663 (libc_feupdateenv_53bit): Define.
42664
42665 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42666 53 bit (without extend i386 double precision).
42667
42668 * math/libm-test.inc (sincos_test): Add tests for large input.
42669 (sin): Likewise.
42670 (cos): Likewise.
42671
42672 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42673
9cad04ea
AS
426742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42675
42676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42677
f7062b9a
DM
426782012-03-15 David S. Miller <davem@davemloft.net>
42679
42680 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42681 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42682 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42683 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42691 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42696 file.
f7062b9a 42697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42699 file.
f7062b9a 42700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42702 file.
f7062b9a 42703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42705 file.
f7062b9a
DM
42706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42708 fmin/fmax sysdep routines.
42709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42710
7bd951ff
DM
427112012-03-14 David S. Miller <davem@davemloft.net>
42712
559398ab
DM
42713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42717 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42718 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42719 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42720 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42724 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42729 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42730 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42733 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42734 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42742 routines.
42743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42744 file.
559398ab 42745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42747 file.
559398ab 42748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42750 file.
559398ab 42751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42753 file.
559398ab 42754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42756 file.
559398ab 42757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42759 file.
42760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42761 file.
42762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42763 file.
42764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42765 file.
42766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42767 New file.
42768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42769 file.
42770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42771 file.
559398ab 42772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42774 file.
559398ab 42775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42777 file.
559398ab 42778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42780 file.
559398ab 42781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42783 VIS3 routines.
559398ab
DM
42784
42785 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42786 New file.
42787
5a1c1e32
DM
42788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42789
eae47a36
DM
42790 * sysdeps/sparc/configure.in: New file.
42791 * sysdeps/sparc/configure: Generate.
42792 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42793 * configure: Regenerate.
42794 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42795 * config.make.in (have-as-vis3): New.
42796 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42797 available use -Av9d instead of -Av9a.
42798 * sysdeps/sparc/sparc64/Makefile: Likewise.
42799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42801 New file.
42802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42803 file.
42804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42805 New file.
42806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42807 file.
eae47a36
DM
42808 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42809 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42810 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42811 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42812 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42813
c0c83bc8
DM
42814 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42815 fzeros/fnegs to load 0x80000000 into a float register instead of
42816 using the stack.
7bd951ff
DM
42817 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42818
bd951ccb
JM
428192012-03-14 Joseph Myers <joseph@codesourcery.com>
42820
42821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42822 bits/syscall.h.
42823 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42824 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42825 ($(inst_includedir)/bits/syscall.h): Remove rule.
42826 ($(objpfx)bits/syscall.d): Include instead of
42827 $(objpfx)syscall-list.d.
42828 (generated): Change syscall-list.h and syscall-list.d to
42829 bits/syscall.h and bits/syscall.d.
42830
bb4e6db2
RM
428312012-03-14 Roland McGrath <roland@hack.frob.com>
42832
42833 [BZ #13846]
42834 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42835
aa4a2ae1
JM
428362012-03-14 Joseph Myers <joseph@codesourcery.com>
42837
e456826d
JM
42838 [BZ #13841]
42839 * math/s_csqrt.c: Include <float.h>.
42840 (__csqrt): Scale large or subnormal inputs.
42841 * math/s_csqrtf.c: Likewise.
42842 * math/s_csqrtl.c: Likewise.
42843 * math/libm-test.inc (csqrt_test): Add more tests.
42844 * sysdeps/i386/fpu/libm-test-ulps: Update.
42845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42846
aa4a2ae1
JM
42847 [BZ #13840]
42848 * math/libm-test.inc (hypot_test): Add more tests.
42849
7c10fd35
DM
428502012-03-13 David S. Miller <davem@davemloft.net>
42851
42852 [BZ #13840]
42853 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42854 double-precision for the calculation instead of scaling.
42855
f453b98b
JM
428562012-03-13 Joseph Myers <joseph@codesourcery.com>
42857
42858 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42859 manipulate bits before adding and subtracting TWO52[sx].
42860 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42861 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42862 Likewise.
42863 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42864
09a3453f
DM
428652012-03-13 David S. Miller <davem@davemloft.net>
42866
8e59da90
DM
42867 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42868 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42870 rtld-global-offsets.h
42871 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42872
2a8ab7f2
DM
42873 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42874 large parameters.
42875
10f62770
DM
42876 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42877
5f0bdb18
DM
42878 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42879 'err' in the ifdef scope in which it is actually used.
42880
09a3453f
DM
42881 * nss/nss_db/db-init.c: Include string.h
42882
b4b2eb5e
DM
428832012-03-12 David S. Miller <davem@davemloft.net>
42884
98bb2f1c
DM
42885 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42886 masking out of the most significant byte of random value used.
42887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42888 Fix coding style in previous change.
42889
b4b2eb5e
DM
42890 * sysdeps/unix/sysv/linux/kernel-features.h
42891 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42892 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42893 expression.
42894 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42895 later.
42896
6e226b09
DM
428972012-03-11 David S. Miller <davem@davemloft.net>
42898
a1bcbd40
DM
42899 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42900 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42901 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42902 for 'resultvar' otherwise things get truncated on 64-bit.
42903
cb9d6174
DM
42904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42905 Fix masking out of the most significant byte of random value used.
42906
6e226b09
DM
42907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42908
058c132d
AS
429092012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42910
42911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42912
2d2cd515
DM
429132012-03-09 David S. Miller <davem@davemloft.net>
42914
42915 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42916 variables with appropriate CPP guards.
57f41c40
AS
42917 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42918 from the frame pointer, not the stack pointer. Correct layout
42919 comments. Fix test on resulting framesize and the management of
42920 the outregs buffer for pltexit. Preserve floating point return
42921 values across _dl_call_pltexit call.
2d2cd515
DM
42922 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42923 framesize and the management of the outregs buffer for pltexit.
42924 Preserve floating point return values across _dl_call_pltexit
42925 call.
57f41c40
AS
42926 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42927 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42928 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42929 (print_exit): Fix format string for return register value.
42930
9a07f9d0
JM
429312012-03-10 Joseph Myers <joseph@codesourcery.com>
42932
42933 * sunrpc/Makefile (others): Add rpcgen.
42934 ($(objpfx)rpcgen): Remove special build rule and dependency on
42935 libc.
42936 * sunrpc/rpcgen.c: New file.
42937
547b5e30
PE
429382012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42939
c524201a
PE
42940 [BZ #13673]
42941 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42942 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42943 * sysdeps/i386/crti.S: Likewise.
42944 * sysdeps/i386/crtn.S: Likewise.
42945 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42946 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42947 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42948 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42949 * sysdeps/sh/crti.S: Likewise.
42950 * sysdeps/sh/crtn.S: Likewise.
42951 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42952
7b6235f2
PE
42953 [BZ #13673]
42954 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42955 with URL.
42956 * locale/programs/locfile-kw.gperf: Likewise.
42957 * locale/programs/charmap-kw.h: Regenerated.
42958 * locale/programs/locfile-kw.h: Likewise.
42959
547b5e30
PE
42960 [BZ #13673]
42961 * intl/plural.y: Replace FSF snail mail address with URL.
42962 * intl/plural.c: Regenerated.
42963
5f0a5dae
RH
429642012-03-09 Richard Henderson <rth@twiddle.net>
42965
42966 * include/math_private.h: Remove file.
42967 * math/math_private.h: Move file ...
42968 * sysdeps/generic/math_private.h: ... here.
42969
b8c03620
RH
42970 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42971 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42972 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42973
4e234f5d 42974 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42975 and <math_private.h>.
42976 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42977 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42978 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42979 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42980 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42981 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42982 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42984 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42985 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42986 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42987 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42988 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42990 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42991 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42992 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42993 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42994 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42995 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42996 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42997 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42998 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42999 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43000 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43001 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43002 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43003 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43004 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43006 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43007 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43023 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43024 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43025 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43026 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43027 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43028 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43029 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43030 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43031 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43032 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43033 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43034 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43035 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43036 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43037 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43038 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43039 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43040 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43041 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43042 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43043 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43044 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43045 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43046 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43047 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43048 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43049 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43050 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43053 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43054 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43055 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43056 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43057 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43058 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43059 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43060 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43061 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43062 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43063 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43064 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43065 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43066 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43067 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43068 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43069 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43070 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43071 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43072 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43073 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43074 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43075 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43076 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43077 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43078 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43079 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43080 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43081 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43082 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43083 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43084 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43085 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43086 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43087 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43088 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43089 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43090 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43091 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43092 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43093 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43094 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43095 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43096 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43097 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43098 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43099 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43100 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43101 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43102 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43103 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43104 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43105 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43106 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43107 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43108 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43109 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43110 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43111 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43112 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43113 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43114 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43115 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43116 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43117 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43118 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43119 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43120 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43121 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43122 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43123 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43124 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43125 * sysdeps/ieee754/k_standard.c: Likewise.
43126 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43127 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43128 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43129 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43130 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43133 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43135 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43136 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43138 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43139 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43140 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43141 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43142 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43143 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43144 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43145 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43146 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43147 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43153 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43154 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43155 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43157 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43159 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43160 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43161 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43162 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43163 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43164 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43167 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43169 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43170 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43171 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43172 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43173 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43174 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43175 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43176 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43177 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43178 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43179 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43180 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43181 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43182 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43183 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43184 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43185 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43186 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43187 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43188 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43190 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43195 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43196 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43197 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43198 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43199 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43200 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43201 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43202 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43203 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43204 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43208 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43209 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43210 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43211 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43212 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43213 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43214 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43215 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43216 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43217 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43218 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43219 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43221 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43224 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43225 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43227 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43230 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43233 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43234 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43235 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43236 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43237 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43238 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43239 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43240 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43241 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43242 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43243 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43244 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43245 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43246 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43247 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43248 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43249 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43250 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43251 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43252 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43253 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43254 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43255 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43256 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43257 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43258 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43259 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43260 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43261 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43262 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43263 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43264 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43265 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43266 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43267 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43269 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43270 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43271 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43272 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43273 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43274 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43275 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43276 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43277 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43278 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43279 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43280 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43282 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43286 * sysdeps/ieee754/s_lib_version.c: Likewise.
43287 * sysdeps/ieee754/s_matherr.c: Likewise.
43288 * sysdeps/ieee754/s_signgam.c: Likewise.
43289 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43290 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43291 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43292 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43293 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43294 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43295 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43296 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43297 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43298 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43299 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43300 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43301 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43302 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43303 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43304 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43305 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43306 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43307 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43308 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43309 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43310
1991fa03
JM
433112012-03-09 Joseph Myers <joseph@codesourcery.com>
43312
43313 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43314 * sunrpc/rpc_main.c: Likewise.
43315 * sunrpc/rpc_svcout.c: Likewise.
43316
60d6f5a6
DM
433172012-03-09 David S. Miller <davem@davemloft.net>
43318
43319 * include/math_private.h: New file.
43320
4962050e
JM
433212012-03-09 Joseph Myers <joseph@codesourcery.com>
43322
02a6f887
JM
43323 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43324 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43325 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43326 from <bits/socket_type.h>.
43327 (enum __socket_type): Don't define here.
43328 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43330 bits/socket_type.h.
43331
c6e013c1
JM
43332 [BZ #13566]
43333 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43334 checking __USE_GNU.
43335
4962050e
JM
43336 * Makerules ($(inst_includedir)/%.h): New rule.
43337 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43338 (install-others): Remove variable setting.
43339 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43340
38842f45
RH
433412012-03-08 Richard Henderson <rth@twiddle.net>
43342
67bb6da6
RH
43343 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43344 from macro to inline function; merge with the
43345 !__LIBC_INTERNAL_MATH_INLINES version.
43346 (__ieee754_sqrtf): Likewise.
43347
15194b4b
RH
43348 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43349 to inline function.
43350 (__rintf, __floor, __floorf): Likewise.
43351
64e21ede
RH
43352 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43353 macro to inline function.
43354 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43355
38842f45
RH
43356 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43357 not <math/math_private.h>.
43358
c64bf5fe
DM
433592012-03-08 David S. Miller <davem@davemloft.net>
43360
43361 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43362 copyright year.
43363 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43364
82d86f28
TS
433652012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43366
43367 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43368 normalization.
43369 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43370 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43371
aea5d727
UD
433722012-03-08 Ulrich Drepper <drepper@gmail.com>
43373
43374 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43375 be defined individually, they must be defined as a block. Define
43376 S for printing a string instead of hidint the different by using a
43377 macro for adding the 'l'.
43378 * stdio-common/tst-fphex-wide.c: Adjust.
43379
70bca0a3
MP
433802012-03-07 Marek Polacek <polacek@redhat.com>
43381
43382 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43383
65b81130
MP
433842012-03-08 Marek Polacek <polacek@redhat.com>
43385
43386 [BZ #13806]
43387 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43388 * stdio-common/tst-fphex.c: Define a few macros to make the
43389 test reusable. Use them.
43390 * stdio-common/tst-fphex-wide.c: New file.
43391
07037eeb
JM
433922012-03-08 Joseph Myers <joseph@codesourcery.com>
43393
a7a93d50
JM
43394 [BZ #6911]
43395 * manual/macros.texi (gnusystems): New macro.
43396 (nongnusystems): Likewise.
43397 (gnulinuxhurdsystems): Likewise.
43398 (gnuhurdsystems): Likewise..
43399 (gnulinuxsystems): Likewise.
43400 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43401 variants of the GNU system, not "GNU system".
43402 * manual/conf.texi: Likewise.
43403 * manual/errno.texi: Likewise. Update example of errno macro
43404 expansion.
43405 * manual/filesys.texi: Likewise.
43406 (getumask): Document as specific to GNU/Hurd.
43407 * manual/install.texi: Likewise. Reword some references to
43408 GNU/Linux.
43409 * manual/intro.texi: Likewise.
43410 * manual/io.texi: Likewise.
43411 (File Name Portability): Detail which constraints are inapplicable
43412 to all GNU systems and which are only inapplicable to GNU/Hurd.
43413 * manual/job.texi: Likewise.
43414 * manual/llio.texi: Likewise.
43415 (O_NOCTTY): Document as present on GNU/Linux.
43416 * manual/maint.texi: Likewise.
43417 * manual/memory.texi: Likewise.
43418 * manual/pattern.texi: Likewise.
43419 * manual/pipe.texi: Likewise.
43420 * manual/process.texi: Likewise.
43421 * manual/resource.texi: Likewise.
43422 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43423 child on GNU/Hurd.
43424 * manual/setjmp.texi: Likewise.
43425 * manual/signal.texi: Likewise.
43426 * manual/startup.texi: Likewise.
43427 * manual/stdio.texi: Likewise.
43428 * manual/terminal.texi: Likewise.
43429 (ONLCR): Document as POSIX.
43430 (OXTABS): Document availability on GNU/Linux as XTABS.
43431 (ONOEOT): Document availability separately from other bits.
43432 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43433 * manual/time.texi: Likewise.
43434 * manual/users.texi: Likewise.
43435 * INSTALL: Regenerated.
43436 * sysdeps/gnu/errlist.c: Regenerated.
43437
07037eeb
JM
43438 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43439 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43440 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43441 puts.
43442 * configure: Regenerated.
43443
d1d3431a
JM
434442012-03-07 Joseph Myers <joseph@codesourcery.com>
43445
af6a1e37
JM
43446 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43447 default includes instead of AC_HEADER_CHECK.
43448 * sysdeps/i386/configure: Regenerated.
43449
d1d3431a
JM
43450 [BZ #10716]
43451 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43452 * math/s_cacoshf.c (__cacoshf): Likewise.
43453 * math/s_cacoshl.c (__cacoshl): Likewise.
43454 * math/s_casinh.c (__casinh): Set signs of result from argument.
43455 * math/s_casinhf.c (__casinhf): Likewise.
43456 * math/s_casinhl.c (__casinhl): Likewise.
43457 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43458 (casinh_test): Add more tests.
43459 * sysdeps/i386/fpu/libm-test-ulps: Update.
43460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43461
482ff4da
UD
434622012-03-07 Ulrich Drepper <drepper@gmail.com>
43463
872fda05
UD
43464 * po/zh_TW.po: Update from translation team.
43465
a4300c7a
UD
43466 * login/Makefile (distribute): Remove variable.
43467 * catgets/Makefile: Likewise.
43468 * mach/Makefile: Likewise.
43469 * malloc/Makefile: Likewise.
43470 * misc/Makefile: Likewise.
43471 * iconv/Makefile: Likewise.
43472 * nscd/Makefile: Likewise.
43473 * hurd/Makefile: Likewise.
43474 * manual/Makefile: Likewise.
43475 * locale/Makefile: Likewise.
43476 * intl/Makefile: Likewise.
43477 * conform/Makefile: Likewise.
43478 * nss/Makefile: Likewise.
43479 * time/Makefile: Likewise.
43480 * soft-fp/Makefile: Likewise.
43481 * dirent/Makefile: Likewise.
43482 * gmon/Makefile: Likewise.
43483 * po/Makefile: Likewise.
43484 * rt/Makefile: Likewise.
43485 * socket/Makefile: Likewise.
43486 * math/Makefile: Likewise.
43487 * signal/Makefile: Likewise.
43488 * debug/Makefile: Likewise.
43489 * elf/Makefile: Likewise.
43490 * timezone/Makefile: Likewise.
43491 * stdlib/Makefile: Likewise.
43492 * iconvdata/Makefile: Likewise.
43493 * sunrpc/Makefile: Likewise.
43494 * io/Makefile: Likewise.
43495 * argp/Makefile: Likewise.
43496 * inet/Makefile: Likewise.
43497 * hesiod/Makefile: Likewise.
43498 * grp/Makefile: Likewise.
43499 * csu/Makefile: Likewise.
43500 * wctype/Makefile: Likewise.
43501 * crypt/Makefile: Likewise.
43502 * libio/Makefile: Likewise.
43503 * string/Makefile: Likewise.
43504 * nis/Makefile: Likewise.
43505 * resolv/Makefile: Likewise.
43506 * stdio-common/Makefile: Likewise.
43507 * wcsmbs/Makefile: Likewise.
43508 * dlfcn/Makefile: Likewise.
43509 * posix/Makefile: Likewise.
43510
3b7c4e74 43511 [BZ #6959]
482ff4da
UD
43512 * timezone/Makefile: Don't install timezone files, just the programs
43513 and scripts.
43514
f72ed77d
UD
435152012-03-06 Ulrich Drepper <drepper@gmail.com>
43516
a000466f
UD
43517 * nss/databases.def: Add missing gshadow entry.
43518
f72ed77d
UD
43519 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43520
a53b7a4e
MP
435212012-03-06 Marek Polacek <polacek@redhat.com>
43522
43523 [BZ #13726]
43524 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43525 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43526 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43527 * stdio-common/tst-long-dbl-fphex.c: New file.
43528
e9258400
DM
435292012-03-06 David S. Miller <davem@davemloft.net>
43530
43531 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43532 (set_obp_int): New function.
43533 (get_obp_int): New function.
43534 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43535 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43536 Avoid unused variable warnings on 'val' and use builtin_expect.
43537 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43538 __builtin_expect.
e9258400
DM
43539 (INLINE_CLONE_SYSCALL): Likewise.
43540
3bd2c723
DM
435412012-03-05 David S. Miller <davem@davemloft.net>
43542
43543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43544
bbb78d03
AS
435452012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43546
884c5db4
AS
43547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43548
bbb78d03
AS
43549 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43550 only for |x| >= 40.
43551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43552
1c9f702a 435532012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43554
43555 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43556 Replace gettimeofday with __vdso_gettimeofday.
43557
7be16f82
RM
43558 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43559 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43560 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43561
43562 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43563 time with __vdso_time.
43564
ed58a00f
JM
435652012-03-05 Joseph Myers <joseph@codesourcery.com>
43566
43567 * manual/lang.texi (size_t): Note types to which size_t may be
43568 equivalent with the GNU C Library, but do not describe when
43569 differences between them are significant.
43570
30ee4ced
AJ
435712012-03-05 Andreas Jaeger <aj@suse.de>
43572
43573 * sysdeps/i386/fpu/libm-test-ulps: Update.
43574
b7cd39e8
JM
435752012-03-05 Joseph Myers <joseph@codesourcery.com>
43576
43577 [BZ #3976]
43578 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43579 (__ieee754_pow): Save and restore rounding mode and use
43580 round-to-nearest for main computations.
43581 * math/libm-test.inc (pow_test_tonearest): New function.
43582 (pow_test_towardzero): Likewise.
43583 (pow_test_downward): Likewise.
43584 (pow_test_upward): Likewise.
43585 (main): Call the new functions.
43586 * sysdeps/i386/fpu/libm-test-ulps: Update.
43587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43588
43589 [BZ #3976]
43590 * math/libm-test.inc (cosh_test_tonearest): New function.
43591 (cosh_test_towardzero): Likewise.
43592 (cosh_test_downward): Likewise.
43593 (cosh_test_upward): Likewise.
43594 (sinh_test_tonearest): Likewise.
43595 (sinh_test_towardzero): Likewise.
43596 (sinh_test_downward): Likewise.
43597 (sinh_test_upward): Likewise.
43598 (main): Call the new functions.
43599 * sysdeps/i386/fpu/libm-test-ulps: Update.
43600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43601
6c6a98c9
TV
436022012-03-05 Tom de Vries <tom@codesourcery.com>
43603
43604 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43605 default stack guard is set in last bytes.
43606 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43607
21bb2d2e 436082012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43609
21bb2d2e 43610 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43611
21bb2d2e
AJ
43612 [BZ #13656]
43613 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43614 possibly allocate from heap instead of stack.
43615 * stdio-common/bug-vfprintf-nargs.c: New file.
43616 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43617
c6922934
AS
436182012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43619
43620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43621
bc957d53
MP
436222012-03-03 Marek Polacek <polacek@redhat.com>
43623
43624 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43625 * math/math_private.h: Likewise.
43626 * stdlib/tst-strtod.c: Likewise.
43627 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43628 * sysdeps/x86_64/bits/atomic.h: Likewise.
43629
6358490d
DM
436302012-03-02 David S. Miller <davem@davemloft.net>
43631
43632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43636 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43637 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43638 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43639 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43640
01ae168d
RM
436412012-03-02 Roland McGrath <roland@hack.frob.com>
43642
d9a17c07
RM
43643 [BZ #13792]
43644 * manual/examples/README: New file, says the example source files
43645 can be used under GPL>=2.
43646 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43647 line containing just "*/".
43648 * manual/examples/add.c: Add copyright header (GPL>=2).
43649 * manual/examples/argp-ex1.c: Likewise.
43650 * manual/examples/argp-ex2.c: Likewise.
43651 * manual/examples/argp-ex3.c: Likewise.
43652 * manual/examples/argp-ex4.c: Likewise.
43653 * manual/examples/atexit.c: Likewise.
43654 * manual/examples/db.c: Likewise.
43655 * manual/examples/dir.c: Likewise.
43656 * manual/examples/dir2.c: Likewise.
43657 * manual/examples/execinfo.c: Likewise.
43658 * manual/examples/filecli.c: Likewise.
43659 * manual/examples/filesrv.c: Likewise.
43660 * manual/examples/fmtmsgexpl.c: Likewise.
43661 * manual/examples/genpass.c: Likewise.
43662 * manual/examples/inetcli.c: Likewise.
43663 * manual/examples/inetsrv.c: Likewise.
43664 * manual/examples/isockad.c: Likewise.
43665 * manual/examples/longopt.c: Likewise.
43666 * manual/examples/memopen.c: Likewise.
43667 * manual/examples/memstrm.c: Likewise.
43668 * manual/examples/mkfsock.c: Likewise.
43669 * manual/examples/mkisock.c: Likewise.
43670 * manual/examples/mygetpass.c: Likewise.
43671 * manual/examples/pipe.c: Likewise.
43672 * manual/examples/popen.c: Likewise.
43673 * manual/examples/rprintf.c: Likewise.
43674 * manual/examples/search.c: Likewise.
43675 * manual/examples/select.c: Likewise.
43676 * manual/examples/setjmp.c: Likewise.
43677 * manual/examples/sigh1.c: Likewise.
43678 * manual/examples/sigusr.c: Likewise.
43679 * manual/examples/stpcpy.c: Likewise.
43680 * manual/examples/strdupa.c: Likewise.
43681 * manual/examples/strftim.c: Likewise.
43682 * manual/examples/strncat.c: Likewise.
43683 * manual/examples/subopt.c: Likewise.
43684 * manual/examples/swapcontext.c: Likewise.
43685 * manual/examples/termios.c: Likewise.
43686 * manual/examples/testopt.c: Likewise.
43687 * manual/examples/testpass.c: Likewise.
43688 * manual/examples/timeval_subtract.c: Likewise.
43689
01ae168d
RM
43690 [BZ #13792]
43691 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43692 function to ...
43693 * manual/timeval_subtract.c.texi: ... here, new file.
43694
49efa33d
DM
436952012-03-02 David S. Miller <davem@davemloft.net>
43696
43697 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43698
28afd92d
JM
436992012-03-02 Joseph Myers <joseph@codesourcery.com>
43700
804360ed
JM
43701 [BZ #3976]
43702 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43703 (__sin): Save and restore rounding mode and use round-to-nearest
43704 for all computations.
43705 (__cos): Save and restore rounding mode and use round-to-nearest
43706 for all computations.
43707 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43708 <fenv.h>.
43709 (tan): Save and restore rounding mode and use round-to-nearest for
43710 all computations.
43711 * math/libm-test.inc (cos_test_tonearest): New function.
43712 (cos_test_towardzero): Likewise.
43713 (cos_test_downward): Likewise.
43714 (cos_test_upward): Likewise.
43715 (sin_test_tonearest): Likewise.
43716 (sin_test_towardzero): Likewise.
43717 (sin_test_downward): Likewise.
43718 (sin_test_upward): Likewise.
43719 (tan_test_tonearest): Likewise.
43720 (tan_test_towardzero): Likewise.
43721 (tan_test_downward): Likewise.
43722 (tan_test_upward): Likewise.
43723 (main): Call the new functions.
43724 * sysdeps/i386/fpu/libm-test-ulps: Update.
43725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43726
a6d06d7b
JM
43727 [BZ #10135]
43728 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43729 small n, then large n, before computing and testing k+n.
43730 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43732 Likewise.
43733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43734 Likewise.
43735 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43736 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43739 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43740 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43741 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43742 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43743 * math/libm-test.inc (scalbn_test): Add more tests.
43744 (scalbln_test): Likewise.
43745
07e12bb3
JM
43746 * manual/filesys.texi (mode_t): Describe constraints on size and
43747 signedness, not exact equivalence to a particular type.
43748 (ino_t): Likewise.
43749 (ino64_t): Likewise.
43750 (dev_t): Likewise.
43751 (nlink_t): Likewise.
43752 (blkcnt_t): Likewise.
43753 (blkcnt64_t): Likewise.
43754 * manual/llio.texi (off_t): Likewise.
43755
28afd92d
JM
43756 [BZ #3976]
43757 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43758 (__ieee754_exp): Save and restore rounding mode and use
43759 round-to-nearest for all computations.
43760 * math/libm-test.inc (exp_test_tonearest): New function.
43761 (exp_test_towardzero): Likewise.
43762 (exp_test_downward): Likewise.
43763 (exp_test_upward): Likewise.
43764 (main): Call the new functions.
43765 * sysdeps/i386/fpu/libm-test-ulps: Update.
43766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43767
b1eeb65d
CD
437682012-03-01 Chris Demetriou <cgd@google.com>
43769
43770 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43771 have predictable order.
43772
53362a4b
DM
437732012-03-01 David S. Miller <davem@davemloft.net>
43774
3c969083
DM
43775 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43776
759707de
DM
43777 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43778 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43779 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43780 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43781
dfdb8ff2
DM
43782 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43783 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43784 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43786 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43787 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43788 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43789 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43790 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43791
ead89f96
DM
43792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43793
7f66bd07
DM
43794 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43795 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43796 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43797
53362a4b
DM
43798 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43799 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43800 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43801 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43802 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43803 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43804 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43805 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43806 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43807 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43808 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43809 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43810 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43811 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43812 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43813 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43814 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43815 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43816 * sysdeps/sparc/elf/configure: Regenerated.
43817
7b1902cb
JM
438182012-03-01 Joseph Myers <joseph@codesourcery.com>
43819
bec039bc
JM
43820 * configure.in (AS, LD): Require binutils 2.20 or later.
43821 * configure: Regenerated.
43822 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43823 as required minimum version.
43824 * INSTALL: Regenerated.
43825
7b1902cb
JM
43826 [BZ #2541]
43827 [BZ #4108]
43828 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43829 before squaring exponent.
43830 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43831 bottom long double and 27 bits of top long double before squaring
43832 exponent.
43833 * math/libm-test.inc (erfc_test): Add more tests.
43834 * sysdeps/i386/fpu/libm-test-ulps: Update.
43835 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43837
f775c276
KT
438382012-03-01 Kai Tietz <ktietz@redhat.com>
43839
43840 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43841 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43842 containing bit-fields.
43843 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43844 * soft-fp/single.h (_FP_UNION_S): Likewise.
43845 * soft-fp/double.h (_FP_UNION_D): Likewise.
43846
5b8a4d4a
JM
438472012-02-29 Joseph Myers <joseph@codesourcery.com>
43848
0bab47b6
JM
43849 [BZ #13786]
43850 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43851 not include ../strcmp.S.
43852 [USE_AS_STRNCASECMP_L]: Likewise.
43853 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43854 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43855 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43856 (__strncasecmp_l_ia32): Define as alias to
43857 __strncasecmp_l_nonascii.
43858
0fcad3e2
JM
43859 [BZ #5794]
43860 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43861 * sysdeps/i386/fpu/libm-test-ulps: Update.
43862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43863
5b8a4d4a
JM
43864 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43866
8fdceb2e
JL
438672012-02-29 Jeff Law <law@redhat.com>
43868
43869 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43870 out of bounds read.
43871
1f393a11
MP
438722012-02-29 Marek Polacek <polacek@redhat.com>
43873
43874 [BZ #13706]
43875 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43876 * elf/Makefile: Add rules to run tst-unused-dep.out.
43877
8847f037
DM
438782012-02-28 David S. Miller <davem@davemloft.net>
43879
43880 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43881 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43883 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43884 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43885 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43886
169d7f11
JM
438872012-02-29 Joseph Myers <joseph@codesourcery.com>
43888
43889 * math/libm-test.inc (llround_test): Move one test from
43890 lround_test. Use TEST_f_L in moved test.
43891 (lround_test): Move misplaced test to llround_test. Add testcase
43892 from bug 2561.
43893
39adf059
UD
438942012-02-28 Ulrich Drepper <drepper@gmail.com>
43895
43896 * sysdeps/x86_64/fpu/e_expf.S: New file.
43897 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43898
71b5d1c5
SB
438992012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43900
43901 [BZ #13637]
43902 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43903 of remain_len that may cause incomplete multi-byte character and
43904 false match.
43905 * posix/bug-regex33.c: New file.
43906 * posix/Makefile (tests): Add bug-regex33.
43907
1f77f049
JM
439082012-02-28 Joseph Myers <joseph@codesourcery.com>
43909
43910 * manual/macros.texi: New file.
43911 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43912 * manual/libc.texinfo: Include macros.texi.
43913 * manual/creatute.texi: Likewise.
43914 * manual/install.texi: Likewise.
43915 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43916 @glibcadj{} in references to the GNU C Library.
43917 * manual/charset.texi: Likewise.
43918 * manual/conf.texi: Likewise.
43919 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43920 when not using those macros.
43921 * manual/creature.texi: Likewise.
43922 * manual/crypt.texi: Likewise.
43923 * manual/errno.texi: Likewise.
43924 * manual/filesys.texi: Likewise.
43925 * manual/header.texi: Likewise.
43926 * manual/install.texi: Likewise.
43927 * manual/intro.texi: Likewise.
43928 * manual/io.texi: Likewise.
43929 * manual/job.texi: Likewise.
43930 * manual/lang.texi: Likewise.
43931 * manual/libc.texiinfo: Likewise.
43932 * manual/llio.texi: Likewise.
43933 * manual/locale.texi: Likewise.
43934 * manual/maint.texi: Likewise.
43935 * manual/math.texi: Likewise.
43936 * manual/memory.texi: Likewise.
43937 * manual/message.texi: Likewise.
43938 * manual/nss.texi: Likewise.
43939 * manual/pattern.texi: Likewise.
43940 * manual/process.texi: Likewise.
43941 * manual/resource.texi: Likewise.
43942 * manual/search.texi: Likewise.
43943 * manual/setjmp.texi: Likewise.
43944 * manual/signal.texi: Likewise.
43945 * manual/socket.texi: Likewise.
43946 * manual/startup.texi: Likewise.
43947 * manual/stdio.texi: Likewise.
43948 * manual/string.texi: Likewise.
43949 * manual/sysinfo.texi: Likewise.
43950 * manual/syslog.texi: Likewise.
43951 * manual/terminal.texi: Likewise.
43952 * manual/time.texi: Likewise.
43953 * manual/users.texi: Likewise.
43954 * INSTALL: Regenerated.
43955 * NOTES: Regenerated.
d40c5d54 43956 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43957
450bf206
AS
439582012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43959
43960 * include/dirent.h: Include <dirstream.h> before
43961 <dirent/dirent.h>.
43962
741a235b
DM
439632012-02-28 David S. Miller <davem@davemloft.net>
43964
43965 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43966 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43967 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43968 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43969
d6b5aa58
DM
439702012-02-27 David S. Miller <davem@davemloft.net>
43971
1aff59a3
DM
43972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43974 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43975 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43976
d6b5aa58
DM
43977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43978 frame pointer instead of stack pointer relative arg slot.
43979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43980 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43981 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43982
433f48bf
CD
439832012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43984
43985 [BZ #3992]
43986 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43987
d674b76d
DM
439882012-02-27 David S. Miller <davem@davemloft.net>
43989
43990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43994 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43995 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43996 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43997 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43998
0e7727f7
JM
439992012-02-27 Joseph Myers <joseph@codesourcery.com>
44000
44001 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44002 later. Allow versions 5-9.
43be4ca2 44003 * configure: Regenerated.
0e7727f7
JM
44004 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44005 required minimum version and 4.6 as recommended version. Do not
44006 mention bugs in GCC 2.7 and 2.8.
43be4ca2 44007 * INSTALL: Regenerated.
0e7727f7 44008
a78bc654
DM
440092012-02-27 David S. Miller <davem@davemloft.net>
44010
428d5830
DM
44011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44015 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44016 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44017 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44018 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44019
a78bc654
DM
44020 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44021 manipulate bits before adding and subtracting TWO112[sx].
44022 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44023
4579f81c
RM
440242012-02-27 Roland McGrath <roland@hack.frob.com>
44025
36c8acb4
RM
44026 [BZ #13775]
44027 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44028 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44029 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44030 being in POSIX, because they are in 1003.1-2008.
44031
84ad622b
RM
44032 * rt/tst-aio.c: Include <fcntl.h>.
44033 * rt/tst-aio7.c: Likewise.
44034 * rt/tst-aio64.c: Likewise.
44035
4579f81c
RM
44036 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44037
abd923db
JM
440382012-02-27 Joseph Myers <joseph@codesourcery.com>
44039
44040 * manual/install.texi (--with-headers): Describe headers as
44041 interface headers, not private headers.
44042 (Specific advice for GNU/Linux systems): Describe use of headers
44043 from "make headers_install", not private headers from older
44044 kernels.
43be4ca2 44045 * INSTALL: Regenerated.
abd923db
JM
44046 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44047 Change to 2.6.19.
44048 * sysdeps/unix/sysv/linux/configure: Regenerated.
44049
6664049b
JM
44050 * manual/llio.texi (fclean): Remove documentation.
44051
bb8b6697
JM
44052 * manual/Makefile (libc-texi-generated): New variable. Include
44053 version.texi.
44054 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44055 $(libc-texi-generated), not duplicated list of files.
44056 (version.texi, stamp-version): New rules.
44057 (realclean): Remove $(libc-texi-generated), not individual files
44058 from that list. Do not remove dir-add.texinfo.
44059 * manual/libc.texinfo: Comment out uses of edition numbers and
44060 references to printed manual. Remove last-updated dates.
44061 (EDITION): Comment out.
44062 (ISBN): Likewise.
44063 (VERSION, UPDATED): Remove.
44064 (version.texi): Include.
44065
12e5c3b9
AS
440662012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44067
44068 * sysdeps/posix/spawni.c: Include <signal.h>.
44069 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44070 * sysdeps/pthread/aio_fsync.c: Likewise.
44071
4efeffc1 440722012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 44073
ba63ba08
UD
44074 * conform/Makefile (tests): Run only when not cross-compiling and
44075 when fast-check is not defined.
44076
d94a4670
UD
44077 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44078 * conform/data/limits.h-data: Fixes for POSIX2008.
44079 * conform/run-conformtest.sh: Run all tests.
44080 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44081 headers.
44082 * include/bits/dlfcn.h: Likewise.
44083 * include/langinfo.h: Likewise.
44084 * include/monetary.h: Likewise.
44085 * include/sys/poll.h: Likewise.
44086
44087 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44088 for __USE_GNU.
44089 * posix/spawn.h: Define __need_sigset_t.
44090 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44091 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44092 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44093 to get sigevent_t only.
44094 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44095 only for __USE_GNU.
44096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44097 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44098 process_vm_writev only for __USE_GNU.
44099 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
44100
44101 * conform/Makefile: For now ignore errors from run-conformtest.
44102 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44103 POSIX to avoid namespace pollution. Don't prepend headers.
44104 * conform/data/aio.h-data: Fixes for POSIX testing.
44105 * conform/data/fcntl.h-data: Likewise.
44106 * conform/data/glob.h-data: Likewise.
44107 * conform/data/grp.h-data: Likewise.
44108 * conform/data/pthread.h-data: Likewise.
44109 * conform/data/pwd.h-data: Likewise.
44110 * conform/data/signal.h-data: Likewise.
44111 * conform/data/spawn.h-data: Likewise.
44112 * conform/data/stdio.h-data: Likewise.
44113 * conform/data/stdlib.h-data: Likewise.
44114 * conform/data/stropts.h-data: Likewise.
44115 * conform/data/sys/mman.h-data: Likewise.
44116 * conform/data/sys/stat.h-data: Likewise.
44117 * conform/data/sys/types.h-data: Likewise.
44118 * conform/data/sys/wait.h-data: Likewise.
44119 * conform/data/time.h-data: Likewise.
44120 * conform/data/unistd.h-data: Likewise.
44121 * conform/data/utime.h-data: Likewise.
44122
44123 * io/sys/stat.h: fchmod was always in POSIX.
44124 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44125 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44126 * rt/aio.h: Define __need_timespec before including <time.h>.
44127 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44128 struct. Add forward declaration of pthread_attr_t and use it in
44129 sigevent.
44130 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44131 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44132 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44133 always remove CLK_TCK definition.
44134
c20105c3
AS
441352012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44136
44137 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44138
7a270350
UD
441392012-02-25 Ulrich Drepper <drepper@gmail.com>
44140
31341567
UD
44141 * conform/run-conformtest.sh: New file.
44142 * conform/Makefile: Run run-conformtest for tests.
44143 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44144 support.
44145
44146 * conform/data/uchar.h-data: New file.
44147 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44148 * conform/data/arpa/inet.h-data: Likewise.
44149 * conform/data/assert.h-data: Likewise.
44150 * conform/data/complex.h-data: Likewise.
44151 * conform/data/cpio.h-data: Likewise.
44152 * conform/data/ctype.h-data: Likewise.
44153 * conform/data/dirent.h-data: Likewise.
44154 * conform/data/dlfcn.h-data: Likewise.
44155 * conform/data/errno.h-data: Likewise.
44156 * conform/data/fcntl.h-data: Likewise.
44157 * conform/data/float.h-data: Likewise.
44158 * conform/data/fmtmsg.h-data: Likewise.
44159 * conform/data/fnmatch.h-data: Likewise.
44160 * conform/data/ftw.h-data: Likewise.
44161 * conform/data/glob.h-data: Likewise.
44162 * conform/data/grp.h-data: Likewise.
44163 * conform/data/iconv.h-data: Likewise.
44164 * conform/data/inttypes.h-data: Likewise.
44165 * conform/data/langinfo.h-data: Likewise.
44166 * conform/data/libgen.h-data: Likewise.
44167 * conform/data/limits.h-data: Likewise.
44168 * conform/data/locale.h-data: Likewise.
44169 * conform/data/math.h-data: Likewise.
44170 * conform/data/monetary.h-data: Likewise.
44171 * conform/data/mqueue.h-data: Likewise.
44172 * conform/data/ndbm.h-data: Likewise.
44173 * conform/data/net/if.h-data: Likewise.
44174 * conform/data/netdb.h-data: Likewise.
44175 * conform/data/netinet/in.h-data: Likewise.
44176 * conform/data/nl_types.h-data: Likewise.
44177 * conform/data/poll.h-data: Likewise.
44178 * conform/data/pthread.h-data: Likewise.
44179 * conform/data/pwd.h-data: Likewise.
44180 * conform/data/regex.h-data: Likewise.
44181 * conform/data/sched.h-data: Likewise.
44182 * conform/data/search.h-data: Likewise.
44183 * conform/data/semaphore.h-data: Likewise.
44184 * conform/data/setjmp.h-data: Likewise.
44185 * conform/data/signal.h-data: Likewise.
44186 * conform/data/spawn.h-data: Likewise.
44187 * conform/data/stdarg.h-data: Likewise.
44188 * conform/data/stdio.h-data: Likewise.
44189 * conform/data/stdlib.h-data: Likewise.
44190 * conform/data/string.h-data: Likewise.
44191 * conform/data/strings.h-data: Likewise.
44192 * conform/data/stropts.h-data: Likewise.
44193 * conform/data/sys/ipc.h-data: Likewise.
44194 * conform/data/sys/mman.h-data: Likewise.
44195 * conform/data/sys/msg.h-data: Likewise.
44196 * conform/data/sys/resource.h-data: Likewise.
44197 * conform/data/sys/select.h-data: Likewise.
44198 * conform/data/sys/sem.h-data: Likewise.
44199 * conform/data/sys/shm.h-data: Likewise.
44200 * conform/data/sys/socket.h-data: Likewise.
44201 * conform/data/sys/stat.h-data: Likewise.
44202 * conform/data/sys/statvfs.h-data: Likewise.
44203 * conform/data/sys/time.h-data: Likewise.
44204 * conform/data/sys/timeb.h-data: Likewise.
44205 * conform/data/sys/times.h-data: Likewise.
44206 * conform/data/sys/types.h-data: Likewise.
44207 * conform/data/sys/uio.h-data: Likewise.
44208 * conform/data/sys/un.h-data: Likewise.
44209 * conform/data/sys/utsname.h-data: Likewise.
44210 * conform/data/sys/wait.h-data: Likewise.
44211 * conform/data/syslog.h-data: Likewise.
44212 * conform/data/tar.h-data: Likewise.
44213 * conform/data/termios.h-data: Likewise.
44214 * conform/data/utime.h-data: Likewise.
44215 * conform/data/utmpx.h-data: Likewise.
44216 * conform/data/varargs.h-data: Likewise.
44217 * conform/data/wchar.h-data: Likewise.
44218 * conform/data/wctype.h-data: Likewise.
44219 * conform/data/wordexp.h-data: Likewise.
44220
44221 * include/stropts.h: New file.
44222 * include/uchar.h: New file.
44223 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44224 * include/assert.h: Likewise.
44225 * include/ctype.h: Likewise.
44226 * include/dirent.h: Likewise.
44227 * include/dlfcn.h: Likewise.
44228 * include/fcntl.h: Likewise.
44229 * include/fnmatch.h: Likewise.
44230 * include/glob.h: Likewise.
44231 * include/grp.h: Likewise.
44232 * include/libio.h: Likewise.
44233 * include/locale.h: Likewise.
44234 * include/math.h: Likewise.
44235 * include/net/if.h: Likewise.
44236 * include/netdb.h: Likewise.
44237 * include/netinet/in.h: Likewise.
44238 * include/pthread.h: Likewise.
44239 * include/pwd.h: Likewise.
44240 * include/regex.h: Likewise.
44241 * include/sched.h: Likewise.
44242 * include/search.h: Likewise.
44243 * include/setjmp.h: Likewise.
44244 * include/signal.h: Likewise.
44245 * include/stdio.h: Likewise.
44246 * include/stdlib.h: Likewise.
44247 * include/string.h: Likewise.
44248 * include/sys/cdefs.h: Likewise.
44249 * include/sys/mman.h: Likewise.
44250 * include/sys/msg.h: Likewise.
44251 * include/sys/resource.h: Likewise.
44252 * include/sys/select.h: Likewise.
44253 * include/sys/socket.h: Likewise.
44254 * include/sys/stat.h: Likewise.
44255 * include/sys/statvfs.h: Likewise.
44256 * include/sys/time.h: Likewise.
44257 * include/sys/times.h: Likewise.
44258 * include/sys/uio.h: Likewise.
44259 * include/sys/utsname.h: Likewise.
44260 * include/sys/wait.h: Likewise.
44261 * include/termios.h: Likewise.
44262 * include/time.h: Likewise.
44263 * include/ulimit.h: Likewise.
44264 * include/unistd.h: Likewise.
44265 * include/utime.h: Likewise.
44266 * include/wchar.h: Likewise.
44267 * include/wctype.h: Likewise.
44268 * include/wordexp.h: Likewise.
44269
44270 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44271
7a270350
UD
44272 * time/time.h: TIME_UTC must be a macro.
44273 Make timespec_get available for ISO C11 only as well.
44274
7724defc
UD
442752012-02-24 Ulrich Drepper <drepper@gmail.com>
44276
44277 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44278 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44279
6b1d1d46
JM
442802012-02-24 Joseph Myers <joseph@codesourcery.com>
44281
44282 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44283
0f8bbd69
JM
442842012-02-24 Joseph Myers <joseph@codesourcery.com>
44285
44286 * manual/texinfo.tex: Update to version 2012-01-19.16.
44287
66ab80bc
JM
442882012-02-24 Joseph Myers <joseph@codesourcery.com>
44289
44290 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44291
74981cc5
RM
442922012-02-24 Roland McGrath <roland@hack.frob.com>
44293
ee968201
RM
44294 [BZ #13738]
44295 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44296 * manual/fdl-1.3.texi: New file.
44297 * manual/fdl-1.1.texi: File removed.
44298
74981cc5
RM
44299 [BZ #13738]
44300 * manual/libc.texinfo (FDL_VERSION): New @set.
44301 Use it for mention of FDL in cover text.
44302 (Documentation License): Use it in @include file name.
44303
7bb764bc
JM
443042012-02-22 Joseph Myers <joseph@codesourcery.com>
44305 Roland McGrath <roland@hack.frob.com>
44306
44307 [BZ #5461]
57f41c40
AS
44308 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44309 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44310 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44311 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44312 name.
44313 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44314
6cbeae47
JM
443152012-02-22 Joseph Myers <joseph@codesourcery.com>
44316
44317 [BZ #2547]
44318 [BZ #11365]
44319 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44320 manipulate bits before adding and subtracting TWO23[sx].
44321 * math/libm-test.inc (nearbyint_test): Add more tests.
44322
fe45ce09
JM
443232012-02-22 Joseph Myers <joseph@codesourcery.com>
44324
44325 [BZ #2548]
44326 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44327 bits before adding and subtracting TWO23[sx].
44328 * math/libm-test.inc (rint_test): Add more tests.
44329 (rint_test_tonearest): Likewise.
44330 (rint_test_towardzero): Likewise.
44331 (rint_test_downward): Likewise.
44332 (rint_test_upward: Likewise.
44333
ff3b3d82
JM
443342012-02-22 Joseph Myers <joseph@codesourcery.com>
44335
44336 [BZ #10110]
44337 * include/stdc-predef.h: New file. Extracted from features.h.
44338 * include/features.h: Include stdc-predef.h.
44339 * Makefile (headers): Add stdc-predef.h.
44340 * CONFORMANCE (Compiler limitations): Update.
44341
ef0aab35
JM
443422012-02-22 Joseph Myers <joseph@codesourcery.com>
44343
44344 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44345
58639409
DM
443462012-02-21 David S. Miller <davem@davemloft.net>
44347
44348 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44349 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44350
c0e70b25
DM
443512012-02-20 David S. Miller <davem@davemloft.net>
44352
44353 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44354 using a normal save/restore sequence, rather than allocating a
44355 dummy stack frame just to store a frame pointer and restore.
44356 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44357
fb06851d
JM
443582012-02-21 Joseph Myers <joseph@codesourcery.com>
44359
44360 * manual/install.texi: Fix stray word in line-wrapped comment.
44361
7a8b71c3
DM
443622012-02-20 David S. Miller <davem@davemloft.net>
44363
d510c123
DM
44364 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44365 both binutils and gcc support GOTDATA.
44366
0722d7c2
DM
44367 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44368 "rd %pc" in the PIC register setup sequences.
44369
3d2b3019
DM
44370 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44371 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44372 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44373 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44374 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44376 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44377 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44378 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44379 (SYSCALL_ERROR_HANDLER): Likewise.
44380 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44381 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44383 (SYSCALL_ERROR_HANDLER): Likewise.
44384
c80098a9
DM
44385 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44386 (HAVE_GCC_GOTDATA): New.
44387 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44388 relocation support in both binutils and gcc.
44389 * sysdeps/sparc/elf/configure: Regenerate.
44390
3a2545a0
DM
44391 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44392 * sysdeps/sparc/sparc32/elf/configure: Delete.
44393 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44394 * sysdeps/sparc/sparc64/elf/configure: Delete.
44395 * sysdeps/sparc/elf/configure.in: New file.
44396 * sysdeps/sparc/elf/configure: Generate.
44397
7a8b71c3
DM
44398 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44399 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44400 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44401 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44402 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44403
f1e86fca
JM
444042012-02-21 Joseph Myers <joseph@codesourcery.com>
44405
44406 * manual/install.texi: Do not mention specific glibc version
44407 numbers.
44408 * manual/libc.texinfo (VERSION, UPDATED): Update.
44409 (@copying): Use @copyright{} and range of years.
44410
0e7dfaef
JM
444112012-02-21 Joseph Myers <joseph@codesourcery.com>
44412
44413 [BZ #13695]
44414 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44415 [crti.S not in sysdirs] (generated): Do not append.
44416 [crti.S not in sysdirs] (omit-deps): Likewise.
44417 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44418 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44419 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44420 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44421 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44422 Likewise.
44423 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44424 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44425 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44426 * csu/defs.awk: Remove file.
44427 * sysdeps/generic/initfini.c: Likewise.
44428 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44429 variable.
44430 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44431 Likewise.
44432
599af3ca
JM
444332012-02-20 Joseph Myers <joseph@codesourcery.com>
44434
44435 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44436 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44437 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44440 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44441 <bits/epoll.h>.
44442 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44443 (__EPOLL_PACKED): Define to empty if not defined by
44444 <bits/epoll.h>.
44445 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44447 bits/epoll.h.
44448
0e499750
JM
444492012-02-20 Joseph Myers <joseph@codesourcery.com>
44450
44451 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44452 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44453 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44454 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44455 <bits/timerfd.h>.
44456 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44458 bits/timerfd.h.
44459
5ad91f6e
JM
444602012-02-20 Joseph Myers <joseph@codesourcery.com>
44461
44462 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44463 in C locale.
44464 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44465 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44468
06b99b02
AJ
444692012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44470
44471 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44472 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44473
7638c0fd
AS
444742012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44475
44476 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44477 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44478 defined.
44479 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44480 Likewise.
44481 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44482 entry for 2.16.
44483
92221550
AJ
444842012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44485
44486 * math/w_acos.c: Use non-signaling floating-point comparisons.
44487 * math/w_acosf.c: Likewise.
44488 * math/w_acosh.c: Likewise.
44489 * math/w_acoshf.c: Likewise.
44490 * math/w_acoshl.c: Likewise.
44491 * math/w_acosl.c: Likewise.
44492 * math/w_asin.c: Likewise.
44493 * math/w_asinf.c: Likewise.
44494 * math/w_asinl.c: Likewise.
44495 * math/w_atanh.c: Likewise.
44496 * math/w_atanhf.c: Likewise.
44497 * math/w_atanhl.c: Likewise.
44498 * math/w_exp2.c: Likewise.
44499 * math/w_exp2f.c: Likewise.
44500 * math/w_exp2l.c: Likewise.
44501 * math/w_j0.c: Likewise.
44502 * math/w_j0f.c: Likewise.
44503 * math/w_j0l.c: Likewise.
44504 * math/w_j1.c: Likewise.
44505 * math/w_j1f.c: Likewise.
44506 * math/w_j1l.c: Likewise.
44507 * math/w_jn.c: Likewise.
44508 * math/w_jnf.c: Likewise.
44509 * math/w_log.c: Likewise.
44510 * math/w_log10.c: Likewise.
44511 * math/w_log10f.c: Likewise.
44512 * math/w_log10l.c: Likewise.
44513 * math/w_log2.c: Likewise.
44514 * math/w_log2f.c: Likewise.
44515 * math/w_log2l.c: Likewise.
44516 * math/w_logf.c: Likewise.
44517 * math/w_logl.c: Likewise.
44518 * math/w_sqrt.c: Likewise.
44519 * math/w_sqrtf.c: Likewise.
44520 * math/w_sqrtl.c: Likewise.
44521 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44522 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44523 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44524 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44525 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44526
ebaf36eb
JM
445272012-02-19 Joseph Myers <joseph@codesourcery.com>
44528
44529 [BZ #9739]
44530 * manual/string.texi (strnlen): Use correct parameter name in
44531 equivalent expression.
44532
71c254a6
JM
445332012-02-19 Joseph Myers <joseph@codesourcery.com>
44534
44535 [BZ #11174]
44536 * manual/users.texi (seteuid): Consistently use neweuid for
44537 argument name.
44538
16d2c631
JM
445392012-02-19 Joseph Myers <joseph@codesourcery.com>
44540
44541 [BZ #13704]
44542 * manual/nss.texi (Services in the NSS configuration): Correct
44543 list of services in example configuration file.
44544
cd837b09
NB
445452012-02-19 Nick Bowler <nbowler@draconx.ca>
44546
44547 [BZ #11322]
44548 * manual/arith.texi: Remove statements about negative zero
44549 behaving identically to zero.
44550
02c4bbad
JM
445512012-02-18 Joseph Myers <joseph@codesourcery.com>
44552
44553 [BZ #5993]
44554 * manual/install.texi: Do not document upgrading from libc5.
44555
366842e7
JM
445562012-02-18 Joseph Myers <joseph@codesourcery.com>
44557
44558 [BZ #4596]
44559 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44560
dd54084d
DM
445612012-02-18 David S. Miller <davem@davemloft.net>
44562
44563 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44564 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44565 %o7 across the call.
44566 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44567 instead.
44568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44569 SETUP_PIC_REG_LEAF.
44570 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44571 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44572 * sysdeps/sparc/crtn.S: Likewise.
44573
2bcc53a3
UD
445742012-02-17 Ulrich Drepper <drepper@gmail.com>
44575
44576 * aout/Makefile: Remove.
44577
09c093b5
RK
445782012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44579
44580 [BZ #13058]
44581 * manual/examples/argp-ex1.c (main): Format definition in GNU
44582 style.
44583 * manual/examples/argp-ex2.c (main): Likewise.
44584 * manual/examples/argp-ex3.c (main): Likewise.
44585 * manual/examples/argp-ex4.c (main): Likewise.
44586 * manual/examples/longopt.c (main): Use new-style prototype
44587 definition.
44588 * manual/examples/strncat.c (main): Specify return type and use
44589 (void) for arguments.
44590 * manual/examples/subopt.c (main): Use char **argv argument.
44591
2ee633a2
JM
445922012-02-17 Joseph Myers <joseph@codesourcery.com>
44593
44594 [BZ #5077]
44595 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44596 rounding modes.
44597
0520adde
FB
445982012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44599
44600 [BZ #6907]
44601 * manual/string.texi (strchr): Change when strchrnul is
44602 recommended.
44603
3f4081cd
DGM
446042012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44605
44606 [BZ #174]
44607 * manual/locale.texi (setlocale): Document LOCPATH.
44608
d1b10e78
JM
446092012-02-17 Joseph Myers <joseph@codesourcery.com>
44610
44611 [BZ #10210]
44612 * manual/process.texi (execle): Move @dots{} before last argument.
44613
79c6869c
PB
446142012-02-17 Paul Bolle <pebolle@tiscali.nl>
44615
44616 [BZ #12047]
44617 * manual/charset.texi (Generic Charset Conversion): Fix typo
44618 (LC_TYPE -> LC_CTYPE).
44619
cc6e48bc
NB
446202012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44621
44622 [BZ #5805]
44623 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44624 (scalbnf): Likewise.
44625 (scalbnl): Likewise.
44626 (scalbln): Likewise.
44627 (scalblnf): Likewise.
44628 (scalblnl): Likewise.
44629 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44630 (vwarnx): Likewise.
44631 (verr): Likewise.
44632 (verrx): Likewise.
44633 * manual/filesys.texi (telldir): Use braces around return type.
44634 * manual/llio.texi (mmap): Add space after comma.
44635 (mmap64): Likewise.
44636 * manual/math.texi (jn): Use @var{} on parameter names.
44637 (jnf): Likewise.
44638 (jnl): Likewise.
44639 (yn): Likewise.
44640 (ynf): Likewise.
44641 (ynl): Likewise.
44642 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44643 line.
44644 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44645 "...".
44646 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44647 (sched_get_priority_max): Likewise.
44648 * manual/signal.texi (sigvec): Add space after comma.
44649 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44650 names.
44651 (if_indextoname): Likewise.
44652 (if_freenameindex): Likewise.
44653 (sendto): Use ',' instead of '.' in prototype.
44654 * manual/startup.texi (syscall): Use @dots{} instead of literal
44655 "...".
44656 * manual/stdio.texi (__fpending): Separate initial words of
44657 paragraph from @deftypefun line.
44658 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44659 "...".
44660 (vsyslog): Use @var{} on parameter names.
44661 * manual/terminal.texi (stty): Use @var{} on parameter names.
44662 * manual/users.texi (getutmp): Use @var{} on parameter names.
44663 (getutmpx): Likewise.
44664
5b23062f
JM
446652012-02-17 Joseph Myers <joseph@codesourcery.com>
44666
44667 [BZ #6884]
44668 * manual/stdio.texi (fopen): Fix typos in description of
44669 ",ccs=STRING".
44670
8dee4833
AJ
446712012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44672
44673 [BZ #4026]
44674 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44675 get clock_id definition.
44676
9078ce93
TS
446772012-02-17 Thomas Schwinge <thomas@schwinge.name>
44678
44679 [BZ #4822]
44680 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44681 (madvise): Cast every argument to void on its own.
44682
3835c55f
JM
446832012-02-17 Joseph Myers <joseph@codesourcery.com>
44684
44685 [BZ #9902]
44686 * manual/startup.texi (Exit Status): Fix typo.
44687
35c47e37
JM
446882012-02-17 Joseph Myers <joseph@codesourcery.com>
44689
44690 [BZ #10140]
44691 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44692 * manual/examples/argp-ex2.c: Likewise.
44693 * manual/examples/argp-ex3.c: Likewise.
44694
e3b69ca7
RH
446952012-02-16 Richard Henderson <rth@redhat.com>
44696
44697 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44698 * sysdeps/s390/s390-32/initfini.c: Remove.
44699 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44700 * sysdeps/s390/s390-64/initfini.c: Remove.
44701
df83af67
KK
447022012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44703
44704 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44705 compiler output for sysdeps/generic/initfini.c.
44706 * sysdeps/sh/elf/initfini.c: Remove file.
44707
f63f3380
DM
447082012-02-16 David S. Miller <davem@davemloft.net>
44709
fb59b3a4
DM
44710 [BZ #11494]
44711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44712
f63f3380
DM
44713 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44714 * sysdeps/sparc/crti.S: New file.
44715 * sysdeps/sparc/crtn.S: New file.
44716 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44717 * sysdeps/sparc/sparc64/Makefile: Likewise.
44718
df6a4a4a
MF
447192012-02-15 Mike Frysinger <vapier@gentoo.org>
44720
6dd8f3dc 44721 [BZ #3335]
df6a4a4a
MF
44722 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44723
1cac7236
RM
447242012-02-15 Roland McGrath <roland@hack.frob.com>
44725
d2c736f8
RM
44726 [BZ #4822]
44727 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44728
1cac7236
RM
44729 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44730 (write, read, close): Likewise.
44731 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44732
8e475601
JM
447332012-02-15 Joseph Myers <joseph@codesourcery.com>
44734
44735 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44736 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44737 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44738 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44739 <bits/signalfd.h>.
44740 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44741 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44742 bits/signalfd.h.
44743
ed656b40
MP
447442012-02-14 Marek Polacek <polacek@redhat.com>
44745
44746 * sysdeps/x86_64/crti.S: New file.
44747 * sysdeps/x86_64/crtn.S: New file.
44748 * sysdeps/x86_64/elf/initfini.c: Remove file.
44749
2a979d3a
JM
447502012-02-13 Joseph Myers <joseph@codesourcery.com>
44751
44752 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44753 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44754 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44755 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44756 <bits/inotify.h>.
44757 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44759 bits/inotify.h.
44760
2a418ac3
JM
447612012-02-13 Joseph Myers <joseph@codesourcery.com>
44762
44763 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44764 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44765 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44766 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44767 <bits/eventfd.h>.
44768 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44770 bits/eventfd.h.
44771
fb779be7
TS
447722012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44773
e19e83c5
RM
44774 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44775 __feraiseexcept instead of feraiseexcept.
7c35ffed 44776
fb779be7
TS
44777 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44778 nanosleep invocations.
44779 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44780 strings, and add error checking for a nanosleep invocations.
44781
59ba27a6
PE
447822012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44783
44784 Replace FSF snail mail address with URLs, as per GNU coding standards.
44785 Most of the snail mail addresses were wrong anyway, and omitting
44786 them makes the source code easier to maintain. Almost all of the
44787 changes are to license notices and to locale LC_IDENTIFICATION
44788 addresses, except for this one:
44789 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44790 not its snail mail address.
44791
57b957eb
RH
447922012-02-09 Richard Henderson <rth@twiddle.net>
44793
af850b1c
RH
44794 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44795 of kernel-features.h.
44796
57b957eb
RH
44797 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44798
6b73181a
MP
447992012-02-08 Marek Polacek <polacek@redhat.com>
44800
44801 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44802 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44803 * sysdeps/gnu/_G_config.h: Likewise.
44804 * sysdeps/generic/_G_config.h: Likewise.
44805
26ecc33a
AS
448062012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44807
6c6dbc63
AS
44808 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44809 tests.
44810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44811
e216c012
AS
44812 * sysdeps/powerpc/powerpc32/crti.S: New file.
44813 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44814 * sysdeps/powerpc/powerpc64/crti.S: New file.
44815 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44816
26ecc33a
AS
44817 * Makeconfig (have-initfini): Don't set.
44818 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44819 * configure.in (nopic_initfini): Don't substitute.
44820 * config.h.in (HAVE_INITFINI): Don't #undef.
44821 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44822 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44823
3add8e13
JM
448242012-02-08 Joseph Myers <joseph@codesourcery.com>
44825
44826 Support crti.S and crtn.S provided directly by architectures.
44827 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44828 [crti.S in sysdirs] (omit-deps): Likewise.
44829 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44830 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44831 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44832 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44833 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44834 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44835 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44836 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44837 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44838 compiler output for sysdeps/generic/initfini.c.
44839 * sysdeps/i386/elf/Makefile: Remove file.
44840 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44841
a22f12b4
MP
448422012-02-07 Marek Polacek <polacek@redhat.com>
44843
44844 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44845 * sysdeps/gnu/_G_config.h: Likewise.
44846 * sysdeps/mach/hurd/_G_config.h: Likewise.
44847
148cf100
MP
448482012-02-07 Marek Polacek <polacek@redhat.com>
44849
44850 * math/Makefile (tests): Add tst-CMPLX2.
44851 * math/tst-CMPLX2.c: New file.
44852
cfdc0dd7
AS
448532012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44854
84ba42c4
AS
44855 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44856
cfdc0dd7
AS
44857 * math/libm-test.inc (jn_test): Add missing L suffix.
44858
622c86f4
MP
448592012-02-06 Marek Polacek <polacek@redhat.com>
44860
44861 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44862 * sysdeps/i386/fpu/e_powf.S: Likewise.
44863 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44864 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44865 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44866 * sysdeps/i386/fpu/e_pow.S: Likewise.
44867 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44868 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44869 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44870 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44871 * sysdeps/i386/fpu/e_log2.S: Likewise.
44872 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44873 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44874 * sysdeps/i386/fpu/e_powl.S: Likewise.
44875 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44876 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44877 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44878 * sysdeps/i386/fpu/e_logl.S: Likewise.
44879 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44880 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44881 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44882 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44883 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44884 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44885 * sysdeps/i386/fpu/e_log.S: Likewise.
44886 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44887 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44888 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44889 * sysdeps/i386/fpu/e_logf.S: Likewise.
44890 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44891 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44892 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44893 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44894 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44895 * sysdeps/i386/fpu/e_log10.S: Likewise.
44896 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44897 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44898 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44899 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44900 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44901 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44902 * sysdeps/i386/asm-syntax.h: Likewise.
44903 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44904 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44905 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44906 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44907 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44908 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44909 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44910 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44911 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44912 * sysdeps/powerpc/sysdep.h: Likewise.
44913 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44914 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44915
d4a54ac6
JM
449162012-02-06 Joseph Myers <joseph@codesourcery.com>
44917
44918 [BZ #411]
44919 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44920
314054ea
JM
449212012-02-06 Joseph Myers <joseph@codesourcery.com>
44922
44923 * sysdeps/i386/sysdep.h: Include <features.h>.
44924 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44925 version.
44926
d8e0ca50
JM
449272012-02-05 Joseph Myers <joseph@codesourcery.com>
44928
44929 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44930 Define.
44931 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44932 LOAD_PIC_REG_STR.
44933
b1da7dd9
JM
449342012-02-03 Joseph Myers <joseph@codesourcery.com>
44935
44936 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44937 (SETUP_PIC_REG): Use GET_PC_THUNK.
44938 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44939 macro.
44940
9a1d9254
JM
449412012-02-03 Joseph Myers <joseph@codesourcery.com>
44942
44943 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44944 for non-PIC compilation.
44945 (SETUP_PIC_REG): Add .p2align directive.
44946 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44947 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44948 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44949 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44950 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44951 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44952 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44953 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44954 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44955 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44956 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44957 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44958 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44959 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44960 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44961 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44962 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44963 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44964 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44965 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44966 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44967 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44968 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44969 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44970 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44972 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44973 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44974 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44975 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44976 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44977 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44978 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44979 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44980 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44981 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44982 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44983 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44984 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44985 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44986 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44987
65dc3b75
JM
449882012-02-03 Joseph Myers <joseph@codesourcery.com>
44989
44990 * math/tst-CMPLX.c: Include <stdio.h>.
44991
d55bf177
JM
449922012-01-31 Joseph Myers <joseph@codesourcery.com>
44993
44994 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44995 float.
44996 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44997 * sysdeps/sparc/bits/mathdef.h: Likewise.
44998
69db4f8f
MP
449992012-01-31 Marek Polacek <polacek@redhat.com>
45000
45001 * libio/libio.h: Don't define _PARAMS.
45002 * locale/programs/config.h: Don't define PARAMS.
45003 * stdlib/strtol_l.c: Likewise.
45004 (__strtol_l): Remove PARAMS from the prototype.
45005
41b81892
UD
450062012-01-31 Ulrich Drepper <drepper@gmail.com>
45007
3b49edc0
UD
45008 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45009 names. Just use the correct names. Remove unnecessary wrapper
45010 functions.
45011 * malloc/arena.c: Likewise.
45012 * malloc/hooks.c: Likewise.
45013
41b81892
UD
45014 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45015 ARENA_TEST says not to. Simplify test for creation of a new arena.
45016 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45017
27a25b6e
UD
450182012-01-30 Ulrich Drepper <drepper@gmail.com>
45019
45020 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45021 into tail calls.
45022 (update_get_addr): New function.
45023 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45024 GET_ADDR_MODULE parameter.
45025
c8a89e7d
JM
450262012-01-30 Joseph Myers <joseph@codesourcery.com>
45027
45028 * crypt/cert.c: Remove __STDC__ conditionals.
45029 * crypt/crypt-entry.c: Likewise.
45030 * crypt/crypt_util.c: Likewise.
45031 * libio/filedoalloc.c: Likewise.
45032 * libio/fileops.c: Likewise.
45033 * libio/genops.c: Likewise.
45034 * libio/iofclose.c: Likewise.
45035 * libio/iofdopen.c: Likewise.
45036 * libio/iofopen.c: Likewise.
45037 * libio/iofopen64.c: Likewise.
45038 * libio/iogetdelim.c: Likewise.
45039 * libio/iopopen.c: Likewise.
45040 * libio/obprintf.c: Likewise.
45041 * libio/oldfileops.c: Likewise.
45042 * libio/oldiofclose.c: Likewise.
45043 * libio/oldiofdopen.c: Likewise.
45044 * libio/oldiofopen.c: Likewise.
45045 * libio/oldiopopen.c: Likewise.
45046 * libio/wfiledoalloc.c: Likewise.
45047 * libio/wgenops.c: Likewise.
45048 * locale/programs/xmalloc.c: Likewise.
45049 * misc/syslog.c: Likewise.
45050 * stdio-common/xbug.c: Likewise.
45051 * string/memchr.c: Likewise.
45052 * string/memcmp.c: Likewise.
45053 * string/memrchr.c: Likewise.
45054 * string/rawmemchr.c: Likewise.
45055 * sysdeps/posix/getcwd.c: Likewise.
45056 * time/strftime_l.c: Likewise.
45057
3b100462
JM
450582012-01-30 Joseph Myers <joseph@codesourcery.com>
45059
45060 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
45061 * config.make.in (config-cflags-sse2avx): Define.
45062 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45063 Fix typo.
45064
607998af
CM
450652012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45066
45067 * scripts/config.guess: Update from upstream config git repository.
45068 * scripts/config.sub: Likewise.
45069
3601428f
CM
450702012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45071
3ac8b282
CM
45072 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45073 (EM_NUM): Update.
45074 (R_TILEPRO_*, R_TILEGX_*): New macros.
45075
e034841e
CM
45076 * scripts/firstversions.awk: Fix bug in version range handling.
45077
540d7568
CM
45078 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45079
3601428f
CM
45080 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45081
463de862
CM
45082 * include/sys/epoll.h: New file.
45083 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45084 libc_hidden_def.
45085
73139a76
UD
450862012-01-28 Ulrich Drepper <drepper@gmail.com>
45087
96bc5b45
UD
45088 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45089 Avoid unnecessary __WORDSIZE == 64 test.
45090 (fmaxf): Use VEX format if possible.
45091 (fmax): Likewise.
45092 (fminf): Likewise.
45093 (fmin): Likewise.
45094
56f6f6a2
UD
45095 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45096 * math/math_private.h: Remove libc_fegetround* and
45097 libc_fesetround*.
45098 * sysdeps/i386/configure.in: Check for -msse2avx.
45099 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45100 also if SSE2AVX is defined.
45101 Remove libc_fegetround* and libc_fesetround*.
45102 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45103 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45104 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45105 of HAS_YMM_USABLE.
45106 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45107 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45109 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45110 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45111
73139a76
UD
45112 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45113
d73f93a4
AZ
451142012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45115
45116 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45117 size is not set.
45118 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45119
6ee65ed6
UD
451202012-01-27 Ulrich Drepper <drepper@gmail.com>
45121
45122 [BZ #13618]
45123 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45124 relocation.
45125 * Makeconfig (libm): Define.
45126 * elf/Makefile: Add rules to build and run tst-relsort1.
45127 * elf/tst-relsort1.c: New file.
45128 * elf/tst-relsort1mod1.c: New file.
45129 * elf/tst-relsort1mod2.c: New file.
45130
8db21882
JM
451312012-01-27 Joseph Myers <joseph@codesourcery.com>
45132
45133 * math/s_ldexp.c: Remove __STDC__ conditionals.
45134 * math/s_ldexpf.c: Likewise.
45135 * math/s_ldexpl.c: Likewise.
45136 * math/s_nextafter.c: Likewise.
45137 * math/s_nexttowardf.c: Likewise.
45138 * math/s_significand.c: Likewise.
45139 * math/s_significandf.c: Likewise.
45140 * math/s_significandl.c: Likewise.
45141 * math/w_jnl.c: Likewise.
45142 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45143 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45144 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45145 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45146 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45147 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45148 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45149 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45151 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45152 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45154 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45155 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45156 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45157 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45158 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45161 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45162 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45163 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45164 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45165 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45166 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45167 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45168 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45169 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45170 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45171 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45172 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45173 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45174 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45175 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45176 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45177 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45178 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45179 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45180 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45181 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45182 * sysdeps/ieee754/k_standard.c: Likewise.
45183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45184 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45185 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45186 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45187 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45188 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45189 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45190 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45191 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45192 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45193 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45194 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45195 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45196 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45197 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45198 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45199 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45200 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45201 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45202 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45203 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45204 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45205 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45206 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45207 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45208 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45209 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45210 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45212 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45213 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45214 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45215 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45216 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45217 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45218 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45219 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45220 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45221 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45222 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45223 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45224 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45225 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45226 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45227 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45228 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45229 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45230 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45231 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45232 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45233 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45234 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45235 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45236 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45237 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45238 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45239 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45240 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45241 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45242 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45243 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45244 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45245 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45247 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45248 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45249 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45252 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45253 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45254 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45255 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45256 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45257 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45258 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45259 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45260 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45261 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45262 * sysdeps/ieee754/s_matherr.c: Likewise.
45263 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45264 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45265 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45266 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45267
965a54a4
JM
452682012-01-26 Joseph Myers <joseph@codesourcery.com>
45269
45270 * crypt/md5.h: Remove __STDC__ conditionals.
45271 * libio/libioP.h: Likewise.
45272 * locale/programs/config.h: Likewise.
45273 * sysdeps/generic/sysdep.h: Likewise.
45274 * sysdeps/i386/asm-syntax.h: Likewise.
45275 * sysdeps/s390/asm-syntax.h: Likewise.
45276 * sysdeps/unix/sysdep.h: Likewise.
45277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45279
7071ad79
JM
452802012-01-26 Joseph Myers <joseph@codesourcery.com>
45281
45282 * libio/libio.h: Remove __STDC__ conditionals.
45283 * malloc/obstack.h: Likewise.
45284 * math/complex.h: Likewise.
45285 * math/math.h: Likewise.
45286 * sysdeps/generic/_G_config.h: Likewise.
45287 * sysdeps/gnu/_G_config.h: Likewise.
45288 * sysdeps/mach/hurd/_G_config.h: Likewise.
45289 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45290 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45291 * sysdeps/sparc/bits/mathdef.h: Likewise.
45292
afc5ed09
UD
452932012-01-26 Ulrich Drepper <drepper@gmail.com>
45294
45295 [BZ #13583]
45296 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45297 Clean up HAS_* macros.
afc5ed09 45298 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45299 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45300 possible.
45301 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45302 HAS_AVX.
45303 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45304 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45305 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45306 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45307 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45308
bdb6de1d
JM
453092012-01-25 Joseph Myers <joseph@codesourcery.com>
45310
45311 * elf/tst-unique3.cc (gets): Remove declaration.
45312 * elf/tst-unique3lib.cc (gets): Likewise.
45313 * elf/tst-unique3lib2.cc (gets): Likewise.
45314 * elf/tst-unique4.cc (gets): Likewise.
45315
b15549e6
UD
453162012-01-24 Ulrich Drepper <drepper@gmail.com>
45317
45318 * include/stdio.h: Add C++ protection. Add gets declarations and
45319 definitions.
45320 * debug/tst-chk1.c: Don't declare gets here.
45321 * stdio-common/tst-gets.c: Likewise.
45322
a037381f
JM
453232012-01-24 Joseph Myers <joseph@codesourcery.com>
45324
45325 * posix/glob: Remove directory.
45326
f1d4aa75
JM
453272012-01-24 Joseph Myers <joseph@codesourcery.com>
45328
45329 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45330
81c0c964
PT
453312012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45332
45333 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45334 of the non-standard EPFNOSUPPORT.
45335
0ea698ae
ST
453362011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45337
45338 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45339 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45340 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45341
d220b117
UD
453422012-01-21 Ulrich Drepper <drepper@gmail.com>
45343
45344 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45345
3e1aa84e
UD
453462012-01-20 Ulrich Drepper <drepper@gmail.com>
45347
45348 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45349 transient errors.
45350 * nscd/grpcache.c (cache_addgr): Likewise.
45351 * nscd/hstcache.c (cache_addhst): Likewise.
45352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45353 * nscd/pwdcache.c (cache_addpw): Likewise.
45354 * nscd/servicescache.c (cache_addserv): Likewise.
45355
400aa020
UD
453562012-01-16 Ulrich Drepper <drepper@gmail.com>
45357
d77e7869
UD
45358 * malloc/malloc.c: Various cleanups.
45359 * malloc/hooks.c: Likewise.
45360
400aa020
UD
45361 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45362 * stdlib/bug-fmtmsg1.c: New file.
45363
45364 * stdlib/fmtmsg.c (init): Add missing unlock.
45365 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45366
e0a309cf
MP
453672012-01-12 Marek Polacek <polacek@redhat.com>
45368
45369 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45370 and _GNU_SOURCE.
45371
929d11c7
WS
453722012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45373
45374 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45375 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45376 macro to ensure uniqueness of label name.
45377 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45378 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45379
41d0e869
UD
453802012-01-11 Ulrich Drepper <drepper@gmail.com>
45381
0cc5ed3b
UD
45382 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45383
41d0e869
UD
45384 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45385 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45386 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45388
a47a831a
UD
453892012-01-10 Ulrich Drepper <drepper@gmail.com>
45390
daa891c0
UD
45391 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45392
45393 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45394 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45395 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45396
e58ef0f2
UD
45397 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45398
a47a831a 45399 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45400 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45401 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45403
45404 * math/bits/math-finite.h: Add ldexp support.
45405
a0bfc9c7
MP
454062012-01-10 Marek Polacek <polacek@redhat.com>
45407
45408 * locale/programs/localedef.h (show_archive_content): Add noreturn
45409 attribute.
45410
d6e97a1d
UD
454112012-01-09 Ulrich Drepper <drepper@gmail.com>
45412
45413 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45414
d5835c26
UD
454152012-01-08 Ulrich Drepper <drepper@gmail.com>
45416
e5f484c6
UD
45417 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45418
d5835c26
UD
45419 * io/Makefile (headers): Add bits/poll2.h.
45420
d1f741e9
WS
454212011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45422
45423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45424 typo #include statement.
45425
ec09c1c4
UD
454262012-01-08 Ulrich Drepper <drepper@gmail.com>
45427
45428 * include/sys/cdefs.h: Define __attribute_alloc_size.
45429 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45430 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45431 * elf/pldd.c: Likewise.
45432 * iconv/iconv_charmap.c: Likewise.
45433 * iconv/iconvconfig.c: Likewise.
45434 * iconv/strtab.c: Likewise.
45435 * locale/programs/locale.c: Likewise.
45436 * locale/programs/localedef.h: Likewise.
45437 * locale/programs/simple-hash.c: Likewise.
45438 * nscd/nscd.h: Likewise.
45439 * nss/makedb.c: Likewise.
45440 * sysdeps/generic/ldconfig.h: Likewise.
45441 * locale/programs/localedef.c: Remove xmalloc prototype.
45442 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45443
20b38e03
PP
454442012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45445
45446 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45447 appropriate.
45448
a0da5fe1
UD
454492012-01-08 Ulrich Drepper <drepper@gmail.com>
45450
1d5a644a 45451 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45452 * math/tst-CMPLX.c: New file.
1d5a644a 45453
8784a6db
UD
45454 * math/complex.h (CMPLXL): Fix typo.
45455
d9a216c0
UD
45456 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45457 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45458 GLIBC_2.16.
45459 * debug/tst-chk1.c: Add poll and ppoll tests.
45460 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45461 * include/sys/poll.h: Add hidden proto for ppoll.
45462 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45463 * sysdeps/mach/hurd/ppoll.c: Likewise.
45464 * io/ppoll.c: Likewise.
45465 * debug/poll_chk.c: New file.
45466 * debug/ppoll_chk.c: New file.
45467 * include/bits/poll2.h: New file.
45468 * io/bits/poll2.h: New file.
45469
ac097f5c
UD
45470 [BZ #1350]
45471 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45472
2119dcfa
UD
45473 * configure.in: static is always set to yes. Remove.
45474 * config.make.in: Don't set build-static.
45475 * Makeconfig: Remove use of build-static.
45476 * dlfcn/Makefile: Likewise.
45477 * elf/Makefile: Likewise.
45478 * math/Makefile: Likewise.
45479 * misc/Makefile: Likewise.
45480 * nptl/Makefile: Likewise.
45481 * sysdeps/mach/hurd/Makefile: Likewise.
45482
121766a9
UD
45483 * configure.in: PWD_P is not used anymore.
45484 * config.make.in: Remove PWD_P entry.
45485
51a1d39c 45486 * configure.in: Remove last remnants of RANLIB.
8720d066 45487 No need to check for signed size_t anymore.
215f4bdc
UD
45488 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45489 and IA-64.
3857022a 45490 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45491 * aclocal.m4: Likewise.
45492
d3ed7225
UD
45493 * wcsmbs/mbrtoc16.c: Implement using towc function.
45494 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45495 * wcsmbs/wcsmbsload.c: Likewise.
45496 * iconv/gconv_simple.c: Likewise.
45497 * iconv/gconv_int.h: Likewise.
45498 * iconv/gconv_builtin.h: Likewise.
45499 * iconv/iconv_prog.c: Remove CHAR16 handling.
45500
45501 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45502
45503 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45504
a0da5fe1
UD
45505 * configure.in: Remove --with-elf and --enable-bounded options.
45506 Dont set base_machine for ia64. More non-ELF conditions removed.
45507 Remove testing and setting of leading underscore information.
45508 * config.make.in (build-bounded): Set to no.
45509 * config.h.in: Remove NO_UNDERSCORES entry.
45510 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45511 them.
45512 * csu/start.c: Remove !NO_UNDERSCORE code.
45513 * locale/localeinfo.h: Likewise.
45514 * sysdeps/generic/machine-gmon.h: Likewise.
45515 * sysdeps/generic/sysdep.h: Likewise.
45516 * sysdeps/i386/sysdep.h: Likewise.
45517 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45518 * sysdeps/mach/sysdep.h: Likewise.
45519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45521 * sysdeps/sh/sysdep.h: Likewise.
45522 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45523 * sysdeps/unix/i386/sysdep.S: Likewise.
45524 * sysdeps/unix/sparc/start.c: Likewise.
45525 * sysdeps/unix/sparc/sysdep.S: Likewise.
45526 * sysdeps/unix/sparc/sysdep.h: Likewise.
45527 * sysdeps/unix/start.c: Likewise.
45528 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45529 * sysdeps/x86_64/sysdep.h: Likewise.
45530
df78418a
UD
455312012-01-07 Ulrich Drepper <drepper@gmail.com>
45532
a784e502
UD
45533 [BZ #13553]
45534 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45535 for non-gcc.
45536 * argp/argp-fmtstream.h: Use const instead __const.
45537 * argp/argp.h: Likewise.
45538 * assert/assert.h: Likewise.
45539 * bits/fenv.h: Likewise.
45540 * bits/sched.h: Likewise.
45541 * bits/sigset.h: Likewise.
45542 * bits/sigthread.h: Likewise.
45543 * catgets/nl_types.h: Likewise.
45544 * conform/data/pthread.h-data: Likewise.
45545 * crypt/crypt-private.h: Likewise.
45546 * crypt/crypt.h: Likewise.
45547 * crypt/crypt_util.c: Likewise.
45548 * ctype/ctype.h: Likewise.
45549 * debug/execinfo.h: Likewise.
45550 * debug/mbsnrtowcs_chk.c: Likewise.
45551 * debug/mbsrtowcs_chk.c: Likewise.
45552 * debug/wcsnrtombs_chk.c: Likewise.
45553 * debug/wcsrtombs_chk.c: Likewise.
45554 * debug/wcstombs_chk.c: Likewise.
45555 * dirent/dirent.h: Likewise.
45556 * dlfcn/dlfcn.h: Likewise.
45557 * elf/neededtest4.c: Likewise.
45558 * grp/grp.h: Likewise.
45559 * gshadow/gshadow.h: Likewise.
45560 * iconv/gconv.h: Likewise.
45561 * iconv/gconv_int.h: Likewise.
45562 * iconv/gconv_simple.c: Likewise.
45563 * iconv/iconv.h: Likewise.
45564 * iconv/loop.c: Likewise.
45565 * iconv/skeleton.c: Likewise.
45566 * include/aio.h: Likewise.
45567 * include/aliases.h: Likewise.
45568 * include/argz.h: Likewise.
45569 * include/arpa/inet.h: Likewise.
45570 * include/assert.h: Likewise.
45571 * include/dirent.h: Likewise.
45572 * include/dlfcn.h: Likewise.
45573 * include/execinfo.h: Likewise.
45574 * include/fcntl.h: Likewise.
45575 * include/fenv.h: Likewise.
45576 * include/glob.h: Likewise.
45577 * include/grp.h: Likewise.
45578 * include/libintl.h: Likewise.
45579 * include/mntent.h: Likewise.
45580 * include/netdb.h: Likewise.
45581 * include/pwd.h: Likewise.
45582 * include/rpc/netdb.h: Likewise.
45583 * include/sched.h: Likewise.
45584 * include/search.h: Likewise.
45585 * include/shadow.h: Likewise.
45586 * include/signal.h: Likewise.
45587 * include/stdio.h: Likewise.
45588 * include/stdlib.h: Likewise.
45589 * include/string.h: Likewise.
45590 * include/sys/socket.h: Likewise.
45591 * include/sys/stat.h: Likewise.
45592 * include/sys/statfs.h: Likewise.
45593 * include/sys/statvfs.h: Likewise.
45594 * include/sys/syslog.h: Likewise.
45595 * include/sys/time.h: Likewise.
45596 * include/sys/uio.h: Likewise.
45597 * include/time.h: Likewise.
45598 * include/unistd.h: Likewise.
45599 * include/utmp.h: Likewise.
45600 * include/wchar.h: Likewise.
45601 * include/wctype.h: Likewise.
45602 * inet/aliases.h: Likewise.
45603 * inet/arpa/inet.h: Likewise.
45604 * inet/netinet/ether.h: Likewise.
45605 * inet/netinet/in.h: Likewise.
45606 * intl/libintl.h: Likewise.
45607 * io/bits/fcntl2.h: Likewise.
45608 * io/fcntl.h: Likewise.
45609 * io/ftw.h: Likewise.
45610 * io/sys/poll.h: Likewise.
45611 * io/sys/stat.h: Likewise.
45612 * io/sys/statfs.h: Likewise.
45613 * io/sys/statvfs.h: Likewise.
45614 * io/utime.h: Likewise.
45615 * libio/bits/stdio.h: Likewise.
45616 * libio/bits/stdio2.h: Likewise.
45617 * libio/libio.h: Likewise.
45618 * libio/libioP.h: Likewise.
45619 * libio/stdio.h: Likewise.
45620 * locale/lc-ctype.c: Likewise.
45621 * locale/locale.h: Likewise.
45622 * login/utmp.h: Likewise.
45623 * malloc/arena.c: Likewise.
45624 * malloc/malloc.c: Likewise.
45625 * malloc/malloc.h: Likewise.
45626 * malloc/mcheck.c: Likewise.
45627 * malloc/mtrace.c: Likewise.
45628 * math/bits/mathcalls.h: Likewise.
45629 * math/fenv.h: Likewise.
45630 * math/math_private.h: Likewise.
45631 * misc/bits/error.h: Likewise.
45632 * misc/bits/syslog.h: Likewise.
45633 * misc/err.h: Likewise.
45634 * misc/error.h: Likewise.
45635 * misc/fstab.h: Likewise.
45636 * misc/mntent.h: Likewise.
45637 * misc/regexp.h: Likewise.
45638 * misc/search.h: Likewise.
45639 * misc/sgtty.h: Likewise.
45640 * misc/sys/mman.h: Likewise.
45641 * misc/sys/syslog.h: Likewise.
45642 * misc/sys/uio.h: Likewise.
45643 * misc/sys/xattr.h: Likewise.
45644 * misc/ttyent.h: Likewise.
45645 * nis/rpcsvc/ypclnt.h: Likewise.
45646 * nss/nss.h: Likewise.
45647 * posix/bits/unistd.h: Likewise.
45648 * posix/fnmatch.h: Likewise.
45649 * posix/glob.h: Likewise.
45650 * posix/sched.h: Likewise.
45651 * posix/spawn.h: Likewise.
45652 * posix/sys/wait.h: Likewise.
45653 * posix/unistd.h: Likewise.
45654 * posix/wordexp.h: Likewise.
45655 * pwd/pwd.h: Likewise.
45656 * resolv/netdb.h: Likewise.
45657 * resource/sys/resource.h: Likewise.
45658 * rt/aio.h: Likewise.
45659 * rt/bits/mqueue2.h: Likewise.
45660 * rt/mqueue.h: Likewise.
45661 * shadow/shadow.h: Likewise.
45662 * signal/signal.h: Likewise.
45663 * socket/send.c: Likewise.
45664 * socket/sendto.c: Likewise.
45665 * socket/sys/socket.h: Likewise.
45666 * stdio-common/printf.h: Likewise.
45667 * stdlib/bits/stdlib.h: Likewise.
45668 * stdlib/fmtmsg.h: Likewise.
45669 * stdlib/monetary.h: Likewise.
45670 * stdlib/stdlib.h: Likewise.
45671 * stdlib/ucontext.h: Likewise.
45672 * streams/stropts.h: Likewise.
45673 * string/argz.h: Likewise.
45674 * string/bits/string2.h: Likewise.
45675 * string/string.h: Likewise.
45676 * string/strings.h: Likewise.
45677 * sunrpc/rpc/auth.h: Likewise.
45678 * sunrpc/rpc/auth_des.h: Likewise.
45679 * sunrpc/rpc/clnt.h: Likewise.
45680 * sunrpc/rpc/netdb.h: Likewise.
45681 * sunrpc/rpc/pmap_clnt.h: Likewise.
45682 * sunrpc/rpc/xdr.h: Likewise.
45683 * sysdeps/generic/inttypes.h: Likewise.
45684 * sysdeps/generic/net/if.h: Likewise.
45685 * sysdeps/generic/sys/swap.h: Likewise.
45686 * sysdeps/gnu/net/if.h: Likewise.
45687 * sysdeps/gnu/utmpx.h: Likewise.
45688 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45689 * sysdeps/i386/i486/bits/string.h: Likewise.
45690 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45691 * sysdeps/s390/bits/string.h: Likewise.
45692 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45693 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45694 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45695 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45696 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45697 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45698 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45699 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45700 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45701 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45702 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45703 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45704 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45705 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45706 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45707 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45708 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45709 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45710 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45711 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45712 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45713 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45714 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45715 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45716 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45717 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45718 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45719 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45720 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45721 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45722 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45723 * sysvipc/sys/ipc.h: Likewise.
45724 * sysvipc/sys/msg.h: Likewise.
45725 * sysvipc/sys/sem.h: Likewise.
45726 * sysvipc/sys/shm.h: Likewise.
45727 * termios/termios.h: Likewise.
45728 * time/sys/time.h: Likewise.
45729 * time/time.h: Likewise.
45730 * wcsmbs/bits/wchar2.h: Likewise.
45731 * wcsmbs/uchar.h: Likewise.
45732 * wcsmbs/wchar.h: Likewise.
45733 * wctype/wctype.h: Likewise.
45734
0269750c
UD
45735 [BZ #13551]
45736 * Makeconfig: Remove all but ELF support including AIX support.
45737 * Makerules: Likewise.
45738 * config.h.in: Likewise.
45739 * config.make.in: Likewise.
45740 * configure: Likewise.
45741 * configure.in: Likewise.
45742 * csu/Makefile: Likewise.
45743 * csu/version.c: Likewise.
45744 * debug/Makefile: Likewise.
45745 * dlfcn/Makefile: Likewise.
45746 * elf/Makefile: Likewise.
45747 * extra-lib.mk: Likewise.
45748 * iconv/Makefile: Likewise.
45749 * include/libc-symbols.h: Likewise.
45750 * include/shlib-compat.h: Likewise.
45751 * resolv/Makefile: Likewise.
45752 * resolv/res_libc.c: Likewise.
45753 * rt/Makefile: Likewise.
45754 * sysdeps/i386/asm-syntax.h: Likewise.
45755 * sysdeps/i386/sysdep.h: Likewise.
45756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45757 * sysdeps/mach/sysdep.h: Likewise.
45758 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45759 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45760 * sysdeps/s390/asm-syntax.h: Likewise.
45761 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45762 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45763 * sysdeps/sh/sysdep.h: Likewise.
45764 * sysdeps/unix/sparc/sysdep.h: Likewise.
45765 * sysdeps/wordsize-32/divdi3.c: Likewise.
45766 * sysdeps/x86_64/sysdep.h: Likewise.
45767
00bbd29b
UD
45768 * argp/Versions: Remove _argp_unlock_xxx.
45769
45770 [BZ #13559]
45771 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45772 * abilist/libBrokenLocale.abilist: Likewise.
45773 * abilist/libanl.abilist: Likewise.
45774 * abilist/libc.abilist: Likewise.
45775 * abilist/libcrypt.abilist: Likewise.
45776 * abilist/libdl.abilist: Likewise.
45777 * abilist/libm.abilist: Likewise.
45778 * abilist/libnsl.abilist: Likewise.
45779 * abilist/libpthread.abilist: Likewise.
45780 * abilist/libresolv.abilist: Likewise.
45781 * abilist/librt.abilist: Likewise.
45782 * abilist/libthread_db.abilist: Likewise.
45783 * abilist/libutil.abilist: Likewise.
45784 * abilist/libnss_db.abilist: New file.
45785
45786 * scripts/abilist.awk: Add support for indirect functions.
45787
a2693a0e
UD
45788 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45789
3f05895f
UD
45790 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45791
ecb6fb48
UD
45792 * shlib-versions: Remove entries for ports architectures.
45793
664f8cb9
UD
45794 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45795 files in ports.
45796 * elf/stackguard-macros.h: Remove support for IA-64.
45797 * elf/tst-auditmod1.c: Likewise.
45798 * sysdeps/generic/ldsodefs.h: Likewise.
45799
7ae81d88
UD
45800 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45801 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45802 configure files.
45803
bdeba135
UD
45804 [BZ #13552]
45805 * configure.in: Remove --enable-omitfp support.
45806 * FAQ.in: Adjust.
45807 * config.make.in: Likewise.
45808 * Makeconfig: Likewise.
45809 * manual/install.texi: Likewise.
45810
d75a0a62
UD
45811 In case anyone cares, the IA-64 architecture could move to ports.
45812 * sysdeps/ia64/*: Removed.
45813 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45814 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45815
dcc9756b
UD
45816 [BZ #13555]
45817 * configure.in: Remove entries for unsupported architectures.
45818
d3761ebc 45819 [BZ #13533]
9954432e
UD
45820 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45821 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45822 routines.
45823 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45824 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45825 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45826 fall back to using wcrtomb.
45827 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45828 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45829 renaming.
45830 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45831 * wcsmbs/tst-c16c32-1.c: New file.
45832
45833 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45834 local variable.
45835
c3a87236
UD
45836 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45837
28926a1b
UD
45838 * elf/tst-unique3.cc: Add explicit declaration of gets.
45839 * elf/tst-unique3lib.cc: Likewise.
45840 * elf/tst-unique3lib2.cc: Likewise.
45841 * elf/tst-unique4.cc: Likewise.
45842
df78418a
UD
45843 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45844
8ecd6b2a
JM
458452012-01-06 Joseph Myers <joseph@codesourcery.com>
45846
45847 [BZ #13566]
45848 * assert/assert.h (static_assert): Don't define for C++.
45849 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45850 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45851
9f115170
UD
458522012-01-03 Ulrich Drepper <drepper@gmail.com>
45853
5e0d0300
UD
45854 * iconv/loop.c (single loop): Fix assertion in storing of
45855 remaining bytes.
45856
9f115170
UD
45857 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45858
81fb02b0
UD
458592012-01-01 Ulrich Drepper <drepper@gmail.com>
45860
45861 * posix/getconf.c: Update copyright year.
45862 * nss/getent.c: Likewise.
a316c1f6 45863 * nss/makedb.c: Likewise.
81fb02b0
UD
45864 * iconv/iconvconfig.c: Likewise.
45865 * iconv/iconv_prog.c: Likewise.
45866 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45867 * elf/pldd.c: Likewise.
45868 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45869 * catgets/gencat.c: Likewise.
45870 * csu/version.c: Likewise.
45871 * elf/ldd.bash.in: Likewise.
45872 * elf/sprof.c (print_version): Likewise.
45873 * locale/programs/locale.c: Likewise.
45874 * locale/programs/localedef.c: Likewise.
a316c1f6 45875 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45876 * nscd/nscd.c (print_version): Likewise.
45877 * debug/xtrace.sh: Likewise.
45878 * malloc/memusage.sh: Likewise.
45879 * malloc/mtrace.pl: Likewise.
45880 * debug/catchsegv.sh: Likewise.
45881
2ba92745
JJ
458822011-12-30 Jakub Jelinek <jakub@redhat.com>
45883
45884 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45885 pure attribute.
45886
dadebdae
UD
458872011-12-24 Ulrich Drepper <drepper@gmail.com>
45888
d3761ebc 45889 [BZ #13533]
db6af3eb
UD
45890 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45891 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45892 transformations.
45893 * iconv/gconv_int.h: Likewise.
45894 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45895 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45896 from libc for GLIBC_2.16.
45897 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45898 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45899 * wcsmbs/uchar.h: Really define mbstate_t.
45900 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45901 * wcsmbs/c16rtomb.c: New file.
45902 * wcsmbs/mbrtoc16.c: New file.
45903 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45904 for C/POSIX locale.
45905 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45906 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45907
dadebdae
UD
45908 * wcsmbs/wchar.h: Add missing __restrict.
45909
67371b56
UD
459102011-12-23 Ulrich Drepper <drepper@gmail.com>
45911
74033a25
UD
45912 [BZ #13532]
45913 * time/Makefile (routines): Add timespec_get.
45914 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45915 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45916 timespec for ISO C11.
45917 * time/timespec_get.c: New file.
45918 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45919 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45920
380d7e87
UD
45921 [BZ #13531]
45922 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45923 * stdlib/stdlib.h: Declare aligned_alloc.
45924 * Versions.def: Add GLIBC_2.16 for libc.
45925 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45926
4e9e7a35
UD
45927 [BZ 13527]
45928 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45929 ISO C11.
45930
380d7e87 45931 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45932 code.
45933
03a71829
UD
45934 [BZ #13528]
45935 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45936
839e283e
UD
45937 [BZ #13529]
45938 * assert/assert.h (static_assert): Define.
45939
ce5294e2 45940 * version.h: Update for 2.16 development version.
90fa7312 45941
8d44e150 45942 [BZ #13526]
d7809905
UD
45943 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45944 _ISOC11_SOURCE.
45945
c0da14cd
UD
45946 * version.h (RELEASE): Bump for 2.15 release.
45947 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45948
530a3249
MP
45949 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45950 Patch by Marek Polacek <mpolacek@redhat.com>.
45951
67371b56
UD
45952 * bits/byteswap.h: Protect long long constants with __extension__.
45953 * sysdeps/i386/bits/byteswap.h: Likewise.
45954 * sysdeps/ia64/bits/byteswap.h: Likewise.
45955 * sysdeps/s390/bits/byteswap.h: Likewise.
45956 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45957
15db4de1
LD
459582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45959
45960 [BZ #13540]
bbe315ea
LD
45961 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45962 destination buffer.
15db4de1
LD
45963 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45964
2b2596b1
MP
459652011-12-23 Marek Polacek <polacek@redhat.com>
45966
45967 * elf/dl-addr.c (determine_info): Add inline keyword.
45968 * elf/tst-auditmod4b.c (check_avx): Likewise.
45969 * elf/tst-auditmod6b.c (check_avx): Likewise.
45970 * elf/tst-auditmod6c.c (check_avx): Likewise.
45971 * elf/tst-auditmod7b.c (check_avx): Likewise.
45972
70c6c246
UD
459732011-12-23 Ulrich Drepper <drepper@gmail.com>
45974
45975 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45976 !__SSE_MATH__.
45977
c044cf14
LD
459782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45979
15db4de1 45980 [BZ #13540]
c044cf14
LD
45981 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45982 processing for last bytes.
45983
6b13d9d9
BH
459842011-08-06 Bruno Haible <bruno@clisp.org>
45985
d455f537
BH
45986 [BZ #13061]
45987 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45988 U+0385, not to U+1FEE.
45989
6b13d9d9
BH
45990 [BZ #13062]
45991 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45992 entry for U+00A5 U+0301.
45993
db910efd
UD
459942011-12-22 Ulrich Drepper <drepper@gmail.com>
45995
27deeafc
UD
45996 [BZ #13166]
45997 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45998 buffer for the output is too small.
45999
aed9d171
UD
46000 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46001 optimization.
46002
db910efd
UD
46003 [BZ #13185]
46004 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46005 SSE flags if possible.
46006
2bd779ae
LD
460072011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46008
e7f9dac3 46009 [BZ #13540]
2bd779ae
LD
46010 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46011 processing for last bytes.
46012
154bfc16
JM
460132011-12-22 Joseph Myers <joseph@codesourcery.com>
46014
46015 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46016 (syscall-list-default-options, syscall-list-default-condition)
46017 (syscall-list-includes): Define.
46018 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46019 list of ABIs and options and #if conditions for each ABI. Do not
46020 handle common syscalls between ABIs specially.
46021 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46022 Remove.
46023 (syscall-list-variants, syscall-list-32bit-options)
46024 (syscall-list-32bit-condition, syscall-list-64bit-options)
46025 (syscall-list-64bit-condition): Define.
46026 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46027 (syscall-list-variants, syscall-list-32bit-options)
46028 (syscall-list-32bit-condition, syscall-list-64bit-options)
46029 (syscall-list-64bit-condition): Define.
46030 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46031 Remove.
46032 (syscall-list-variants, syscall-list-32bit-options)
46033 (syscall-list-32bit-condition, syscall-list-64bit-options)
46034 (syscall-list-64bit-condition): Define.
46035 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46036 Remove.
46037 (syscall-list-variants, syscall-list-32bit-options)
46038 (syscall-list-32bit-condition, syscall-list-64bit-options)
46039 (syscall-list-64bit-condition): Define.
46040
21eaf3a5
UD
460412011-12-22 Ulrich Drepper <drepper@gmail.com>
46042
16c6f992
UD
46043 * locale/iso-639.def: Add brx entry.
46044
41043168
UD
46045 [BZ #13328]
46046 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46047 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46048
21eaf3a5
UD
46049 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46050 __feraiseexcept_renamed.
46051
e3a851a2
UD
460522011-12-21 Ulrich Drepper <drepper@gmail.com>
46053
4920765e
UD
46054 [BZ #13538]
46055 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46056 EPOLLET with unsigned values.
46057 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46058 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46059
e3a851a2
UD
46060 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46061 to large cancellation.
46062 * math/s_cacoshf.c: Likewise.
46063 * math/s_cacoshl.c: Likewise.
46064
b27e24b8
RK
460652011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46066
46067 [BZ #13305]
aebefeee 46068 [BZ #12786]
b27e24b8
RK
46069 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46070 * math/s_cacoshf.c: Likewise.
46071 * math/s_cacoshl.c: Likewise.
46072
ee190f67
UD
460732011-12-21 Ulrich Drepper <drepper@gmail.com>
46074
46075 [BZ #13439]
46076 * iconv/gconv.h: Define __GCONV_SWAP.
46077 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46078 * iconvdata/utf-16.c: Likewise.
46079 * iconvdata/utf-32.c: Likewise.
46080
707f25df
AS
460812011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46082
46083 [BZ #13524]
46084 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46085 numerator after shifting it by one limb.
46086
d2daaa1e
RÁE
460872011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46088
46089 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46090 under [__USE_EXTERN_INLINES].
46091
a4647e72
UD
460922011-12-17 Ulrich Drepper <drepper@gmail.com>
46093
46094 [BZ #13446]
46095 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46096
f0b264f1
AZ
460972011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46098
46099 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46100 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46101 optimized code.
46102 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46103 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46104 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46105 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46106 for strncasecmp/strncasecmp_l compilation.
46107 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46108 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46109
8ef4f244
MP
461102011-12-08 Marek Polacek <mpolacek@redhat.com>
46111
46112 [BZ #13484]
46113 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46114 of __asm__.
46115
97ac2654
UD
461162011-12-17 Ulrich Drepper <drepper@gmail.com>
46117
46118 [BZ #13506]
46119 * time/tzfile.c (__tzfile_read): Check values from file header.
46120
91d2a845
WS
461212011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46122
46123 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46124 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46125 * powerpc/powerpc32/dl-start.S: Likewise.
46126 * powerpc/powerpc32/elf/start.S: Likewise.
46127 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46128 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46129 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46130 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46131 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46132 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46133 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46134 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46135 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46136 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46137 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46138 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46139 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46140 * powerpc/powerpc32/memset.S: Likewise.
46141 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46142 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46143 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46144 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46145 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46146 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46147 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46148 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46149 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46150 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46151 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46152 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46153 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46154
a1267ba1
AZ
461552011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46156
46157 * math/libm-test.inc: Added more nearbyint tests.
46158 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46159 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46161 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46162
ad8ac1bd
RL
461632011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46164
46165 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46166 FD_CLOEXEC.
46167
1d3e4b61
UD
461682011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46169
46170 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46171 Add wcscpy-ssse3 wcscpy-c.
46172 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46173 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46174 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46175 * sysdeps/x86_64/wcschr.S: New file.
46176 * sysdeps/x86_64/wcsrchr.S: New file.
46177 * string/test-strcmp.c: Remove checking of wcscmp function for
46178 wrong alignments.
46179 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46180 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46181 wcsrchr-sse2 wcsrchr-c.
46182 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46183 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46184 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46185 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46186 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46187 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46188 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46189 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46190 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46191 * wcsmbc/wcschr.c (WCSCHR): New macro.
46192
5b330a2d
UD
461932011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46194
46195 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46196 * wcsmbs/test-wcsrchr.c: New file.
46197 * string/test-strrchr.c: Add wcsrchr support.
46198 (WIDE): New macro.
46199 * wcsmbs/test-wcscpy.c: New file.
46200 * string/test-strcpy.c: Add wcscpy support.
46201 (WIDE): New macro.
26428b7c 46202
f039c043
UD
462032011-12-10 Ulrich Drepper <drepper@gmail.com>
46204
46205 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46206 the inner loop.
46207
850fb039
AS
462082011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46209
46210 [BZ #13472]
46211 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46212
4efbd5cb
UD
462132011-12-04 Ulrich Drepper <drepper@gmail.com>
46214
52ff5dd0 46215 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46216 Minor optimizations.
52ff5dd0 46217
4efbd5cb
UD
46218 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46219 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46220 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46221
8a426e12
UD
462222011-12-03 Ulrich Drepper <drepper@gmail.com>
46223
aff2453d
UD
46224 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46225 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46226 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46227 for gcc to avoid warnings.
46228 * inet/Makefile (tests): Add tst-checks.
46229 * inet/tst-checks.c: New file.
46230
46231 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46232 warning.
46233
46234 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46235 __wmemcmp_sse2.
46236
46237 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46238 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46239
8a426e12
UD
46240 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46241
9bea3473
UD
462422011-12-02 Ulrich Drepper <drepper@gmail.com>
46243
3a965496
UD
46244 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46245 problem.
46246
9bea3473
UD
46247 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46248
f101631b
UD
462492011-11-29 Joseph Myers <joseph@codesourcery.com>
46250
46251 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46252 conditional on GCC version.
46253 (__arch_compare_and_exchange_val_8_acq)
46254 (__arch_compare_and_exchange_val_16_acq)
46255 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46256 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46257 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46258
a98275aa
UD
462592011-12-02 Joseph Myers <joseph@codesourcery.com>
46260
46261 * sysdeps/sh/backtrace.c: New file.
46262
d4cc29a2
AS
462632011-12-02 Andreas Schwab <schwab@redhat.com>
46264
46265 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46266 parenthesis.
46267
6257af2d
AS
462682011-12-01 Andreas Schwab <schwab@redhat.com>
46269
46270 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46271 falling back to utime.
46272
b5f44c1a
AS
462732011-11-30 Andreas Schwab <schwab@redhat.com>
46274
46275 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46276 expectations for float.
46277
f3a6cc0a
AS
462782011-11-29 Andreas Schwab <schwab@redhat.com>
46279
46280 * locale/weight.h (findidx): Add parameter len.
46281 * locale/weightwc.h (findidx): Likewise.
46282 * posix/fnmatch_loop.c (FCT): Adjust caller.
46283 * posix/regcomp.c (build_equiv_class): Likewise.
46284 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46285 * posix/regexec.c (check_node_accept_bytes): Likewise.
46286 * string/strcoll_l.c (STRCOLL): Likewise.
46287 * string/strxfrm_l.c (STRXFRM): Likewise.
46288
9d65ea3a
UD
462892011-11-17 Ulrich Drepper <drepper@gmail.com>
46290
46291 * Makefile.in: Remove CVSOPT handling.
46292 * configure.in: Remove use of AC_REVISION.
46293 * iconvdata/Makefile (distribute): No need to filter out CVS.
46294 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46295 handling.
46296
5583a086
AS
462972011-11-16 Andreas Schwab <schwab@redhat.com>
46298
46299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46300 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46301 [USE_AS_STRNCASECMP_L]: Likewise.
46302 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46303 NO_TLS_DIRECT_SEG_REFS.
46304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46305 Fix argument offsets for non-PIC.
46306 [USE_AS_STRNCASECMP_L]: Likewise.
46307 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46308 NO_TLS_DIRECT_SEG_REFS.
46309
d62a8200
UD
463102011-11-15 Ulrich Drepper <drepper@gmail.com>
46311
9d65ea3a 46312 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46313 O_CLOEXEC.
46314 * locale/loadlocale.c (_nl_load_locale): Likewise.
46315
09f93bd3
AS
463162011-11-15 Andreas Schwab <schwab@redhat.com>
46317
446514f9
AS
46318 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46319 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46320 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46321 (SYSCALL_GETTIME): Set errno on error.
46322
09f93bd3
AS
46323 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46324 count references to noai6ai_cached.
46325
312be3f9
UD
463262011-11-15 Ulrich Drepper <drepper@gmail.com>
46327
46328 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46329
46330 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46331 FD_CLOEXEC for /proc/self/maps.
46332
46333 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46334 FD_CLOEXEC for /proc/meminfo.
46335
46336 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46337 gai.conf.
46338
46339 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46340 FD_CLOEXEC for given file.
46341
46342 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46343
46344 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46345 FD_CLOEXEC for /etc/hosts.
46346 (_gethtent): Likewise.
46347
46348 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46349
46350 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46351 cancellation and set FD_CLOEXEC for /etc/netgroup.
46352
46353 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46354 reading /etc/publickey.
46355
46356 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46357 allow cancellation when reading /etc/group.
46358
46359 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46360 cancellation.
46361 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46362
46363 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46364 when using data file.
46365
46366 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46367
46368 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46369 (write_nis_obj): Use "c" and "e" in fopen.
46370
46371 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46372
46373 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46374
46375 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46376
46377 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46378
46379 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46380 locale.alias.
46381
46382 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46383
46384 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46385
46386 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46387
46388 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46389 file parsing and set FD_CLOEXEC.
46390
82af0fa8
UD
463912011-11-14 Ulrich Drepper <drepper@gmail.com>
46392
46393 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46394
a5fb313c
AS
463952011-11-14 Andreas Schwab <schwab@redhat.com>
46396
46397 * malloc/arena.c (arena_get2): Don't call reused_arena when
46398 _int_new_arena failed.
46399
6abf3465
UD
464002011-11-14 Ulrich Drepper <drepper@gmail.com>
46401
46402 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46403 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46404 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46405 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46406 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46408 to compile strcasecmp and strncasecmp.
46409 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46410 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46411
46412 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46413
76e3966e
UD
464142011-11-13 Ulrich Drepper <drepper@gmail.com>
46415
46416 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46417 locale-defines.sym to gen-as-const-headers.
46418 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46419 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46421 to compile strcasecmp and strncasecmp.
46422 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46423 strcasecmp_l and strncasecmp_l.
46424 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46425 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46426 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46427 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46428 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46429 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46430 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46431 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46432 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46433 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46434 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46435
ab26144e
UD
464362011-11-12 Ulrich Drepper <drepper@gmail.com>
46437
7edb22ef
UD
46438 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46439 result of SYSDEP_GETTIME_CPU to retval.
46440 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46441 parameter list to macro. Remove trailing semicolon. Adjust users.
46442
9694fc44
UD
46443 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46444 variable.
46445
8ad89ef8
UD
46446 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46447 mantissa words.
46448 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46449
0c822ef9
UD
46450 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46451 from unused variable.
46452
874e0564
UD
46453 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46454 DWARF definitions.
46455 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46456 for assembling.
46457
3a2edc79
UD
46458 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46459 over namespaces.
46460
f3c2577f
UD
46461 * sunrpc/rpc_prot.c (rejected): Fix case value.
46462
294ce126
UD
46463 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46464 unsigned long long int to avoid warnings in shift.
46465
5e2b63c6
UD
46466 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46467 of use of trans.
46468 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46469 variable tmp.
46470
e7f4b08e
UD
46471 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46472 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46473 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46474
ab26144e
UD
46475 * nis/nis_table.c (nis_list): Use variable of correct type for
46476 result of __follow_path call.
46477
8a6d5255
AZ
464782011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46479
46480 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46481 of math functions ceil, trunc, floor, round, and sqrt, when
46482 avaliable on the platform.
46483 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46484 name clash.
46485 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46486 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46487 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46488
aaddc98c
MP
464892011-10-30 Marek Polacek <mpolacek@redhat.com>
46490
46491 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46492 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46493
95b7042b
RM
464942011-11-11 Roland McGrath <roland@hack.frob.com>
46495
46496 * include/unistd.h: Fix __readlink return type.
46497 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46498
57769839
UD
464992011-11-11 Ulrich Drepper <drepper@gmail.com>
46500
46501 * stdlib/ucontext.h: Undo last change for makecontext.
46502
edc5984d
AS
465032011-11-11 Andreas Schwab <schwab@redhat.com>
46504
98591e58
AS
46505 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46506
edc5984d
AS
46507 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46508 * setjmp/setjmp.h: Mark functions as non-leaf.
46509 * setjmp/bits/setjmp2.h: Likewise.
46510 * stdlib/ucontext.h: Likewise.
46511
77cdc054
AS
465122011-11-10 Andreas Schwab <schwab@redhat.com>
46513
46514 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46515 (reused_arena): Don't check arena limit.
46516 (arena_get2): Atomically check arena limit.
46517
fe72eebd
UD
465182011-11-08 Ulrich Drepper <drepper@gmail.com>
46519
5f078c32
UD
46520 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46521 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46522
fe72eebd
UD
46523 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46524 instructions.
46525
ae1bc2fa
AS
465262011-11-07 Andreas Schwab <schwab@redhat.com>
46527
7583a88d
AS
46528 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46529 handler when locking.
46530
ae1bc2fa
AS
46531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46532 Fix size of allocated buffer.
46533
10fb0bfa
AS
465342011-11-04 Andreas Schwab <schwab@redhat.com>
46535
998832a4
AS
46536 [BZ #10103]
46537 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46538 declarations for long double functions.
46539 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46540
10fb0bfa
AS
46541 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46542
3d7ba52b
AS
465432011-11-03 Andreas Schwab <schwab@redhat.com>
46544
a9ae54a1
AS
46545 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46546 installed.
46547
3d7ba52b
AS
46548 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46549 is disabled.
46550
bc8db248
ST
465512011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46552
46553 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46554
45b96dd6
AS
465552011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46556
647776f6
AS
46557 * include/alloca.h (stackinfo_alloca_round): Define.
46558 (extend_alloca): Use it.
46559 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46560 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46561 here.
46562
d91a8b93
AS
46563 * scripts/check-local-headers.sh: Ignore libaudit.h.
46564
45b96dd6
AS
46565 * nscd/Makefile (extra-objs): Make recursively expanded.
46566
432d41ce
UD
465672011-11-01 Ulrich Drepper <drepper@gmail.com>
46568
34372fc6
UD
46569 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46570 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46571
fadb59f8
UD
46572 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46573 * posix/tst-rfc3484-2.c: Likewise.
46574 * posix/tst-rfc3484-3.c: Likewise.
46575
78239589
UD
46576 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46577 process_vm_writev.
46578 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46579 process_vm_writev.
46580 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46581 process_vm_writev from libc using GLIBC_2.15 version.
46582
432d41ce
UD
46583 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46584
02f9c6cf
PP
465852011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46586
46587 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46588 stack usage.
46589
3a2c0242
UD
465902011-10-31 Ulrich Drepper <drepper@gmail.com>
46591
f4ec4833
UD
46592 [BZ #13367]
46593 * nss/getent.c (initgroups_keys): Show error message in case no group
46594 names are given.
46595
3a2c0242
UD
46596 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46597 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46598 __bump_nl_timestamp.
46599 * nscd/connections (nscd_init): When host database is served open
46600 netlink socket and request notification about configuration changes.
46601 (main_loop_poll): Track netlink file descriptor and bump timestamp
46602 in case data becomes available.
46603 (main_loop_epoll): Likewise.
46604 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46605 (database_pers_head): Add extra_data fileds.
46606 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46607 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46608 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46609 Adjust caller.
46610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46611 in6ai data, call __free_in6ai.
46612 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46613 Add -DHAVE_NETLINK.
46614 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46615 interface information. Reuse previous data if netlink timestamp
46616 is not changed.
46617 (__bump_nl_timestamp): New function.
46618 (__free_in6ai): New function.
46619
636064eb
UD
466202011-10-30 Ulrich Drepper <drepper@gmail.com>
46621
46622 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46623 close_not_cancel_no_status here.
46624 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46625
9beb2334
UD
466262011-10-29 Ulrich Drepper <drepper@gmail.com>
46627
6ef76f3b
UD
46628 [BZ #13276]
46629 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46630 return value.
46631
0ffc4f3e 46632 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46633 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46634 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46635
cb95113e
UD
466362011-07-03 Andreas Jaeger <aj@suse.de>
46637
46638 [BZ #10709]
46639 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46640 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46641 * math/libm-test.inc (sin_test): Add test case.
46642
a1b560ff
UD
466432011-10-29 Ulrich Drepper <drepper@gmail.com>
46644
c9aaface
UD
46645 [BZ #13337]
46646 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46647 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46648
d272e7f1
UD
46649 * elf/chroot_canon.c (chroot_canon): Cleanups.
46650
1bc33071
UD
46651 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46652
1760874d
TJ
46653 [BZ #13335]
46654 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46655 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46656
51d91b18
UD
46657 * string/test-strchr.c: Make usable for strchrnul testing.
46658 * string/test-strchrnul.c: New file.
46659 * string/Makefile (strop-tests): Add strchrnul.
46660
a1b560ff 46661 * po/it.po: Update from translation team.
b611fb81 46662 * po/es.po: Likewise.
a1b560ff 46663
a5b81e1f
UD
466642011-10-28 Ulrich Drepper <drepper@gmail.com>
46665
fd52bc6d
UD
46666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46667 the three constants needed as parameters. Drop the others.
46668 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46669 __m128i_strloadu_tolower.
52e4b9eb
UD
46670 Create and initialize variable zero and use it in all the places
46671 where _mm_setzero_si128 was used.
fd52bc6d 46672
a5b81e1f
UD
46673 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46674 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46675 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46676 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46677 anymore.
46678 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46679 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46680 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46681 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46682 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46683 __mpranred, __mptan.
46684 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46685 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46686 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46687 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46688 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46689 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46691 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46692 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46693
b4343346
AS
466942011-10-28 Andreas Schwab <schwab@redhat.com>
46695
0c92d8a8
AS
46696 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46697 redefine if SHARED.
46698 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46699
b4343346
AS
46700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46701 wide char related routines to wcsmbs subdir.
46702
3871f58f
AS
467032011-10-27 Andreas Schwab <schwab@redhat.com>
46704
46705 [BZ #13344]
46706 * misc/sys/cdefs.h (__THROWNL): Define.
46707 * posix/unistd.h: Use __THREADNL instead of __THREAD
46708 for memory synchronization functions.
46709
94d44d9f
RM
467102011-10-26 Roland McGrath <roland@hack.frob.com>
46711
21b64b15 46712 [BZ #13349]
94d44d9f
RM
46713 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46714 doesn't exist.
46715 * manual/stdio.texi (Obstack Streams): Node removed.
46716
f6ce9294
AS
467172011-10-26 Andreas Schwab <schwab@redhat.com>
46718
80479147
AS
46719 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46720 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46721 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46722
f6ce9294
AS
46723 * math/math_private.h (math_force_eval): Allow non-addressable
46724 arguments.
46725 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46726
618280a1
UD
467272011-10-25 Ulrich Drepper <drepper@gmail.com>
46728
e0016b11
UD
46729 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46730 file is not needed.
46731
46732 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46733 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46734 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46735 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46736 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46737 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46738 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46739 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46740 Add AVX variants.
46741 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46742 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46743 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46744 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46745 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46746 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46747 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46748 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46749 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46750 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46751 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46752 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46753 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46754 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46755 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46756 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46757 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46758 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46759 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46760
46761 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46762 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46763
618280a1
UD
46764 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46765 place. Use VEX encoding when compiling for AVX.
46766
37822576
AS
467672011-10-25 Andreas Schwab <schwab@redhat.com>
46768
1f1e1947
AS
46769 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46770 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46771
37822576
AS
46772 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46773
31ea014d
UD
467742011-10-25 Ulrich Drepper <drepper@gmail.com>
46775
d7826aa1 46776 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46777 useless if() expression.
d7826aa1
UD
46778 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46779 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46780 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46781 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46783 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46784 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46785 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46786 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46788 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46789 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46790 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46792 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46793 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46794 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46795 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46796 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46797
31ea014d
UD
46798 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46799
16437fec
AS
468002011-10-25 Andreas Schwab <schwab@redhat.com>
46801
46802 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46803 condition.
46804 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46805
31d3cc00
UD
468062011-10-25 Ulrich Drepper <drepper@gmail.com>
46807
46808 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46809 .text section. Avoid duplicate constants.
46810 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46811 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46812 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46818 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46819 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46820 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46821 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46822 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46823 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46824 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46825 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46826 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46827 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46828 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46830 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46831 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46832 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46833 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46834 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46835 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46836 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46837 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46838 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46839 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46840 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46841 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46842 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46843 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46844 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46845 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46846 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46847 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46848 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46849 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46850 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46852 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46853 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46854 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46855
58985aa9
UD
468562011-10-24 Ulrich Drepper <drepper@gmail.com>
46857
202c9deb
UD
46858 * sysdeps/x86_64/dla.h: Move to ...
46859 * sysdeps/x86_64/fpu/dla.h: ...here.
46860 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46861 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46862
af968f62
UD
46863 * config.make.in: Add have-mfma4 entry.
46864 * configure.in: Substitute libc_cv_cc_fma4.
46865 * math/Makefile (dbl-only-routines): Add sincostab.
46866 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46867 Use __sincostab not sincos.
46868 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46869 name is a macro.
46870 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46871 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46872 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46873 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46874 using __copysign.
46875 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46876 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46877 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46878 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46879 and __inv.
46880 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46881 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46882 __copysign.
46883 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46884 define aliases when function name is a macro.
46885 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46886 sysdeps/ieee754/dbl-64/sincos.tbl.
46887 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46888 fma4-enabled routines.
46889 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46890 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46891 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46892 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46893 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46894 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46895 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46896 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46897 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46898 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46899 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46900 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46901 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46903 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46904 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46905 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46906 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46907 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46909 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46910 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46912 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46913 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46914 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46915 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46916 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46917 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46918 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46919
58985aa9
UD
46920 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46921 rename.
46922 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46924 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46926 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46928 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46929 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46930
a201fbcf
AS
469312011-10-24 Andreas Schwab <schwab@redhat.com>
46932
46933 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46934
fc2ee42a
LD
469352011-10-23 Ulrich Drepper <drepper@gmail.com>
46936
bb3129bd
UD
46937 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46938
0275fff8
UD
46939 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46940 prediction.
46941 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46942
2fa2ae85
UD
46943 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46944 Remove unused variable magic_bits.
46945 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46946
fc2ee42a
LD
46947 * string/strnlen.c: Define and use STRNLEN macro.
46948 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46949 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46951 * wcsmbs/wcslen.c: Define and use WCSLEN.
46952 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46953 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46954 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46955 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46956 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46957 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46958 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46959
ce7dd29f
LD
469602011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46961
46962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46963 strnlen-sse2-no-bsf.
46964 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46965 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46966 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46967 Add strnlen support.
46968 (USE_AS_STRNLEN): New macro.
46969 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46970 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46971 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46972 * sysdeps/x86_64/wcslen.S: New file.
46973
979c70a3
MZ
469742011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46975
46976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46977 XMM-moves are used for copying on small sizes.
46978
2d09f82f
LD
469792011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46980
46981 * wcsmbs/Makefile (strop-tests): Add wcschr.
46982 * wcsmbs/test-wcschr.c: New file.
46983 * string/test-strchr.c: Update.
46984 Add wcschr support.
46985 (WIDE): New macro.
46986
619fccca
LD
469872011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46988
2d09f82f 46989 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46990 * wcsmbs/test-wcslen.c: New file.
46991 * string/test-strlen.c: Update.
46992 Add wcslen support.
46993 (WIDE): New macro.
46994
09f699ea
UD
469952011-10-23 Ulrich Drepper <drepper@gmail.com>
46996
46997 * po/it.po: Update from translation team.
46998
95584d3b
LD
469992011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47000
47001 * sysdeps/x86_64/wcscmp.S: Update.
47002 Fix wrong comparison semantics.
47003 wcscmp shall use signed comparison not unsigned.
47004 Don't use substraction to avoid overflow bug.
47005 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47006 * wcsmbc/wcscmp.c: Likewise.
47007 * string/test-strcmp.c: Likewise.
47008 Add new tests to check cases with negative values.
47009
c8b3296b
UD
470102011-10-23 Ulrich Drepper <drepper@gmail.com>
47011
47012 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47013 * sysdeps/x86_64/dla.h: ...here. New file.
47014 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47015 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47016 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47017 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47018 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47019 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47021 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47022 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47023
246ad57a
AS
470242011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47025
47026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47027 __ynl_finite aliases.
47028
a1a87169
UD
470292011-10-22 Ulrich Drepper <drepper@gmail.com>
47030
0d355eb7
UD
47031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47032
a1a87169
UD
47033 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47034 define DLA_FMA.
47035 [DLA_FMA] (EMULV): Use DLA_FMA.
47036 [DLA_FMA] (MUL12): Use EMULV.
47037 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47038 that are not needed.
47039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47046
ee2aafe0
AS
470472011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47048
47049 * math/s_nan.c: Undef __nan.
47050 * math/s_nanf.c: Undef __nanf.
47051 * math/s_nanl.c: Undef __nanl.
47052 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47053 "math_private.h".
47054
bc62c2fb
UD
470552011-10-22 Ulrich Drepper <drepper@gmail.com>
47056
77425c63
UD
47057 * math/s_catan.c: Add branch predictions.
47058 * math/s_catanf.c: Likewise.
47059 * math/s_catanh.c: Likewise.
47060 * math/s_catanhf.c: Likewise.
47061 * math/s_catanhl.c: Likewise.
47062 * math/s_catanl.c: Likewise.
47063 * math/s_cexp.c: Likewise.
47064 * math/s_cexpf.c: Likewise.
47065 * math/s_cexpl.c: Likewise.
47066 * math/s_clog.c: Likewise.
47067 * math/s_clog10.c: Likewise.
47068 * math/s_clog10f.c: Likewise.
47069 * math/s_clog10l.c: Likewise.
47070 * math/s_clogf.c: Likewise.
47071 * math/s_clogl.c: Likewise.
47072 * math/s_csqrt.c: Likewise.
47073 * math/s_csqrtf.c: Likewise.
47074 * math/s_csqrtl.c: Likewise.
47075 * math/s_ctanf.c: Likewise.
47076 * math/s_ctanh.c: Likewise.
47077 * math/s_ctanhf.c: Likewise.
47078 * math/s_ctanhl.c: Likewise.
47079 * math/s_ctanl.c: Likewise.
47080
bc62c2fb
UD
47081 * math/math_private.h: Define __nan, __nanf, __nanl.
47082 * math/s_cacosh.c: Include <math_private.h>.
47083 * math/s_cacoshl.c: Likewise.
47084 * math/s_casinh.c: Likewise.
47085 * math/s_casinhf.c: Likewise.
47086 * math/s_casinhl.c: Likewise.
47087 * math/s_ccos.c: Rely entire on ccosh.
47088 * math/s_ccosf.c: Rely entire on ccoshf.
47089 * math/s_ccosl.c: Rely entirely on ccoshl.
47090 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47091 Remove tests for FE_INVALID.
47092 * math/s_ccoshf.c: Likewise.
47093 * math/s_ccoshl.c: Likewise.
47094 * math/s_csin.c: Likewise.
47095 * math/s_csinf.c: Likewise.
47096 * math/s_csinh.c Likewise.
47097 * math/s_csinhf.c: Likewise.
47098 * math/s_csinhl.c: Likewise.
47099 * math/s_csinl.c: Likewise.
47100 * math/s_ctan.c: Likewise.
47101 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47102 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47103 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47104
8ec250a4
UD
471052011-10-21 Ulrich Drepper <drepper@gmail.com>
47106
c196fed8
UD
47107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47108 compilation problems.
47109
8ec250a4
UD
47110 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47111 __builtin_expect.
47112
8d4f46c6
UD
471132011-10-20 Ulrich Drepper <drepper@gmail.com>
47114
ed72b654
UD
47115 * sysdeps/i386/configure.in: Test for -mfma4 option.
47116 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47117 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47118 COMMON_CPUID_INDEX_80000001.
47119 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47120 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47121 use it if FMA3 is not supported.
47122 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47123
8d4f46c6
UD
47124 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47125 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47126
d45c60c2
AS
471272011-10-20 Andreas Schwab <schwab@redhat.com>
47128
47129 [BZ #12892]
47130 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47131 it would create a cycle with a link time dependency.
47132
d9a4d2ab
UD
471332011-10-19 Ulrich Drepper <drepper@gmail.com>
47134
855d1560
UD
47135 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47136 instruction.
47137 * string/Makefile (strop-tests): Add rawmemchr.
47138 * string/test-rawmemchr.c: New file.
47139
d9a4d2ab
UD
47140 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47141 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47142 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47143 when compiling str{,n}casecmp and when AVX is available. Hook up
47144 new optimized code in initializers.
47145
8f3b1ffe
AS
471462011-10-19 Andreas Schwab <schwab@redhat.com>
47147
47148 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47149 __feraiseexcept instead of feraiseexcept.
47150
d38f1dba
UD
471512011-10-18 Ulrich Drepper <drepper@gmail.com>
47152
d9a8d0ab
UD
47153 * math/math_private.h: Define defaults for libc_fetestexcept and
47154 libc_feupdateenv.
47155 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47156 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47157 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47158 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47159 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47160 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47161 libc_fetestexcept and libc_feupdateenv.
47162
4855e3dd
UD
47163 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47164 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47165 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47166 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47167 libc_feholdexcept_setround.
47168
581d30e3
UD
47169 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47170 Add s_nearbyint-c and s_nearbyintf-c.
47171 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47172 nearbyintf inlines.
47173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47174 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47175 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47176 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47177
d38f1dba
UD
47178 * math/math_private.h: Define defaults for libc_fegetround,
47179 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47180 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47181 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47182 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47183 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47184 standard functions.
47185 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47186 Remove comments and hacks for old compiler versions.
47187 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47188 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47189 libc_feholdexceptl.
47190
caa6c9d8
AS
471912011-10-18 Andreas Schwab <schwab@redhat.com>
47192
47193 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47194 (__feraiseexcept_renamed): Add __NTH.
47195 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47196 namespace violations.
47197
97c066e6
UD
471982011-10-17 Ulrich Drepper <drepper@gmail.com>
47199
99ce7b04
UD
47200 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47201
1004d182
UD
47202 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47203
228a984d
UD
47204 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47205 recently added interfaces.
47206 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47207
c8553a6a
UD
47208 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47209 about macro parameter expansion.
47210
ed22dcf6
UD
47211 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47212 __NO_MATH_INLINES is defined. Cleanups.
47213
47214 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47215 and __floorf is target has SSE4.1.
47216 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47217 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47218 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47219 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47220
b171c137
UD
47221 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47222 name.
47223 (floorf): Likewise.
47224
97c066e6
UD
47225 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47226
629f62ef
AS
472272011-10-17 Andreas Schwab <schwab@redhat.com>
47228
49a43d80
AS
47229 * misc/sys/cdefs.h: Fix last change.
47230
629f62ef
AS
47231 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47232 database lookup.
47233
e453f6cd
UD
472342011-10-16 Ulrich Drepper <drepper@gmail.com>
47235
aa78043a
UD
47236 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47237
ad0f5cad
UD
47238 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47240 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47241 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47242 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47243 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47244 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47245 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47246 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47247 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47248 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47249 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47250 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47251 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47252 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47253 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47254 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47255 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47256 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47257 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47258 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47259 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47260
47261 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47262 ceil, ceilf, floor, floorf.
47263
47264 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47265 Perform IRELATIVE relocations last.
47266
e453f6cd
UD
47267 * elf/do-rel.h: Add another parameter nrelative, replacing the
47268 local variable with the same name. Change name of the function
47269 to end in Rel or Rela (uppercase).
47270 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47271 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47272 elf_dynamic_do_##reloc function.
47273
fd5bdc09
UD
472742011-10-15 Ulrich Drepper <drepper@gmail.com>
47275
79b195b5
UD
47276 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47277 is sufficient, at least on modern CPUs.
47278
d4a28569
UD
47279 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47280
b61099b5
UD
47281 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47282 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47283
bcf01e6d
UD
47284 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47285 __expl_finite.
47286 * math/bits/math-finite.h: Add entries for exp.
47287 * math/e_expl.c: Add __*_finite alias.
47288 * sysdeps/i386/fpu/e_exp.S: Likewise.
47289 * sysdeps/i386/fpu/e_expf.S: Likewise.
47290 * sysdeps/i386/fpu/e_expl.c: Likewise.
47291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47292 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47293 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47295 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47296 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47297 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47298
ba1a0d59
UD
47299 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47300 is sufficient, at least on modern CPUs.
47301
fd5bdc09
UD
47302 * ctype/ctype-info.c (__ctype_init): Define.
47303 * include/ctype.h (__ctype_init): Declare.
47304 (__ctype_b_loc): The variable is always initialized.
47305 (__ctype_toupper_loc): Likewise.
47306 (__ctype_tolower_loc): Likewise.
47307 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47308 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47309
7872cfb0
AS
473102011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47311
b468825a
AS
47312 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47313
7872cfb0
AS
47314 * configure.in: Also look in $cxxmachine/include for C++ system
47315 headers.
47316
be13f7bf
LD
473172011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47318
47319 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47320 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47321 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47322 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47323 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47324 (USE_AS_WMEMCMP): New macro.
47325 Fixing indents.
47326 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47327 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47328 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47329 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47330 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47331 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47332 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47333 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47334 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47335 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47336 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47337 (USE_AS_WMEMCMP): New macro.
47338 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47339 * sysdeps/string/test-memcmp.c: Update.
47340 Fix simple_wmemcmp.
47341 Add new tests.
47342 * wcsmbs/wmemcmp.c: Update.
47343 (WMEMCMP): New macro.
47344 Fix overflow bug.
47345
556a2007
AJ
473462011-10-12 Andreas Jaeger <aj@suse.de>
47347
47348 [BZ #13268]
47349 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47350
538faaa7
UD
473512011-10-15 Ulrich Drepper <drepper@gmail.com>
47352
ab6737ff
UD
47353 * libio/iofwide.c (do_length): Avoid warning.
47354
538faaa7
UD
47355 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47356
396a21b1
UD
473572011-10-14 Ulrich Drepper <drepper@gmail.com>
47358
cdf2901f
UD
47359 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47360
38ad40ce
UD
47361 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47362 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47363 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47364 * sysdeps/i386/i686/fpu/e_log.S: New file.
47365 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47366 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47367
396a21b1
UD
47368 * ctype/ctype.h: Add support for inlined isXXX functions when
47369 compiling C++ code.
47370
6b1f68c9
AS
473712011-10-14 Andreas Schwab <schwab@redhat.com>
47372
349290c0
AS
47373 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47374
6b1f68c9
AS
47375 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47376
f2282d42
RM
473772011-10-13 Roland McGrath <roland@hack.frob.com>
47378
47379 [BZ #13291]
47380 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47381
5298ffa8
AS
473822011-10-13 Andreas Schwab <schwab@redhat.com>
47383
714fad23
AS
47384 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47385 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47386 feraiseexcept.
47387
81dcc7fb
AS
47388 * sysdeps/x86_64/memrchr.S: Check for zero size.
47389
5298ffa8
AS
47390 * string/stratcliff.c: Add memrchr tests.
47391
951fbcec
LD
473922011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47393
47394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47395 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47396 rawmemchr-sse2 rawmemchr-sse2-bsf.
47397 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47398 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47399 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47400 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47401 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47402 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47403 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47404 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47405 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47406 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47407 * string/memrchr.c (MEMRCHR): New macro.
47408
0ac5ae23
UD
474092011-10-12 Ulrich Drepper <drepper@gmail.com>
47410
47411 Add integration with gcc's -ffinite-math-only and optimize wrapper
47412 functions in libm.
47413 * Versions.def: Define GLIBC_2.15 version for libm.
47414 * math/Makefile (headers): Add bits/math-finite.h.
47415 * math/bits/math-finite.h: New file.
47416 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47417 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47418 * math/e_acoshl.c: Add __*_finite alias.
47419 * math/e_acosl.c: Likewise.
47420 * math/e_asinl.c: Likewise.
47421 * math/e_atan2l.c: Likewise.
47422 * math/e_atanhl.c: Likewise.
47423 * math/e_coshl.c: Likewise.
47424 * math/e_exp10.c: Likewise.
47425 * math/e_exp10f.c: Likewise.
47426 * math/e_exp10l.c: Likewise.
47427 * math/e_exp2l.c: Likewise.
47428 * math/e_fmodl.c: Likewise.
47429 * math/e_gammal_r.c: Likewise.
47430 * math/e_hypotl.c: Likewise.
47431 * math/e_j0l.c: Likewise.
47432 * math/e_j1l.c: Likewise.
47433 * math/e_jnl.c: Likewise.
47434 * math/e_lgammal_r.c: Likewise.
47435 * math/e_log10l.c: Likewise.
47436 * math/e_log2l.c: Likewise.
47437 * math/e_logl.c: Likewise.
47438 * math/e_powl.c: Likewise.
47439 * math/e_sinhl.c: Likewise.
47440 * math/e_sqrtl.c: Likewise.
47441 * math/e_scalb.c: Completely rewritten and optimized.
47442 * math/e_scalbf.c: Likewise.
47443 * math/e_scalbl.c: Likewise.
47444 * math/w_acos.c: Likewise.
47445 * math/w_acosf.c: Likewise.
47446 * math/w_acosl.c: Likewise.
47447 * math/w_acosh.c: Likewise.
47448 * math/w_acoshf.c: Likewise.
47449 * math/w_acoshl.c: Likewise.
47450 * math/w_asin.c: Likewise.
47451 * math/w_asinf.c: Likewise.
47452 * math/w_asinl.c: Likewise.
47453 * math/w_atan2.c: Likewise.
47454 * math/w_atan2f.c: Likewise.
47455 * math/w_atan2l.c: Likewise.
47456 * math/w_atanh.c: Likewise.
47457 * math/w_atanhf.c: Likewise.
47458 * math/w_atanhl.c: Likewise.
47459 * math/w_exp10.c: Likewise.
47460 * math/w_exp10f.c: Likewise.
47461 * math/w_exp10l.c: Likewise.
47462 * math/w_fmod.c: Likewise.
47463 * math/w_fmodf.c: Likewise.
47464 * math/w_fmodl.c: Likewise.
47465 * math/w_j0.c: Likewise.
47466 * math/w_j0f.c: Likewise.
47467 * math/w_j0l.c: Likewise.
47468 * math/w_j1.c: Likewise.
47469 * math/w_j1f.c: Likewise.
47470 * math/w_j1l.c: Likewise.
47471 * math/w_jn.c: Likewise.
47472 * math/w_jnf.c: Likewise.
47473 * math/w_log.c: Likewise.
47474 * math/w_logf.c: Likewise.
47475 * math/w_logl.c: Likewise.
47476 * math/w_log10.c: Likewise.
47477 * math/w_log10f.c: Likewise.
47478 * math/w_log10l.c: Likewise.
47479 * math/w_log2.c: Likewise.
47480 * math/w_log2f.c: Likewise.
47481 * math/w_log2l.c: Likewise.
47482 * math/w_pow.c: Likewise.
47483 * math/w_powf.c: Likewise.
47484 * math/w_powl.c: Likewise.
47485 * math/w_remainder.c: Likewise.
47486 * math/w_remainderf.c: Likewise.
47487 * math/w_remainderl.c: Likewise.
47488 * math/w_scalb.c: Likewise.
47489 * math/w_scalbf.c: Likewise.
47490 * math/w_scalbl.c: Likewise.
47491 * math/w_sqrt.c: Likewise.
47492 * math/w_sqrtf.c: Likewise.
47493 * math/w_sqrtl.c: Likewise.
47494 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47495 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47496 used.
47497 * math/math_private.h: Declare __kernel_standard_f.
47498 * math/w_cosh.c: Remove cruft and optimize a bit.
47499 * math/w_coshf.c: Likewise.
47500 * math/w_coshl.c: Likewise.
47501 * math/w_exp2.c: Likewise.
47502 * math/w_exp2f.c: Likewise.
47503 * math/w_exp2l.c: Likewise.
47504 * math/w_hypot.c: Likewise.
47505 * math/w_hypotf.c: Likewise.
47506 * math/w_hypotl.c: Likewise.
47507 * math/w_lgamma.c: Likewise.
47508 * math/w_lgamma_r.c: Likewise.
47509 * math/w_lgammaf.c: Likewise.
47510 * math/w_lgammaf_r.c: Likewise.
47511 * math/w_lgammal.c: Likewise.
47512 * math/w_lgammal_r.c: Likewise.
47513 * math/w_sinh.c: Likewise.
47514 * math/w_sinhf.c: Likewise.
47515 * math/w_sinhl.c: Likewise.
47516 * math/w_tgamma.c: Likewise.
47517 * math/w_tgammaf.c: Likewise.
47518 * math/w_tgammal.c: Likewise.
47519 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47520 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47521 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47522 Minor optimizations. Pretty printing. Remove cruft.
47523 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47524 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47525 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47526 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47527 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47528 * sysdeps/i386/fpu/e_asin.S: Likewise.
47529 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47530 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47531 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47532 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47533 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47534 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47535 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47536 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47537 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47538 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47539 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47540 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47541 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47542 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47543 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47544 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47545 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47546 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47547 * sysdeps/i386/fpu/e_log.S: Likewise.
47548 * sysdeps/i386/fpu/e_log10.S: Likewise.
47549 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47550 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47551 * sysdeps/i386/fpu/e_log2.S: Likewise.
47552 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47553 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47554 * sysdeps/i386/fpu/e_logf.S: Likewise.
47555 * sysdeps/i386/fpu/e_logl.S: Likewise.
47556 * sysdeps/i386/fpu/e_pow.S: Likewise.
47557 * sysdeps/i386/fpu/e_powf.S: Likewise.
47558 * sysdeps/i386/fpu/e_powl.S: Likewise.
47559 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47560 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47561 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47562 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47563 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47564 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47565 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47566 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47567 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47568 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47569 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47571 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47572 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47573 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47574 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47575 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47576 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47577 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47578 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47579 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47581 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47582 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47584 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47585 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47586 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47587 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47588 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47589 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47590 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47591 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47592 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47593 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47594 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47595 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47596 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47597 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47598 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47599 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47600 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47601 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47602 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47603 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47604 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47605 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47606 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47607 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47608 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47609 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47610 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47611 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47612 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47613 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47614 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47615 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47616 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47617 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47618 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47619 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47620 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47621 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47622 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47623 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47624 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47625 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47626 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47627 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47628 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47636 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47637 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47638 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47641 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47642 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47643 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47644 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47645 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47646 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47647 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47648 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47649 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47650 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47651 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47652 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47653 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47654 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47656 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47657 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47658 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47659 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47660 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47661 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47662 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47663 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47664 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47665 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47666 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47667 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47668 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47669 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47670 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47671 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47672 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47673 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47674 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47675 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47676 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47677 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47678 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47679 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47680 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47681 (__isnanf): Likewise.
47682 (__isinf_ns): Likewise.
47683 (__isinf_nsf): Likewise.
47684 (__finite): Likewise.
47685 (__finitef): Likewise.
47686 (__ieee754_sqrt): Define as macro.
47687 (__ieee754_sqrtf): Define as macro.
47688 (__ieee754_sqrtl): Define as macro.
47689 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47690 inlined copy.
47691 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47692 __FINITE_MATH_ONLY__ consistent.
47693 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47694
12cc2fcd
AS
476952011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47696
a843a204
AS
47697 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47698 of rawmemchr.
47699
12cc2fcd
AS
47700 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47701
c853acd5
UD
477022011-10-09 Ulrich Drepper <drepper@gmail.com>
47703
47704 * po/ja.po: Update from translation team.
47705
c658d255
RM
477062011-10-08 Roland McGrath <roland@hack.frob.com>
47707
110946e4
RM
47708 * locale/programs/locarchive.c (prepare_address_space): New function.
47709 (create_archive, enlarge_archive, open_archive): Use it.
47710
50604220
RM
47711 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47712 inside [SHARED], where it is used.
47713
c658d255
RM
47714 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47715
47716 * nss/getent.c (netgroup_keys): Remove unused variable.
47717 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47718
6a621eb7
UD
477192011-10-08 Ulrich Drepper <drepper@gmail.com>
47720
7edb55ce
UD
47721 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47722 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47723 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47724 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47725 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47726 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47727 * math/Makefile (libm-calls): Add s_isinf_ns.
47728 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47729 * math/multc3.c: Likewise.
47730 * math/s_casin.c: Likewise.
47731 * math/s_casinf.c: Likewise.
47732 * math/s_casinl.c: Likewise.
47733 * math/s_ccos.c: Likewise.
47734 * math/s_ccosf.c: Likewise.
47735 * math/s_ccosl.c: Likewise.
47736 * math/s_ctan.c: Likewise.
47737 * math/s_ctanf.c: Likewise.
47738 * math/s_ctanh.c: Likewise.
47739 * math/s_ctanhf.c: Likewise.
47740 * math/s_ctanhl.c: Likewise.
47741 * math/s_ctanl.c: Likewise.
47742 * math/w_fmod.c: Likewise.
47743 * math/w_fmodf.c: Likewise.
47744 * math/w_fmodl.c: Likewise.
47745 * math/w_remainder.c: Likewise.
47746 * math/w_remainderf.c: Likewise.
47747 * math/w_remainderl.c: Likewise.
47748 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47749 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47750 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47751 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47752 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47753 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47754 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47755 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47756
187da0ae
UD
47757 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47758 of the number.
47759 * stdio-common/printf_fphex.c: Likewise.
47760 * stdio-common/printf_size.c: Likewise.
47761
9277c064
UD
47762 * math/e_exp10.c: Include math_private.h using <...> not "...".
47763 * math/e_exp10f.c: Likewise.
47764 * math/e_exp10l.c: Likewise.
47765 * math/e_exp2l.c: Likewise.
47766 * math/e_j0l.c: Likewise.
47767 * math/e_j1l.c: Likewise.
47768 * math/e_jnl.c: Likewise.
47769 * math/e_lgammal_r.c: Likewise.
47770 * math/e_rem_pio2l.c: Likewise.
47771 * math/e_scalb.c: Likewise.
47772 * math/e_scalbf.c: Likewise.
47773 * math/e_scalbl.c: Likewise.
47774 * math/k_cosl.c: Likewise.
47775 * math/k_sinl.c: Likewise.
47776 * math/k_tanl.c: Likewise.
47777 * math/s_cacoshf.c: Likewise.
47778 * math/s_catan.c: Likewise.
47779 * math/s_catanf.c: Likewise.
47780 * math/s_catanh.c: Likewise.
47781 * math/s_catanhf.c: Likewise.
47782 * math/s_catanhl.c: Likewise.
47783 * math/s_catanl.c: Likewise.
47784 * math/s_ccosh.c: Likewise.
47785 * math/s_ccoshf.c: Likewise.
47786 * math/s_ccoshl.c: Likewise.
47787 * math/s_cexp.c: Likewise.
47788 * math/s_cexpf.c: Likewise.
47789 * math/s_cexpl.c: Likewise.
47790 * math/s_clog.c: Likewise.
47791 * math/s_clog10.c: Likewise.
47792 * math/s_clog10f.c: Likewise.
47793 * math/s_clog10l.c: Likewise.
47794 * math/s_clogf.c: Likewise.
47795 * math/s_clogl.c: Likewise.
47796 * math/s_csin.c: Likewise.
47797 * math/s_csinf.c: Likewise.
47798 * math/s_csinh.c: Likewise.
47799 * math/s_csinhf.c: Likewise.
47800 * math/s_csinhl.c: Likewise.
47801 * math/s_csinl.c: Likewise.
47802 * math/s_csqrt.c: Likewise.
47803 * math/s_csqrtf.c: Likewise.
47804 * math/s_csqrtl.c: Likewise.
47805 * math/s_ctan.c: Likewise.
47806 * math/s_ctanf.c: Likewise.
47807 * math/s_ctanh.c: Likewise.
47808 * math/s_ctanhf.c: Likewise.
47809 * math/s_ctanhl.c: Likewise.
47810 * math/s_ctanl.c: Likewise.
47811 * math/s_ldexp.c: Likewise.
47812 * math/s_ldexpf.c: Likewise.
47813 * math/s_ldexpl.c: Likewise.
47814 * math/s_significand.c: Likewise.
47815 * math/s_significandf.c: Likewise.
47816 * math/s_significandl.c: Likewise.
47817 * math/w_acos.c: Likewise.
47818 * math/w_acosf.c: Likewise.
47819 * math/w_acosh.c: Likewise.
47820 * math/w_acoshf.c: Likewise.
47821 * math/w_acoshl.c: Likewise.
47822 * math/w_acosl.c: Likewise.
47823 * math/w_asin.c: Likewise.
47824 * math/w_asinf.c: Likewise.
47825 * math/w_asinl.c: Likewise.
47826 * math/w_atan2.c: Likewise.
47827 * math/w_atan2f.c: Likewise.
47828 * math/w_atan2l.c: Likewise.
47829 * math/w_atanh.c: Likewise.
47830 * math/w_atanhf.c: Likewise.
47831 * math/w_atanhl.c: Likewise.
47832 * math/w_cosh.c: Likewise.
47833 * math/w_coshf.c: Likewise.
47834 * math/w_coshl.c: Likewise.
47835 * math/w_dremf.c: Likewise.
47836 * math/w_exp10.c: Likewise.
47837 * math/w_exp10f.c: Likewise.
47838 * math/w_exp10l.c: Likewise.
47839 * math/w_exp2.c: Likewise.
47840 * math/w_exp2f.c: Likewise.
47841 * math/w_fmod.c: Likewise.
47842 * math/w_fmodf.c: Likewise.
47843 * math/w_fmodl.c: Likewise.
47844 * math/w_hypot.c: Likewise.
47845 * math/w_hypotf.c: Likewise.
47846 * math/w_hypotl.c: Likewise.
47847 * math/w_j0.c: Likewise.
47848 * math/w_j0f.c: Likewise.
47849 * math/w_j0l.c: Likewise.
47850 * math/w_j1.c: Likewise.
47851 * math/w_j1f.c: Likewise.
47852 * math/w_j1l.c: Likewise.
47853 * math/w_jn.c: Likewise.
47854 * math/w_jnf.c: Likewise.
47855 * math/w_jnl.c: Likewise.
47856 * math/w_lgamma.c: Likewise.
47857 * math/w_lgamma_r.c: Likewise.
47858 * math/w_lgammaf.c: Likewise.
47859 * math/w_lgammaf_r.c: Likewise.
47860 * math/w_lgammal.c: Likewise.
47861 * math/w_lgammal_r.c: Likewise.
47862 * math/w_log.c: Likewise.
47863 * math/w_log10.c: Likewise.
47864 * math/w_log10f.c: Likewise.
47865 * math/w_log10l.c: Likewise.
47866 * math/w_log2.c: Likewise.
47867 * math/w_log2f.c: Likewise.
47868 * math/w_log2l.c: Likewise.
47869 * math/w_logf.c: Likewise.
47870 * math/w_logl.c: Likewise.
47871 * math/w_pow.c: Likewise.
47872 * math/w_powf.c: Likewise.
47873 * math/w_powl.c: Likewise.
47874 * math/w_remainder.c: Likewise.
47875 * math/w_remainderf.c: Likewise.
47876 * math/w_remainderl.c: Likewise.
47877 * math/w_scalb.c: Likewise.
47878 * math/w_scalbf.c: Likewise.
47879 * math/w_scalbl.c: Likewise.
47880 * math/w_sinh.c: Likewise.
47881 * math/w_sinhf.c: Likewise.
47882 * math/w_sinhl.c: Likewise.
47883 * math/w_sqrt.c: Likewise.
47884 * math/w_sqrtf.c: Likewise.
47885 * math/w_sqrtl.c: Likewise.
47886 * math/w_tgamma.c: Likewise.
47887 * math/w_tgammaf.c: Likewise.
47888 * math/w_tgammal.c: Likewise.
47889
6a621eb7
UD
47890 * po/ja.po: Update from translation team.
47891
bf582445
AJ
478922011-09-29 Andreas Jaeger <aj@suse.de>
47893
f9efbf3a
AJ
47894 [BZ #13179]
47895 * sunrpc/netname.c (netname2host): Fix logic.
47896
bf582445
AJ
47897 [BZ #6779]
47898 [BZ #6783]
47899 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47900 correctly.
47901 * math/w_remainder.c (__remainder): Likewise.
47902 * math/w_remainderf.c (__remainderf): Likewise.
47903 * math/libm-test.inc (remainder_test): Add test cases.
47904
48693bea
AK
479052011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47906
47907 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47908 sdiv_qrnnd.
47909
42622229
LD
479102011-10-07 Ulrich Drepper <drepper@gmail.com>
47911
47912 * string/test-memcmp.c: Avoid unncessary #defines.
47913 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47914
093ecf92
LD
479152011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47916
47917 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47918 Use new sse2 version for core i3 - i7 as it's faster
47919 than sse42 version.
47920 (bit_Prefer_PMINUB_for_stringop): New.
47921 * sysdeps/x86_64/rawmemchr.S: Update.
47922 Replace with faster SSE2 version.
47923 * sysdeps/x86_64/memrchr.S: New file.
47924 * sysdeps/x86_64/memchr.S: Update.
47925 Replace with faster SSE2 version.
47926
fde56e5c
MP
479272011-09-12 Marek Polacek <mpolacek@redhat.com>
47928
47929 * elf/dl-load.c (lose): Add cast to avoid warning.
47930
21fd49a9
UD
479312011-10-07 Ulrich Drepper <drepper@gmail.com>
47932
5a06e643
UD
47933 * po/ca.po: Update from translation team.
47934
684ae515
UD
47935 * inet/getnetgrent_r.c: Hook up nscd.
47936 * nscd/Makefile (routines): Add nscd_netgroup.
47937 (nscd-modules): Add netgroupcache.
47938 (CFLAGS-netgroupcache.c): Define.
47939 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47940 (cache_search): Add const to second parameter.
47941 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47942 INNETGR.
47943 (dbs): Add netgrdb entry.
47944 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47945 (verify_persistent_db): Handle netgrdb.
47946 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47947 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47948 GETFDNETGR.
47949 (netgroup_response_header): Define.
47950 (innetgroup_response_header): Define.
47951 (datahead): Add netgroup_response_header and innetgroup_response_header
47952 elements.
47953 * nscd/nscd.conf: Add entries for netgroup cache.
47954 * nscd/nscd.h (dbtype): Add netgrdb.
47955 (_PATH_NSCD_NETGROUP_DB): Define.
47956 (netgroup_iov_disabled): Declare.
47957 (xmalloc, xcalloc, xrealloc): Move declarations here.
47958 (cache_search): Adjust prototype.
47959 Add netgroup-related prototypes.
47960 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47961 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47962 (__nscd_innetgr): Declare.
47963 * nscd/selinux.c (perms): Use access_vector_t as element type and
47964 add netgroup-related initializers.
47965 * nscd/netgroupcache.c: New file.
47966 * nscd/nscd_netgroup.c: New file.
47967 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47968 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47969 For four parameters use innetgr.
47970 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47971 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47972 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47973 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47974
21fd49a9
UD
47975 * nscd/connections.c (register_traced_file): Don't register file
47976 for disabled databases.
47977
054c0457
UD
479782011-10-06 Ulrich Drepper <drepper@gmail.com>
47979
32b63198
UD
47980 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47981
054c0457
UD
47982 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47983 from tree and freeing node.
47984
64031225
JO
479852011-09-25 Jiri Olsa <jolsa@redhat.com>
47986
47987 * nss/nsswitch.c (__nss_database_lookup): Handle
47988 nss_parse_service_list out of memory case.
47989
0490345c
JO
479902011-09-15 Jiri Olsa <jolsa@redhat.com>
47991
47992 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47993 out of memory case.
47994
3a62d00d
AS
479952011-10-04 Andreas Schwab <schwab@redhat.com>
47996
47997 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47998 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47999 pass it down.
48000 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48001 elf_machine_rela, elf_machine_lazy_rel.
48002 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48003 (ELF_DYNAMIC_DO_REL): Likewise.
48004 (ELF_DYNAMIC_DO_RELA): Likewise.
48005 (ELF_DYNAMIC_RELOCATE): Likewise.
48006 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48007 to ELF_DYNAMIC_DO_REL.
48008 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48009 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48010 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48011 elf_machine_rela.
48012 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48013 skip_ifunc, don't call ifunc function if non-zero.
48014 (elf_machine_rela): Likewise.
48015 (elf_machine_lazy_rel): Likewise.
48016 (elf_machine_lazy_rela): Likewise.
48017 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48018 (elf_machine_lazy_rel): Likewise.
48019 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48020 Likewise.
48021 (elf_machine_lazy_rel): Likewise.
48022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48023 Likewise.
48024 (elf_machine_lazy_rel): Likewise.
48025 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48026 (elf_machine_lazy_rel): Likewise.
48027 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48028 (elf_machine_lazy_rel): Likewise.
48029 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48030 (elf_machine_lazy_rel): Likewise.
48031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48032 (elf_machine_lazy_rel): Likewise.
48033 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48034 (elf_machine_lazy_rel): Likewise.
48035 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48036 (elf_machine_lazy_rel): Likewise.
48037
68577918
UD
480382011-09-28 Ulrich Drepper <drepper@gmail.com>
48039
48040 * nss/nss_files/files-init.c (_nss_files_init): Use static
48041 initialization for all the *_traced_file variables.
48042
68822d74
AS
480432011-09-28 Andreas Schwab <schwab@redhat.com>
48044
48045 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48046
2056100b
RM
480472011-09-27 Roland McGrath <roland@hack.frob.com>
48048
48049 [BZ #13226]
48050 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48051
32c76b63
AS
480522011-09-27 Andreas Schwab <schwab@redhat.com>
48053
48054 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48055 Reread the line before reparsing it.
48056
bf972c9d
AS
480572011-09-26 Andreas Schwab <schwab@redhat.com>
48058
48059 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48060
e057a1b5
JM
480612011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48062 Maxim Kuvyrkov <maxim@codesourcery.com>
48063 Joseph Myers <joseph@codesourcery.com>
48064
48065 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48066 if needed for __stack_chk_guard.
48067
bc7e1c36
RM
480682011-09-19 Roland McGrath <roland@hack.frob.com>
48069
ecb1482f
RM
48070 * sysdeps/posix/spawni.c (script_execute): Always define it.
48071 It will be optimized away if unused.
48072 (maybe_script_execute): New function.
48073 (__spawni): Call it.
48074
bc7e1c36
RM
48075 * Makerules: Don't include tls.make.
48076 (config-tls): Always set to thread.
48077 * tls.make.c: File removed.
48078
1c3b002b
MF
480792011-09-19 Mike Frysinger <vapier@gentoo.org>
48080
48081 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48082 * config.make.in (CPPFLAGS-config): New substituted variable.
48083
2840865d
UD
480842011-09-15 Ulrich Drepper <drepper@gmail.com>
48085
88738eb6
UD
48086 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48087
cbf645a6 48088 [BZ #13192]
2840865d
UD
48089 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48090 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48091
b402e91a
RM
480922011-09-15 Roland McGrath <roland@hack.frob.com>
48093
48094 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48095 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48097 (CALL_FAIL): Likewise.
48098 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48099 (CALL_FAIL): Macro removed.
48100 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48101
4c1a1f71
UD
481022011-09-15 Ulrich Drepper <drepper@gmail.com>
48103
48104 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48105 for __FINITE_MATH_ONLY__ == 1.
48106
edc121be
AS
481072011-09-15 Andreas Schwab <schwab@redhat.com>
48108
48109 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48110 __ieee754_sqrt instead of sqrt.
48111 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48112 __ieee754_sqrtf instead of sqrtf.
48113 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48114 __floorf instead of floorf.
48115 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48116 __floorf, __truncf instead of floorf, truncf.
48117
cd205654
UD
481182011-09-14 Ulrich Drepper <drepper@gmail.com>
48119
ee4d0315
UD
48120 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48121
cd205654
UD
48122 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48123 __extern_always_inline.
48124 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48125 32-bit.
48126
48b67d71
AS
481272011-09-14 Andreas Schwab <schwab@redhat.com>
48128
48129 * elf/rtld.c (dl_main): Also relocate in dependency order when
48130 doing symbol dependency testing.
48131
1ae12c75
AS
481322011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48133
48134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48135 Always define `refsym'.
48136
995a80df
AS
481372011-09-13 Andreas Schwab <schwab@redhat.com>
48138
e529793b
AS
48139 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48140 (__FD_ELT): Renamed from __FDELT.
48141 * misc/bits/select2.h (__FD_ELT): Likewise.
48142 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48143 __FD_MASK instead of __FDELT, __FDMASK.
48144 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48145 Likewise.
48146 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48147 Likewise.
48148
52d4fef8
AS
48149 * elf/Makefile (gen-ldd): Fix pattern.
48150
995a80df
AS
48151 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48152 (init_tls): Likewise.
48153
8682f8b0
UD
481542011-09-12 Ulrich Drepper <drepper@gmail.com>
48155
48156 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48157
de82006d
AS
481582011-09-12 Andreas Schwab <schwab@redhat.com>
48159
a7c8e6a1
AS
48160 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48161 `struct cmsghdr *' instead of `void *'.
48162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48163 Likewise.
48164
0f31fe77
AS
481652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48166
48167 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48168 if non-absolute.
48169 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48170 ldd_rewrite_script.
0f31fe77 48171
32b4c839
UD
481722011-09-11 Ulrich Drepper <drepper@gmail.com>
48173
83cd1420
UD
48174 * configure.in: Remove --with-tls option.
48175 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48176 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48177 out in case it is missing.
48178 * sysdeps/ia64/elf/configure.in: Likewise.
48179 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48180 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48181 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48182 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48183 * sysdeps/sh/elf/configure.in: Likewise.
48184 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48185 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48186 * sysdeps/x86_64/elf/configure.in: Likewise.
48187 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48188 * sysdeps/mach/hurd/tls.h: Likewise.
48189
633f745d
UD
48190 [BZ #13067]
48191 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48192
f318beb8
UD
48193 [BZ #13090]
48194 * configure.in: Fix use of AC_INIT.
48195
32b4c839
UD
48196 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48197
3ce1f295
UD
481982011-09-10 Ulrich Drepper <drepper@gmail.com>
48199
bb016596
UD
48200 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48201 __set_errno.
8e58439c
UD
48202 * malloc/hooks.c: Likewise.
48203
aebae053 48204 [BZ #11929]
02d46fc4
UD
48205 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48206 variables statically.
48207 (narenas): Initialize.
48208 (list_lock): Initialize.
bb016596
UD
48209 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48210 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48211 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48212 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48213 Add initializers to main_arena and mp_.
48214 (malloc_state): Remove pagesize member. Change all users to use
48215 GLRO(dl_pagesize).
48216
48217 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48218 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48219 is always initialized.
48220
22a89187
UD
48221 * malloc/malloc.c: Removed unused configurations and dead code.
48222 * malloc/arena.c: Likewise.
48223 * malloc/hooks.c: Likewise.
02d46fc4 48224 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48225
d063d164
UD
48226 * include/tls.h: Removed. USE___THREAD must always be defined.
48227 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48228 * elf/dl-libc.c: Likewise.
48229 * elf/dl-tsd.c: Likewise.
48230 * include/errno.h: Likewise.
48231 * include/netdb.h: Likewise.
48232 * include/resolv.h: Likewise.
48233 * inet/herrno-loc.c: Likewise.
48234 * inet/herrno.c: Likewise.
48235 * malloc/arena.c: Likewise.
48236 * malloc/hooks.c: Likewise.
48237 * malloc/malloc.c: Likewise.
48238 * resolv/res-state.c: Likewise.
48239 * resolv/res_libc.c: Likewise.
48240 * sysdeps/i386/dl-machine.h: Likewise.
48241 * sysdeps/ia64/dl-machine.h: Likewise.
48242 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48243 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48244 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48245 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48246 * sysdeps/sh/dl-machine.h: Likewise.
48247 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48248 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48249 * sysdeps/unix/i386/sysdep.S: Likewise.
48250 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48251 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48252 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48253 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48254 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48255 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48256 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48260 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48261 * sysdeps/x86_64/dl-machine.h: Likewise.
48262 * tls.make.c: Likewise.
48263
3ce1f295
UD
48264 * configure.in: Remove --with-__thread option. Make tests for
48265 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48266 tls_model attribute fail if no support is available. Remove
48267 USE_IN_LIBIO.
48268 * Makeconfig: Adjust for dropped configure option. All features are
48269 now mandatory.
48270 * Makerules: Likewise.
48271 * Versions.def: Likewise.
48272 * argp/argp-fmtstream.c: Likewise.
48273 * argp/argp-fmtstream.h: Likewise.
48274 * argp/argp-help.c: Likewise.
48275 * assert/assert.c: Likewise.
48276 * config.h.in: Likewise.
48277 * config.make.in: Likewise.
48278 * configure: Likewise.
48279 * configure.in: Likewise.
48280 * csu/Versions: Likewise.
48281 * csu/init.c: Likewise.
48282 * elf/tst-audit2.c: Likewise.
48283 * elf/tst-tls10.c: Likewise.
48284 * elf/tst-tls10.h: Likewise.
48285 * elf/tst-tls11.c: Likewise.
48286 * elf/tst-tls12.c: Likewise.
48287 * elf/tst-tls14.c: Likewise.
48288 * elf/tst-tlsmod11.c: Likewise.
48289 * elf/tst-tlsmod12.c: Likewise.
48290 * elf/tst-tlsmod13.c: Likewise.
48291 * elf/tst-tlsmod13a.c: Likewise.
48292 * elf/tst-tlsmod14a.c: Likewise.
48293 * elf/tst-tlsmod15b.c: Likewise.
48294 * elf/tst-tlsmod16a.c: Likewise.
48295 * elf/tst-tlsmod16b.c: Likewise.
48296 * elf/tst-tlsmod7.c: Likewise.
48297 * elf/tst-tlsmod8.c: Likewise.
48298 * elf/tst-tlsmod9.c: Likewise.
48299 * gmon/gmon.c: Likewise.
48300 * grp/fgetgrent_r.c: Likewise.
48301 * grp/putgrent.c: Likewise.
48302 * hurd/fopenport.c: Likewise.
48303 * include/libc-symbols.h: Likewise.
48304 * include/tls.h: Likewise.
48305 * intl/gettextP.h: Likewise.
48306 * intl/loadinfo.h: Likewise.
48307 * locale/global-locale.c: Likewise.
48308 * locale/localeinfo.h: Likewise.
48309 * mach/devstream.c: Likewise.
48310 * malloc/arena.c: Likewise.
48311 * malloc/set-freeres.c: Likewise.
48312 * misc/err.c: Likewise.
48313 * misc/getttyent.c: Likewise.
48314 * misc/mntent_r.c: Likewise.
48315 * posix/getopt.c: Likewise.
48316 * posix/wordexp.c: Likewise.
48317 * pwd/fgetpwent_r.c: Likewise.
48318 * resolv/Versions: Likewise.
48319 * resolv/res_hconf.c: Likewise.
48320 * shadow/fgetspent_r.c: Likewise.
48321 * shadow/putspent.c: Likewise.
48322 * stdio-common/printf_fphex.c: Likewise.
48323 * stdio-common/tmpfile.c: Likewise.
48324 * stdlib/abort.c: Likewise.
48325 * stdlib/fmtmsg.c: Likewise.
48326 * sunrpc/auth_unix.c: Likewise.
48327 * sunrpc/clnt_perr.c: Likewise.
48328 * sunrpc/clnt_tcp.c: Likewise.
48329 * sunrpc/clnt_udp.c: Likewise.
48330 * sunrpc/clnt_unix.c: Likewise.
48331 * sunrpc/openchild.c: Likewise.
48332 * sunrpc/svc_simple.c: Likewise.
48333 * sunrpc/svc_tcp.c: Likewise.
48334 * sunrpc/svc_udp.c: Likewise.
48335 * sunrpc/svc_unix.c: Likewise.
48336 * sunrpc/xdr.c: Likewise.
48337 * sunrpc/xdr_array.c: Likewise.
48338 * sunrpc/xdr_rec.c: Likewise.
48339 * sunrpc/xdr_ref.c: Likewise.
48340 * sunrpc/xdr_stdio.c: Likewise.
48341
1248c1c4
PB
483422011-09-09 Ulrich Drepper <drepper@gmail.com>
48343
48344 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48345
483462011-07-03 Andreas Jaeger <aj@suse.de>
48347
48348 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48349 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48350 regenerate with gen-libm-tests.pl.
48351
483522010-05-12 Petr Baudis <pasky@suse.cz>
48353
48354 [BZ #11589]
48355 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48356 around j0() zero points by switching to j1().
48357 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48358 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48359 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48360 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48361
f22e1074
UD
483622011-09-09 Ulrich Drepper <drepper@gmail.com>
48363
f19009c1
UD
48364 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48365 instead of 0.
48366 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48367 instead of 0.
f19009c1
UD
48368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48369 Patch in part by Pavel Roskin <proski@gnu.org>.
48370
3f8cc204
UD
48371 [BZ #13138]
48372 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48373 realloc.
48374 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48375 Free memory block if necessary.
48376
f22e1074
UD
48377 [BZ #12847]
48378 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48379 be NULL. Don't lock in this case.
48380
0a2349f9
RM
483812011-09-09 Roland McGrath <roland@hack.frob.com>
48382
48383 * elf/elf.h (ELFOSABI_GNU): New macro.
48384 (ELFOSABI_LINUX): Define to that.
48385
f3cdd467
DZ
483862011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48387
48388 * string/strncat.c (strncat): Undef the symbol in case it has been
48389 defined in bits/string.h.
48390
74718d13
UD
483912011-09-09 Ulrich Drepper <drepper@gmail.com>
48392
633e9e0f
UD
48393 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48394
0a2349f9 48395 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48396 link map.
48397
f9924780
AJ
483982011-08-17 Andreas Jaeger <aj@suse.de>
48399
48400 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48401
7f5517aa
PP
484022011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48403 Ian Lance Taylor <iant@google.com>
48404
48405 * math/libm-test.inc (lround_test): New testcase.
48406 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48407
762011fe
UD
484082011-09-08 Ulrich Drepper <drepper@gmail.com>
48409
92963737
UD
48410 * Makefile: Remove support for automatic cvs check-ins.
48411 * Makerules: Likewise.
48412 * config.make.in: Likewise.
48413 * configure.in: Likewise.
48414 * intl/Makefile: Likewise.
48415 * locale/Makefile: Likewise.
48416 * po/Makefile: Likewise.
48417 * posix/Makefile: Likewise.
48418 * sysdeps/gnu/Makefile: Likewise.
48419 * sysdeps/mach/hurd/Makefile: Likewise.
48420 * sysdeps/sparc/sparc32/Makefile: Likewise.
48421
b0727fd8
JS
48422 [BZ #13118]
48423 * posix/Makefile (bug-regex32-ENV): Define.
48424 Patch by John Stanley <jpsinthemix@verizon.net>.
48425
a0f33f99
UD
48426 * misc/Makefile (headers): Add bits/select2.h.
48427 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48428 * misc/bits/select2.h: New file.
48429 * include/bits/select2.h: New file.
48430 * debug/Makefile (routines): Add fdelt_chk.
48431 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48432 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48433 FD_ISSET.
48434 * debug/fdelt_chk.c: New file.
48435
762011fe
UD
48436 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48437 * wcsmbs/test-wmemcmp.c: Likewise.
48438 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48439 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48440
484412011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48442
48443 * string/Makefile (strop-tests): Add memcmp.
48444 * string/test-wmemcmp.c: New file.
48445 * string/test-memcmp.c: Add wmemcmp support.
48446
7f513ec8
RM
484472011-09-08 Roland McGrath <roland@hack.frob.com>
48448
0442afb4
RM
48449 [BZ #13153]
48450 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48451 2011-07-19 change.
48452
7f513ec8
RM
48453 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48454 garbage value in a __mach_port_mod_refs call in the cases of the
48455 task-self and thread-self ports.
48456
a12b2239
ST
484572011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48458
48459 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48460
610f9ab4
AS
484612011-09-08 Andreas Schwab <schwab@redhat.com>
48462
7f513ec8 48463 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48464
48882a1a
LD
484652011-09-07 Ulrich Drepper <drepper@gmail.com>
48466
b49865be
UD
48467 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48468
fdc86bc9
UD
48469 * elf/dl-libc.c (dlerror_run): Pass back error code from
48470 dl_catch_error.
48471
c966526a
UD
48472 [BZ #13123]
48473 * elf/dl-load.c (lose): Free l_origin if it is valid.
48474
48882a1a
LD
48475 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48476 names.
48477 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48478 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48479 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48480 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48481 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48482 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48483
77a2a8b4
AZ
484842011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48485
48486 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48487 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48488 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48489 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48490 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48491 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48492 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48493 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48494 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48495 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48496
24f579d8
AM
484972011-08-15 Alan Modra <amodra@gmail.com>
48498
48499 [BZ #13092]
48500 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48501 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48502 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48503 ppc_mcount to static-only-routines.
48504 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48505 __mcount_internal.
48506 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48507 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48508
3d4837df
UD
485092011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48510
48511 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48512 for finite and infinity parameters.
48513
22700377
WS
485142011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48515
48516 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48517 and add nop instructions for throughput optimization.
48518 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48519
5025581e
WS
485202011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48521
48522 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48523 aligned copy for power7 with vector-scalar instructions.
48524 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48525
08a300c9
L
485262011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48527
48528 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48529 AVX check.
48530
59178ef9
AS
485312011-09-07 Andreas Schwab <schwab@redhat.com>
48532
48533 [BZ #13144]
48534 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48535 last change.
48536
e38ba7ab
UD
485372011-09-07 Ulrich Drepper <drepper@gmail.com>
48538
48539 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48540 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48541 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48542 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48543 clock_gettime.
48544
d53a73ac
UD
485452011-09-06 Ulrich Drepper <drepper@gmail.com>
48546
fc8bffcc
UD
48547 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48548 Forgot to demangle the pointer.
48549
ceaa0c5d
UD
48550 * sysdeps/i386/sysdep.h: Define atom_text_section.
48551 * sysdeps/x86_64/sysdep.h: Likewise.
48552 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48553 section with atom_text_section.
48554 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48555 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48556 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48557 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48558 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48559
a77d3c17
UD
48560 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48561 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48562 already be defined. Change to take two parameters and don't assign
48563 result to variable. Adjust all users.
48564 Define INTERNAL_GETTIME if not already defined.
48565 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48566 call.
48567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48568 HAVE_CLOCK_GETTIME_VSYSCALL.
48569 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48570
d53a73ac
UD
48571 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48572 gettimeofday vsyscall, just use time.
48573
a8f84144
AS
485742011-09-06 Andreas Schwab <schwab@redhat.com>
48575
48576 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48577 <errno.h>.
48578
ef606249
UD
485792011-09-06 Ulrich Drepper <drepper@gmail.com>
48580
48581 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48582 syscall on x86-64.
48583 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48584 syscall.
48585 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48586 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48587 syscall if possible.
48588
6585cb60
UD
485892011-09-05 Ulrich Drepper <drepper@gmail.com>
48590
48591 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48592 e_ident. Don't pass to find_mapsXX.
48593 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48594
a5f524e4
LD
485952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48596
48597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48598 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48599 * sysdeps/x86_64/multiarch/strchr.S: Update.
48600 Check bit_slow_BSF bit.
48601 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48602 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48603 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48604
554881ef
UD
486052011-09-05 Ulrich Drepper <drepper@gmail.com>
48606
d96de963
UD
48607 [BZ #13134]
48608 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48609 before glibc 2.15.
48610 (tryshell): Define.
48611 (__spawni): Change last parameter to be flag. Test
48612 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48613 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48614 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48615 * posix/spawni.c: Likewise.
48616 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48617 * posix/spawnp.c: Likewise. Change normal version to use
48618 SPAWN_XFLAGS_USE_PATH.
48619 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48620 SPAWN_XFLAGS_TRY_SHELL.
48621
d48e5868
UD
48622 [BZ #13150]
48623 * posix/glob.h: Remove gcc 1.x support.
48624
554881ef
UD
48625 [BZ #13068]
48626 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48627
693fb948
LD
486282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48629
48630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48631 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48632 strrchr-sse2-bsf
48633 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48634 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48635 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48636 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48637 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48638 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48639
1b48c537
UD
486402011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48641
49d42c37
UD
48642 * sysdeps/x86_64/wcscmp.S: New file.
48643
1b48c537
UD
48644 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48645 wcscmp-c wcscmp-sse2
48646 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48647 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48648 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48649 * wcsmbs/wcscmp.c: Allow renaming.
48650
15c95c5d
DM
486512011-09-05 David S. Miller <davem@davemloft.net>
48652
48653 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48654 stack slot, rather than the struct return pointer slot.
48655 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48656 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48658 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48659
2f0ad8f3
UD
486602011-09-05 Ulrich Drepper <drepper@gmail.com>
48661
d88ae418
UD
48662 * po/ja.po: Update from translation team.
48663
2f0ad8f3
UD
48664 [BZ #13144]
48665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48666 kernel in 64-bit binaries.
48667
5f4318d1
DM
486682011-09-01 David S. Miller <davem@davemloft.net>
48669
48670 * elf/elf.h (HWCAP_SPARC_*): Move to..
48671 * sysdeps/sparc/sysdep.h: this new file and add new values.
48672 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48673 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48674 _DL_HWCAP_COUNT to 24.
48675 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48676 entries.
48677 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48678 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48679 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48681 instead of magic constants.
48682 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48683
3ba57516
DM
486842011-08-31 David S. Miller <davem@davemloft.net>
48685
48686 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48688 Reimplement to do errno handling inline.
48689 (SYSCALL_ERROR_HANDLER): New macro.
48690 (__SYSCALL_STRING): Do not do errno handling in asm.
48691 (__CLONE_SYSCALL_STRING): Delete.
48692 (__INTERNAL_SYSCALL_STRING): Delete.
48693 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48694 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48695 (PSEUDO): Reimplement to do errno handling inline.
48696 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48697 (SYSCALL_ERROR_HANDLER): New macro.
48698 (__SYSCALL_STRING): Do not do errno handling in asm.
48699 (__CLONE_SYSCALL_STRING): Delete.
48700 (__INTERNAL_SYSCALL_STRING): Delete.
48701 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48702 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48703 i386.
48704 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48705 (inline_syscall*): Add 'err' argument.
48706 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48707 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48708 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48709 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48710
48711 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48712 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48713
2bc17433
AS
487142011-08-30 Andreas Schwab <schwab@redhat.com>
48715
48716 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48717
fbeb5f4d
JO
487182011-08-29 Jiri Olsa <jolsa@redhat.com>
48719
48720 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48721 directive.
48722
ad69cc26
DM
487232011-08-24 David S. Miller <davem@davemloft.net>
48724
48725 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48726
39dd69df
AS
487272011-08-24 Andreas Schwab <schwab@redhat.com>
48728
48729 * elf/Makefile: Add rules to build and run unload8 test.
48730 * elf/unload8.c: New file.
48731 * elf/unload8mod1.c: New file.
48732 * elf/unload8mod1x.c: New file.
48733 * elf/unload8mod2.c: New file.
48734 * elf/unload8mod3.c: New file.
48735
48736 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48737 it wasn't used.
48738
2c0b250a
DM
487392011-08-23 David S. Miller <davem@davemloft.net>
48740
48741 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48742 subtract stack bias.
48743 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48744 %sp not %fp in calculations.
48745 (_JMPBUF_UNWINDS_ADJ): Likewise.
48746
22044b48
DM
48747 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48748 (aio_suspend): Call it to force an exception region around the
48749 AIO_MISC_WAIT() invocation.
48750
2cae4995
AS
487512011-08-23 Andreas Schwab <schwab@redhat.com>
48752
48753 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48754 backslash.
48755
873a772e
AJ
487562011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48757
48758 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48759 protection macro.
48760 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48761 and <dl-machine.h>.
48762 (Elf64_FuncDesc): Remove.
48763
25ad0df1
DM
487642011-08-22 David S. Miller <davem@davemloft.net>
48765
48766 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48767 sigaltstack check, add missing cfi directives.
48768 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48769 missing cfi directives, and sigaltstack handling.
48770
e888bcbe
AS
487712011-08-16 Andreas Schwab <schwab@redhat.com>
48772
48773 [BZ #11724]
48774 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48775 object is seen twice.
48776 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48777
48778 * elf/Makefile (distribute): Add tst-initorder2.c.
48779 (tests): Add tst-initorder2.
48780 (modules-names): Add tst-initorder2a tst-initorder2b
48781 tst-initorder2c tst-initorder2d. Add rules to build them.
48782 ($(objpfx)tst-initorder2.out): New rule.
48783 * elf/tst-initorder2.c: New file.
48784 * elf/tst-initorder2.exp: New file.
48785
87162f46
AS
487862011-08-22 Andreas Schwab <schwab@redhat.com>
48787
70538b7f
AS
48788 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48789
f55ffe58
AS
48790 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48791 dependencies back to end of function.
48792
87162f46
AS
48793 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48794 $(elfobjdir)/ld.so.
48795
91b392a4
UD
487962011-08-21 Ulrich Drepper <drepper@gmail.com>
48797
48798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48799 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48800 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48801 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48802 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48803 of __vdso_gettimeofday.
48804 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48805 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48806 attribute_hidden.
48807 (_libc_vdso_platform_setup): Remove initialization of
48808 __vdso_gettimeofday and __vdso_time.
48809
5c43483f
UD
488102011-08-20 Ulrich Drepper <drepper@gmail.com>
48811
775a77e7
UD
48812 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48813 and fgetc_unlocked.
48814 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48815 getc_unlocked.
89f447ed 48816
49c74ba9
UD
48817 * elf/dl-open.c (add_to_global): Report additions to the global scope
48818 for LD_DEBUG=scopes.
48819 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48820 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48821
5c43483f
UD
48822 [BZ #13114]
48823 * stdio-common/Makefile (tests): Add bug24.
48824 * stdio-common/bug24.c: New file.
48825
a101b025
AJ
488262011-08-19 Andreas Jaeger <aj@suse.de>
48827
48828 [BZ #13114]
48829 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48830 non-existant file when using close-on-exec mode.
48831
c88f1766
UD
488322011-08-20 Ulrich Drepper <drepper@gmail.com>
48833
0276a718
UD
48834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48835 the very first instruction.
48836
c88f1766
UD
48837 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48838 the CFI state in the end.
48839 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48840 inclusion of dl-trampoline.h.
48841 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48842
51ccffa0
AS
488432011-08-19 Andreas Schwab <schwab@redhat.com>
48844
94d7165f
AS
48845 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48846 expectations for long double.
48847
51ccffa0
AS
48848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48849 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48850
fd708658 488512011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48852
48853 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48854 artificual limit depends upon the system page size.
48855
44f0a71e
UD
488562011-08-17 Ulrich Drepper <drepper@gmail.com>
48857
48858 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48859 * resolv/Makefile: Define CFLAGS-libresolv.
48860
8de79a24
AS
488612011-08-17 Andreas Schwab <schwab@redhat.com>
48862
48863 * nss/makedb.c (compute_tables): Make variables used in nested
48864 function static.
48865
27724598
UD
488662011-08-17 Ulrich Drepper <drepper@gmail.com>
48867
c5305d88
UD
48868 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48869 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48870 if buffer was too small.
48871
27724598
UD
48872 * elf/pldd.c (main): Attach to all threads in the process.
48873 Rewrite /proc handling to use *at functions.
48874
076fe015
UD
488752011-08-16 Ulrich Drepper <drepper@gmail.com>
48876
174baab3
UD
48877 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48878 specifies first scope to show.
48879 (dl_open_worker): Update callers. Move printing scope of new
48880 object to before the relocation.
44f0a71e 48881 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48882 * sysdeps/generic/ldsodefs.h: Update declaration.
48883
076fe015
UD
48884 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48885 string for the scope number.
48886
a60df2c3
UD
488872011-08-14 Ulrich Drepper <drepper@gmail.com>
48888
48889 * nscd/servicescache.c (cache_addserv): Make sure written is always
48890 initialized.
48891
5e4287d1
RM
488922011-08-14 Roland McGrath <roland@hack.frob.com>
48893
85ae0589
RM
48894 * sysdeps/i386/i486/bits/atomic.h
48895 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48896 statement expression, so as to suppress "set but not used" warning.
48897 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48898
69f63097
RM
48899 * string/strncat.c (STRNCAT): Use prototype definition.
48900
675456ef
RM
48901 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48902 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48903 -Iprograms here.
48904 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48905 (localedef-modules): Add localedef.
48906 (locale-modules): Add locale.
48907
5e4287d1
RM
48908 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48909 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48910 to avoid a warning.
48911
9c96ff23
DM
489122011-08-14 David S. Miller <davem@davemloft.net>
48913
48914 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48915 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48916
f9ddf089
UD
489172011-08-13 Ulrich Drepper <drepper@gmail.com>
48918
44f0a71e 48919 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48920 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48921 * elf/rtld.c (dl_main): Set l_name of vDSO.
48922 Call _dl_show_scope when DL_DEBUG_SCOPES.
48923 (process_dl_debug): Recognize scopes flag and also set it for all.
48924 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48925 Declare _dl_show_scope.
48926
1dc27704
UD
48927 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48928 (do_dlopen): Pass caller_dlopen to dl_open.
48929 (__libc_dlopen_mode): Initialize caller_dlopen.
48930
f9ddf089
UD
48931 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48932 of libc. Make tolower call locale-independent. Optimize a bit by
48933 using isdigit instead of isalnum.
48934 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48935
9ac533d3
UD
489362011-08-12 Ulrich Drepper <drepper@gmail.com>
48937
48938 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48939 was a dependency or dynamically loaded.
48940
89edf2e9
UD
489412011-08-11 Ulrich Drepper <drepper@gmail.com>
48942
8e999d29
UD
48943 * intl/l10nflist.c: Allow architecture-specific pop function.
48944 * sysdeps/x86_64/l10nflist.c: New file.
48945
89edf2e9
UD
48946 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48947 classification.
48948
14d96785
AS
489492011-08-10 Andreas Schwab <schwab@redhat.com>
48950
48951 * include/dirent.h: Add libc_hidden_proto for scandirat and
48952 scandirat64. Don't declare __scandirat64.
48953 * dirent/scandirat.c: Add libc_hidden_def.
48954 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48955 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48956
6761ac04
DM
489572011-08-10 David S. Miller <davem@davemloft.net>
48958
48959 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48960 enum.
48961 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48962 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48963 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48964
c55fbd1e
UD
489652011-08-09 Ulrich Drepper <drepper@gmail.com>
48966
48967 * Versions.def [libc]: Add GLIBC_2.15.
48968 * dirent/Makefile (routines): Add scandirat and scandirat64.
48969 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48970 GLIBC_2.15.
48971 * dirent/dirent.h: Declare scandirat and scandirat64.
48972 * dirent/scandirat.c: New file.
48973 * dirent/scandirat64.c: New file.
48974 * sysdeps/wordsize-64/scandirat.c: New file.
48975 * sysdeps/wordsize-64/scandirat64.c: New file.
48976 * dirent/opendir.c: Define opendirat.
48977 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48978 using scandirat.
48979 * dirent/scandir64.c: Adjust for scandir.c change.
48980 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48981 __scandirat64, and __scandir_cancel_handler.
48982 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48983 additional parameter and use openat instead of open (outside of ld.so).
48984 Add new __opendir as wrapper around __opendirat.
48985 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48986 here without requiring old scandirat implementation.
48987
879165f2
UD
489882011-08-08 Ulrich Drepper <drepper@gmail.com>
48989
48990 * dirent/scandir.c (cancel_handler): Renamed to
48991 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48992 defined. Adjust users.
48993 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48994 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48995
cb7e923b
UD
489962011-08-04 Ulrich Drepper <drepper@gmail.com>
48997
16292edd
UD
48998 * string/test-string.h (IMPL): Use __STRING to expand name and then
48999 stringify it.
49000
cb7e923b
UD
49001 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49002 of cleanups.
49003
cff82933
LD
490042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49005
49006 * string/Makefile: Update.
49007 (strop-tests): Append strncat.
49008 * string/test-wcscmp.c: New file.
49009 New comprehensive test for wcscmp.
49010 * string/test-strcmp.c: Update.
49011 (WIDE): New define.
49012
9be9bfcc
AS
490132011-07-22 Andreas Schwab <schwab@redhat.com>
49014
49015 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49016 line.
49017
2e96f1c7
AS
490182011-07-26 Andreas Schwab <schwab@redhat.com>
49019
49020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49021 encoding to ACE if AI_IDN.
49022
85188888
JJ
490232011-08-01 Jakub Jelinek <jakub@redhat.com>
49024
49025 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49026 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49027
5fa16e9b
LD
490282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49029
49030 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49031 Fix overflow bug in strncat.
49032 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49033
49034 * string/test-strncat.c: Update.
49035 Add new tests for checking overflow bugs.
49036
490372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49038
49039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49040 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49041 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49042 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49043 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49044 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49045 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49046 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49047 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49048
49049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49050 (USE_AS_STRCAT): Define.
49051 Add strcat and strncat support.
49052 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49053
8c1a459f
AS
490542011-07-25 Andreas Schwab <schwab@redhat.com>
49055
49056 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49057 __n bigger than INT_MAX+1.
49058 (__strncmp_g): Likewise.
49059
bba33c28
UD
490602011-07-23 Ulrich Drepper <drepper@gmail.com>
49061
798be72d
UD
49062 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49063 * libio/stido.h: Likewise.
49064
8accd4dc
UD
49065 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49066 (AF_NFC): Define.
49067 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49068 (AF_NFC): Define.
49069
cbff0d96
UD
49070 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49071 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49072 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49073 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49074 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49075
9191c04a
UD
49076 [BZ #13021]
49077 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49078 installed.
49079
bba33c28
UD
49080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49081 typo.
49082 (_dl_x86_64_save_sse): Likewise.
49083
90f139dd
UD
490842011-07-22 Ulrich Drepper <drepper@gmail.com>
49085
1aae088a
UD
49086 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49087 OSXSAVE.
49088 (_dl_x86_64_save_sse): Likewise.
49089
8e2045f5
UD
49090 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49091
90f139dd
UD
49092 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49093
1d002f25
AS
490942011-07-21 Andreas Schwab <schwab@redhat.com>
49095
49096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49097 change.
49098 (_dl_x86_64_save_sse): Use correct AVX check.
49099
21137f89
UD
491002011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49101
49102 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49103 bug in strncpy/strncat.
49104 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49105
a65c0b7a
UD
491062011-07-21 Ulrich Drepper <drepper@gmail.com>
49107
49108 * string/tester.c (test_strcat): Add tests for different alignments
49109 of source and destination.
49110 (test_strncat): Likewise.
49111
6986b98a
UD
491122011-07-20 Ulrich Drepper <drepper@gmail.com>
49113
90bb2039
UD
49114 [BZ #12852]
49115 * posix/glob.c (glob): Check passed in values before using them in
49116 expressions to avoid some overflows.
49117 (glob_in_dir): Likewise.
49118
5644ef54
UD
49119 [BZ #13007]
49120 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49121 check for AVX enablement so that we don't crash with old kernels and
49122 new hardware.
49123 * elf/tst-audit4.c: Add same checks here.
49124 * elf/tst-audit6.c: Likewise.
49125
49126 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49127
bfc9dc9b
AS
491282011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49129
49130 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49131
702e64bb
UD
491322011-07-20 Ulrich Drepper <drepper@gmail.com>
49133
49134 * po/cs.po: Update from translation team.
49135 * po/bg.po: Likewise.
49136
295e904f
MP
491372011-07-12 Marek Polacek <mpolacek@redhat.com>
49138
49139 * misc/sys/cdefs.h: Add support for const attribute.
49140 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49141 to gnu_dev_{major,minor,makedev} functions.
49142
3ff94596
MP
491432011-07-20 Marek Polacek <mpolacek@redhat.com>
49144
49145 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49146
28b59fca
AS
491472011-07-20 Andreas Schwab <schwab@redhat.com>
49148
49149 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49150 strlen results.
49151
19df733e
AK
491522011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49153
49154 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49155 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49156 register in order to avoid conflicts with the soft frame pointer
49157 being held in r11 when necessary.
49158 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49159 (INTERNAL_VSYSCALL_NCS): Likewise.
49160
c8835729
MP
491612011-07-14 Marek Polacek <mpolacek@redhat.com>
49162
49163 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49164 * elf/dl-fini.c (_dl_fini): Adjust caller.
49165 * elf/dl-close.c (_dl_close_worker): Likewise.
49166 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49167
b902330c
MP
491682011-07-15 Marek Polacek <mpolacek@redhat.com>
49169
8991e135
MP
49170 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49171 "aux_cache->nlibs < 0".
49172
b902330c
MP
49173 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49174 in the reload-count case.
49175
99710781
LD
491762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49177
49178 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49179 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49180 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49181 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49182 * sysdeps/x86_64/multiarch/strcat.S: New file.
49183 * sysdeps/x86_64/multiarch/strncat.S: New file.
49184 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49185 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49186 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49187 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49188 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49189 (USE_AS_STRCAT): Define.
49190 Add strcat and strncat support.
49191 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49192 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49193 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49194 * string/strncat.c: Update.
49195 (USE_AS_STRNCAT): Define.
49196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49197 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49198 and i7.
49199 * sysdeps/x86_64/multiarch/init-arch.h
49200 (bit_Prefer_PMINUB_for_stringop): New.
49201 (index_Prefer_PMINUB_for_stringop): Likewise.
49202 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49203 bit_Prefer_PMINUB_for_stringop.
49204
7dc6bd90
UD
492052011-07-19 Ulrich Drepper <drepper@gmail.com>
49206
49207 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49208 buffer64.
49209 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49210 of casting of buffer.
49211 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49212 buffer32 and buffer64.
49213 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49214 writes instead of casting of buffer.
49215 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49216 buffer32.
49217 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49218 casting of buffer.
49219
e0e72284
AS
492202011-07-19 Andreas Schwab <schwab@redhat.com>
49221
49222 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49223
feb1eb0b
UD
492242011-07-19 Ulrich Drepper <drepper@gmail.com>
49225
49226 * nscd/nscd.c (termination_handler): Don't do anything for a database
49227 if it has not yet been initialized.
49228
298711ff
UD
492292011-07-18 Ulrich Drepper <drepper@gmail.com>
49230
49231 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49232
492332011-07-15 Marek Polacek <mpolacek@redhat.com>
49234
49235 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49236
f9d68389
UD
492372011-07-18 Ulrich Drepper <drepper@gmail.com>
49238
49239 * po/nl.po: Update from translation team.
49240 * po/sv.po: Likewise.
49241
db290cf5
RM
492422011-07-16 Roland McGrath <roland@hack.frob.com>
49243
49244 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49245 now disallowed by GCC.
5c550700 49246
fd5e21c7
RM
49247 * configure.in (use-default-link): Default to yes if a test -shared
49248 link meets our qualifications.
49249 * configure: Regenerated.
49250
5c550700
RM
49251 * config.make.in (output-format): New variable.
49252 * configure.in: Check for ld --print-output-format support.
49253 * configure: Regenerated.
49254 * Makerules ($(common-objpfx)format.lds)
49255 [$(output-format) != unknown]: Just use $(output-format),
49256 instead of the linker-script munging.
49257
9fa2c032
RM
492582011-07-14 Roland McGrath <roland@hack.frob.com>
49259
a6928d51
RM
49260 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49261 of $(common-objpfx)shlib.lds.
49262 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49263
661607b3
RM
49264 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49265 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49266
9fa2c032
RM
49267 * configure.in (-z relro check): Adjust test code to add a large
49268 writable data section after it.
49269 * configure: Regenerated.
49270
defe9061
RM
492712011-07-11 Roland McGrath <roland@hack.frob.com>
49272
49273 * configure.in (-z relro check): Fix test code to make the variable
49274 truly const.
49275 * configure: Regenerated.
49276
319b9ad4
UD
492772011-07-11 Ulrich Drepper <drepper@gmail.com>
49278
49279 * nscd/nscd.h (struct traced_file): Define.
49280 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49281 elements. Add traced_files.
49282 (inotify_fd): Declare.
49283 (register_traced_file): Declare.
49284 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49285 (inotify_fd): Export.
49286 (resolv_conf_descr): Remove.
49287 (nscd_init): Move inotify descriptor creation to main.
49288 Don't register files for notification here.
49289 (register_traced_file): New function.
49290 (invalidate_cache): Don't use reset_res to determine whether to call
49291 res_init, go through the list of registered files.
49292 (main_loop_poll): The inotify descriptors are now stored in the
49293 structures for the traced files.
49294 (main_loop_epoll): Likewise
49295 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49296 to __nss_disable_nscd.
49297 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49298 for a database anymore. Check the records for all the registered
49299 files instead.
49300 * nss/Makefile (libnss_files-routines): Add files-init.
49301 (libnss_db-routines): Add db-init.
49302 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49303 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49304 * nss/nss_db/db-init.c: New file.
49305 * nss/nss_files/files-init.c: New file.
49306 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49307 __nss_lookup_function.
49308 (__nss_lookup_function): Call nss_load_library.
49309 (nss_load_all_libraries): New function.
49310 (__nss_disable_nscd): Take parameter with callback function for files
49311 to register. Set is_nscd. Load all the DSOs for the NSS modules
49312 used for the cached services.
49313 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49314 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49315 options for features to all the files in nscd.
49316
49317 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49318
23bee3e8
RM
493192011-07-10 Roland McGrath <roland@hack.frob.com>
49320
49321 * csu/elf-init.c (__libc_csu_init): Comment typo.
49322
46a5b7f0
UD
493232011-07-09 Ulrich Drepper <drepper@gmail.com>
49324
49325 * po/pl.po: Update from translation team.
49326 * po/ja.po: Likewise.
49327 * po/ru.po: Likewise.
49328 * po/ko.po: Likewise.
49329 * po/fr.po: Likewise.
49330
d30cf5bb
RM
493312011-07-09 Roland McGrath <roland@hack.frob.com>
49332
113ddea4
RM
49333 * configure.in (.ctors/.dtors header and trailer check):
49334 Use an empirical test on a built program.
49335 * configure: Regenerated.
49336
574920b4
RM
49337 * configure.in (-z relro check): Use an empirical test on a built DSO.
49338 Detect, but do not require, on ia64.
49339 * configure: Regenerated.
49340
d30cf5bb
RM
49341 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49342 Update tests that use readelf to use $READELF instead.
49343 * configure: Regenerated.
49344
8538fdb3
UD
493452011-07-08 Ulrich Drepper <drepper@gmail.com>
49346
49347 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49348 if the result is not used.
49349
04d08991
AJ
493502011-07-05 Andreas Jaeger <aj@suse.de>
49351
49352 [BZ#9696]
49353 * stdlib/tst-strtod.c: Add testcase.
49354
de283087
AD
493552011-07-07 Ulrich Drepper <drepper@gmail.com>
49356
4e5f31c8 49357 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49358 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49359 The latter has a higher limit. Take additional parameter to pass to
49360 the new function.
49361 (__pathconf): Pass file to __statfs_link_max.
49362 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49363 __statfs_link_max.
49364 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49365 __statfs_link_max.
49366
de283087
AD
49367 [BZ #12868]
49368 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49369 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49370 Handle Lustre.
49371 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49372 (__statfs_filesize_max): Likewise.
49373 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49374
c75fa153
AJ
493752011-07-05 Andreas Jaeger <aj@suse.de>
49376
49377 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49378
1a544854
UD
493792011-07-06 Marek Polacek <mpolacek@redhat.com>
49380
49381 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49382 `status' variable.
49383 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49384 Likewise.
49385
6f0eec67
UD
493862011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49387
49388 * Makefile (strop-tests): Add strncat.
49389 * string/test-strncat.c: New file.
49390
aae30307
UD
493912011-06-30 Marek Polacek <mpolacek@redhat.com>
49392
49393 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49394
c0cfb5eb
UD
493952011-06-21 Andreas Jaeger <aj@suse.de>
49396
49397 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49398 Copy rule from iconvdata/Makefile.
49399
01636b21
UD
494002011-07-06 Ulrich Drepper <drepper@gmail.com>
49401
49402 [BZ #12922]
49403 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49404 but no long options are defined, just return 'W'.
49405
9895c8bc
UD
494062011-06-22 Marek Polacek <mpolacek@redhat.com>
49407
49408 [BZ #9696]
49409 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49410
5d4cf042
UD
494112011-07-06 Ulrich Drepper <drepper@gmail.com>
49412
49413 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49414 netgroups to read.
960e5535 49415 (innetgr): Likewise.
5d4cf042 49416
751eb97e
RM
494172011-07-05 Roland McGrath <roland@hack.frob.com>
49418
49419 * config.make.in (install_root): Default to $(DESTDIR).
49420
f15f1e45
UD
494212011-07-05 Ulrich Drepper <drepper@gmail.com>
49422
49423 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49424
4e34ac6a
RM
494252011-07-02 Roland McGrath <roland@hack.frob.com>
49426
5e9b6af4
RM
49427 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49428
84f9ea0f
RM
49429 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49430 containing directory rather than embedding absolute directory names.
49431
ea5ee9f7
RM
49432 * scripts/check-local-headers.sh: Rewritten using awk.
49433 Match by word, not by line. Print error messages for matches.
49434 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49435
1b74661a
RM
49436 * Makerules [shlib-lds-flags empty]:
49437 ($(common-objpfx)libc_pic.opts): New target.
49438 ($(common-objpfx)libc_pic.os.clean): New target.
49439 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49440
49441 * config.make.in (OBJCOPY): New variable.
49442 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49443 * configure: Regenerated.
49444
f781ef40
RM
49445 * config.make.in (use-default-link): New variable.
49446 * configure.in (use_default_link): Grok --with-default-link to set it.
49447 * configure: Regenerated.
49448 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49449 (shlib-lds, shlib-lds-flags): Define to empty.
49450
2d4fa81e
RM
49451 * Makerules (shlib-lds): New variable.
49452 (shlib-lds-flags): New variable.
49453 (build-shlib, build-moduile, build-module-asneeded): Use it.
49454 ($(common-objpfx)libc.so): Use $(shlib-lds).
49455 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49456 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49457
31fffa6b
RM
49458 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49459 DT_FLAGS/DT_FLAGS_1 with zero flags.
49460
4e34ac6a
RM
49461 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49462 linker script munging.
49463
fcfc776b
UD
494642011-07-02 Ulrich Drepper <drepper@gmail.com>
49465
49466 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49467 as 128-bit value.
49468 * crypt/sha512.c (sha512_process_block): Perform total addition using
49469 128-bit if possible.
49470 (__sha512_finish_ctx): Likewise.
49471 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49472 as 64-bit value.
49473 * crypt/sha256.c (SWAP64): Define.
49474 (sha256_process_block): Perform total addition using 64-bit if
49475 possible.
49476 (__sha256_finish_ctx): Likewise.
49477
99231d9a
UD
494782011-07-01 Ulrich Drepper <drepper@gmail.com>
49479
49480 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49482 * nscd/hstcache.c (cache_addhst): Likewise.
49483 * nscd/grpcache.c (cache_addgr): Likewise.
49484 * nscd/aicache.c (addhstaiX): Likewise
49485 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49486
445b4a53
TK
494872011-07-01 Thorsten Kukuk <kukuk@suse.de>
49488
49489 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49490 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49491 * nscd/hstcache.c (cache_addhst): Likewise.
49492 * nscd/grpcache.c (cache_addgr): Likewise.
49493 * nscd/aicache.c (addhstaiX): Likewise
49494
6d4d8e8e
AS
494952011-07-01 Andreas Schwab <schwab@redhat.com>
49496
49497 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49498 domain only when needed.
49499
89f654c5
AS
495002011-06-30 Andreas Schwab <schwab@redhat.com>
49501
49502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49503 is always restored.
49504
cf3b23ff
UD
495052011-06-29 Ulrich Drepper <drepper@gmail.com>
49506
49507 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49508 are re-adding the entry.
49509 * nscd/servicescache.c (cache_addserv): Likewise.
49510
751626f9
AJ
495112011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49512
49513 * sysdeps/generic/dl-irel.h: fix protection against multiple
49514 inclusions.
49515 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49516
9113ea1f
UD
495172011-06-28 Ulrich Drepper <drepper@gmail.com>
49518
5c0b8d90
UD
49519 [BZ #12935]
49520 * malloc/memusage.sh: Fix quoting in message.
49521 * debug/xtrace.sh: Likewise.
49522
9113ea1f
UD
49523 * configure.in: Remove support for --experimental-malloc option, make
49524 it the default.
49525 * config.make.in: Likewise.
49526 * malloc/Makefile: Likewise.
49527
a4172181
AS
495282011-06-27 Andreas Schwab <schwab@redhat.com>
49529
49530 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49531 two-byte characters.
49532
78a7eee7
RM
495332011-06-27 Roland McGrath <roland@hack.frob.com>
49534
62bede13
RM
49535 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49536 AC_CACHE_CHECK invocation.
49537 * configure: Regenerated.
49538
78a7eee7
RM
49539 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49540
5ce33a62
UD
495412011-06-27 Ulrich Drepper <drepper@gmail.com>
49542
034807a9
UD
49543 [BZ #12350]
49544 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49545 bit from old_res_options.
49546
4902da17
UD
49547 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49548
5ce33a62
UD
49549 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49550 value type for setfct.
49551
c2344f56
L
495522011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49553
49554 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49555 __gettimeofday instead of gettimeofday.
49556
68468076
UD
495572011-06-26 Ulrich Drepper <drepper@gmail.com>
49558
49559 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49560
acb0d739
L
495612011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49562
49563 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49564
49565 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49566 info.
49567
8912479f
L
495682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49569
49570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49571 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49572 strcpy-sse2-unaligned strncpy-sse2-unaligned
49573 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49574 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49575 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49576 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49577 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49578 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49580 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49581 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49582 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49583 (STRCPY): Support SSE2 and SSSE3 versions.
49584
d5495a11
UD
495852011-06-24 Ulrich Drepper <drepper@gmail.com>
49586
49587 [BZ #12874]
49588 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49589 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49590 kernels which artificially limit size of requests.
49591
0b1cbaae
L
495922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49593
49594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49595 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49596 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49597 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49598 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49599 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49600 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49601 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49603 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49604 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49605 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49606 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49607 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49608 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49609 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49610 Enable unaligned load optimization for Intel Core i3, i5 and i7
49611 processors.
49612 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49613 Define.
49614 (index_Fast_Unaligned_Load): Define.
49615 (HAS_FAST_UNALIGNED_LOAD): Define.
49616
07f494a0
MP
496172011-06-23 Marek Polacek <mpolacek@redhat.com>
49618
49619 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49620
fa3fc0fe
UD
496212011-06-22 Ulrich Drepper <drepper@gmail.com>
49622
49623 [BZ #12907]
49624 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49625 until it is clear that the information is realy needed.
49626 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49627
e12df166
AS
496282011-06-22 Andreas Schwab <schwab@redhat.com>
49629
49630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49631
852eb34d
UD
496322011-06-22 Ulrich Drepper <drepper@gmail.com>
49633
84e2a551
UD
49634 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49635 /sys/devices/system/cpu/online if it is usable.
49636
852eb34d
UD
49637 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49638 reading the information from the /proc filesystem to once a second.
49639
6e502e19
UD
496402011-06-21 Andreas Jaeger <aj@suse.de>
49641
49642 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49643 NULL after inclusion of kernel headers.
49644
75d39ff2
UD
496452011-06-21 Ulrich Drepper <drepper@gmail.com>
49646
51f9aa6a
UD
49647 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49648 calls to internal_setent.
49649
c0244a9d
UD
49650 [BZ #12885]
49651 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49652 addresses using gethostbyname4_r ignore IPv4 addresses.
49653
c5e3c2ae
UD
49654 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49655 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49656
75d39ff2
UD
49657 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49658
42675c6f
DM
496592011-06-20 David S. Miller <davem@davemloft.net>
49660
49661 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49662 inclusions.
49663 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49664
49665 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49666 (elf_irel): Use it.
49667 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49668 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49669 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49670 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49671 * sysdeps/x86_64/dl-irel.h: Likewise.
49672
49673 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49674 * elf/dl-sym.c: Likewise.
49675
57912a71
UD
496762011-06-15 Ulrich Drepper <drepper@gmail.com>
49677
49678 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49679 need to dereference resplen2.
49680
ee22793d
AS
496812011-06-14 Andreas Schwab <schwab@redhat.com>
49682
49683 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49684
a9e836b0
UD
496852011-06-15 Ulrich Drepper <drepper@gmail.com>
49686
77fb9117
UD
49687 * Makeconfig: Define vardbdir and inst_vardbdir.
49688 * nss/Makefile: Add rules to install db-Makefile.
49689
40c1b22c
UD
49690 * nss/nss_db/db-XXX.c: Cleanup.
49691
9f2da732
UD
49692 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49693 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49694 GLIBC_PRIVATE.
49695 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49696 * nss/makedb.c: Implement -g option to specify that value strings
49697 are generated and should not be added to table iterated over for
49698 get*ent calls.
49699 * nss/nss_db/db-initgroups.c: New file.
49700
82e9a1f7
UD
49701 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49702 interface.
49703
c41af17e
UD
49704 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49705 (internal_getgrouplist): Adjust to name change.
49706 Update use_initgroups_entry if this is not the first call.
49707 * nss/databases.def: Add initgroups entry.
49708
a9e836b0
UD
49709 * nss/makedb.c (compute_tables): Check result of multiple hash table
49710 sizes to minimize maximum chain length.
49711
2666d441
UD
497122011-06-14 Ulrich Drepper <drepper@gmail.com>
49713
49714 * Versions.def: Add entry for libnss_db.
49715 * shlib-versions: Likewise.
49716 * nss/Makefile: Add rules to build libnss_db.
49717 * nss/Versions: Add libnss_db information. Organize libnss_files
49718 entries better.
49719 * nss/db-Makefile: Add gshadow support. Change rules for the new
49720 makedb progra. Some minor improvements to generate smaller files.
49721 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49722 here from...
49723 * nss/makedb.c: ...here.
49724 Improve database format to be smaller and require less memory at
49725 runtime.
49726 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49727 db anymore.
49728 * nss/nss_db/db-netgrp.c: Likewise.
49729 * nss/nss_db/db-open.c: Likewise.
49730 * nss/nss_files/flies-XXX.x: Adjust comments.
49731 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49732 * nss/nss_files/files-grp.c: Likewise.
49733 * nss/nss_files/files-hosts.c: Likewise.
49734 * nss/nss_files/files-network.c: Likewise.
49735 * nss/nss_files/files-proto.c: Likewise.
49736 * nss/nss_files/files-pwd.c: Likewise.
49737 * nss/nss_files/files-rpc.c: Likewise.
49738 * nss/nss_files/files-service.c: Likewise.
49739 * nss/nss_files/files-sgrp.c: Likewise.
49740 * nss/nss_files/files-spwd.c: Likewise.
49741 * nss/nss_db/db-alias.c: Removed.
49742 * nss/nss_db/dummy-db.h: Removed.
49743
9ee76b5a
UD
497442011-06-02 Ulrich Drepper <drepper@gmail.com>
49745
49746 * nss/makedb.c: Rewritten to not use database library.
49747 * nss/Makefile: Update to build new makedb program.
49748
c71ca1f8
AJ
497492011-06-14 Andreas Jaeger <aj@suse.de>
49750
49751 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49752 memset declaration.
49753
3154bfb8
UD
497542011-06-10 Andreas Schwab <schwab@redhat.com>
49755
49756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49757 tmpbuf.
49758
b350afab
RM
497592011-06-10 Roland McGrath <roland@hack.frob.com>
49760
decd4e50
RM
49761 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49762 * elf/Makefile ($(objpfx)ld.so): Likewise.
49763
5615eaf2
RM
49764 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49765 Don't list ld.so twice in dependencies.
49766
49767 * posix/bug-regex31.c: Include <stdlib.h>.
49768
49769 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49770
49771 * nis/nss_compat/compat-spwd.c
49772 (getspent_next_nss_netgr): Remove unused variable.
49773 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49774
49775 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49776 nonmembers" output to use the right array.
49777
49778 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49779
49780 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49781
49782 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49783 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49784 * catgets/gencat.c (read_input_file): Likewise.
49785 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49786
49787 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49788 variable definition inside #if's controlling its use.
49789
49790 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49791
49792 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49793
49794 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49795
49796 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49797 unreachable code.
49798
49799 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49800
b68e08db
RM
49801 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49802 * configure: Regenerated.
49803
b350afab
RM
49804 * Makerules: Revert last change.
49805 * elf/Makefile: Likewise.
49806
28368601
RM
498072011-06-09 Roland McGrath <roland@hack.frob.com>
49808
49809 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49810 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49811 (reloc-link): Likewise.
49812
11988f8f
UD
498132011-06-09 Ulrich Drepper <drepper@gmail.com>
49814
49815 * elf/Makefile: Add rules to build pldd.
49816 * elf/pldd.c: New file.
49817 * elf/pldd-xx.c: New file.
49818
e80fab37
UD
498192011-06-07 Ulrich Drepper <drepper@gmail.com>
49820
49821 * version.h: Update for 2.15 development version.
49822
9b849836
DM
498232011-06-07 David S. Miller <davem@davemloft.net>
49824
49825 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49826 ifuncs.
49827 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49828 elf_machine_lazy_rel): Likewise.
49829 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49831 elf_machine_lazy_rel): Likewise.
49832 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49833 dl_hwcap via passed in argument.
49834 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49835 Likewise.
49836
5a31b283
AK
498372011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49838
49839 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49840
069e52f8
RM
498412011-06-06 Roland McGrath <roland@hack.frob.com>
49842
49843 [BZ #12849]
49844 * manual/fdl-1.1.texi: New file, verbatim from:
49845 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49846 * manual/lgpl-2.1.texi: New file, verbatim from:
49847 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49848 * manual/Makefile (licenses): New variable, list those new file names.
49849 (texis): Use it.
49850 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49851
49852 * manual/fdl.texi: File removed.
49853 * manual/lesser.texi: File removed.
49854 * manual/libc.texinfo (Copying, Documentation License):
49855 Use new @include file names, put @appendix directive before @include.
49856
f16846a5
JJ
498572011-06-04 Jakub Jelinek <jakub@redhat.com>
49858
49859 [BZ #12841]
49860 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49861 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49862 (mq_open): Add __NTH.
49863
3d29045b
L
498642011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49865
49866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49867 Assume Intel Core i3/i5/i7 processor if AVX is available.
49868
8c297311
UD
498692011-05-31 Ulrich Drepper <drepper@gmail.com>
49870
49871 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49872 typo.
49873
c8fc0c91
UD
498742011-05-31 Andreas Schwab <schwab@redhat.com>
49875
49876 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49877 memory. Use alloca_account. Fix memory leak when retrying.
49878
5b27a807
UD
498792011-05-31 Ulrich Drepper <drepper@gmail.com>
49880
356f8bc6
UD
49881 * version.h (RELEASE): Bump for 2.14 release.
49882 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49883
5b27a807
UD
49884 * config.make.in (RANLIB): Remove entry.
49885
01f16ab0
UD
498862011-05-30 Ulrich Drepper <drepper@gmail.com>
49887
41fce8bd
UD
49888 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49889 (libc.pot): Work around missing support for .ksh extension in xgettext.
49890
4769ae77
UD
49891 [BZ #12684]
49892 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49893 if both request failed.
49894 (send_dg): In case of server errors clear resplen or *resplen2.
49895
6b1e7d19
UD
49896 [BZ #12454]
49897 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49898 when there are multiple maps.
49899 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49900 (_dl_fini): Remove test here.
49901
01f16ab0
UD
49902 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49903
b1ebd700
UD
499042011-05-29 Ulrich Drepper <drepper@gmail.com>
49905
7ae22829
UD
49906 [BZ #12350]
49907 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49908 bit from old_res_options.
49909 (gaih_inet): Likewise.
49910
553149f6 49911 [BZ #11099]
18a84741 49912 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49913 as signed.
49914
652ffab1
UD
49915 * resolv/res_init.c (res_setoptions): Make the code more compact.
49916
16985fd0
UD
49917 [BZ #11558]
49918 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49919 set RES_USEVC.
49920
0464f746
UD
49921 [BZ #11634]
49922 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49923
7d17596c
UD
49924 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49925
cf6bbbd7
UD
49926 [BZ #11781]
49927 * malloc/malloc.h: Declare malloc hook variables as volatile.
49928
13f1ab36
UD
49929 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49930 in last patch.
49931
b1ebd700
UD
49932 [BZ #11799]
49933 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49934 raise in the comment.
80e2212d
UD
49935 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49936 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49937 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49938
ce67228d
UD
499392011-05-28 Ulrich Drepper <drepper@gmail.com>
49940
8887a920
UD
49941 [BZ #12811]
49942 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49943 grow the buffers more if it already has to be sufficient.
49944 (build_wcs_upper_buffer): Likewise.
49945 * posix/regexec.c (check_matching): Likewise.
49946 (clean_state_log_if_needed): Likewise.
49947 (extend_buffers): Don't enlarge buffers beyond size of the input
49948 buffer.
49949 Patches mostly by Emil Wojak <emil@wojak.eu>.
49950 * posix/bug-regex32.c: New file.
49951 * posix/Makefile (tests): Add bug-regex32.
49952
4f031072
UD
49953 * locale/findlocale.c (_nl_find_locale): Return right away if
49954 _nl_explode_name failed.
49955 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49956
d0478f0c
UD
49957 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49958
de81b246
UD
49959 * debug/xtrace.sh: Unify messages.
49960 * malloc/memusage.sh: Likewise.
49961
c738465a
UD
49962 [BZ #12813]
49963 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49964 time symbol from vDSO. Substitute with vsyscall if not available.
49965 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49966 __vdso_time.
49967
f1f929d7
UD
49968 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49969 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49970 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49971 Add sendmmsg and internal_sendmmsg.
49972 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49973 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49974 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49975
ce67228d
UD
49976 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49977 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49978 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49979
e57420c6
UD
499802011-05-27 Ulrich Drepper <drepper@gmail.com>
49981
a8509ca5
UD
49982 [BZ #12813]
49983 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49984 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49985 available.
49986 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49987 __vdso_getcpu.
49988
e57420c6
UD
49989 [BZ #12814]
49990 * iconvdata/Makefile (tests): Add bug-iconv9.
49991 * iconvdata/bug-iconv9.c: New file.
49992
4d07db15
AS
499932011-05-27 Andreas Schwab <schwab@redhat.com>
49994
49995 [BZ #12814]
49996 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49997
ea486f69
JJ
499982011-05-25 Jakub Jelinek <jakub@redhat.com>
49999
50000 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50001 (struct user_regs_struct): Change intcs field back to cs.
50002
6f038433
UD
500032011-05-25 Ulrich Drepper <drepper@gmail.com>
50004
50005 * po/ja.po: Update from translation team.
50006
67f86a25
UD
500072011-05-23 Ulrich Drepper <drepper@gmail.com>
50008
50009 [BZ #12795]
50010 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50011 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50012
def7fbd6
AS
500132011-05-20 Andreas Schwab <schwab@redhat.com>
50014
50015 * stdlib/longlong.h: Update from GCC.
50016
f50ef8f1
AS
500172011-05-23 Andreas Schwab <schwab@redhat.com>
50018
50019 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50020 parameter name.
50021 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50022 Add parameter name.
50023 (__sysconf): Pass it down.
50024
de7ce8f1
UD
500252011-05-22 Ulrich Drepper <drepper@gmail.com>
50026
f2962a71
UD
50027 [BZ #12671]
50028 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50029 some situations.
50030 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50031 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50032 add in in __libc_use_alloca calls. Adjust callers.
50033 (glob): Use malloc in some situations.
50034
de7ce8f1
UD
50035 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50036 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50037 pltexit.
50038
aec84f53
UD
500392011-05-21 Ulrich Drepper <drepper@gmail.com>
50040
05bb4a68
UD
50041 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50042 and CLOCK_BOOTTIME_ALARM.
50043
7ea72f99
UD
50044 [BZ #12782]
50045 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50046 is returned.
50047
7e4afad5
UD
50048 * string/_strerror.c (__strerror_r): Print negative errors as signed
50049 numbers.
50050
8e211fec
UD
50051 [BZ #12777]
50052 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50053 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50054 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50055
f7d82dc9
UD
50056 * configure.in: Fix typo in redirection and correct removal of test
50057 files in two cases.
50058
cc9e536d
UD
50059 [BZ #12788]
50060 * locale/setlocale.c (new_composite_name): Fix test to check for
50061 identical name of all categories.
50062
aec84f53
UD
50063 [BZ #12792]
50064 * libio/filedoalloc.c (local_isatty): New function.
50065 (_IO_file_doallocate): Use local_isatty.
50066 * stdio-common/perror.c (perror): In case a new stream is used
50067 forward the stream error.
50068 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50069 error flag.
50070
78e64fdc
RT
500712011-05-20 Ulrich Drepper <drepper@gmail.com>
50072
34a9094f
UD
50073 [BZ #11869]
50074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50075 alloca.
50076 * include/alloca.h (extend_alloca_account): Define.
50077
78e64fdc
RT
50078 [BZ #11857]
50079 * posix/regex.h: Fix comments with documentation of user-accessible
50080 fields after compilation and describe correct free'ing of pattern
50081 after re_compile_pattern.
50082 Patch by Reuben Thomas <rrt@sc3d.org>.
50083
457bddfc
RA
500842011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50085
50086 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50087 and -mno-altivec to prevent the compiler from using Altivec and/or
50088 VSX instructions when the corresponding registers are not available.
50089
a4527b51
AS
500902011-05-19 Andreas Schwab <schwab@redhat.com>
50091
50092 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50093
ed690b2f
UD
500942011-05-19 Ulrich Drepper <drepper@gmail.com>
50095
50096 * libio/freopen.c (freopen): Use __dup2, not dup2.
50097 * libio/freopen64.c (freopen64): Likewise.
50098
8db73634
L
500992011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50100
50101 [BZ #12775]
50102 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50103 * math/Makefile (tests): Add test-powl.
50104 (CFLAGS-test-powl.c): Define.
50105 * math/test-powl.c: New file.
50106
0a197a9d
L
501072011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50108
50109 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50110
ee30c380
UD
501112011-05-17 Ulrich Drepper <drepper@gmail.com>
50112
50113 [BZ #11837]
50114 * iconvdata/gb18030.c: Update to GB18020-2005.
50115
6ce75379
UD
501162011-05-16 Ulrich Drepper <drepper@gmail.com>
50117
a4b89fd8
AR
50118 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50119 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50120 Patch by Aharon Robbins <arnold@skeeve.com>.
50121
ea389b12
UD
50122 [BZ #11892]
50123 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50124 on the stack.
50125
68a3f91f
UD
50126 [BZ #11895]
50127 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50128 through underflows.
50129
15cc7dd1
UD
50130 [BZ #12766]
50131 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50132 point to strings before performing equality test for error_one_per_line
50133 mode.
50134
f3799213
UD
50135 [BZ #11697]
50136 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50137
d79a9c94
UD
50138 [BZ #11820]
50139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50140 (struct user_fpregs_struct): Avoid __uint*_t types.
50141
56e5eb46
UD
50142 [BZ #6420]
50143 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50144 symbol info. Use it instead of calling _dl_addr locally.
50145 (lock_and_info): New function.
50146 (tr_freehook): Call lock_and_info and pass symbol info as additional
50147 parameter to tr_where.
50148 (tr_mallochook): Likewise.
50149 (tr_reallochook): Likewise.
50150 (tr_memalignhook): Likewise.
50151
6ce75379
UD
50152 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50153 used and couldn't be at all thread-safe.
50154
f8a3b5bf
UD
501552011-05-15 Ulrich Drepper <drepper@gmail.com>
50156
94b7cc37
UD
50157 * libio/freopen.c (freopen): Don't close old file descriptor
50158 before the new one is opened. Instead dup the new file descriptor
50159 to the old one after the new stream is created.
50160 * libio/freopen64.c (freopen64): Likewise.
50161 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50162 * libio/fileops.c (_IO_new_file_close_it): Handle new
50163 _IO_FLAGS2_NOCLOSE flag.
50164 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50165 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50166 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50167 _IO_FLAGS2_NOCLOSE flag.
50168 * include/unistd.h: Add hidden_proto for dup3.
50169 Define __have_dup3.
50170 * io/dup3.c: Define hidden symbol.
50171 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50172
bd25564e
UD
50173 [BZ #7101]
50174 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50175 when an incomplete long option is used.
50176 * posix/tst-getopt_long1.c: New file.
50177 * posix/Makefile (tests): Add tst-getopt_long1.
50178
c84cfef4
UD
50179 [BZ #10138]
50180 * scripts/config.guess: Update from autoconf-2.68.
50181 * scripts/config.sub: Likewise.
50182
3b85df27
UD
50183 [BZ #10157]
50184 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50185 tests into ...
50186 (has_cpuclock): ...this. New function.
50187 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50188 macro here based on has_cpuclock code.
50189
15a856b1
UD
50190 [BZ #10149]
50191 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50192 First byte (not low byte) is now always NUL.
50193 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50194
05f399e6
UD
50195 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50196 Use non-cancelable interfaces.
50197
10a52685 50198 [BZ #9809]
94ecc67d
UD
50199 * locale/iso-639.def: Add entry for Sorani.
50200
f8a3b5bf
UD
50201 [BZ #11901]
50202 * include/stdlib.h: Move include protection to the right place.
50203 Define abort_msg_s. Declare __abort_msg with it.
50204 * stdlib/abort.c (__abort_msg): Adjust type.
50205 * assert/assert.c (__assert_fail_base): New function. Majority
50206 of code from __assert_fail. Allocate memory for __abort_msg with
50207 mmap.
50208 (__assert_fail): Now call __assert_fail_base.
50209 * assert/assert-perr.c: Remove bulk of implementation. Use
50210 __assert_fail_base.
50211 * include/assert.hL Declare __assert_fail_base.
50212 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50213 mmap.
50214 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50215
1af4e298
UD
502162011-05-14 Ulrich Drepper <drepper@gmail.com>
50217
f8a3b5bf 50218 [BZ #11952]
d26dfc60
MG
50219 [BZ #12453]
50220 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50221 until all modules are registered in the DTV.
50222 * elf/Makefile: Add rules to build and run tst-tls19.
50223 * elf/tst-tls19.c: New file.
50224 * elf/tst-tls19mod1.c: New file.
50225 * elf/tst-tls19mod2.c: New file.
50226 * elf/tst-tls19mod3.c: New file.
50227 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50228
2fc54d6f
UD
50229 [BZ #12083]
50230 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50231 correctly.
50232
98d76b46
UD
50233 [BZ #12601]
50234 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50235 two-byte sequence errors.
50236 * iconvdata/Makefile (tests): Add bug-iconv8.
50237 * iconvdata/bug-iconv8.c: New file.
50238
da3c19ef
UD
50239 [BZ #12626]
50240 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50241 buf2 definition.
50242
ca408c15
UD
50243 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50244
d6f67f7d
UD
50245 [BZ #12432]
50246 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50247 (dummy_getcfa): New function.
50248 (init): Get _Unwind_GetCFA address, use dummy if not found.
50249 (backtrace_helper): In recursion check, also check whether CFA changes.
50250 (__backtrace): Completely initialize arg.
50251
1af4e298 50252 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50253 storing incomplete byte sequence in state object. Avoid testing for
50254 guaranteed too small input if we know there is enough data available.
1af4e298 50255
da62f81b
AS
502562011-05-11 Andreas Schwab <schwab@redhat.com>
50257
50258 * Makeconfig (+link-pie): Indent.
50259 * Rules (binaries-pie): Define if $(have-fpie) and
50260 $(build-shared).
50261 (binaries-shared): Also filter out $(binaries-pie).
50262 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50263 * nscd/Makefile (others-pie): Add nscd.
50264 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50265 ($(objpfx)nscd): Remove command override.
50266 * login/Makefile (others-pie): Add pt_chown.
50267 ($(objpfx)pt_chown): Remove command override.
50268 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50269 remove command overrides.
50270
fcabc0f8
UD
502712011-05-13 Ulrich Drepper <drepper@gmail.com>
50272
20030ae6
UD
50273 * libio/tst_putwc.c: Fix error messages.
50274
fcabc0f8
UD
50275 [BZ #12724]
50276 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50277 currently writing and seek to current position when not.
50278 * libio/Makefile (tests): Add bug-fclose1.
50279 * libio/bug-fclose1.c: New file.
50280
320a5dc0
PB
502812011-05-12 Ulrich Drepper <drepper@gmail.com>
50282
50283 [BZ #12511]
50284 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50285 don't set DF_1_NODELETE here.
50286 (do_lookup_x): When entering new entry test for copy relocation
50287 and if necessary set DF_1_NODELETE flag.
50288 * elf/tst-unique4.cc: New file.
50289 * elf/tst-unique4.h: New file.
50290 * elf/tst-unique4lib.cc: New file.
50291 * elf/Makefile: Add rules to build and run tst-unique4.
50292 Patch by Piotr Bury <pbury@goahead.com>.
50293
22836f52
UD
502942011-05-11 Ulrich Drepper <drepper@gmail.com>
50295
f574184a
UD
50296 [BZ #12052]
50297 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50298
e1fb097f
UD
50299 [BZ #12625]
50300 * misc/mntent_r.c (addmntent): Flush the stream after the output
50301
22836f52
UD
50302 [BZ #12393]
50303 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50304 (is_trusted_path_normalize): Skip initial colon. Append slash
50305 to empty buffer. Duplicate is_trusted_path code but allow
50306 constructed patch to be prefix.
50307 (is_dst): Allow $ORIGIN followed by /.
50308 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50309 Correct testing of result of is_trusted_path_normalize
50310 (decompose_rpath): Fix warning.
50311
7b3b0b2a
UD
503122011-05-10 Ulrich Drepper <drepper@gmail.com>
50313
50314 [BZ #11257]
50315 * grp/initgroups.c (internal_getgrouplist): When we found the service
50316 list through the initgroups entry in nsswitch.conf do not always
50317 continue on a successful lookup. Don't always use the
eac80ce2 50318 __nss_group_database value if it is set.
7b3b0b2a
UD
50319 * nss/nsswitch.conf (initgroups): Change action for successful db
50320 lookup to continue for compatibility.
50321
2a81eaa5
UD
503222011-05-09 Ulrich Drepper <drepper@gmail.com>
50323
be97a69e
UD
50324 [BZ #11532]
50325 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50326 and CP774 modules.
50327 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50328 and CP774 modules.
50329 * iconvdata/tst-tables.sh: Likewise.
50330 * iconvdata/cp770.c: New file.
50331 * iconvdata/cp771.c: New file.
50332 * iconvdata/cp772.c: New file.
50333 * iconvdata/cp773.c: New file.
50334 * iconvdata/cp774.c: New file.
50335 * iconvdata/testdata/CP770: New file.
50336 * iconvdata/testdata/CP770..UTF8: New file.
50337 * iconvdata/testdata/CP771: New file.
50338 * iconvdata/testdata/CP771..UTF8: New file.
50339 * iconvdata/testdata/CP772: New file.
50340 * iconvdata/testdata/CP772..UTF8: New file.
50341 * iconvdata/testdata/CP773: New file.
50342 * iconvdata/testdata/CP773..UTF8: New file.
50343 * iconvdata/testdata/CP774: New file.
50344 * iconvdata/testdata/CP774..UTF8: New file.
50345
50346 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50347 END CHARMAP line.
50348 * iconvdata/gen-8bit-gap.sh: Likewise.
50349 * iconvdata/gen-8bit.sh: Likewise.
50350
c1e9e399
UD
50351 * locale/iso-639.def: Add ary entry.
50352
24c55fb3 50353 [BZ #11258]
96b4b1b0
UD
50354 * locale/C-translit.h.in: Add U20A1 transliteration.
50355
bdc2f971
KB
50356 [BZ #12178]
50357 * locale/iso-639.def: Add wae entry.
50358 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50359
2952b117
UD
50360 [BZ #12545]
50361 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50362 for n.
50363
2a81eaa5
UD
50364 [BZ #12711]
50365 * locale/C-translit.h.in: Add entry for U20B9.
50366 Patch by pravin.d.s@gmail.com.
50367
28377d1b
UD
503682011-05-08 Ulrich Drepper <drepper@gmail.com>
50369
7fb90fb8
UD
50370 [BZ #12713]
50371 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50372 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50373 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50374 in rtld. Use *stat64.
7fb90fb8 50375 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50376 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50377 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50378 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50379 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50380 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50381 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50382 __fstatat64 macros.
7fb90fb8
UD
50383 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50384 * dirent/rewinddir.c: Add libc_hidden_def.
50385 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50386 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50387
28377d1b
UD
50388 * include/dirent.h (__alloc_dir): Add flags parameter.
50389 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50390 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50391 __alloc_dir.
50392 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50393 from fdopendir if O_CLOEXEC is already set.
50394
66bdbaa4
AM
503952011-03-15 Alan Modra <amodra@gmail.com>
50396
50397 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50398 l_tls_firstbyte_offset non-zero. Save padding offset in
50399 l_tls_firstbyte_offset for later use.
50400 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50401 freeing static tls block.
50402
95721191
JN
504032011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50404
50405 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50406 where #ifdef was intended. The intent is to prevent ARG_MAX from
50407 being defined by the kernel headers.
50408
f87dfb1f
UD
504092011-05-07 Ulrich Drepper <drepper@gmail.com>
50410
50411 [BZ #12734]
50412 * resolv/resolv.h: Define RES_NOTLDQUERY.
50413 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50414 no-tld-query and set RES_NOTLDQUERY.
50415 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50416 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50417 modern BIND to search name as TLD unless forbidden.
50418
47c3cd7a
UD
504192011-05-07 Petr Baudis <pasky@suse.cz>
50420 Ulrich Drepper <drepper@gmail.com>
50421
50422 [BZ #12393]
50423 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50424 (is_trusted_path): ...to here.
c1e9ea35 50425 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50426 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50427 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50428
8a35c912
PP
504292011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50430
50431 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50432 __BEGIN/__END_DECLS.
50433
acd41f47
UD
504342011-05-06 Ulrich Drepper <drepper@gmail.com>
50435
50436 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50437 NSS_STATUS_NOTFOUND if no record was found.
50438
597df647
AS
504392011-05-05 Andreas Schwab <schwab@redhat.com>
50440
50441 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50442 (headers-not-in-tirpc): Remove rpc/netdb.h
50443 * resolv/netdb.h: Revert last change.
50444
b9af1301
PP
504452011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50446
50447 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50448 circular dependency between libgcc.a and libc.a.
50449
4e34d5f5
AS
504502011-05-05 Andreas Schwab <schwab@redhat.com>
50451
50452 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50453 * nis/Makefile: Don't install rpcsvc/*.
50454 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50455 instead of <rpc/types.h>.
50456 (MAXHOSTNAMELEN): Define.
50457
00ee369c
AS
504582011-05-03 Andreas Schwab <schwab@redhat.com>
50459
50460 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50461
0b592a30
MB
504622011-04-28 Maciej Babinski <mbabinski@google.com>
50463
50464 [BZ #12714]
50465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50466 gethostbyname4_r when IPv6 results are possible.
50467
6e04cbbe
UD
504682011-05-02 Ulrich Drepper <drepper@gmail.com>
50469
50470 [BZ #12723]
50471 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50472 _PC_PIPE_BUF handling.
50473
e4ecafe0
BH
504742011-04-30 Bruno Haible <bruno@clisp.org>
50475
50476 [BZ #12717]
50477 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50478 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50479 to 'int'.
50480 * inet/getnameinfo.c (getnameinfo): Likewise.
50481
125ee683
UD
504822011-04-29 Ulrich Drepper <drepper@gmail.com>
50483
50484 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50485 to groups setting in database lookup.
50486 * nss/nsswitch.conf: Add initgroups entry.
50487
b722481a
EB
504882011-04-22 Ulrich Drepper <drepper@gmail.com>
50489
50490 [BZ #12685]
50491 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50492 mode string.
50493 Patch by Eric Blake <eblake@redhat.com>.
50494
4df46dbd
L
504952011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50496
50497 * sunrpc/Makefile (need-export-routines): Add svc_run.
50498 (routines): Remove svc_run.
50499 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50500 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50501 * sunrpc/svc_run.c (svc_run): Likewise.
50502 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50503
e84142d2
UD
505042011-04-21 Ulrich Drepper <drepper@gmail.com>
50505
50506 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50507 problem in reallocation in last patch.
50508
877175d8
UD
505092011-04-20 Ulrich Drepper <drepper@gmail.com>
50510
50511 * sunrpc/Makefile: Move inclusion of Rules.
50512
ab8eed78
UD
505132011-04-19 Ulrich Drepper <drepper@gmail.com>
50514
50515 * nss/nss_files/files-initgroups.c: New file.
50516 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50517 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50518 _nss_files_initgroups_dyn.
50519
e3d8f584
RS
505202011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50521
50522 * elf/elf.h (R_ARM_IRELATIVE): Define.
50523
af190f45
UD
505242011-04-19 Ulrich Drepper <drepper@gmail.com>
50525
50526 * po/ru.po: Update from translation team.
50527
53cf59ef
UD
505282011-04-17 Ulrich Drepper <drepper@gmail.com>
50529
50530 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50531 dependencies.
50532
4c559bcd
MF
505332011-02-06 Mike Frysinger <vapier@gentoo.org>
50534
50535 [BZ #12653]
50536 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50537 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50538 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50539 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50541
4420675c
AS
505422011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50543
50544 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50545 differing bytes.
50546 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50547 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50549
75ea32ab
UD
505502011-04-17 Ulrich Drepper <drepper@gmail.com>
50551
50552 [BZ #12420]
50553 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50554 storing it.
50555 * stdlib/bug-getcontext.c: New file.
50556 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50557
27390476
AK
505582011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50559
50560 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50561 instructions into .machine "z9-109".
50562 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50563 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50564
10442705
AK
505652011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50566
50567 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50568 between environment variables and auxiliary vector.
50569
7b57bfe5
UD
505702011-04-16 Ulrich Drepper <drepper@gmail.com>
50571
50572 * Makefile: Add rules to build linkobj/libc.so.
50573 * include/libc-symbols.h: Define libc_hidden_nolink.
50574 * include/rpc/auth.h: Mark functions which are to be hidden.
50575 * include/rpc/auth_des.h: Likewise.
50576 * include/rpc/auth_unix.h: Likewise.
50577 * include/rpc/clnt.h: Likewise.
50578 * include/rpc/des_crypt.h: Likewise.
50579 * include/rpc/key_prot.h: Likewise.
50580 * include/rpc/pmap_clnt.h: Likewise.
50581 * include/rpc/pmap_prot.h: Likewise.
50582 * include/rpc/pmap_rmt.h: Likewise.
50583 * include/rpc/rpc_msg.h: Likewise.
50584 * include/rpc/svc.h: Likewise.
50585 * include/rpc/svc_auth.h: Likewise.
50586 * include/rpc/xdr.h: Likewise.
50587 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50588 * nss/Makefile: Likewise.
50589 * sunrpc/Makefile: Don't install headers. Build library with normal
50590 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50591 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50592 for the compat linking library. Remove use of INTDEF/INTUSE.
50593 * sunrpc/auth_none.c: Likewise.
50594 * sunrpc/auth_unix.c: Likewise.
50595 * sunrpc/authdes_prot.c: Likewise.
50596 * sunrpc/authuxprot.c: Likewise.
50597 * sunrpc/clnt_gen.c: Likewise.
50598 * sunrpc/clnt_perr.c: Likewise.
50599 * sunrpc/clnt_raw.c: Likewise.
50600 * sunrpc/clnt_simp.c: Likewise.
50601 * sunrpc/clnt_tcp.c: Likewise.
50602 * sunrpc/clnt_udp.c: Likewise.
50603 * sunrpc/clnt_unix.c: Likewise.
50604 * sunrpc/des_crypt.c: Likewise.
50605 * sunrpc/des_soft.c: Likewise.
50606 * sunrpc/get_myaddr.c: Likewise.
50607 * sunrpc/key_call.c: Likewise.
50608 * sunrpc/key_prot.c: Likewise.
50609 * sunrpc/netname.c: Likewise.
50610 * sunrpc/pm_getmaps.c: Likewise.
50611 * sunrpc/pm_getport.c: Likewise.
50612 * sunrpc/pmap_clnt.c: Likewise.
50613 * sunrpc/pmap_prot.c: Likewise.
50614 * sunrpc/pmap_prot2.c: Likewise.
50615 * sunrpc/pmap_rmt.c: Likewise.
50616 * sunrpc/publickey.c: Likewise.
50617 * sunrpc/rpc_cmsg.c: Likewise.
50618 * sunrpc/rpc_common.c: Likewise.
50619 * sunrpc/rpc_dtable.c: Likewise.
50620 * sunrpc/rpc_prot.c: Likewise.
50621 * sunrpc/rpc_thread.c: Likewise.
50622 * sunrpc/rtime.c: Likewise.
50623 * sunrpc/svc.c: Likewise.
50624 * sunrpc/svc_auth.c: Likewise.
50625 * sunrpc/svc_authux.c: Likewise.
50626 * sunrpc/svc_raw.c: Likewise.
50627 * sunrpc/svc_run.c: Likewise.
50628 * sunrpc/svc_simple.c: Likewise.
50629 * sunrpc/svc_tcp.c: Likewise.
50630 * sunrpc/svc_udp.c: Likewise.
50631 * sunrpc/svc_unix.c: Likewise.
50632 * sunrpc/svcauth_des.c: Likewise.
50633 * sunrpc/xcrypt.c: Likewise.
50634 * sunrpc/xdr.c: Likewise.
50635 * sunrpc/xdr_array.c: Likewise.
50636 * sunrpc/xdr_float.c: Likewise.
50637 * sunrpc/xdr_intXX_t.c: Likewise.
50638 * sunrpc/xdr_mem.c: Likewise.
50639 * sunrpc/xdr_rec.c: Likewise.
50640 * sunrpc/xdr_ref.c: Likewise.
50641 * sunrpc/xdr_sizeof.c: Likewise.
50642 * sunrpc/xdr_stdio.c: Likewise.
50643
e6c61494
UD
506442011-04-10 Ulrich Drepper <drepper@gmail.com>
50645
50646 [BZ #12650]
50647 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50648 * sysdeps/ia64/dl-tls.h: Likewise.
50649 * sysdeps/powerpc/dl-tls.h: Likewise.
50650 * sysdeps/s390/dl-tls.h: Likewise.
50651 * sysdeps/sh/dl-tls.h: Likewise.
50652 * sysdeps/sparc/dl-tls.h: Likewise.
50653 * sysdeps/x86_64/dl-tls.h: Likewise.
50654 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50655
34fe483e
AS
506562011-03-14 Andreas Schwab <schwab@redhat.com>
50657
50658 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50659 rpath element also skip the following colon.
50660 (expand_dynamic_string_token): Add is_path parameter and pass
50661 down to DL_DST_REQUIRED and _dl_dst_substitute.
50662 (decompose_rpath): Call expand_dynamic_string_token with
50663 non-zero is_path. Ignore empty rpaths.
50664 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50665 with zero is_path.
50666
f12a32e6
AS
506672011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50668
50669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50670 Make cancelable.
50671
38a7d692
UD
506722011-04-09 Ulrich Drepper <drepper@gmail.com>
50673
50674 [BZ #12655]
50675 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50676 Patch by Filipe David Manana <fdmanana@apache.org>.
50677
e451d22b
AS
506782011-04-07 Andreas Schwab <schwab@redhat.com>
50679
50680 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50681 Maintain aligned stack.
50682 (CHECK_RSP): Remove unused macro.
50683
dedc7c7b
UD
506842011-04-03 Ulrich Drepper <drepper@gmail.com>
50685
50686 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50687 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50688
94521213
UD
506892011-04-02 Ulrich Drepper <drepper@gmail.com>
50690
50691 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50692
8cb700c0 50693 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50694
0354e355
L
506952011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50696
50697 [BZ #12518]
50698 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50699 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50700 * sysdeps/x86_64/memmove.c: New file.
50701 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50702 (memcpy): Renamed to ...
50703 (__new_memcpy): This.
50704 (memcpy): Provide GLIBC_2_14 memcpy.
50705 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50706 (memcpy): Provide GLIBC_2_2_5 memcpy.
50707
8593482f
UD
507082011-04-01 Ulrich Drepper <drepper@gmail.com>
50709
50710 [BZ #12631]
50711 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50712
81a5726b
AS
507132011-03-30 Andreas Schwab <schwab@redhat.com>
50714
50715 * misc/syncfs.c: New file.
50716 * misc/Makefile (routines): Add syncfs.
50717 * posix/unistd.h: Declare syncfs.
50718 * sysdeps/unix/syscalls.list: Add syncfs.
50719
00e5419f
AS
507202011-04-01 Andreas Schwab <schwab@redhat.com>
50721
50722 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50723 open_by_handle_at.
50724 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50727 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50729 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50731
748876bf
UD
507322011-04-01 Ulrich Drepper <drepper@gmail.com>
50733
658e451d
UD
50734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50735 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50736 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50737 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50738 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50739 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50741
748876bf
UD
50742 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50743 sync_file_range.c with -fexceptions.
50744 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50745 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50746 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50747 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50748 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50749 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50750 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50751 sync_file_range as cancellation point
50752 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50753 now a wrapper around __call_sync_file_range with cancellation handling.
50754 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50755 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50756 function name to __call_sync_file_range.
50757 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50758 Add call_sync_file_range.
748876bf 50759
6e63d5e1
AS
507602011-04-01 Andreas Schwab <schwab@redhat.com>
50761
50762 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50763 bits/timex.h.
6e63d5e1 50764
46998f74
UD
507652011-04-01 Ulrich Drepper <drepper@gmail.com>
50766
4c1423ed
UD
50767 * iconv/iconv.h: Fix typo in comment.
50768 * io/fcntl.h: Likewise.
50769 * libio/stdio.h: Likewise.
50770 * posix/spawn.h: Likewise.
50771 * posix/unistd.h: Likewise.
50772 * stdlib/stdlib.h: Likewise.
50773 * time/time.h: Likewise.
50774 * wcsmbs/wchar.h: Likewise.
50775
158648c0
UD
50776 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50777 open_by_handle): Add.
50778 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50779 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50780 Augment a few comments.
50781 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50782 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50783 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50784 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50786 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50787 open_by_handle.
50788
46998f74
UD
50789 * io/fcntl.h (AT_EMPTY_PATH): Define.
50790
83fe108b
UD
507912011-03-30 Ulrich Drepper <drepper@gmail.com>
50792
50793 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50794 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50795 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50796 to...
50797 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50798 * Versions.def: Add GLIBC_2.14.
50799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50800 Export.
83fe108b 50801
bb242059
UD
508022011-03-22 Ulrich Drepper <drepper@gmail.com>
50803
50804 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50805 round counter.
50806 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50807
c97a1282
L
508082011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50809
50810 [BZ #12597]
50811 * string/test-strncmp.c (do_page_test): New function.
50812 (check2): Likewise.
50813 (test_main): Call check2.
50814 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50815
2a115601
UD
508162011-03-20 Ulrich Drepper <drepper@gmail.com>
50817
50818 [BZ #12587]
50819 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50820 Handle cache information in CPU leaf 4.
50821 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50822
8126d904
UD
508232011-03-18 Ulrich Drepper <drepper@gmail.com>
50824
042c49c6 50825 [BZ #12583]
8126d904
UD
50826 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50827 character representation.
50828 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50829
ccfe366e
RA
508302011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50831
50832 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50833 END(__isnan) to END(__isnanf) to match function entry point/label
50834 EALIGN(__isnanf,...).
50835
c6e13027
JJ
508362011-03-10 Jakub Jelinek <jakub@redhat.com>
50837
50838 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50839
33f85a3f
UD
508402011-03-10 Ulrich Drepper <drepper@gmail.com>
50841
028478fa
UD
50842 [BZ #12510]
50843 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50844 copy from the symbol referenced in the relocation to initialize the
50845 used variable.
50846 Patch by Piotr Bury <pbury@goahead.com>.
50847 * elf/Makefile: Add rules to build and tst-unique3.
50848 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50849 * elf/tst-unique3.cc: New file.
50850 * elf/tst-unique3.h: New file.
50851 * elf/tst-unique3lib.cc: New file.
50852 * elf/tst-unique3lib2.cc: New file.
50853
33f85a3f
UD
50854 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50855
03592fc7
MF
508562011-03-10 Mike Frysinger <vapier@gentoo.org>
50857
50858 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50859 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50860 to _start.
03592fc7 50861
6a5ee102
UD
508622011-03-06 Ulrich Drepper <drepper@gmail.com>
50863
50864 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50865 to-be-loaded object along a path to loader is ld.so.
50866
7e4ba49c
HJ
508672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50868 Ulrich Drepper <drepper@gmail.com>
50869
50870 * sysdeps/x86_64/memset.S: After aligning destination, code
50871 branches to different locations depending on the value of
50872 misalignment, when multiarch is enabled. Fix this.
50873
508742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50875
50876 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50877 Set _x86_64_preferred_memory_instruction for AMD processsors.
50878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50879 Set bit_Prefer_SSE_for_memop for AMD processors.
50880
13a804de
UD
508812011-03-04 Ulrich Drepper <drepper@gmail.com>
50882
50883 * libio/fmemopen.c (fmemopen): Optimize a bit.
50884
9d25c392
AS
508852011-03-03 Andreas Schwab <schwab@redhat.com>
50886
50887 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50888
a5543c6a
RM
508892011-03-03 Roland McGrath <roland@redhat.com>
50890
50891 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50892
012d35f7
DM
508932011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50894
7e4ba49c 50895 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50896 __bzero_ultra1 instead of __memset_ultra1.
50897
4bff6e01
AS
508982011-02-23 Andreas Schwab <schwab@redhat.com>
50899 Ulrich Drepper <drepper@gmail.com>
50900
50901 [BZ #12509]
50902 * include/link.h (struct link_map): Add l_orig_initfini.
50903 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50904 returning unsuccessfully.
50905 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50906 close of a file loaded at startup, restore the original l_initfini
50907 list.
50908 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50909 list, store the pointer.
50910 * elf/Makefile ($(objpfx)noload-mem): New rule.
50911 (noload-ENV): Define.
50912 (tests): Add $(objpfx)noload-mem.
50913 * elf/noload.c: Include <memcheck.h>.
50914 (main): Call mtrace. Close all opened handles.
50915
f2092faf
AS
509162011-02-17 Andreas Schwab <schwab@redhat.com>
50917
50918 [BZ #12454]
50919 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50920 dependencies are missing.
50921
6c8a2e88
ST
509222011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50923
f2092faf 50924 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50925 Hurd needs munmap.
50926 * sysdeps/mach/hurd/ifreq.h: New file.
50927
84a42118
PB
509282011-01-27 Petr Baudis <pasky@suse.cz>
50929 Ulrich Drepper <drepper@gmail.com>
50930
071f805e 50931 [BZ 12445]#
84a42118
PB
50932 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50933 to extend_alloca().
50934 * stdio-common/bug23.c: New file.
50935 * stdio-common/Makefile (tests): Add bug23.
50936
e23fe25b
AS
509372010-09-28 Andreas Schwab <schwab@redhat.com>
50938 Ulrich Drepper <drepper@gmail.com>
50939
50940 [BZ #12489]
50941 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50942 before performing relro protection. At old place add assertion
50943 to make sure nothing changed.
50944
d3f02e10
NS
509452011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50946 Glauber de Oliveira Costa <glommer@gmail.com>
50947
50948 * elf/elf.h: Add new ARM TLS relocs.
50949
d55fd7a5
RA
509502011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50951
50952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50953 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50954 cast from r3.
50955 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50956 'tests' variable.
50957 * sysdeps/wordsize-64/tst-writev.c: New file.
50958
2206397e
RA
509592011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50960
50961 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50962 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50963 insns in _dl_start to prevent a TOC reference before relocs are
50964 resolved.
50965
e9433893
UD
509662011-02-15 Ulrich Drepper <drepper@gmail.com>
50967
50968 [BZ #12469]
50969 * Makeconfig: Remove RANLIB definition.
50970 * Makerules: Don't use RANLIB.
50971 * aclocal.m4: Remove ranlib test.
50972 * configure.in: No need to check for ranlib.
50973 * elf/rtld-Rules: Don't use RANLIB.
50974
f75286c6
ST
509752011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50976
8e31c82d
ST
50977 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50978 protection macro.
50979 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50980 inclusion protection macro.
50981
f75286c6
ST
50982 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50983 SIGRTMIN and SIGRTMAX and print information in that case only when
50984 SIGRTMIN is defined.
50985
c1d0e639
JJ
509862011-02-11 Jakub Jelinek <jakub@redhat.com>
50987
50988 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50989 arginfo fn returning -1.
50990
50991 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50992 and thousands string is zero terminated.
50993
edf9294e
AS
509942011-02-03 Andreas Schwab <schwab@redhat.com>
50995
50996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50997 sysdeps/unix/sysv/linux/bits/socket.h.
50998
2b7e92df
ST
509992011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51000
edf9294e
AS
51001 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51002 (__CPU_COUNT): Remove old macros.
51003 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51004 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51005 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
51006 (__sched_cpualloc, __sched_cpufree): Add declarations.
51007
a4c7ea7b
UD
510082011-02-05 Ulrich Drepper <drepper@gmail.com>
51009
51010 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51011 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51012 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51013 (readdhstai): Return value of addhstaiX call.
51014 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51015 (addgrbyX): Return value returned by cache_addgr.
51016 (readdgrbyname): Return value returned by addgrbyX.
51017 (readdgrbygid): Likewise.
51018 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51019 (addpwbyX): Return value returned by cache_addpw.
51020 (readdpwbyname): Return value returned by addhstbyX.
51021 (readdpwbyuid): Likewise.
51022 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51023 (addservbyX): Return value returned by cache_addserv.
51024 (readdservbyname): Return value returned by addservbyX:
51025 (readdservbyport): Likewise.
51026 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51027 (addhstbyX): Return value returned by cache_addhst.
51028 (readdhstbyname): Return value returned by addhstbyX.
51029 (readdhstbyaddr): Likewise.
51030 (readdhstbynamev6): Likewise.
51031 (readdhstbyaddrv6): Likewise.
51032 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51033 (readdinitgroups): Return value returned by addinitgroupsX.
51034 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51035 (prune_cache): Keep track of timeout value of re-added entries.
51036 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51037 * nscd/nscd.h: Adjust prototypes of readd* functions.
51038
a0bf67cc
RM
510392011-02-04 Roland McGrath <roland@redhat.com>
51040
51041 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51042 (nis_stats): Likewise.
51043 * nis/nis_modify.c (nis_modify): Likewise.
51044 * nis/nis_remove.c (nis_remove): Likewise.
51045 * nis/nis_add.c (nis_add): Likewise.
51046
51047 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51048
51049 * posix/fnmatch_loop.c: Add some consts.
51050
51051 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51052
435b95eb
L
510532011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51054
51055 [BZ #12460]
51056 * config.make.in (config-cflags-novzeroupper): Define.
51057 * configure.in: Substitute libc_cv_cc_novzeroupper.
51058 * elf/Makefile (AVX-CFLAGS): Define.
51059 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51060 (CFLAGS-tst-auditmod4a.c): Likewise.
51061 (CFLAGS-tst-auditmod4b.c): Likewise.
51062 (CFLAGS-tst-auditmod6b.c): Likewise.
51063 (CFLAGS-tst-auditmod6c.c): Likewise.
51064 (CFLAGS-tst-auditmod7b.c): Likewise.
51065 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51066
8517b15e
UD
510672011-02-02 Ulrich Drepper <drepper@gmail.com>
51068
51069 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51070 function to the callback.
51071 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51072
10a656fe
AS
510732011-02-02 Andreas Schwab <schwab@redhat.com>
51074
51075 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51076 of errno.
51077
968dad0a
UD
510782011-01-19 Ulrich Drepper <drepper@gmail.com>
51079
9f94d2ea 51080 [BZ #11724]
968dad0a
UD
51081 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51082 of constructors.
51083 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51084 of destructors.
51085 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51086
51087 [BZ #11724]
51088 * elf/Makefile: Add rules to build and run new test.
51089 * elf/tst-initorder.c: New file.
51090 * elf/tst-initorder.exp: New file.
51091 * elf/tst-initordera1.c: New file.
51092 * elf/tst-initordera2.c: New file.
51093 * elf/tst-initordera3.c: New file.
51094 * elf/tst-initordera4.c: New file.
51095 * elf/tst-initorderb1.c: New file.
51096 * elf/tst-initorderb2.c: New file.
51097 * elf/tst-order-a1.c: New file.
51098 * elf/tst-order-a2.c: New file.
51099 * elf/tst-order-a3.c: New file.
51100 * elf/tst-order-a4.c: New file.
51101 * elf/tst-order-b1.c: New file.
51102 * elf/tst-order-b2.c: New file.
51103 * elf/tst-order-main.c: New file.
51104 New test case by George Gensure <werkt0@gmail.com>.
51105
86e92359
UD
511062010-10-01 Andreas Schwab <schwab@redhat.com>
51107
51108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51109 decoding ACE if AI_CANONIDN.
51110
5d5732b0
UD
511112011-01-18 Ulrich Drepper <drepper@gmail.com>
51112
51113 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51114
a77e8cbc
UD
511152011-01-17 Ulrich Drepper <drepper@gmail.com>
51116
6392473f
UD
51117 * version.h (RELEASE): Bump for 2.13 release.
51118 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51119
620a0529
UD
51120 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51121
18ba70a5
UD
51122 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51123 MADV_NOHUGEPAGE.
32465c3e
UD
51124 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51125 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51126 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51127 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51129 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51130
c0dafcf1
UD
51131 * posix/getconf.c: Update copyright year.
51132 * catgets/gencat.c: Likewise.
51133 * csu/version.c: Likewise.
51134 * debug/catchsegv.sh: Likewise.
51135 * debug/xtrace.sh: Likewise.
51136 * elf/ldconfig.c: Likewise.
51137 * elf/ldd.bash.in: Likewise.
51138 * elf/sprof.c (print_version): Likewise.
51139 * iconv/iconv_prog.c: Likewise.
51140 * iconv/iconvconfig.c: Likewise.
51141 * locale/programs/locale.c: Likewise.
51142 * locale/programs/localedef.c: Likewise.
51143 * malloc/memusage.sh: Likewise.
51144 * malloc/mtrace.pl: Likewise.
51145 * nscd/nscd.c (print_version): Likewise.
51146 * nss/getent.c: Likewise.
51147
a77e8cbc
UD
51148 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51149 PF_CAIF, and PF_ALG.
51150 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51151
77e8bddf
AS
511522011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51153
1f20b93a
AS
51154 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51155 (modules-names): Use them.
51156 (ifunc-test-modules, ifunc-pie-tests): Define.
51157 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51158 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51159 (test-extras): Likewise.
51160 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51161 $(compile-command.c).
51162 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51163 (all-built-dso): Define.
51164 (check-textrel.out, check-execstack.out): Depend on it.
51165
77e8bddf
AS
51166 * configure.in: Don't override --enable-multi-arch.
51167
bc425b33
UD
511682011-01-15 Ulrich Drepper <drepper@gmail.com>
51169
51170 [BZ #6812]
51171 * nscd/hstcache.c (tryagain): Define.
51172 (cache_addhst): Return tryagain not notfound for temporary errors.
51173 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51174 failed.
51175
794c3ad3
UD
511762011-01-14 Ulrich Drepper <drepper@gmail.com>
51177
70181fdd
UD
51178 [BZ #10563]
51179 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51180 to make the syscall.
51181 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51182
794c3ad3
UD
51183 [BZ #12378]
51184 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51185 and fall back to matching as normal character if the string ends before
51186 the matching ']' is found. This is what POSIX requires.
51187 * posix/testfnm.c: Adjust test result.
51188 * posix/globtest.sh: Adjust test result. Add new test.
51189 * posix/tst-fnmatch.input: Likewise.
51190 * posix/tst-fnmatch2.c: Add new test.
51191
68dc9497
AS
511922010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51193
51194 * elf/Makefile (check-execstack): Revert last change. Depend on
51195 check-execstack.h.
51196 (check-execstack.h): New target.
51197 (generated): Add check-execstack.h.
51198 * elf/check-execstack.c: Include "check-execstack.h".
51199 (main): Revert last change.
51200 (handle_file): Return zero if GNU_STACK is absent and
51201 DEFAULT_STACK_PERMS doesn't include PF_X.
51202
451f001b
UD
512032011-01-13 Ulrich Drepper <drepper@gmail.com>
51204
cfa28e56
UD
51205 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51206 in child fails because the descriptor is already closed.
8cf8ce17
UD
51207 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51208 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51209 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51210
1086d70d
UD
51211 [BZ #12397]
51212 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51213 syscall.
51214
451f001b
UD
51215 [BZ #10484]
51216 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51217 temporary buffer used to handle multi lookups locally.
a85b5cb4 51218 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51219
08769175
UD
512202011-01-12 Ulrich Drepper <drepper@gmail.com>
51221
51222 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51223 loader is ld.so.
51224
5e49c52e
UD
512252011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51226
51227 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51228 alignment for SSE2.
51229
60522a5f
UD
512302011-01-12 Ulrich Drepper <drepper@gmail.com>
51231
51232 [BZ #12394]
51233 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51234 characters. When rounding increased number of integer digits recompute
51235 number of groups.
51236 * stdio-common/tst-grouping.c: New file.
51237 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51238
f257bbd7
UD
512392011-01-09 Ulrich Drepper <drepper@gmail.com>
51240
51241 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51242 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51243
51244 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51245 void.
51246 * bits/select.h: Likewise.
51247
fa9c15cb
UD
512482011-01-08 Ulrich Drepper <drepper@gmail.com>
51249
51250 * po/ja.po: Update from translation team.
51251
16c2895f
DM
512522011-01-04 David S. Miller <davem@sunset.davemloft.net>
51253
51254 [BZ #11155]
51255 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51256 implementation just like for lxstat, fxstatat, et al.
51257
2543fef2
JM
512582010-12-27 Jim Meyering <meyering@redhat.com>
51259
51260 [BZ #12348]
51261 * posix/regexec.c (build_trtable): Return failure indication upon
51262 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51263
98727dbe
UD
512642010-12-25 Ulrich Drepper <drepper@gmail.com>
51265
5bd6dc5c
UD
51266 [BZ #12201]
51267 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51268 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51269 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51270 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51271
97983464
UD
51272 [BZ #12207]
51273 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51274
98727dbe
UD
51275 [BZ #12204]
51276 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51277 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51278
4a531bb0
L
512792010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51280
51281 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51282 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51283 script has SORT_BY_INIT_PRIORITY.
51284 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51285 NO_CTORS_DTORS_SECTIONS is defined.
51286 * elf/soinit.c: Likewise.
51287 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51288 NO_CTORS_DTORS_SECTIONS is defined.
51289 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51290 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51291 * sysdeps/sh/init-first.c: Likewise.
51292 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51293
07eb4b71
UD
512942010-12-24 Ulrich Drepper <drepper@gmail.com>
51295
51296 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51297 always use the slow path.
51298
30950a5f
RA
512992010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51300
51301 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51302 similar rule which adds the sysdep directories to the header search in
51303 order to pick up the correct platform stackinfo.h.
51304 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51305 perform test if it is, otherwise return successfully without testing.
51306 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51307 DEFAULT_STACK_PERMS define in stackinfo.h.
51308 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51309 defined in stackinfo.h.
51310 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51311 DEFAULT_STACK_PERMS defined in stackinfo.h.
51312 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51313 * sysdeps/ia64/stackinfo.h: Likewise.
51314 * sysdeps/s390/stackinfo.h: Likewise.
51315 * sysdeps/sh/stackinfo.h: Likewise.
51316 * sysdeps/sparc/stackinfo.h: Likewise.
51317 * sysdeps/x86_64/stackinfo.h: Likewise.
51318 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51319 PF_X for powerpc64. Retain PF_X for powerpc32.
51320
db753e2c
UD
513212010-12-19 Ulrich Drepper <drepper@gmail.com>
51322
14b697f7
UD
51323 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51324 accurately.
db753e2c
UD
51325 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51326 GETDENTS_64BIT_ALIGNED.
51327
28300719
UD
513282010-12-14 Ulrich Drepper <dreper@gmail.com>
51329
14b697f7 51330 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51331
4f197237
AS
513322010-12-10 Andreas Schwab <schwab@redhat.com>
51333
dbb0472f
AS
51334 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51335 _GNU_SOURCE.
51336
4f197237
AS
51337 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51338 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51339 Remove __restrict.
51340 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51341 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51342
fb88ac72
UD
513432010-12-09 Ulrich Drepper <drepper@gmail.com>
51344
51345 [BZ #11655]
51346 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51347 are initialized.
51348
42acbb92
JJ
513492010-12-09 Jakub Jelinek <jakub@redhat.com>
51350
51351 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51352
c038d98d
UD
513532010-12-03 Ulrich Drepper <drepper@gmail.com>
51354
51355 * po/it.po: Update from translation team.
51356
3a4a2499
L
513572010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51358
51359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51360 unused codes.
51361
1e24cf6e
UD
513622010-11-30 Ulrich Drepper <drepper@gmail.com>
51363
51364 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51365
a7690819
AS
513662010-11-24 Andreas Schwab <schwab@redhat.com>
51367
51368 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51369 specially.
51370 (gaih_getanswer_slice): Likewise.
51371
3bf8d1b1
JJ
513722010-10-20 Jakub Jelinek <jakub@redhat.com>
51373
51374 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51375
6db52fbb
PB
513762010-05-31 Petr Baudis <pasky@suse.cz>
51377
51378 [BZ #11149]
51379 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51380 silently even in the chroot mode.
51381
eaca7569
UD
513822010-11-22 Ulrich Drepper <drepper@gmail.com>
51383
51384 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51385 last patch a bit. Pretty printing
51386
3056dcdb
UD
513872010-05-31 Petr Baudis <pasky@suse.cz>
51388
51389 [BZ #10085]
51390 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51391 initialization of skip_initgroups_dyn.
51392
cf7c9078
UD
513932010-11-19 Ulrich Drepper <drepper@gmail.com>
51394
51395 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51397
a1fb5e3e
UD
513982010-11-16 Ulrich Drepper <drepper@gmail.com>
51399
51400 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51401
3540d66b
AS
514022010-11-11 Andreas Schwab <schwab@redhat.com>
51403
51404 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51405 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51406 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51407 ($(objpfx)tst-fnmatch-mem): New rule.
51408 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51409 * posix/tst-fnmatch.c (main): Call mtrace.
51410
13b69574
L
514112010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51412
51413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51414 Support Intel processor model 6 and model 0x2c.
51415
da93d214
LM
514162010-11-10 Luis Machado <luisgpm@br.ibm.com>
51417
51418 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51419 signed comparison.
51420
8ca52c6e
L
514212010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51422
51423 [BZ #12205]
51424 * string/test-strncasecmp.c (check_result): New function.
51425 (do_one_test): Use it.
51426 (check1): New function.
51427 (test_main): Use it.
51428 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51429 Support strcasecmp and strncasecmp.
51430
69da074d
UD
514312010-11-08 Ulrich Drepper <drepper@gmail.com>
51432
51433 [BZ #12194]
51434 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51435 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51436
ff02d528
L
514372010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51438
51439 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51440 IFUNC support.
51441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51442 memset-x86-64.
51443 * sysdeps/x86_64/multiarch/bzero.S: New file.
51444 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51445 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51446 * sysdeps/x86_64/multiarch/memset.S: New file.
51447 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51449 Set bit_Prefer_SSE_for_memop for Intel processors.
51450 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51451 Define.
51452 (index_Prefer_SSE_for_memop): Define.
51453 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51454
344d0b54
LM
514552010-11-04 Luis Machado <luisgpm@br.ibm.com>
51456
51457 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51458 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51459
c0dde15b
UD
514602010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51461
51462 [BZ #12191]
51463 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51464 (__x86_64_raw_data_cache_size_half): Likewise.
51465 (__x86_64_raw_shared_cache_size): Likewise.
51466 (__x86_64_raw_shared_cache_size_half): Likewise.
51467
51468 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51469 (__x86_64_raw_data_cache_size_half): Likewise.
51470 (__x86_64_raw_shared_cache_size): Likewise.
51471 (__x86_64_raw_shared_cache_size_half): Likewise.
51472 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51473 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51474 and __x86_64_raw_shared_cache_size_half. Round
51475 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51476 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51477 to multiple of 256 bytes.
51478
0e516e0e
MS
514792010-11-03 Ulrich Drepper <drepper@gmail.com>
51480
51481 [BZ #12167]
51482 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51483 of inacessible symlinks. Verify result of symlink before returning it.
51484 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51485 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51486
0e012e87
ER
514872010-10-28 Erich Ritz <erichritz@gmail.com>
51488
51489 * math/math.h (isinf): Fix typo in comment.
51490
de0ff7bc
UD
514912010-11-01 Ulrich Drepper <drepper@gmail.com>
51492
51493 * po/da.po: Update from translation team.
51494
fa41c84d
UD
514952010-10-26 Ulrich Drepper <drepper@gmail.com>
51496
51497 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51498 is added to the list.
51499
f0967738
AK
515002010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51501 Ulrich Drepper <drepper@gmail.com>
51502
51503 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51504 the global list here. Move code to...
51505 (_dl_add_to_namespace_list): ...here. New function.
51506 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51507 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51508 * elf/dl-load.c (lose): Don't remove the element from the list.
51509 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51510 (_dl_map_object): Likewise.
51511
515122010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51513
51514 [BZ #12159]
51515 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51516 into all bytes of SSE register.
51517 Patch by Richard Li <richardpku@gmail.com>.
51518
f0967738 515192010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51520
51521 [BZ #12140]
51522 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51523 perturbing.
51524
d0b9e94f
MB
515252010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51526
51527 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51528 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51529 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51530 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51532 submachine.
51533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51534
8e9f92e9
AS
515352010-10-22 Andreas Schwab <schwab@redhat.com>
51536
51537 * include/dlfcn.h (__RTLD_SECURE): Define.
51538 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51539 mode & __RTLD_SECURE instead.
51540 (open_path): Rename preloaded parameter to secure.
51541 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51542 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51543 * elf/dl-deps.c (openaux): Likewise.
51544 * elf/rtld.c (struct map_args): Remove is_preloaded.
51545 (map_doit): Don't use it.
51546 (dl_main): Likewise.
51547 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51548 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51549
bc96fbda
AS
515502010-09-09 Andreas Schwab <schwab@redhat.com>
51551
51552 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51553 (sysd-rules-targets): Remove duplicates.
51554 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51555 rtld-%.$o dependency.
51556
22cd1c9b
AS
515572010-10-18 Andreas Schwab <schwab@redhat.com>
51558
51559 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51560 _dl_map_object do it.
51561
18edac48
UD
515622010-10-19 Ulrich Drepper <drepper@gmail.com>
51563
51564 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51565 fast fma builtins, define the macros in the C99 standard.
51566 (FP_FAST_FMAF): Likewise.
51567 (FP_FAST_FMAL): Likewise.
51568 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51569
51570 * bits/mathdef.h: Update copyright year.
51571 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51572
d2050124
MM
515732010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51574
51575 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51576 builtins, define the macros in the C99 standard.
51577 (FP_FAST_FMAF): Likewise.
51578 (FP_FAST_FMAL): Likewise.
51579 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51580 multiply/add.
51581 (FP_FAST_FMAF): Likewise.
51582
475facd1
JJ
515832010-10-15 Jakub Jelinek <jakub@redhat.com>
51584
51585 [BZ #3268]
51586 * math/libm-test.inc (fma_test): Some new testcases.
51587 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51588 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51589 y and infinite z. Do multiplication by C already in long double.
51590 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51592 y and infinite z. Do bitwise or of inexact bit into u.d.
51593 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51594 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51595 * sysdeps/i386/fpu/s_fma.S: Removed.
51596 * sysdeps/i386/fpu/s_fmal.S: Removed.
51597
7c08a05c
JJ
515982010-10-16 Jakub Jelinek <jakub@redhat.com>
51599
51600 [BZ #3268]
51601 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51602 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51603 computation is not scheduled after fetestexcept. Fix value
51604 of minimum denormal long double.
51605
f3f7372d
JJ
516062010-10-14 Jakub Jelinek <jakub@redhat.com>
51607
51608 [BZ #3268]
51609 * math/libm-test.inc (fma_test): Add some more tests.
51610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51611 correctly.
51612
14d43591
AS
516132010-10-15 Andreas Schwab <schwab@redhat.com>
51614
51615 * scripts/data/localplt-s390-linux-gnu.data: New file.
51616 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51617
5e908464
JJ
516182010-10-13 Jakub Jelinek <jakub@redhat.com>
51619
51620 [BZ #3268]
51621 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51622 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51623 instead of dbl-64.
51624 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51625 inlines.
51626 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51628 if one of x and y is very large and the other is subnormal.
51629 * sysdeps/s390/fpu/s_fmaf.c: New file.
51630 * sysdeps/s390/fpu/s_fma.c: New file.
51631 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51632 * sysdeps/powerpc/fpu/s_fma.S: New file.
51633 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51634 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51635 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51636
516372010-10-12 Jakub Jelinek <jakub@redhat.com>
51638
51639 [BZ #3268]
51640 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51641 fma tests.
51642 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51643 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51644 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51645 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51646 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51647 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51648 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51649
b833d51f
UD
516502010-10-12 Ulrich Drepper <drepper@redhat.com>
51651
51652 [BZ #12078]
51653 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51654 * posix/bug-regex31.input: Add test case.
51655
1751705d
UD
516562010-10-11 Ulrich Drepper <drepper@gmail.com>
51657
e9b9cbf5
UD
51658 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51659 * posix/bug-regex31.input: New file.
51660
51661 [BZ #12078]
51662 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51663 (parse_sub_exp): Fix last change, use postorder.
51664
ef06edbe
UD
51665 * posix/bug-regex31.c: New file.
51666 * posix/Makefile: Add rules to build and run bug-regex31.
51667
a129c80d
UD
51668 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51669
51670 [BZ #12078]
51671 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51672
b76b818e
UD
51673 [BZ #12108]
51674 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51675 to have entries in sys_siglist.
51676
1751705d
UD
51677 [BZ #12093]
51678 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51679 be NULL.
51680
9ff8d36f
JJ
516812010-10-07 Jakub Jelinek <jakub@redhat.com>
51682
51683 [BZ #3268]
51684 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51685 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51686 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51687 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51688 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51689 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51690 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51691 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51692 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51693 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51694 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51695 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51696 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51697 * math/ftestexcept.c (fetestexcept): Likewise.
51698 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51699 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51700 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51701 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51702 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51703 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51704 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51705
af325969
UD
517062010-10-11 Ulrich Drepper <drepper@gmail.com>
51707
c579b202 51708 [BZ #12107]
af325969
UD
51709 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51710 newline.
51711
67a67b95
UD
517122010-10-06 Ulrich Drepper <drepper@gmail.com>
51713
51714 * string/bug-strstr1.c: New file.
51715 * string/Makefile: Add rules to build and run bug-strstr1.
51716
5fb308bc
EB
517172010-10-05 Eric Blake <eblake@redhat.com>
51718
51719 [BZ #12092]
51720 * string/str-two-way.h (two_way_long_needle): Always clear memory
51721 when skipping input due to the shift table.
51722
45db99c7
UD
517232010-10-03 Ulrich Drepper <drepper@gmail.com>
51724
3b111893
UD
51725 [BZ #12005]
51726 * malloc/mcheck.c: Handle large requests.
51727
45db99c7
UD
51728 [BZ #12077]
51729 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51730 for strncmp and strncasecmp.
51731 * string/stratcliff.c: Add tests for strcmp and strncmp.
51732 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51733
cf7a1eb8
NI
517342010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51735
51736 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51737 __set_fpscr.
51738
6484ba5e
AJ
517392010-09-30 Andreas Jaeger <aj@suse.de>
51740
51741 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51742 (CGROUP_SUPER_MAGIC): Define.
51743 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51744 Handle btrfs and cgroup file systems.
51745 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51746 Likewise.
51747
91c42559
LM
517482010-09-27 Luis Machado <luisgpm@br.ibm.com>
51749
51750 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51751 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51752
87a97932
AK
517532010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51754
51755 [BZ #12067]
51756 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51757 trying to locate the ELF header.
51758
c21cc9bc
AS
517592010-09-27 Andreas Schwab <schwab@redhat.com>
51760
51761 [BZ #11611]
51762 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51763 Mask out sign-bit copies when constructing f_fsid.
51764
315970f6
PB
517652010-09-24 Petr Baudis <pasky@suse.cz>
51766
51767 * debug/stack_chk_fail_local.c: Add missing licence exception.
51768 * debug/warning-nop.c: Likewise.
51769
1ac7a2c7
JM
517702010-09-15 Joseph Myers <joseph@codesourcery.com>
51771
51772 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51773 implementing getdents64 using getdents syscall, set d_type if
51774 __ASSUME_GETDENTS32_D_TYPE.
51775
56801c50
AS
517762010-09-16 Andreas Schwab <schwab@redhat.com>
51777
51778 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51779 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51780
dda51327
UD
517812010-09-21 Ulrich Drepper <drepper@redhat.com>
51782
51783 [BZ #12037]
51784 * posix/unistd.h: Undo change of feature selection for ftruncate from
51785 2010-01-11.
51786
8ffcee4a
UD
517872010-09-20 Ulrich Drepper <drepper@redhat.com>
51788
a545ecd9 51789 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51790 detection.
51791
e24f0a8b
AS
517922010-09-20 Andreas Schwab <schwab@redhat.com>
51793
51794 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51795 fanotify_mark.
51796 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51797
7291c56f
AS
517982010-09-14 Andreas Schwab <schwab@redhat.com>
51799
51800 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51801 variables after CHECK_SP call.
51802 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51803
bc5fb037
AS
518042010-09-13 Andreas Schwab <schwab@redhat.com>
51805 Ulrich Drepper <drepper@redhat.com>
51806
51807 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51808 re-relocationg ld.so.
51809 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51810 _dl_init_paths call.
51811 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51812 here anymore.
51813
e66e7419
UD
518142010-09-14 Ulrich Drepper <drepper@redhat.com>
51815
51816 * resolv/res_init.c (__res_vinit): Count the default server we added.
51817
c044aa75
CLT
518182010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51819 Ulrich Drepper <drepper@redhat.com>
51820
51821 [BZ #11968]
51822 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51823 (____longjmp_chk): Use %ebx for saving value across system call.
51824 Add unwind info.
51825
32cf4069
AS
518262010-09-06 Andreas Schwab <schwab@redhat.com>
51827
51828 * manual/Makefile: Don't mix pattern rules with normal rules.
51829
817328ee
AS
518302010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51831
51832 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51833 operation.
51834 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51835 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51836 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51837 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51838 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51839 Likewise.
51840
29fddf61
UD
518412010-09-04 Ulrich Drepper <drepper@redhat.com>
51842
51843 [BZ #11979]
51844 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51845 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51846
0959ffc9
UD
518472010-09-02 Ulrich Drepper <drepper@redhat.com>
51848
51849 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51850 * sysdeps/x86_64/addmul_1.S: Likewise.
51851 * sysdeps/x86_64/lshift.S: Likewise.
51852 * sysdeps/x86_64/mul_1.S: Likewise.
51853 * sysdeps/x86_64/rshift.S: Likewise.
51854 * sysdeps/x86_64/sub_n.S: Likewise.
51855 * sysdeps/x86_64/submul_1.S: Likewise.
51856
ece29840
ST
518572010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51858
0959ffc9
UD
51859 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51860 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51861 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51862 * bits/sched.h [__need_schedparam]
ece29840 51863 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51864 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51865 (__defined_schedparam): Define to 1.
ece29840
ST
51866 (__sched_param): New structure, identical to sched_param.
51867 (__need_schedparam): Undefine.
51868
e53a31fe
MF
518692010-08-31 Mike Frysinger <vapier@gentoo.org>
51870
fdc0c10d
MF
51871 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51872 (epoll_create1): Declare.
51873
e53a31fe
MF
51874 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51875
a726d796
AS
518762010-08-31 Andreas Schwab <schwab@redhat.com>
51877
51878 [BZ #7066]
51879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51880 shifting retval into place.
51881
2f3e3dc7
UD
518822010-09-01 Ulrich Drepper <drepper@redhat.com>
51883
f2933da9
UD
51884 * nis/rpcsvc/nis.h: Update copyright notice.
51885 * nis/rpcsvc/nis.x: Likewise.
51886 * nis/rpcsvc/nis_callback.h: Likewise.
51887 * nis/rpcsvc/nis_callback.x: Likewise.
51888 * nis/rpcsvc/nis_object.x: Likewise.
51889 * nis/rpcsvc/nis_tags.h: Likewise.
51890 * nis/rpcsvc/yp.h: Likewise.
51891 * nis/rpcsvc/yp.x: Likewise.
51892 * nis/rpcsvc/ypupd.h: Likewise.
51893 * nis/yp_xdr.c: Likewise.
51894 * nis/ypupdate_xdr.c: Likewise.
51895
2f3e3dc7
UD
51896 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51897 mainly the body of pmap_getport. Add parameters to specify timeouts.
51898 (pmap_getport): Use __libc_rpc_getport.
51899 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51900 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51901 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51902
f3dcc2f9
AS
519032010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51904
51905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51906 fanotify_mark.
51907
6d34eb5b
RM
519082010-08-27 Roland McGrath <roland@redhat.com>
51909
51910 * sysdeps/i386/i686/multiarch/Makefile
51911 (CFLAGS-varshift.c): New variable.
51912
9ea3de11
UD
519132010-08-27 Ulrich Drepper <drepper@redhat.com>
51914
c96d23fc
UD
51915 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51916 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51917
9ea3de11
UD
51918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51919
51920 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51921
623aac7f
L
519222010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51923
51924 * sysdeps/x86_64/strlen.S: Unroll the loop.
51925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51926 strlen-sse2 strlen-sse2-bsf.
51927 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51928 __strlen_no_bsf if bit_Slow_BSF is set.
51929 (__strlen_sse42): Removed.
51930 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51931 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51932
8b2b7715
RM
519332010-08-25 Roland McGrath <roland@redhat.com>
51934
51935 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51936 * sysdeps/x86_64/multiarch/varshift.c: New file.
51937 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51938 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51939 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51940 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51941
e73015f2
L
519422010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51943
51944 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51945 strlen-sse2 strlen-sse2-bsf.
51946 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51947 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51948 (__strlen_sse2): Removed.
51949 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51952 bit_Slow_BSF for Atom.
51953 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51954 (index_Slow_BSF): Define.
51955 (HAS_SLOW_BSF): Define.
51956
df24a73e
UD
519572010-08-25 Ulrich Drepper <drepper@redhat.com>
51958
51959 [BZ #10851]
51960 * resolv/res_init.c (__res_vinit): When no server address at all
51961 is given default to loopback.
51962
f2ac4868
RM
519632010-08-24 Roland McGrath <roland@redhat.com>
51964
09055553
RM
51965 * configure.in: Remove config-name.h generation.
51966 * configure: Regenerated.
51967 * config-name.in: File removed.
51968 * scripts/config-uname.sh: New file.
51969 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51970 ($(objdir)config-name.h): New target.
51971
f2ac4868
RM
51972 * sunrpc/rpc_parse.h: Avoid nested comment.
51973
73f27d5e
RH
519742010-08-24 Richard Henderson <rth@redhat.com>
51975 Ulrich Drepper <drepper@redhat.com>
51976 H.J. Lu <hongjiu.lu@intel.com>
51977
51978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51979 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51980 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51981 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51982 _mm_alignr_epi8 with _mm_loadu_si128.
51983 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51984 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51985 (__m128i_shift_right): Removed.
51986 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51987 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51988 * sysdeps/x86_64/multiarch/varshift.h: New file.
51989 * sysdeps/x86_64/multiarch/varshift.S: New file.
51990
84b9230c
MF
519912010-08-21 Mike Frysinger <vapier@gentoo.org>
51992
51993 * configure.in: Move assembler checks to before sysdep dir checking.
51994
9bbd0ddc
PB
519952010-08-20 Petr Baudis <pasky@suse.cz>
51996
51997 * LICENSES: Sync the sunrpc license.
51998
9da4bb31
UD
519992010-08-19 Ulrich Drepper <drepper@redhat.com>
52000
a7ab6ec8
UD
52001 * sunrpc/auth_des.c: Update copyright notice once again.
52002 * sunrpc/auth_none.c: Likewise.
52003 * sunrpc/auth_unix.c: Likewise.
52004 * sunrpc/authdes_prot.c: Likewise.
52005 * sunrpc/authuxprot.c: Likewise.
52006 * sunrpc/bindrsvprt.c: Likewise.
52007 * sunrpc/clnt_gen.c: Likewise.
52008 * sunrpc/clnt_perr.c: Likewise.
52009 * sunrpc/clnt_raw.c: Likewise.
52010 * sunrpc/clnt_simp.c: Likewise.
52011 * sunrpc/clnt_tcp.c: Likewise.
52012 * sunrpc/clnt_udp.c: Likewise.
52013 * sunrpc/clnt_unix.c: Likewise.
52014 * sunrpc/des_crypt.c: Likewise.
52015 * sunrpc/des_soft.c: Likewise.
52016 * sunrpc/get_myaddr.c: Likewise.
52017 * sunrpc/getrpcport.c: Likewise.
52018 * sunrpc/key_call.c: Likewise.
52019 * sunrpc/key_prot.c: Likewise.
52020 * sunrpc/openchild.c: Likewise.
52021 * sunrpc/pm_getmaps.c: Likewise.
52022 * sunrpc/pm_getport.c: Likewise.
52023 * sunrpc/pmap_clnt.c: Likewise.
52024 * sunrpc/pmap_prot.c: Likewise.
52025 * sunrpc/pmap_prot2.c: Likewise.
52026 * sunrpc/pmap_rmt.c: Likewise.
52027 * sunrpc/rpc/auth.h: Likewise.
52028 * sunrpc/rpc/auth_unix.h: Likewise.
52029 * sunrpc/rpc/clnt.h: Likewise.
52030 * sunrpc/rpc/des_crypt.h: Likewise.
52031 * sunrpc/rpc/key_prot.h: Likewise.
52032 * sunrpc/rpc/netdb.h: Likewise.
52033 * sunrpc/rpc/pmap_clnt.h: Likewise.
52034 * sunrpc/rpc/pmap_prot.h: Likewise.
52035 * sunrpc/rpc/pmap_rmt.h: Likewise.
52036 * sunrpc/rpc/rpc.h: Likewise.
52037 * sunrpc/rpc/rpc_des.h: Likewise.
52038 * sunrpc/rpc/rpc_msg.h: Likewise.
52039 * sunrpc/rpc/svc.h: Likewise.
52040 * sunrpc/rpc/svc_auth.h: Likewise.
52041 * sunrpc/rpc/types.h: Likewise.
52042 * sunrpc/rpc/xdr.h: Likewise.
52043 * sunrpc/rpc_clntout.c: Likewise.
52044 * sunrpc/rpc_cmsg.c: Likewise.
52045 * sunrpc/rpc_common.c: Likewise.
52046 * sunrpc/rpc_cout.c: Likewise.
52047 * sunrpc/rpc_dtable.c: Likewise.
52048 * sunrpc/rpc_hout.c: Likewise.
52049 * sunrpc/rpc_main.c: Likewise.
52050 * sunrpc/rpc_parse.c: Likewise.
52051 * sunrpc/rpc_parse.h: Likewise.
52052 * sunrpc/rpc_prot.c: Likewise.
52053 * sunrpc/rpc_sample.c: Likewise.
52054 * sunrpc/rpc_scan.c: Likewise.
52055 * sunrpc/rpc_scan.h: Likewise.
52056 * sunrpc/rpc_svcout.c: Likewise.
52057 * sunrpc/rpc_tblout.c: Likewise.
52058 * sunrpc/rpc_util.c: Likewise.
52059 * sunrpc/rpc_util.h: Likewise.
52060 * sunrpc/rpcinfo.c: Likewise.
52061 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52062 * sunrpc/rpcsvc/key_prot.x: Likewise.
52063 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52064 * sunrpc/rpcsvc/mount.x: Likewise.
52065 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52066 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52067 * sunrpc/rpcsvc/rex.x: Likewise.
52068 * sunrpc/rpcsvc/rstat.x: Likewise.
52069 * sunrpc/rpcsvc/rusers.x: Likewise.
52070 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52071 * sunrpc/rpcsvc/spray.x: Likewise.
52072 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52073 * sunrpc/rtime.c: Likewise.
52074 * sunrpc/svc.c: Likewise.
52075 * sunrpc/svc_auth.c: Likewise.
52076 * sunrpc/svc_authux.c: Likewise.
52077 * sunrpc/svc_raw.c: Likewise.
52078 * sunrpc/svc_run.c: Likewise.
52079 * sunrpc/svc_simple.c: Likewise.
52080 * sunrpc/svc_tcp.c: Likewise.
52081 * sunrpc/svc_udp.c: Likewise.
52082 * sunrpc/svc_unix.c: Likewise.
52083 * sunrpc/svcauth_des.c: Likewise.
52084 * sunrpc/xcrypt.c: Likewise.
52085 * sunrpc/xdr.c: Likewise.
52086 * sunrpc/xdr_array.c: Likewise.
52087 * sunrpc/xdr_float.c: Likewise.
52088 * sunrpc/xdr_mem.c: Likewise.
52089 * sunrpc/xdr_rec.c: Likewise.
52090 * sunrpc/xdr_ref.c: Likewise.
52091 * sunrpc/xdr_sizeof.c: Likewise.
52092 * sunrpc/xdr_stdio.c: Likewise.
52093
9da4bb31
UD
52094 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52095 handling.
52096
bdaa77bc
AS
520972010-08-19 Andreas Schwab <schwab@redhat.com>
52098
52099 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52100
fe2f79db
LM
521012010-08-19 Luis Machado <luisgpm@br.ibm.com>
52102
52103 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52104 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52105 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52106 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52107 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52108 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52109 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52110 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52111 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52112 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52113 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52114 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52115 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52116 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52117
b9b42ee0
AB
521182010-07-26 Anton Blanchard <anton@samba.org>
52119
52120 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52121 * malloc/arena.c (heap_trim): Likewise.
52122
1c06ba31
UD
521232010-08-16 Ulrich Drepper <drepper@redhat.com>
52124
52125 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52126 here. Not...
52127 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52128 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52129
f8392f40
L
521302010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52131
52132 * sysdeps/i386/elf/Makefile: New file.
52133
3162f12e
AS
521342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52135
52136 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52137 from fanotify_init.
52138 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52139 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52140
28c90b2c
UD
521412010-08-15 Ulrich Drepper <drepper@redhat.com>
52142
52143 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52144 of strncasecmp_l.
1feccb6c 52145 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52146
ca6bb004
UD
521472010-08-14 Ulrich Drepper <drepper@redhat.com>
52148
e9f82e0d
UD
52149 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52150 strncase_l-nonascii.
52151 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52152 Add strncase_l-ssse3.
52153 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52154 * sysdeps/x86_64/strcmp.S: Likewise.
52155 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52156 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52157 * sysdeps/x86_64/strncase.S: New file.
52158 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52159 * sysdeps/x86_64/strncase_l.S: New file.
52160 * string/Makefile (strop-tests): Add strncasecmp.
52161 * string/test-strncasecmp.c: New file.
52162
52163 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52164 warning.
52165
ca6bb004
UD
52166 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52167 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52168
052fa7b3
AS
521692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52170
52171 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52172
962dba78
UD
521732010-08-12 Ulrich Drepper <drepper@redhat.com>
52174
52175 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52176 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52177 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52178
bebff237
AM
521792010-05-01 Alan Modra <amodra@gmail.com>
52180
52181 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52182 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52183 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52184 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52185 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52186 tidying. Don't tail-call __sigjmp_save for static lib.
52187 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52188 save location.
52189 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52190 (CALL_MCOUNT): Add eh info, and nop after bl.
52191 (TAIL_CALL_SYSCALL_ERROR): New macro.
52192 (PSEUDO_RET): Use it.
52193 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52194 Correct save location of integer regs and cr.
52195 (_dl_profile_resolve): Correct cr save location. Delete nops
52196 after bl when SHARED. Reduce cfi size a little by better
52197 placement of cfi directives.
52198 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52199 make a stack frame. Instead use parm save area as a temp.
52200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52201 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52203 Don't make a stack frame for parent, use parm save area.
52204 Increase child stack frame to 112 bytes. Don't save unused reg,
52205 and adjust reg usage. Set up cfi on error recovery and
52206 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52208 (__makecontext): Add dummy nop after jump to exit.
52209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52210 Use correct parm save area and cr save, reduce stack frame.
52211 Correct cfi for possible PSEUDO_RET frame setup.
52212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52213 Branch to local label emitted by PSEUDO_RET rather than
52214 __syscall_error.
52215
02637374
AS
522162010-08-12 Andreas Schwab <schwab@redhat.com>
52217
52218 [BZ #11904]
52219 * locale/programs/locale.c (print_assignment): New function.
52220 (show_locale_vars): Use it.
52221
c3e2f19b
UD
522222010-08-11 Ulrich Drepper <drepper@redhat.com>
52223
3cdaa6ad
UD
52224 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52225 field.
52226 (struct statfs64): Likewise.
52227 (_STATFS_F_FLAGS): Define.
52228 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52229 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52230 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52231 (ST_VALID): Define locally.
52232 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52233 __statvfs_getflags, use the provided value.
52234 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52235 __ASSUME_STATFS_F_FLAGS.
52236
754f7da3
UD
52237 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52238
10b3bedc
UD
52239 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52240 Add sys/fanotify.h.
52241 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52242 fanotify_mask for GLIBC_2.13.
52243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52244 fanotify_init and fanotify_mark.
52245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52246 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52247
c08fb0d7
UD
52248 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52249 Add prlimit.
52250 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52251 prlimit64 for GLIBC_2.13.
52252 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52253 prlimit64.
52254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52255 syscall.
52256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52258 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52259 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52261 add prlimit alias.
52262 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52263
15bac72b
UD
52264 [BZ #11903]
52265 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52266 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52267
c3e2f19b
UD
52268 * nss/Makefile: Add rules to build and run tst-nss-test1.
52269 * shlib-versions: Add entry for libnss_test1.
52270 * nss/nss_test1.c: New file.
52271 * nss/tst-nss-test1.c: New file.
52272
52273 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52274 (__nss_configure_lookup): Set appropriate entry in
52275 __nss_configure_lookup to true.
52276 * nss/nsswitch.h: Define enum with indeces of databases in
52277 databases and __nss_database_custom arrays. Declare
52278 __nss_database_custom.
52279 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52280 to avoid using nscd when custom rules are installed.
52281 * nss/getXXbyYY_r.c: Likewise.
52282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52283
52284 * nss/nss_files/files-parse.c: Whitespace fixes.
52285
f15ce4d8
UD
522862010-08-09 Ulrich Drepper <drepper@redhat.com>
52287
52288 [BZ #11883]
52289 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52290 * posix/fnmatch_loop.c: Likewise.
52291
d22e4cc9
AK
522922010-07-17 Andi Kleen <ak@linux.intel.com>
52293
52294 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52295 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52296 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52297 * Versions.def [GLIBC_2.13]: Add.
52298
805bc17d
UD
522992010-08-06 Ulrich Drepper <drepper@redhat.com>
52300
52301 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52302 Also fail if tpwd after pwuid call is NULL.
52303
5a42321d
ST
523042010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52305
52306 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52307 when converting to ms.
52308
fd3ebeda
ST
523092010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52310
52311 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52312 EOPNOTSUPP errors with ENOTTY.
52313 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52314 EOPNOTSUPP errors with ENOTTY.
52315
73507d3a
UD
523162010-07-31 Ulrich Drepper <drepper@redhat.com>
52317
52318 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52319 Add strcasecmp_l-ssse3.
52320 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52321 strcasecmp.
52322 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52323 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52324 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52325
fe36dd02
UD
523262010-07-30 Ulrich Drepper <drepper@redhat.com>
52327
66f6765a
UD
52328 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52329
42e08a54
UD
52330 * string/Makefile (strop-tests): Add strcasecmp.
52331 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52332 strcasecmp_l-nonascii.
52333 (gen-as-const-headers): Add locale-defines.sym.
52334 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52335 * sysdeps/x86_64/strcasecmp.S: New file.
52336 * sysdeps/x86_64/strcasecmp_l.S: New file.
52337 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52338 * sysdeps/x86_64/locale-defines.sym: New file.
52339 * string/test-strcasecmp.c: New file.
52340
fe36dd02
UD
52341 * string/test-strcasestr.c: Test both ends of the range of characters.
52342 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52343
48cbc0d6
RM
523442010-07-29 Roland McGrath <roland@redhat.com>
52345
76e6d6bc 52346 [BZ #11856]
48cbc0d6
RM
52347 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52348
880113d9
UD
523492010-07-27 Ulrich Drepper <drepper@redhat.com>
52350
52351 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52352 for ld.so.
52353
deb9cabb
AS
523542010-07-27 Andreas Schwab <schwab@redhat.com>
52355
52356 * manual/memory.texi (Malloc Tunable Parameters): Document
52357 M_PERTURB.
52358
1c7570ff
RM
523592010-07-26 Roland McGrath <roland@redhat.com>
52360
52361 [BZ #11840]
52362 * configure.in (-fgnu89-inline check): Set and substitute
52363 gnu89_inline, not libc_cv_gnu89_inline.
52364 * configure: Regenerated.
52365 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52366
24fb0f88
UD
523672010-07-26 Ulrich Drepper <drepper@redhat.com>
52368
52369 * string/test-strnlen.c: New file.
52370 * string/Makefile (strop-tests): Add strnlen.
52371 * string/tester.c (test_strnlen): Add a few more test cases.
52372 * string/tst-strlen.c: Better error reporting.
52373
52374 * sysdeps/x86_64/strnlen.S: New file.
52375
8e96b93a
UD
523762010-07-24 Ulrich Drepper <drepper@redhat.com>
52377
52378 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52379 lower-latency instructions.
52380
dbc676d4
UD
523812010-07-23 Ulrich Drepper <drepper@redhat.com>
52382
52383 * string/test-strcasestr.c: New file.
52384 * string/test-strstr.c: New file.
52385 * string/Makefile (strop-tests): Add strstr and strcasestr.
52386 * string/str-two-way.h: Don't undefine MAX.
52387 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52388
f6a31e0e
AS
523892010-07-21 Andreas Schwab <schwab@redhat.com>
52390
52391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52392 strcasestr-nonascii.
52393 (CFLAGS-strcasestr-nonascii.c): Define.
52394 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52395 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52396 Remove unused attribute.
52397
5dbc3b6c
RM
523982010-07-20 Roland McGrath <roland@redhat.com>
52399
52400 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52401 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52402 ld.so.cache was broken. With it, there is no way to disable dsocaps
52403 like LD_HWCAP_MASK can disable hwcaps.
52404
23d101d8
EPM
524052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52406
52407 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52408
cc9f2e47
UD
524092010-07-16 Ulrich Drepper <drepper@redhat.com>
52410
52411 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52412 call in strcasestr.
52413 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52414 __strcasestr_sse42_nonascii.
52415 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52416 strcasestr-nonascii.c.
52417 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52418
77c1b069
LM
524192010-06-15 Luis Machado <luisgpm@br.ibm.com>
52420
52421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52422 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52423 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52424 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52425
440566c3
UD
524262010-07-09 Ulrich Drepper <drepper@redhat.com>
52427
52428 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52429 fcntl.
52430
5be9d05d
AS
524312010-07-06 Andreas Schwab <schwab@redhat.com>
52432
c30b7ee2 52433 [BZ #11577]
5be9d05d
AS
52434 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52435 dl_signal_cerror.
52436
8a492a67
UD
524372010-07-06 Ulrich Drepper <drepper@redhat.com>
52438
52439 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52440 _PC_PIPE_BUF using F_GETPIPE_SZ.
52441
713df3d5
RM
524422010-07-05 Roland McGrath <roland@redhat.com>
52443
52444 * manual/arith.texi (Rounding Functions): Fix rint description
52445 implicit in round description.
52446
702e8f14
UD
524472010-07-02 Ulrich Drepper <drepper@redhat.com>
52448
52449 * elf/Makefile: Fix linking for a few tests to make recent linker
52450 happy.
52451
52ed8be9
AS
524522010-06-30 Andreas Schwab <schwab@redhat.com>
52453
52454 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52455 $(common-objpfx)libc_nonshared.a.
52456
f47c9a11
LM
524572010-06-21 Luis Machado <luisgpm@br.ibm.com>
52458
52459 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52460 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52461 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52462 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52463 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52464 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52465 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52466 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52481 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52482 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52483 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52484 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52485 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52486 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52487 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52488 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52489 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52490 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52491 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52492 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52507
6fb8cbcb
L
525082010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52509
52510 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52511 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52512 * string/memmove.c (memmove): Renamed to ...
52513 (MEMMOVE): ...this. Default to memmove.
52514 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52515 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52516 (END_CHK): Define.
52517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52518 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52519 mempcpy-ssse3-back memmove-ssse3-back.
52520 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52521 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52522 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52523 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52524 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52525 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52526 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52527 * sysdeps/x86_64/multiarch/memmove.c: New file.
52528 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52529 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52530 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52531 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52532 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52533 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52534 Define.
52535 (index_Fast_Copy_Backward): Define.
52536 (HAS_ARCH_FEATURE): Define.
52537 (HAS_FAST_REP_STRING): Define.
52538 (HAS_FAST_COPY_BACKWARD): Define.
52539
4e733bac 525402010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52541
52542 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52543 Restore proper fallback handling.
52544
63c4ed22
UD
525452010-06-19 Ulrich Drepper <drepper@redhat.com>
52546
ac2b484c
UD
52547 [BZ #11701]
52548 * posix/group_member.c (__group_member): Correct checking loop.
52549
63c4ed22
UD
52550 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52551 OOM in getpwuid_r correctly. Return error number when the caller
52552 should return, otherwise -1.
52553 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52554 call returning > 0 value.
52555 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52556
765ade4b
AS
525572010-06-07 Andreas Schwab <schwab@redhat.com>
52558
52559 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52560 libc_nonshared.a from targets in modules-names.
52561
80da2e09
KS
525622010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52563
52564 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52565 requires it.
52566
158db122
LM
525672010-06-10 Luis Machado <luisgpm@br.ibm.com>
52568
52569 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52570 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52573
caa78cf8
AS
525742010-06-02 Andreas Schwab <schwab@redhat.com>
52575
52576 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52577
b2ef2c01
UD
525782010-06-14 Ulrich Drepper <drepper@redhat.com>
52579
52580 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52581 and F_GETPIPE_SZ.
52582 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52583 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52584 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52585 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52586 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52587 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52588
fbd643b6
RM
525892010-06-14 Roland McGrath <roland@redhat.com>
52590
52591 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52592
f32f2869
JJ
525932010-06-07 Jakub Jelinek <jakub@redhat.com>
52594
52595 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52596 __REDIRECT followed by __THROW.
52597 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52598 * posix/getopt.h (getopt): Likewise.
52599
2a50c078
EPM
526002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52601
52602 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52603 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52604 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52605 in AT_FLAGS.
52606 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52607 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52608
eb5ad2eb
LM
526092010-05-28 Luis Machado <luisgpm@br.ibm.com>
52610
52611 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52612
3c88fe1e
L
526132010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52614
52615 [BZ #11640]
52616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52617 Properly check family and model.
52618
d2f73151
TY
526192010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52620
52621 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52622
ebd2e13d
LM
526232010-05-24 Luis Machado <luisgpm@br.ibm.com>
52624
52625 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52626
b32b8b45
UD
526272010-05-21 Ulrich Drepper <drepper@redhat.com>
52628
52629 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52630 symbol reference.
52631
9acbe24d
AS
526322010-05-19 Andreas Schwab <schwab@redhat.com>
52633
52634 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52635 symbol reference.
52636
f0ccf6ea
AS
526372010-05-21 Andreas Schwab <schwab@redhat.com>
52638
3d04ff3a
AS
52639 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52640 and internal_recvmmsg.
52641 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52642 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52643 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52644 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52645
f0ccf6ea
AS
52646 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52647 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52648 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52649
5b08ac57
AS
526502010-05-20 Andreas Schwab <schwab@redhat.com>
52651
52652 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52653
4828935d
LM
526542010-05-17 Luis Machado <luisgpm@br.ibm.com>
52655
52656 POWER7 optimizations.
52657 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52658 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52659
373d545e
UD
526602010-05-19 Ulrich Drepper <drepper@redhat.com>
52661
52662 * version.h: Update for 2.13 development version.
52663
21a2b1ae
AS
526642010-05-12 Andrew Stubbs <ams@codesourcery.com>
52665
52666 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52667 exceptions. Return 0.
52668
3f7dcb2b
RM
526692010-05-07 Roland McGrath <roland@redhat.com>
52670
52671 * elf/ldconfig.c (main): Add a const.
52672
5f24d53a 526732010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52674
a160f8d8
UD
52675 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52676 (args_options): Add no-idn option.
52677 (ahosts_keys_int): Add idn_flags to ai_flags.
52678 (parse_option): Handle 'i' option to clear idn_flags.
52679
5f24d53a
UD
52680 * malloc/malloc.c (_int_free): Possible race in the most recently
52681 added check. Only act on the data if no current modification
52682 happened.
265bb1ce
UD
52683
52684See ChangeLog.17 for earlier changes.